oci-go-sdk: github.com/oracle/oci-go-sdk/marketplace Index | Files

package marketplace

import "github.com/oracle/oci-go-sdk/marketplace"

Index

Package Files

accepted_agreement.go accepted_agreement_summary.go agreement.go agreement_summary.go category_summary.go create_accepted_agreement_details.go create_accepted_agreement_request_response.go delete_accepted_agreement_request_response.go documentation_link.go error_entity.go get_accepted_agreement_request_response.go get_agreement_request_response.go get_listing_request_response.go get_package_request_response.go image_listing_package.go item.go link.go link_enum.go list_accepted_agreements_request_response.go list_agreements_request_response.go list_categories_request_response.go list_listings_request_response.go list_packages_request_response.go list_publishers_request_response.go listing.go listing_package.go listing_package_summary.go listing_summary.go marketplace_client.go named_link.go orchestration_listing_package.go orchestration_variable.go orchestration_variable_type_enum.go package_type_enum.go pricing_currency_enum.go pricing_model.go pricing_strategy_enum.go pricing_type_enum.go publisher.go publisher_summary.go region.go screenshot.go support_contact.go update_accepted_agreement_details.go update_accepted_agreement_request_response.go upload_data.go

Variables

var GetListingPackageTypeEnumValues = GetPackageTypeEnumEnumValues

GetListingPackageTypeEnumValues Enumerates the set of values for PackageTypeEnumEnum Consider using GetPackageTypeEnumEnumValue Deprecated

type AcceptedAgreement Uses

type AcceptedAgreement struct {

    // The unique identifier for the acceptance of the agreement within a specific compartment.
    Id  *string `mandatory:"false" json:"id"`

    // A display name for the accepted agreement.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The unique identifier for the compartment where the agreement was accepted.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The unique identifier for the listing associated with the agreement.
    ListingId *string `mandatory:"false" json:"listingId"`

    // The package version associated with the agreement.
    PackageVersion *string `mandatory:"false" json:"packageVersion"`

    // The unique identifier for the terms of use agreement itself.
    AgreementId *string `mandatory:"false" json:"agreementId"`

    // The time the agreement was accepted.
    TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see
    // Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

AcceptedAgreement The model for an accepted terms of use agreement.

func (AcceptedAgreement) String Uses

func (m AcceptedAgreement) String() string

type AcceptedAgreementSummary Uses

type AcceptedAgreementSummary struct {

    // The unique identifier for the acceptance of the agreement within a specific compartment.
    Id  *string `mandatory:"false" json:"id"`

    // A display name for the accepted agreement.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The unique identifier for the compartment where the agreement was accepted.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The unique identifier for the listing associated with the agreement.
    ListingId *string `mandatory:"false" json:"listingId"`

    // The package version associated with the agreement.
    PackageVersion *string `mandatory:"false" json:"packageVersion"`

    // The unique identifier for the terms of use agreement itself.
    AgreementId *string `mandatory:"false" json:"agreementId"`

    // The time the agreement was accepted.
    TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`
}

AcceptedAgreementSummary The model for a summary of an accepted agreement.

func (AcceptedAgreementSummary) String Uses

func (m AcceptedAgreementSummary) String() string

type Agreement Uses

type Agreement struct {

    // The unique identifier for the agreement.
    Id  *string `mandatory:"true" json:"id"`

    // The content URL of the agreement.
    ContentUrl *string `mandatory:"true" json:"contentUrl"`

    // A time-based signature that can be used to accept an agreement or remove a
    // previously accepted agreement from the list that Marketplace checks before a deployment.
    Signature *string `mandatory:"true" json:"signature"`

    // The unique identifier for the compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Who authored the agreement.
    Author AgreementAuthorEnum `mandatory:"false" json:"author,omitempty"`

    // Textual prompt to read and accept the agreement.
    Prompt *string `mandatory:"false" json:"prompt"`
}

Agreement The model for an end user license agreement.

func (Agreement) String Uses

func (m Agreement) String() string

type AgreementAuthorEnum Uses

type AgreementAuthorEnum string

AgreementAuthorEnum Enum with underlying type: string

const (
    AgreementAuthorOracle  AgreementAuthorEnum = "ORACLE"
    AgreementAuthorPartner AgreementAuthorEnum = "PARTNER"
)

Set of constants representing the allowable values for AgreementAuthorEnum

func GetAgreementAuthorEnumValues Uses

func GetAgreementAuthorEnumValues() []AgreementAuthorEnum

GetAgreementAuthorEnumValues Enumerates the set of values for AgreementAuthorEnum

type AgreementSummary Uses

type AgreementSummary struct {

    // The unique identifier for the agreement.
    Id  *string `mandatory:"false" json:"id"`

    // The content URL of the agreement.
    ContentUrl *string `mandatory:"false" json:"contentUrl"`

    // Who authored the agreement.
    Author AgreementSummaryAuthorEnum `mandatory:"false" json:"author,omitempty"`

    // Textual prompt to read and accept the agreement.
    Prompt *string `mandatory:"false" json:"prompt"`
}

AgreementSummary The model for a summary of an end user license agreement.

func (AgreementSummary) String Uses

func (m AgreementSummary) String() string

type AgreementSummaryAuthorEnum Uses

type AgreementSummaryAuthorEnum string

AgreementSummaryAuthorEnum Enum with underlying type: string

const (
    AgreementSummaryAuthorOracle  AgreementSummaryAuthorEnum = "ORACLE"
    AgreementSummaryAuthorPartner AgreementSummaryAuthorEnum = "PARTNER"
    AgreementSummaryAuthorPii     AgreementSummaryAuthorEnum = "PII"
)

Set of constants representing the allowable values for AgreementSummaryAuthorEnum

func GetAgreementSummaryAuthorEnumValues Uses

func GetAgreementSummaryAuthorEnumValues() []AgreementSummaryAuthorEnum

GetAgreementSummaryAuthorEnumValues Enumerates the set of values for AgreementSummaryAuthorEnum

type CategorySummary Uses

type CategorySummary struct {

    // Name of the product category.
    Name *string `mandatory:"false" json:"name"`
}

CategorySummary The model for a summary of product categories for listings.

func (CategorySummary) String Uses

func (m CategorySummary) String() string

type CreateAcceptedAgreementDetails Uses

type CreateAcceptedAgreementDetails struct {

    // The unique identifier for the compartment where the agreement will be accepted.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The unique identifier for the listing associated with the agreement.
    ListingId *string `mandatory:"true" json:"listingId"`

    // The package version associated with the agreement.
    PackageVersion *string `mandatory:"true" json:"packageVersion"`

    // The agreement to accept.
    AgreementId *string `mandatory:"true" json:"agreementId"`

    // A signature generated for the listing package agreements that you can retrieve
    // with GetAgreement (https://docs.cloud.oracle.com/api/#/en/marketplace/20181001/Agreement/GetAgreement).
    Signature *string `mandatory:"true" json:"signature"`

    // A display name for the accepted agreement.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see
    // Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateAcceptedAgreementDetails The model for the parameters needed to accept a terms of use agreement.

func (CreateAcceptedAgreementDetails) String Uses

func (m CreateAcceptedAgreementDetails) String() string

type CreateAcceptedAgreementRequest Uses

type CreateAcceptedAgreementRequest struct {

    // Details necessary to accept an agreement.
    CreateAcceptedAgreementDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without
    // risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been deleted and purged from the system,
    // then a retry of the original creation request might be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CreateAcceptedAgreementRequest wrapper for the CreateAcceptedAgreement operation

func (CreateAcceptedAgreementRequest) HTTPRequest Uses

func (request CreateAcceptedAgreementRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateAcceptedAgreementRequest) RetryPolicy Uses

func (request CreateAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateAcceptedAgreementRequest) String Uses

func (request CreateAcceptedAgreementRequest) String() string

type CreateAcceptedAgreementResponse Uses

type CreateAcceptedAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AcceptedAgreement instance
    AcceptedAgreement `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

CreateAcceptedAgreementResponse wrapper for the CreateAcceptedAgreement operation

func (CreateAcceptedAgreementResponse) HTTPResponse Uses

func (response CreateAcceptedAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateAcceptedAgreementResponse) String Uses

func (response CreateAcceptedAgreementResponse) String() string

type DeleteAcceptedAgreementRequest Uses

type DeleteAcceptedAgreementRequest struct {

    // The unique identifier for the accepted terms of use agreement.
    AcceptedAgreementId *string `mandatory:"true" contributesTo:"path" name:"acceptedAgreementId"`

    // A signature generated for the listing package terms of use agreements that can be retrieved with GetAgreement.
    Signature *string `mandatory:"true" contributesTo:"query" name:"signature"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to
    // the value of the etag from a previous GET or POST response for that resource.  The resource will be updated or
    // deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

DeleteAcceptedAgreementRequest wrapper for the DeleteAcceptedAgreement operation

func (DeleteAcceptedAgreementRequest) HTTPRequest Uses

func (request DeleteAcceptedAgreementRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteAcceptedAgreementRequest) RetryPolicy Uses

func (request DeleteAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteAcceptedAgreementRequest) String Uses

func (request DeleteAcceptedAgreementRequest) String() string

type DeleteAcceptedAgreementResponse Uses

type DeleteAcceptedAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteAcceptedAgreementResponse wrapper for the DeleteAcceptedAgreement operation

func (DeleteAcceptedAgreementResponse) HTTPResponse Uses

func (response DeleteAcceptedAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteAcceptedAgreementResponse) String Uses

func (response DeleteAcceptedAgreementResponse) String() string
type DocumentationLink struct {

    // Text that describes the resource.
    Name *string `mandatory:"false" json:"name"`

    // The URL of the resource.
    Url *string `mandatory:"false" json:"url"`

    // The category that the document belongs to.
    DocumentCategory *string `mandatory:"false" json:"documentCategory"`
}

DocumentationLink A link to a documentation resource on the internet.

func (DocumentationLink) String Uses

func (m DocumentationLink) String() string

type ErrorEntity Uses

type ErrorEntity struct {

    // A short error code that defines the error.
    Code *string `mandatory:"true" json:"code"`

    // A human-readable error string.
    Message *string `mandatory:"true" json:"message"`
}

ErrorEntity The model for the error entity.

func (ErrorEntity) String Uses

func (m ErrorEntity) String() string

type GetAcceptedAgreementRequest Uses

type GetAcceptedAgreementRequest struct {

    // The unique identifier for the accepted terms of use agreement.
    AcceptedAgreementId *string `mandatory:"true" contributesTo:"path" name:"acceptedAgreementId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetAcceptedAgreementRequest wrapper for the GetAcceptedAgreement operation

func (GetAcceptedAgreementRequest) HTTPRequest Uses

func (request GetAcceptedAgreementRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAcceptedAgreementRequest) RetryPolicy Uses

func (request GetAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAcceptedAgreementRequest) String Uses

func (request GetAcceptedAgreementRequest) String() string

type GetAcceptedAgreementResponse Uses

type GetAcceptedAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AcceptedAgreement instance
    AcceptedAgreement `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

GetAcceptedAgreementResponse wrapper for the GetAcceptedAgreement operation

func (GetAcceptedAgreementResponse) HTTPResponse Uses

func (response GetAcceptedAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAcceptedAgreementResponse) String Uses

func (response GetAcceptedAgreementResponse) String() string

type GetAgreementRequest Uses

type GetAgreementRequest struct {

    // The unique identifier for the listing.
    ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

    // The version of the package. Package versions are unique within a listing.
    PackageVersion *string `mandatory:"true" contributesTo:"path" name:"packageVersion"`

    // The unique identifier for the agreement.
    AgreementId *string `mandatory:"true" contributesTo:"path" name:"agreementId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetAgreementRequest wrapper for the GetAgreement operation

func (GetAgreementRequest) HTTPRequest Uses

func (request GetAgreementRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAgreementRequest) RetryPolicy Uses

func (request GetAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAgreementRequest) String Uses

func (request GetAgreementRequest) String() string

type GetAgreementResponse Uses

type GetAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Agreement instance
    Agreement `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetAgreementResponse wrapper for the GetAgreement operation

func (GetAgreementResponse) HTTPResponse Uses

func (response GetAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAgreementResponse) String Uses

func (response GetAgreementResponse) String() string

type GetListingRequest Uses

type GetListingRequest struct {

    // The unique identifier for the listing.
    ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetListingRequest wrapper for the GetListing operation

func (GetListingRequest) HTTPRequest Uses

func (request GetListingRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetListingRequest) RetryPolicy Uses

func (request GetListingRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetListingRequest) String Uses

func (request GetListingRequest) String() string

type GetListingResponse Uses

type GetListingResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Listing instance
    Listing `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

GetListingResponse wrapper for the GetListing operation

func (GetListingResponse) HTTPResponse Uses

func (response GetListingResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetListingResponse) String Uses

func (response GetListingResponse) String() string

type GetPackageRequest Uses

type GetPackageRequest struct {

    // The unique identifier for the listing.
    ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

    // The version of the package. Package versions are unique within a listing.
    PackageVersion *string `mandatory:"true" contributesTo:"path" name:"packageVersion"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetPackageRequest wrapper for the GetPackage operation

func (GetPackageRequest) HTTPRequest Uses

func (request GetPackageRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPackageRequest) RetryPolicy Uses

func (request GetPackageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPackageRequest) String Uses

func (request GetPackageRequest) String() string

type GetPackageResponse Uses

type GetPackageResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ListingPackage instance
    ListingPackage `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

GetPackageResponse wrapper for the GetPackage operation

func (GetPackageResponse) HTTPResponse Uses

func (response GetPackageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPackageResponse) String Uses

func (response GetPackageResponse) String() string

type ImageListingPackage Uses

type ImageListingPackage struct {

    // The id of the listing this package belongs to.
    ListingId *string `mandatory:"true" json:"listingId"`

    // The version of this package.
    Version *string `mandatory:"true" json:"version"`

    // Description of this package.
    Description *string `mandatory:"false" json:"description"`

    Pricing *PricingModel `mandatory:"false" json:"pricing"`

    // The unique identifier for the package resource.
    ResourceId *string `mandatory:"false" json:"resourceId"`

    // The date and time this listing package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The id of the AppCatalogListing associated with this ListingPackage.
    AppCatalogListingId *string `mandatory:"false" json:"appCatalogListingId"`

    // The resource version of the AppCatalogListing associated with this ListingPackage.
    AppCatalogListingResourceVersion *string `mandatory:"false" json:"appCatalogListingResourceVersion"`

    // List of regions in which this ListingPackage is available.
    Regions []Region `mandatory:"false" json:"regions"`
}

ImageListingPackage A package for image listings.

func (ImageListingPackage) GetDescription Uses

func (m ImageListingPackage) GetDescription() *string

GetDescription returns Description

func (ImageListingPackage) GetListingId Uses

func (m ImageListingPackage) GetListingId() *string

GetListingId returns ListingId

func (ImageListingPackage) GetPricing Uses

func (m ImageListingPackage) GetPricing() *PricingModel

GetPricing returns Pricing

func (ImageListingPackage) GetResourceId Uses

func (m ImageListingPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (ImageListingPackage) GetTimeCreated Uses

func (m ImageListingPackage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ImageListingPackage) GetVersion Uses

func (m ImageListingPackage) GetVersion() *string

GetVersion returns Version

func (ImageListingPackage) MarshalJSON Uses

func (m ImageListingPackage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ImageListingPackage) String Uses

func (m ImageListingPackage) String() string

type Item Uses

type Item struct {

    // The name of the item.
    Name *string `mandatory:"false" json:"name"`

    // A code assigned to the item.
    Code *string `mandatory:"false" json:"code"`
}

Item The model for an item within an array of filter values.

func (Item) String Uses

func (m Item) String() string
type Link struct {

    // Reference links to the previous page, next page, and other pages.
    Rel LinkEnumEnum `mandatory:"false" json:"rel,omitempty"`

    // The anchor tag.
    Href *string `mandatory:"false" json:"href"`
}

Link The model for links.

func (Link) String Uses

func (m Link) String() string

type LinkEnumEnum Uses

type LinkEnumEnum string

LinkEnumEnum Enum with underlying type: string

const (
    LinkEnumSelf      LinkEnumEnum = "SELF"
    LinkEnumCanonical LinkEnumEnum = "CANONICAL"
    LinkEnumNext      LinkEnumEnum = "NEXT"
    LinkEnumTemplate  LinkEnumEnum = "TEMPLATE"
    LinkEnumPrev      LinkEnumEnum = "PREV"
)

Set of constants representing the allowable values for LinkEnumEnum

func GetLinkEnumEnumValues Uses

func GetLinkEnumEnumValues() []LinkEnumEnum

GetLinkEnumEnumValues Enumerates the set of values for LinkEnumEnum

type ListAcceptedAgreementsRequest Uses

type ListAcceptedAgreementsRequest struct {

    // The unique identifier for the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The display name of the resource.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The unique identifier for the listing.
    ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`

    // The version of the package. Package versions are unique within a listing.
    PackageVersion *string `mandatory:"false" contributesTo:"query" name:"packageVersion"`

    // The unique identifier for the accepted terms of use agreement.
    AcceptedAgreementId *string `mandatory:"false" contributesTo:"query" name:"acceptedAgreementId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The field to use to sort listed results. You can only specify one field to sort by.
    // `TIMEACCEPTED` displays results in descending order by default. You can change your
    // preference by specifying a different sort order.
    SortBy ListAcceptedAgreementsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either `ASC` or `DESC`.
    SortOrder ListAcceptedAgreementsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListAcceptedAgreementsRequest wrapper for the ListAcceptedAgreements operation

func (ListAcceptedAgreementsRequest) HTTPRequest Uses

func (request ListAcceptedAgreementsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAcceptedAgreementsRequest) RetryPolicy Uses

func (request ListAcceptedAgreementsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAcceptedAgreementsRequest) String Uses

func (request ListAcceptedAgreementsRequest) String() string

type ListAcceptedAgreementsResponse Uses

type ListAcceptedAgreementsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []AcceptedAgreementSummary instances
    Items []AcceptedAgreementSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results remain.
    // Include this value as the `page` parameter for the subsequent GET request. For important details about
    // how pagination works, see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAcceptedAgreementsResponse wrapper for the ListAcceptedAgreements operation

func (ListAcceptedAgreementsResponse) HTTPResponse Uses

func (response ListAcceptedAgreementsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAcceptedAgreementsResponse) String Uses

func (response ListAcceptedAgreementsResponse) String() string

type ListAcceptedAgreementsSortByEnum Uses

type ListAcceptedAgreementsSortByEnum string

ListAcceptedAgreementsSortByEnum Enum with underlying type: string

const (
    ListAcceptedAgreementsSortByTimeaccepted ListAcceptedAgreementsSortByEnum = "TIMEACCEPTED"
)

Set of constants representing the allowable values for ListAcceptedAgreementsSortByEnum

func GetListAcceptedAgreementsSortByEnumValues Uses

func GetListAcceptedAgreementsSortByEnumValues() []ListAcceptedAgreementsSortByEnum

GetListAcceptedAgreementsSortByEnumValues Enumerates the set of values for ListAcceptedAgreementsSortByEnum

type ListAcceptedAgreementsSortOrderEnum Uses

type ListAcceptedAgreementsSortOrderEnum string

ListAcceptedAgreementsSortOrderEnum Enum with underlying type: string

const (
    ListAcceptedAgreementsSortOrderAsc  ListAcceptedAgreementsSortOrderEnum = "ASC"
    ListAcceptedAgreementsSortOrderDesc ListAcceptedAgreementsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAcceptedAgreementsSortOrderEnum

func GetListAcceptedAgreementsSortOrderEnumValues Uses

func GetListAcceptedAgreementsSortOrderEnumValues() []ListAcceptedAgreementsSortOrderEnum

GetListAcceptedAgreementsSortOrderEnumValues Enumerates the set of values for ListAcceptedAgreementsSortOrderEnum

type ListAgreementsRequest Uses

type ListAgreementsRequest struct {

    // The unique identifier for the listing.
    ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

    // The version of the package. Package versions are unique within a listing.
    PackageVersion *string `mandatory:"true" contributesTo:"path" name:"packageVersion"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListAgreementsRequest wrapper for the ListAgreements operation

func (ListAgreementsRequest) HTTPRequest Uses

func (request ListAgreementsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAgreementsRequest) RetryPolicy Uses

func (request ListAgreementsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAgreementsRequest) String Uses

func (request ListAgreementsRequest) String() string

type ListAgreementsResponse Uses

type ListAgreementsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []AgreementSummary instances
    Items []AgreementSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results remain.
    // Include this value as the `page` parameter for the subsequent GET request. For important details about
    // how pagination works, see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAgreementsResponse wrapper for the ListAgreements operation

func (ListAgreementsResponse) HTTPResponse Uses

func (response ListAgreementsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAgreementsResponse) String Uses

func (response ListAgreementsResponse) String() string

type ListCategoriesRequest Uses

type ListCategoriesRequest struct {

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListCategoriesRequest wrapper for the ListCategories operation

func (ListCategoriesRequest) HTTPRequest Uses

func (request ListCategoriesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCategoriesRequest) RetryPolicy Uses

func (request ListCategoriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCategoriesRequest) String Uses

func (request ListCategoriesRequest) String() string

type ListCategoriesResponse Uses

type ListCategoriesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []CategorySummary instances
    Items []CategorySummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results remain.
    // Include this value as the `page` parameter for the subsequent GET request. For important details about
    // how pagination works, see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListCategoriesResponse wrapper for the ListCategories operation

func (ListCategoriesResponse) HTTPResponse Uses

func (response ListCategoriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCategoriesResponse) String Uses

func (response ListCategoriesResponse) String() string

type ListListingsPricingEnum Uses

type ListListingsPricingEnum string

ListListingsPricingEnum Enum with underlying type: string

const (
    ListListingsPricingFree  ListListingsPricingEnum = "FREE"
    ListListingsPricingByol  ListListingsPricingEnum = "BYOL"
    ListListingsPricingPaygo ListListingsPricingEnum = "PAYGO"
)

Set of constants representing the allowable values for ListListingsPricingEnum

func GetListListingsPricingEnumValues Uses

func GetListListingsPricingEnumValues() []ListListingsPricingEnum

GetListListingsPricingEnumValues Enumerates the set of values for ListListingsPricingEnum

type ListListingsRequest Uses

type ListListingsRequest struct {

    // The name of the listing.
    Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`

    // The unique identifier for the listing.
    ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`

    // Limit results to just this publisher.
    PublisherId *string `mandatory:"false" contributesTo:"query" name:"publisherId"`

    // A filter to return only packages that match the given package type exactly.
    PackageType *string `mandatory:"false" contributesTo:"query" name:"packageType"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The field to use to sort listed results. You can only specify one field to sort by.
    // `TIMERELEASED` displays results in descending order by default.
    // You can change your preference by specifying a different sort order.
    SortBy ListListingsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either `ASC` or `DESC`.
    SortOrder ListListingsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Name of the product category or categories. If you specify multiple categories, then Marketplace returns any listing with
    // one or more matching categories.
    Category []string `contributesTo:"query" name:"category" collectionFormat:"multi"`

    // Name of the pricing type. If multiple pricing types are provided, then any listing with
    // one or more matching pricing models will be returned.
    Pricing []ListListingsPricingEnum `contributesTo:"query" name:"pricing" omitEmpty:"true" collectionFormat:"multi"`

    // Indicates whether to show only featured listings. If this is set to `false` or is omitted, then all listings will be returned.
    IsFeatured *bool `mandatory:"false" contributesTo:"query" name:"isFeatured"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListListingsRequest wrapper for the ListListings operation

func (ListListingsRequest) HTTPRequest Uses

func (request ListListingsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListListingsRequest) RetryPolicy Uses

func (request ListListingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListListingsRequest) String Uses

func (request ListListingsRequest) String() string

type ListListingsResponse Uses

type ListListingsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ListingSummary instances
    Items []ListingSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results remain.
    // Include this value as the `page` parameter for the subsequent GET request. For important details about
    // how pagination works, see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListListingsResponse wrapper for the ListListings operation

func (ListListingsResponse) HTTPResponse Uses

func (response ListListingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListListingsResponse) String Uses

func (response ListListingsResponse) String() string

type ListListingsSortByEnum Uses

type ListListingsSortByEnum string

ListListingsSortByEnum Enum with underlying type: string

const (
    ListListingsSortByTimereleased ListListingsSortByEnum = "TIMERELEASED"
)

Set of constants representing the allowable values for ListListingsSortByEnum

func GetListListingsSortByEnumValues Uses

func GetListListingsSortByEnumValues() []ListListingsSortByEnum

GetListListingsSortByEnumValues Enumerates the set of values for ListListingsSortByEnum

type ListListingsSortOrderEnum Uses

type ListListingsSortOrderEnum string

ListListingsSortOrderEnum Enum with underlying type: string

const (
    ListListingsSortOrderAsc  ListListingsSortOrderEnum = "ASC"
    ListListingsSortOrderDesc ListListingsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListListingsSortOrderEnum

func GetListListingsSortOrderEnumValues Uses

func GetListListingsSortOrderEnumValues() []ListListingsSortOrderEnum

GetListListingsSortOrderEnumValues Enumerates the set of values for ListListingsSortOrderEnum

type ListPackagesRequest Uses

type ListPackagesRequest struct {

    // The unique identifier for the listing.
    ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

    // The version of the package. Package versions are unique within a listing.
    PackageVersion *string `mandatory:"false" contributesTo:"query" name:"packageVersion"`

    // A filter to return only packages that match the given package type exactly.
    PackageType *string `mandatory:"false" contributesTo:"query" name:"packageType"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The field to use to sort listed results. You can only specify one field to sort by.
    // `TIMERELEASED` displays results in descending order by default.
    // You can change your preference by specifying a different sort order.
    SortBy ListPackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either `ASC` or `DESC`.
    SortOrder ListPackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListPackagesRequest wrapper for the ListPackages operation

func (ListPackagesRequest) HTTPRequest Uses

func (request ListPackagesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPackagesRequest) RetryPolicy Uses

func (request ListPackagesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPackagesRequest) String Uses

func (request ListPackagesRequest) String() string

type ListPackagesResponse Uses

type ListPackagesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ListingPackageSummary instances
    Items []ListingPackageSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results remain.
    // Include this value as the `page` parameter for the subsequent GET request. For important details about
    // how pagination works, see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListPackagesResponse wrapper for the ListPackages operation

func (ListPackagesResponse) HTTPResponse Uses

func (response ListPackagesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPackagesResponse) String Uses

func (response ListPackagesResponse) String() string

type ListPackagesSortByEnum Uses

type ListPackagesSortByEnum string

ListPackagesSortByEnum Enum with underlying type: string

const (
    ListPackagesSortByTimereleased ListPackagesSortByEnum = "TIMERELEASED"
)

Set of constants representing the allowable values for ListPackagesSortByEnum

func GetListPackagesSortByEnumValues Uses

func GetListPackagesSortByEnumValues() []ListPackagesSortByEnum

GetListPackagesSortByEnumValues Enumerates the set of values for ListPackagesSortByEnum

type ListPackagesSortOrderEnum Uses

type ListPackagesSortOrderEnum string

ListPackagesSortOrderEnum Enum with underlying type: string

const (
    ListPackagesSortOrderAsc  ListPackagesSortOrderEnum = "ASC"
    ListPackagesSortOrderDesc ListPackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPackagesSortOrderEnum

func GetListPackagesSortOrderEnumValues Uses

func GetListPackagesSortOrderEnumValues() []ListPackagesSortOrderEnum

GetListPackagesSortOrderEnumValues Enumerates the set of values for ListPackagesSortOrderEnum

type ListPublishersRequest Uses

type ListPublishersRequest struct {

    // Limit results to just this publisher.
    PublisherId *string `mandatory:"false" contributesTo:"query" name:"publisherId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListPublishersRequest wrapper for the ListPublishers operation

func (ListPublishersRequest) HTTPRequest Uses

func (request ListPublishersRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPublishersRequest) RetryPolicy Uses

func (request ListPublishersRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPublishersRequest) String Uses

func (request ListPublishersRequest) String() string

type ListPublishersResponse Uses

type ListPublishersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []PublisherSummary instances
    Items []PublisherSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results remain.
    // Include this value as the `page` parameter for the subsequent GET request. For important details about
    // how pagination works, see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListPublishersResponse wrapper for the ListPublishers operation

func (ListPublishersResponse) HTTPResponse Uses

func (response ListPublishersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPublishersResponse) String Uses

func (response ListPublishersResponse) String() string

type Listing Uses

type Listing struct {

    // The unique identifier for the listing in Marketplace.
    Id  *string `mandatory:"false" json:"id"`

    // The name of the listing.
    Name *string `mandatory:"false" json:"name"`

    // The version of the listing.
    Version *string `mandatory:"false" json:"version"`

    // The tagline of the listing.
    Tagline *string `mandatory:"false" json:"tagline"`

    // Keywords associated with the listing.
    Keywords *string `mandatory:"false" json:"keywords"`

    // A short description of the listing.
    ShortDescription *string `mandatory:"false" json:"shortDescription"`

    // Usage information for the listing.
    UsageInformation *string `mandatory:"false" json:"usageInformation"`

    // A long description of the listing.
    LongDescription *string `mandatory:"false" json:"longDescription"`

    // A description of the publisher's licensing model for the listing.
    LicenseModelDescription *string `mandatory:"false" json:"licenseModelDescription"`

    // System requirements for the listing.
    SystemRequirements *string `mandatory:"false" json:"systemRequirements"`

    // The release date of the listing.
    TimeReleased *common.SDKTime `mandatory:"false" json:"timeReleased"`

    // Release notes for the listing.
    ReleaseNotes *string `mandatory:"false" json:"releaseNotes"`

    // Categories that the listing belongs to.
    Categories []string `mandatory:"false" json:"categories"`

    Publisher *Publisher `mandatory:"false" json:"publisher"`

    // Languages supported by the listing.
    Languages []Item `mandatory:"false" json:"languages"`

    // Screenshots of the listing.
    Screenshots []Screenshot `mandatory:"false" json:"screenshots"`

    // Videos of the listing.
    Videos []NamedLink `mandatory:"false" json:"videos"`

    // Contact information to use to get support from the publisher for the listing.
    SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`

    // Links to support resources for the listing.
    SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`

    // Links to additional documentation provided by the publisher specifically for the listing.
    DocumentationLinks []DocumentationLink `mandatory:"false" json:"documentationLinks"`

    Icon *UploadData `mandatory:"false" json:"icon"`

    Banner *UploadData `mandatory:"false" json:"banner"`

    // The regions where the listing is available.
    Regions []Region `mandatory:"false" json:"regions"`

    // The listing's package type.
    PackageType PackageTypeEnumEnum `mandatory:"false" json:"packageType,omitempty"`

    // The default package version.
    DefaultPackageVersion *string `mandatory:"false" json:"defaultPackageVersion"`

    // Links to reference material.
    Links []Link `mandatory:"false" json:"links"`

    // Indicates whether the listing is included in Featured Listings.
    IsFeatured *bool `mandatory:"false" json:"isFeatured"`
}

Listing The model for an Oracle Cloud Infrastructure Marketplace listing.

func (Listing) String Uses

func (m Listing) String() string

type ListingPackage Uses

type ListingPackage interface {

    // The id of the listing this package belongs to.
    GetListingId() *string

    // The version of this package.
    GetVersion() *string

    // Description of this package.
    GetDescription() *string

    GetPricing() *PricingModel

    // The unique identifier for the package resource.
    GetResourceId() *string

    // The date and time this listing package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    GetTimeCreated() *common.SDKTime
}

ListingPackage A base object for all types of listing packages.

type ListingPackageSummary Uses

type ListingPackageSummary struct {

    // The id of the listing the specified package belongs to.
    ListingId *string `mandatory:"false" json:"listingId"`

    // The version of the specified package.
    PackageVersion *string `mandatory:"false" json:"packageVersion"`

    // The specified package's type.
    PackageType PackageTypeEnumEnum `mandatory:"false" json:"packageType,omitempty"`

    // The unique identifier for the package resource.
    ResourceId *string `mandatory:"false" json:"resourceId"`

    // The date and time this listing package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

ListingPackageSummary The model for a summary of a package.

func (ListingPackageSummary) String Uses

func (m ListingPackageSummary) String() string

type ListingPackageTypeEnum Uses

type ListingPackageTypeEnum = PackageTypeEnumEnum

ListingPackageTypeEnum is an alias to type: PackageTypeEnumEnum Consider using PackageTypeEnumEnum instead Deprecated

type ListingSummary Uses

type ListingSummary struct {

    // The unique identifier for the listing in Marketplace.
    Id  *string `mandatory:"false" json:"id"`

    // The name of the listing.
    Name *string `mandatory:"false" json:"name"`

    // A short description of the listing.
    ShortDescription *string `mandatory:"false" json:"shortDescription"`

    // The tagline of the listing.
    Tagline *string `mandatory:"false" json:"tagline"`

    Icon *UploadData `mandatory:"false" json:"icon"`

    // The listing's package type.
    PackageType PackageTypeEnumEnum `mandatory:"false" json:"packageType,omitempty"`

    // Summary of the pricing types available across all packages in the listing.
    PricingTypes []ListingSummaryPricingTypesEnum `mandatory:"false" json:"pricingTypes,omitempty"`

    // Indicates whether the listing is featured.
    IsFeatured *bool `mandatory:"false" json:"isFeatured"`

    // Product categories that the listing belongs to.
    Categories []string `mandatory:"false" json:"categories"`

    Publisher *PublisherSummary `mandatory:"false" json:"publisher"`
}

ListingSummary The model for a summary of an Oracle Cloud Infrastructure Marketplace listing.

func (ListingSummary) String Uses

func (m ListingSummary) String() string

type ListingSummaryPricingTypesEnum Uses

type ListingSummaryPricingTypesEnum string

ListingSummaryPricingTypesEnum Enum with underlying type: string

const (
    ListingSummaryPricingTypesFree  ListingSummaryPricingTypesEnum = "FREE"
    ListingSummaryPricingTypesByol  ListingSummaryPricingTypesEnum = "BYOL"
    ListingSummaryPricingTypesPaygo ListingSummaryPricingTypesEnum = "PAYGO"
)

Set of constants representing the allowable values for ListingSummaryPricingTypesEnum

func GetListingSummaryPricingTypesEnumValues Uses

func GetListingSummaryPricingTypesEnumValues() []ListingSummaryPricingTypesEnum

GetListingSummaryPricingTypesEnumValues Enumerates the set of values for ListingSummaryPricingTypesEnum

type MarketplaceClient Uses

type MarketplaceClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

MarketplaceClient a client for Marketplace

func NewMarketplaceClientWithConfigurationProvider Uses

func NewMarketplaceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MarketplaceClient, err error)

NewMarketplaceClientWithConfigurationProvider Creates a new default Marketplace client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewMarketplaceClientWithOboToken Uses

func NewMarketplaceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MarketplaceClient, err error)

NewMarketplaceClientWithOboToken Creates a new default Marketplace client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (*MarketplaceClient) ConfigurationProvider Uses

func (client *MarketplaceClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (MarketplaceClient) CreateAcceptedAgreement Uses

func (client MarketplaceClient) CreateAcceptedAgreement(ctx context.Context, request CreateAcceptedAgreementRequest) (response CreateAcceptedAgreementResponse, err error)

CreateAcceptedAgreement Accepts a terms of use agreement for a specific package version of a listing. You must accept all terms of use for a package before you can deploy the package.

func (MarketplaceClient) DeleteAcceptedAgreement Uses

func (client MarketplaceClient) DeleteAcceptedAgreement(ctx context.Context, request DeleteAcceptedAgreementRequest) (response DeleteAcceptedAgreementResponse, err error)

DeleteAcceptedAgreement Removes a previously accepted terms of use agreement from the list of agreements that Marketplace checks before initiating a deployment. Listings in the Marketplace that require acceptance of the specified terms of use can no longer be deployed, but existing deployments aren't affected.

func (MarketplaceClient) GetAcceptedAgreement Uses

func (client MarketplaceClient) GetAcceptedAgreement(ctx context.Context, request GetAcceptedAgreementRequest) (response GetAcceptedAgreementResponse, err error)

GetAcceptedAgreement Gets the details of a specific, previously accepted terms of use agreement.

func (MarketplaceClient) GetAgreement Uses

func (client MarketplaceClient) GetAgreement(ctx context.Context, request GetAgreementRequest) (response GetAgreementResponse, err error)

GetAgreement Returns a terms of use agreement for a package with a time-based signature that can be used to accept the agreement.

func (MarketplaceClient) GetListing Uses

func (client MarketplaceClient) GetListing(ctx context.Context, request GetListingRequest) (response GetListingResponse, err error)

GetListing Gets detailed information about a listing, including the listing's name, version, description, and resources.

func (MarketplaceClient) GetPackage Uses

func (client MarketplaceClient) GetPackage(ctx context.Context, request GetPackageRequest) (response GetPackageResponse, err error)

GetPackage Get the details of the specified version of a package, including information needed to launch the package.

func (MarketplaceClient) ListAcceptedAgreements Uses

func (client MarketplaceClient) ListAcceptedAgreements(ctx context.Context, request ListAcceptedAgreementsRequest) (response ListAcceptedAgreementsResponse, err error)

ListAcceptedAgreements Lists the terms of use agreements that have been accepted in the specified compartment. You can filter results by specifying query parameters.

func (MarketplaceClient) ListAgreements Uses

func (client MarketplaceClient) ListAgreements(ctx context.Context, request ListAgreementsRequest) (response ListAgreementsResponse, err error)

ListAgreements Returns the terms of use agreements that must be accepted before you can deploy the specified version of a package.

func (MarketplaceClient) ListCategories Uses

func (client MarketplaceClient) ListCategories(ctx context.Context, request ListCategoriesRequest) (response ListCategoriesResponse, err error)

ListCategories Gets the list of all the categories for listings published to Oracle Cloud Infrastructure Marketplace. Categories apply to the software product provided by the listing.

func (MarketplaceClient) ListListings Uses

func (client MarketplaceClient) ListListings(ctx context.Context, request ListListingsRequest) (response ListListingsResponse, err error)

ListListings Gets a list of listings from Oracle Cloud Infrastructure Marketplace by searching keywords and filtering according to listing attributes.

func (MarketplaceClient) ListPackages Uses

func (client MarketplaceClient) ListPackages(ctx context.Context, request ListPackagesRequest) (response ListPackagesResponse, err error)

ListPackages Gets the list of packages for a listing.

func (MarketplaceClient) ListPublishers Uses

func (client MarketplaceClient) ListPublishers(ctx context.Context, request ListPublishersRequest) (response ListPublishersResponse, err error)

ListPublishers Gets the list of all the publishers of listings available in Oracle Cloud Infrastructure Marketplace.

func (*MarketplaceClient) SetRegion Uses

func (client *MarketplaceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (MarketplaceClient) UpdateAcceptedAgreement Uses

func (client MarketplaceClient) UpdateAcceptedAgreement(ctx context.Context, request UpdateAcceptedAgreementRequest) (response UpdateAcceptedAgreementResponse, err error)

UpdateAcceptedAgreement Updates the display name or tags associated with a listing's previously accepted terms of use agreement.

type NamedLink struct {

    // Text that describes the resource.
    Name *string `mandatory:"false" json:"name"`

    // The URL of the resource.
    Url *string `mandatory:"false" json:"url"`
}

NamedLink A link to a resource on the internet.

func (NamedLink) String Uses

func (m NamedLink) String() string

type OrchestrationListingPackage Uses

type OrchestrationListingPackage struct {

    // The id of the listing this package belongs to.
    ListingId *string `mandatory:"true" json:"listingId"`

    // The version of this package.
    Version *string `mandatory:"true" json:"version"`

    // Description of this package.
    Description *string `mandatory:"false" json:"description"`

    Pricing *PricingModel `mandatory:"false" json:"pricing"`

    // The unique identifier for the package resource.
    ResourceId *string `mandatory:"false" json:"resourceId"`

    // The date and time this listing package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // Link to the orchestration resource.
    ResourceLink *string `mandatory:"false" json:"resourceLink"`

    // List of variables for the orchestration resource.
    Variables []OrchestrationVariable `mandatory:"false" json:"variables"`
}

OrchestrationListingPackage A listing package for orchestration.

func (OrchestrationListingPackage) GetDescription Uses

func (m OrchestrationListingPackage) GetDescription() *string

GetDescription returns Description

func (OrchestrationListingPackage) GetListingId Uses

func (m OrchestrationListingPackage) GetListingId() *string

GetListingId returns ListingId

func (OrchestrationListingPackage) GetPricing Uses

func (m OrchestrationListingPackage) GetPricing() *PricingModel

GetPricing returns Pricing

func (OrchestrationListingPackage) GetResourceId Uses

func (m OrchestrationListingPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (OrchestrationListingPackage) GetTimeCreated Uses

func (m OrchestrationListingPackage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OrchestrationListingPackage) GetVersion Uses

func (m OrchestrationListingPackage) GetVersion() *string

GetVersion returns Version

func (OrchestrationListingPackage) MarshalJSON Uses

func (m OrchestrationListingPackage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OrchestrationListingPackage) String Uses

func (m OrchestrationListingPackage) String() string

type OrchestrationVariable Uses

type OrchestrationVariable struct {

    // The name of the variable.
    Name *string `mandatory:"false" json:"name"`

    // The variable's default value.
    DefaultValue *string `mandatory:"false" json:"defaultValue"`

    // A description of the variable.
    Description *string `mandatory:"false" json:"description"`

    // The data type of the variable.
    DataType OrchestrationVariableTypeEnumEnum `mandatory:"false" json:"dataType,omitempty"`

    // Whether the variable is mandatory.
    IsMandatory *bool `mandatory:"false" json:"isMandatory"`

    // A brief textual description that helps to explain the variable.
    HintMessage *string `mandatory:"false" json:"hintMessage"`
}

OrchestrationVariable The model of a variable for an orchestration resource.

func (OrchestrationVariable) String Uses

func (m OrchestrationVariable) String() string

type OrchestrationVariableTypeEnumEnum Uses

type OrchestrationVariableTypeEnumEnum string

OrchestrationVariableTypeEnumEnum Enum with underlying type: string

const (
    OrchestrationVariableTypeEnumString  OrchestrationVariableTypeEnumEnum = "STRING"
    OrchestrationVariableTypeEnumInteger OrchestrationVariableTypeEnumEnum = "INTEGER"
)

Set of constants representing the allowable values for OrchestrationVariableTypeEnumEnum

func GetOrchestrationVariableTypeEnumEnumValues Uses

func GetOrchestrationVariableTypeEnumEnumValues() []OrchestrationVariableTypeEnumEnum

GetOrchestrationVariableTypeEnumEnumValues Enumerates the set of values for OrchestrationVariableTypeEnumEnum

type PackageTypeEnumEnum Uses

type PackageTypeEnumEnum string

PackageTypeEnumEnum Enum with underlying type: string

const (
    ListingPackageTypeOrchestration PackageTypeEnumEnum = "ORCHESTRATION"
    ListingPackageTypeImage         PackageTypeEnumEnum = "IMAGE"
)

Set of constants representing the allowable values for PackageTypeEnumEnum Deprecated

const (
    PackageTypeEnumOrchestration PackageTypeEnumEnum = "ORCHESTRATION"
    PackageTypeEnumImage         PackageTypeEnumEnum = "IMAGE"
)

Set of constants representing the allowable values for PackageTypeEnumEnum

func GetPackageTypeEnumEnumValues Uses

func GetPackageTypeEnumEnumValues() []PackageTypeEnumEnum

GetPackageTypeEnumEnumValues Enumerates the set of values for PackageTypeEnumEnum

type PricingCurrencyEnumEnum Uses

type PricingCurrencyEnumEnum string

PricingCurrencyEnumEnum Enum with underlying type: string

const (
    PricingCurrencyEnumUsd PricingCurrencyEnumEnum = "USD"
)

Set of constants representing the allowable values for PricingCurrencyEnumEnum

func GetPricingCurrencyEnumEnumValues Uses

func GetPricingCurrencyEnumEnumValues() []PricingCurrencyEnumEnum

GetPricingCurrencyEnumEnumValues Enumerates the set of values for PricingCurrencyEnumEnum

type PricingModel Uses

type PricingModel struct {

    // The type of the pricing model.
    Type PricingTypeEnumEnum `mandatory:"true" json:"type"`

    // The type of pricing for a PAYGO model, eg PER_OCPU_LINEAR, PER_OCPU_MIN_BILLING, PER_INSTANCE.  Null if type is not PAYGO.
    PayGoStrategy PricingStrategyEnumEnum `mandatory:"false" json:"payGoStrategy,omitempty"`

    // The currency of the pricing model.
    Currency PricingCurrencyEnumEnum `mandatory:"false" json:"currency,omitempty"`

    // The pricing rate.
    Rate *float32 `mandatory:"false" json:"rate"`
}

PricingModel The model for pricing.

func (PricingModel) String Uses

func (m PricingModel) String() string

type PricingStrategyEnumEnum Uses

type PricingStrategyEnumEnum string

PricingStrategyEnumEnum Enum with underlying type: string

const (
    PricingStrategyEnumPerOcpuLinear               PricingStrategyEnumEnum = "PER_OCPU_LINEAR"
    PricingStrategyEnumPerOcpuMinBilling           PricingStrategyEnumEnum = "PER_OCPU_MIN_BILLING"
    PricingStrategyEnumPerInstance                 PricingStrategyEnumEnum = "PER_INSTANCE"
    PricingStrategyEnumPerInstanceMonthlyInclusive PricingStrategyEnumEnum = "PER_INSTANCE_MONTHLY_INCLUSIVE"
)

Set of constants representing the allowable values for PricingStrategyEnumEnum

func GetPricingStrategyEnumEnumValues Uses

func GetPricingStrategyEnumEnumValues() []PricingStrategyEnumEnum

GetPricingStrategyEnumEnumValues Enumerates the set of values for PricingStrategyEnumEnum

type PricingTypeEnumEnum Uses

type PricingTypeEnumEnum string

PricingTypeEnumEnum Enum with underlying type: string

const (
    PricingTypeEnumFree  PricingTypeEnumEnum = "FREE"
    PricingTypeEnumByol  PricingTypeEnumEnum = "BYOL"
    PricingTypeEnumPaygo PricingTypeEnumEnum = "PAYGO"
)

Set of constants representing the allowable values for PricingTypeEnumEnum

func GetPricingTypeEnumEnumValues Uses

func GetPricingTypeEnumEnumValues() []PricingTypeEnumEnum

GetPricingTypeEnumEnumValues Enumerates the set of values for PricingTypeEnumEnum

type Publisher Uses

type Publisher struct {

    // Unique identifier for the publisher.
    Id  *string `mandatory:"false" json:"id"`

    // The name of the publisher.
    Name *string `mandatory:"false" json:"name"`

    // A description of the publisher.
    Description *string `mandatory:"false" json:"description"`

    // The year the publisher's company or organization was founded.
    YearFounded *int64 `mandatory:"false" json:"yearFounded"`

    // The publisher's website.
    WebsiteUrl *string `mandatory:"false" json:"websiteUrl"`

    // The email address of the publisher.
    ContactEmail *string `mandatory:"false" json:"contactEmail"`

    // The phone number of the publisher.
    ContactPhone *string `mandatory:"false" json:"contactPhone"`

    // The address of the publisher's headquarters.
    HqAddress *string `mandatory:"false" json:"hqAddress"`

     *UploadData `mandatory:"false" json:"logo"`

    // Reference links.
    Links []Link `mandatory:"false" json:"links"`
}

Publisher The model for a publisher.

func (Publisher) String Uses

func (m Publisher) String() string

type PublisherSummary Uses

type PublisherSummary struct {

    // Unique identifier for the publisher.
    Id  *string `mandatory:"false" json:"id"`

    // The name of the publisher.
    Name *string `mandatory:"false" json:"name"`

    // A description of the publisher.
    Description *string `mandatory:"false" json:"description"`
}

PublisherSummary Summary details about the publisher of the listing.

func (PublisherSummary) String Uses

func (m PublisherSummary) String() string

type Region Uses

type Region struct {

    // The name of the region.
    Name *string `mandatory:"false" json:"name"`

    // The code of the region.
    Code *string `mandatory:"false" json:"code"`

    // Countries in the region.
    Countries []Item `mandatory:"false" json:"countries"`
}

Region The model for regions supported by a listing.

func (Region) String Uses

func (m Region) String() string

type Screenshot Uses

type Screenshot struct {

    // The name of the screenshot.
    Name *string `mandatory:"false" json:"name"`

    // A description of the screenshot.
    Description *string `mandatory:"false" json:"description"`

    // The content URL of the screenshot.
    ContentUrl *string `mandatory:"false" json:"contentUrl"`

    // The MIME type of the screenshot.
    MimeType *string `mandatory:"false" json:"mimeType"`

    // The file extension of the screenshot.
    FileExtension *string `mandatory:"false" json:"fileExtension"`
}

Screenshot The model for a listing's screenshot.

func (Screenshot) String Uses

func (m Screenshot) String() string

type SupportContact Uses

type SupportContact struct {

    // The name of the contact.
    Name *string `mandatory:"false" json:"name"`

    // The phone number of the contact.
    Phone *string `mandatory:"false" json:"phone"`

    // The email of the contact.
    Email *string `mandatory:"false" json:"email"`

    // The email subject line to use when contacting support.
    Subject *string `mandatory:"false" json:"subject"`
}

SupportContact Contact information to use to get support.

func (SupportContact) String Uses

func (m SupportContact) String() string

type UpdateAcceptedAgreementDetails Uses

type UpdateAcceptedAgreementDetails struct {

    // A display name for the accepted agreement.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see
    // Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateAcceptedAgreementDetails The model for the parameters needed to update an accepted terms of use agreement.

func (UpdateAcceptedAgreementDetails) String Uses

func (m UpdateAcceptedAgreementDetails) String() string

type UpdateAcceptedAgreementRequest Uses

type UpdateAcceptedAgreementRequest struct {

    // The unique identifier for the accepted terms of use agreement.
    AcceptedAgreementId *string `mandatory:"true" contributesTo:"path" name:"acceptedAgreementId"`

    // Details to update for an accepted agreement.
    UpdateAcceptedAgreementDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without
    // risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been deleted and purged from the system,
    // then a retry of the original creation request might be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to
    // the value of the etag from a previous GET or POST response for that resource.  The resource will be updated or
    // deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

UpdateAcceptedAgreementRequest wrapper for the UpdateAcceptedAgreement operation

func (UpdateAcceptedAgreementRequest) HTTPRequest Uses

func (request UpdateAcceptedAgreementRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAcceptedAgreementRequest) RetryPolicy Uses

func (request UpdateAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAcceptedAgreementRequest) String Uses

func (request UpdateAcceptedAgreementRequest) String() string

type UpdateAcceptedAgreementResponse Uses

type UpdateAcceptedAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AcceptedAgreement instance
    AcceptedAgreement `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
    // a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

UpdateAcceptedAgreementResponse wrapper for the UpdateAcceptedAgreement operation

func (UpdateAcceptedAgreementResponse) HTTPResponse Uses

func (response UpdateAcceptedAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAcceptedAgreementResponse) String Uses

func (response UpdateAcceptedAgreementResponse) String() string

type UploadData Uses

type UploadData struct {

    // The name used to refer to the upload data.
    Name *string `mandatory:"false" json:"name"`

    // The content URL of the upload data.
    ContentUrl *string `mandatory:"false" json:"contentUrl"`

    // The MIME type of the upload data.
    MimeType *string `mandatory:"false" json:"mimeType"`

    // The file extension of the upload data.
    FileExtension *string `mandatory:"false" json:"fileExtension"`
}

UploadData The model for upload data for images and icons.

func (UploadData) String Uses

func (m UploadData) String() string

Package marketplace imports 5 packages (graph). Updated 2020-04-08. Refresh now. Tools for package owners.