...

Package marketplaceprivateoffer

import "github.com/oracle/oci-go-sdk/marketplaceprivateoffer"
Overview
Index

Overview ▾

Index ▾

func GetAttachmentLifecycleStateEnumStringValues() []string
func GetAttachmentTypeEnumStringValues() []string
func GetListAttachmentsSortByEnumStringValues() []string
func GetListAttachmentsSortOrderEnumStringValues() []string
func GetListOfferQuotesSortByEnumStringValues() []string
func GetListOfferQuotesSortOrderEnumStringValues() []string
func GetListOffersSortByEnumStringValues() []string
func GetListOffersSortOrderEnumStringValues() []string
func GetListQuoteAttachmentsSortByEnumStringValues() []string
func GetListQuoteAttachmentsSortOrderEnumStringValues() []string
func GetOfferLifecycleStateEnumStringValues() []string
func GetOfferOfferStatusEnumStringValues() []string
func GetOfferOfferTypeEnumStringValues() []string
func GetOfferQuoteLifecycleStateEnumStringValues() []string
func GetOfferQuoteOfferQuoteStatusEnumStringValues() []string
func GetPackageTypeEnumStringValues() []string
func GetPricingBillingCycleEnumStringValues() []string
func GetPublisherSummaryPublisherTypeEnumStringValues() []string
func GetQuoteAttachmentLifecycleStateEnumStringValues() []string
func GetQuoteAttachmentRecipientEnumStringValues() []string
func GetQuoteAttachmentTypeEnumStringValues() []string
func GetResourceBundleTypeEnumStringValues() []string
func GetResourceBundleUnitOfMeasurementEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
type Attachment
    func (m Attachment) String() string
    func (m Attachment) ValidateEnumValue() (bool, error)
type AttachmentClient
    func NewAttachmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AttachmentClient, err error)
    func NewAttachmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AttachmentClient, err error)
    func (client *AttachmentClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client AttachmentClient) CreateAttachment(ctx context.Context, request CreateAttachmentRequest) (response CreateAttachmentResponse, err error)
    func (client AttachmentClient) DeleteAttachment(ctx context.Context, request DeleteAttachmentRequest) (response DeleteAttachmentResponse, err error)
    func (client AttachmentClient) GetAttachment(ctx context.Context, request GetAttachmentRequest) (response GetAttachmentResponse, err error)
    func (client AttachmentClient) GetAttachmentContent(ctx context.Context, request GetAttachmentContentRequest) (response GetAttachmentContentResponse, err error)
    func (client AttachmentClient) ListAttachments(ctx context.Context, request ListAttachmentsRequest) (response ListAttachmentsResponse, err error)
    func (client *AttachmentClient) SetRegion(region string)
type AttachmentCollection
    func (m AttachmentCollection) String() string
    func (m AttachmentCollection) ValidateEnumValue() (bool, error)
type AttachmentLifecycleStateEnum
    func GetAttachmentLifecycleStateEnumValues() []AttachmentLifecycleStateEnum
    func GetMappingAttachmentLifecycleStateEnum(val string) (AttachmentLifecycleStateEnum, bool)
type AttachmentSummary
    func (m AttachmentSummary) String() string
    func (m AttachmentSummary) ValidateEnumValue() (bool, error)
type AttachmentTypeEnum
    func GetAttachmentTypeEnumValues() []AttachmentTypeEnum
    func GetMappingAttachmentTypeEnum(val string) (AttachmentTypeEnum, bool)
type BuyerInformation
    func (m BuyerInformation) String() string
    func (m BuyerInformation) ValidateEnumValue() (bool, error)
type Contact
    func (m Contact) String() string
    func (m Contact) ValidateEnumValue() (bool, error)
type CreateAttachmentDetails
    func (m CreateAttachmentDetails) String() string
    func (m CreateAttachmentDetails) ValidateEnumValue() (bool, error)
type CreateAttachmentRequest
    func (request CreateAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateAttachmentRequest) String() string
    func (request CreateAttachmentRequest) ValidateEnumValue() (bool, error)
type CreateAttachmentResponse
    func (response CreateAttachmentResponse) HTTPResponse() *http.Response
    func (response CreateAttachmentResponse) String() string
type CreateOfferDetails
    func (m CreateOfferDetails) String() string
    func (m CreateOfferDetails) ValidateEnumValue() (bool, error)
type CreateOfferQuoteDetails
    func (m CreateOfferQuoteDetails) String() string
    func (m CreateOfferQuoteDetails) ValidateEnumValue() (bool, error)
type CreateOfferQuoteRequest
    func (request CreateOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOfferQuoteRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOfferQuoteRequest) String() string
    func (request CreateOfferQuoteRequest) ValidateEnumValue() (bool, error)
type CreateOfferQuoteResponse
    func (response CreateOfferQuoteResponse) HTTPResponse() *http.Response
    func (response CreateOfferQuoteResponse) String() string
type CreateOfferRequest
    func (request CreateOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOfferRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOfferRequest) String() string
    func (request CreateOfferRequest) ValidateEnumValue() (bool, error)
type CreateOfferResponse
    func (response CreateOfferResponse) HTTPResponse() *http.Response
    func (response CreateOfferResponse) String() string
type CreateQuoteAttachmentDetails
    func (m CreateQuoteAttachmentDetails) String() string
    func (m CreateQuoteAttachmentDetails) ValidateEnumValue() (bool, error)
type CreateQuoteAttachmentRequest
    func (request CreateQuoteAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateQuoteAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateQuoteAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateQuoteAttachmentRequest) String() string
    func (request CreateQuoteAttachmentRequest) ValidateEnumValue() (bool, error)
type CreateQuoteAttachmentResponse
    func (response CreateQuoteAttachmentResponse) HTTPResponse() *http.Response
    func (response CreateQuoteAttachmentResponse) String() string
type CustomField
    func (m CustomField) String() string
    func (m CustomField) ValidateEnumValue() (bool, error)
type DeleteAttachmentRequest
    func (request DeleteAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteAttachmentRequest) String() string
    func (request DeleteAttachmentRequest) ValidateEnumValue() (bool, error)
type DeleteAttachmentResponse
    func (response DeleteAttachmentResponse) HTTPResponse() *http.Response
    func (response DeleteAttachmentResponse) String() string
type DeleteOfferQuoteRequest
    func (request DeleteOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOfferQuoteRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOfferQuoteRequest) String() string
    func (request DeleteOfferQuoteRequest) ValidateEnumValue() (bool, error)
type DeleteOfferQuoteResponse
    func (response DeleteOfferQuoteResponse) HTTPResponse() *http.Response
    func (response DeleteOfferQuoteResponse) String() string
type DeleteOfferRequest
    func (request DeleteOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOfferRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOfferRequest) String() string
    func (request DeleteOfferRequest) ValidateEnumValue() (bool, error)
type DeleteOfferResponse
    func (response DeleteOfferResponse) HTTPResponse() *http.Response
    func (response DeleteOfferResponse) String() string
type DeleteQuoteAttachmentRequest
    func (request DeleteQuoteAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteQuoteAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteQuoteAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteQuoteAttachmentRequest) String() string
    func (request DeleteQuoteAttachmentRequest) ValidateEnumValue() (bool, error)
type DeleteQuoteAttachmentResponse
    func (response DeleteQuoteAttachmentResponse) HTTPResponse() *http.Response
    func (response DeleteQuoteAttachmentResponse) String() string
type GetAttachmentContentRequest
    func (request GetAttachmentContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAttachmentContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAttachmentContentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAttachmentContentRequest) String() string
    func (request GetAttachmentContentRequest) ValidateEnumValue() (bool, error)
type GetAttachmentContentResponse
    func (response GetAttachmentContentResponse) HTTPResponse() *http.Response
    func (response GetAttachmentContentResponse) String() string
type GetAttachmentRequest
    func (request GetAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAttachmentRequest) String() string
    func (request GetAttachmentRequest) ValidateEnumValue() (bool, error)
type GetAttachmentResponse
    func (response GetAttachmentResponse) HTTPResponse() *http.Response
    func (response GetAttachmentResponse) String() string
type GetOfferInternalDetailRequest
    func (request GetOfferInternalDetailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOfferInternalDetailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOfferInternalDetailRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOfferInternalDetailRequest) String() string
    func (request GetOfferInternalDetailRequest) ValidateEnumValue() (bool, error)
type GetOfferInternalDetailResponse
    func (response GetOfferInternalDetailResponse) HTTPResponse() *http.Response
    func (response GetOfferInternalDetailResponse) String() string
type GetOfferQuoteInternalDetailRequest
    func (request GetOfferQuoteInternalDetailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOfferQuoteInternalDetailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOfferQuoteInternalDetailRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOfferQuoteInternalDetailRequest) String() string
    func (request GetOfferQuoteInternalDetailRequest) ValidateEnumValue() (bool, error)
type GetOfferQuoteInternalDetailResponse
    func (response GetOfferQuoteInternalDetailResponse) HTTPResponse() *http.Response
    func (response GetOfferQuoteInternalDetailResponse) String() string
type GetOfferQuoteRequest
    func (request GetOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOfferQuoteRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOfferQuoteRequest) String() string
    func (request GetOfferQuoteRequest) ValidateEnumValue() (bool, error)
type GetOfferQuoteResponse
    func (response GetOfferQuoteResponse) HTTPResponse() *http.Response
    func (response GetOfferQuoteResponse) String() string
type GetOfferRequest
    func (request GetOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOfferRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOfferRequest) String() string
    func (request GetOfferRequest) ValidateEnumValue() (bool, error)
type GetOfferResponse
    func (response GetOfferResponse) HTTPResponse() *http.Response
    func (response GetOfferResponse) String() string
type GetQuoteAttachmentContentRequest
    func (request GetQuoteAttachmentContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetQuoteAttachmentContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetQuoteAttachmentContentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetQuoteAttachmentContentRequest) String() string
    func (request GetQuoteAttachmentContentRequest) ValidateEnumValue() (bool, error)
type GetQuoteAttachmentContentResponse
    func (response GetQuoteAttachmentContentResponse) HTTPResponse() *http.Response
    func (response GetQuoteAttachmentContentResponse) String() string
type GetQuoteAttachmentRequest
    func (request GetQuoteAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetQuoteAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetQuoteAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetQuoteAttachmentRequest) String() string
    func (request GetQuoteAttachmentRequest) ValidateEnumValue() (bool, error)
type GetQuoteAttachmentResponse
    func (response GetQuoteAttachmentResponse) HTTPResponse() *http.Response
    func (response GetQuoteAttachmentResponse) String() string
type IsvInformation
    func (m IsvInformation) String() string
    func (m IsvInformation) ValidateEnumValue() (bool, error)
type ListAttachmentsRequest
    func (request ListAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAttachmentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAttachmentsRequest) String() string
    func (request ListAttachmentsRequest) ValidateEnumValue() (bool, error)
type ListAttachmentsResponse
    func (response ListAttachmentsResponse) HTTPResponse() *http.Response
    func (response ListAttachmentsResponse) String() string
type ListAttachmentsSortByEnum
    func GetListAttachmentsSortByEnumValues() []ListAttachmentsSortByEnum
    func GetMappingListAttachmentsSortByEnum(val string) (ListAttachmentsSortByEnum, bool)
type ListAttachmentsSortOrderEnum
    func GetListAttachmentsSortOrderEnumValues() []ListAttachmentsSortOrderEnum
    func GetMappingListAttachmentsSortOrderEnum(val string) (ListAttachmentsSortOrderEnum, bool)
type ListOfferQuotesRequest
    func (request ListOfferQuotesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOfferQuotesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOfferQuotesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOfferQuotesRequest) String() string
    func (request ListOfferQuotesRequest) ValidateEnumValue() (bool, error)
type ListOfferQuotesResponse
    func (response ListOfferQuotesResponse) HTTPResponse() *http.Response
    func (response ListOfferQuotesResponse) String() string
type ListOfferQuotesSortByEnum
    func GetListOfferQuotesSortByEnumValues() []ListOfferQuotesSortByEnum
    func GetMappingListOfferQuotesSortByEnum(val string) (ListOfferQuotesSortByEnum, bool)
type ListOfferQuotesSortOrderEnum
    func GetListOfferQuotesSortOrderEnumValues() []ListOfferQuotesSortOrderEnum
    func GetMappingListOfferQuotesSortOrderEnum(val string) (ListOfferQuotesSortOrderEnum, bool)
type ListOffersRequest
    func (request ListOffersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOffersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOffersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOffersRequest) String() string
    func (request ListOffersRequest) ValidateEnumValue() (bool, error)
type ListOffersResponse
    func (response ListOffersResponse) HTTPResponse() *http.Response
    func (response ListOffersResponse) String() string
type ListOffersSortByEnum
    func GetListOffersSortByEnumValues() []ListOffersSortByEnum
    func GetMappingListOffersSortByEnum(val string) (ListOffersSortByEnum, bool)
type ListOffersSortOrderEnum
    func GetListOffersSortOrderEnumValues() []ListOffersSortOrderEnum
    func GetMappingListOffersSortOrderEnum(val string) (ListOffersSortOrderEnum, bool)
type ListQuoteAttachmentsRequest
    func (request ListQuoteAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListQuoteAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListQuoteAttachmentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListQuoteAttachmentsRequest) String() string
    func (request ListQuoteAttachmentsRequest) ValidateEnumValue() (bool, error)
type ListQuoteAttachmentsResponse
    func (response ListQuoteAttachmentsResponse) HTTPResponse() *http.Response
    func (response ListQuoteAttachmentsResponse) String() string
type ListQuoteAttachmentsSortByEnum
    func GetListQuoteAttachmentsSortByEnumValues() []ListQuoteAttachmentsSortByEnum
    func GetMappingListQuoteAttachmentsSortByEnum(val string) (ListQuoteAttachmentsSortByEnum, bool)
type ListQuoteAttachmentsSortOrderEnum
    func GetListQuoteAttachmentsSortOrderEnumValues() []ListQuoteAttachmentsSortOrderEnum
    func GetMappingListQuoteAttachmentsSortOrderEnum(val string) (ListQuoteAttachmentsSortOrderEnum, bool)
type Offer
    func (m Offer) String() string
    func (m Offer) ValidateEnumValue() (bool, error)
type OfferClient
    func NewOfferClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OfferClient, err error)
    func NewOfferClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OfferClient, err error)
    func (client *OfferClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OfferClient) CreateOffer(ctx context.Context, request CreateOfferRequest) (response CreateOfferResponse, err error)
    func (client OfferClient) DeleteOffer(ctx context.Context, request DeleteOfferRequest) (response DeleteOfferResponse, err error)
    func (client OfferClient) GetOffer(ctx context.Context, request GetOfferRequest) (response GetOfferResponse, err error)
    func (client OfferClient) GetOfferInternalDetail(ctx context.Context, request GetOfferInternalDetailRequest) (response GetOfferInternalDetailResponse, err error)
    func (client OfferClient) ListOffers(ctx context.Context, request ListOffersRequest) (response ListOffersResponse, err error)
    func (client OfferClient) SendOffer(ctx context.Context, request SendOfferRequest) (response SendOfferResponse, err error)
    func (client *OfferClient) SetRegion(region string)
    func (client OfferClient) UpdateOffer(ctx context.Context, request UpdateOfferRequest) (response UpdateOfferResponse, err error)
    func (client OfferClient) WithdrawOffer(ctx context.Context, request WithdrawOfferRequest) (response WithdrawOfferResponse, err error)
type OfferCollection
    func (m OfferCollection) String() string
    func (m OfferCollection) ValidateEnumValue() (bool, error)
type OfferInternalDetail
    func (m OfferInternalDetail) String() string
    func (m OfferInternalDetail) ValidateEnumValue() (bool, error)
type OfferLifecycleStateEnum
    func GetMappingOfferLifecycleStateEnum(val string) (OfferLifecycleStateEnum, bool)
    func GetOfferLifecycleStateEnumValues() []OfferLifecycleStateEnum
type OfferOfferStatusEnum
    func GetMappingOfferOfferStatusEnum(val string) (OfferOfferStatusEnum, bool)
    func GetOfferOfferStatusEnumValues() []OfferOfferStatusEnum
type OfferOfferTypeEnum
    func GetMappingOfferOfferTypeEnum(val string) (OfferOfferTypeEnum, bool)
    func GetOfferOfferTypeEnumValues() []OfferOfferTypeEnum
type OfferQuote
    func (m OfferQuote) String() string
    func (m OfferQuote) ValidateEnumValue() (bool, error)
type OfferQuoteClient
    func NewOfferQuoteClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OfferQuoteClient, err error)
    func NewOfferQuoteClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OfferQuoteClient, err error)
    func (client *OfferQuoteClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OfferQuoteClient) CreateOfferQuote(ctx context.Context, request CreateOfferQuoteRequest) (response CreateOfferQuoteResponse, err error)
    func (client OfferQuoteClient) DeleteOfferQuote(ctx context.Context, request DeleteOfferQuoteRequest) (response DeleteOfferQuoteResponse, err error)
    func (client OfferQuoteClient) GetOfferQuote(ctx context.Context, request GetOfferQuoteRequest) (response GetOfferQuoteResponse, err error)
    func (client OfferQuoteClient) GetOfferQuoteInternalDetail(ctx context.Context, request GetOfferQuoteInternalDetailRequest) (response GetOfferQuoteInternalDetailResponse, err error)
    func (client OfferQuoteClient) ListOfferQuotes(ctx context.Context, request ListOfferQuotesRequest) (response ListOfferQuotesResponse, err error)
    func (client OfferQuoteClient) RespondToOfferQuote(ctx context.Context, request RespondToOfferQuoteRequest) (response RespondToOfferQuoteResponse, err error)
    func (client OfferQuoteClient) SendOfferQuote(ctx context.Context, request SendOfferQuoteRequest) (response SendOfferQuoteResponse, err error)
    func (client *OfferQuoteClient) SetRegion(region string)
    func (client OfferQuoteClient) UpdateOfferQuote(ctx context.Context, request UpdateOfferQuoteRequest) (response UpdateOfferQuoteResponse, err error)
    func (client OfferQuoteClient) WithdrawOfferQuote(ctx context.Context, request WithdrawOfferQuoteRequest) (response WithdrawOfferQuoteResponse, err error)
type OfferQuoteCollection
    func (m OfferQuoteCollection) String() string
    func (m OfferQuoteCollection) ValidateEnumValue() (bool, error)
type OfferQuoteInternalDetail
    func (m OfferQuoteInternalDetail) String() string
    func (m OfferQuoteInternalDetail) ValidateEnumValue() (bool, error)
type OfferQuoteLifecycleStateEnum
    func GetMappingOfferQuoteLifecycleStateEnum(val string) (OfferQuoteLifecycleStateEnum, bool)
    func GetOfferQuoteLifecycleStateEnumValues() []OfferQuoteLifecycleStateEnum
type OfferQuoteOfferQuoteStatusEnum
    func GetMappingOfferQuoteOfferQuoteStatusEnum(val string) (OfferQuoteOfferQuoteStatusEnum, bool)
    func GetOfferQuoteOfferQuoteStatusEnumValues() []OfferQuoteOfferQuoteStatusEnum
type OfferQuoteSummary
    func (m OfferQuoteSummary) String() string
    func (m OfferQuoteSummary) ValidateEnumValue() (bool, error)
type OfferSummary
    func (m OfferSummary) String() string
    func (m OfferSummary) ValidateEnumValue() (bool, error)
type PackageTypeEnum
    func GetMappingPackageTypeEnum(val string) (PackageTypeEnum, bool)
    func GetPackageTypeEnumValues() []PackageTypeEnum
type Pricing
    func (m Pricing) String() string
    func (m Pricing) ValidateEnumValue() (bool, error)
type PricingBillingCycleEnum
    func GetMappingPricingBillingCycleEnum(val string) (PricingBillingCycleEnum, bool)
    func GetPricingBillingCycleEnumValues() []PricingBillingCycleEnum
type PublisherSummary
    func (m PublisherSummary) String() string
    func (m PublisherSummary) ValidateEnumValue() (bool, error)
type PublisherSummaryPublisherTypeEnum
    func GetMappingPublisherSummaryPublisherTypeEnum(val string) (PublisherSummaryPublisherTypeEnum, bool)
    func GetPublisherSummaryPublisherTypeEnumValues() []PublisherSummaryPublisherTypeEnum
type QuoteAttachment
    func (m QuoteAttachment) String() string
    func (m QuoteAttachment) ValidateEnumValue() (bool, error)
type QuoteAttachmentClient
    func NewQuoteAttachmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client QuoteAttachmentClient, err error)
    func NewQuoteAttachmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client QuoteAttachmentClient, err error)
    func (client *QuoteAttachmentClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client QuoteAttachmentClient) CreateQuoteAttachment(ctx context.Context, request CreateQuoteAttachmentRequest) (response CreateQuoteAttachmentResponse, err error)
    func (client QuoteAttachmentClient) DeleteQuoteAttachment(ctx context.Context, request DeleteQuoteAttachmentRequest) (response DeleteQuoteAttachmentResponse, err error)
    func (client QuoteAttachmentClient) GetQuoteAttachment(ctx context.Context, request GetQuoteAttachmentRequest) (response GetQuoteAttachmentResponse, err error)
    func (client QuoteAttachmentClient) GetQuoteAttachmentContent(ctx context.Context, request GetQuoteAttachmentContentRequest) (response GetQuoteAttachmentContentResponse, err error)
    func (client QuoteAttachmentClient) ListQuoteAttachments(ctx context.Context, request ListQuoteAttachmentsRequest) (response ListQuoteAttachmentsResponse, err error)
    func (client *QuoteAttachmentClient) SetRegion(region string)
type QuoteAttachmentCollection
    func (m QuoteAttachmentCollection) String() string
    func (m QuoteAttachmentCollection) ValidateEnumValue() (bool, error)
type QuoteAttachmentLifecycleStateEnum
    func GetMappingQuoteAttachmentLifecycleStateEnum(val string) (QuoteAttachmentLifecycleStateEnum, bool)
    func GetQuoteAttachmentLifecycleStateEnumValues() []QuoteAttachmentLifecycleStateEnum
type QuoteAttachmentRecipientEnum
    func GetMappingQuoteAttachmentRecipientEnum(val string) (QuoteAttachmentRecipientEnum, bool)
    func GetQuoteAttachmentRecipientEnumValues() []QuoteAttachmentRecipientEnum
type QuoteAttachmentSummary
    func (m QuoteAttachmentSummary) String() string
    func (m QuoteAttachmentSummary) ValidateEnumValue() (bool, error)
type QuoteAttachmentTypeEnum
    func GetMappingQuoteAttachmentTypeEnum(val string) (QuoteAttachmentTypeEnum, bool)
    func GetQuoteAttachmentTypeEnumValues() []QuoteAttachmentTypeEnum
type ResellerInformation
    func (m ResellerInformation) String() string
    func (m ResellerInformation) ValidateEnumValue() (bool, error)
type ResourceBundle
    func (m ResourceBundle) String() string
    func (m ResourceBundle) ValidateEnumValue() (bool, error)
type ResourceBundleTypeEnum
    func GetMappingResourceBundleTypeEnum(val string) (ResourceBundleTypeEnum, bool)
    func GetResourceBundleTypeEnumValues() []ResourceBundleTypeEnum
type ResourceBundleUnitOfMeasurementEnum
    func GetMappingResourceBundleUnitOfMeasurementEnum(val string) (ResourceBundleUnitOfMeasurementEnum, bool)
    func GetResourceBundleUnitOfMeasurementEnumValues() []ResourceBundleUnitOfMeasurementEnum
type RespondToOfferQuoteDetails
    func (m RespondToOfferQuoteDetails) String() string
    func (m RespondToOfferQuoteDetails) ValidateEnumValue() (bool, error)
type RespondToOfferQuoteRequest
    func (request RespondToOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RespondToOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RespondToOfferQuoteRequest) RetryPolicy() *common.RetryPolicy
    func (request RespondToOfferQuoteRequest) String() string
    func (request RespondToOfferQuoteRequest) ValidateEnumValue() (bool, error)
type RespondToOfferQuoteResponse
    func (response RespondToOfferQuoteResponse) HTTPResponse() *http.Response
    func (response RespondToOfferQuoteResponse) String() string
type SellerInformation
    func (m SellerInformation) String() string
    func (m SellerInformation) ValidateEnumValue() (bool, error)
type SendOfferQuoteRequest
    func (request SendOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request SendOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request SendOfferQuoteRequest) RetryPolicy() *common.RetryPolicy
    func (request SendOfferQuoteRequest) String() string
    func (request SendOfferQuoteRequest) ValidateEnumValue() (bool, error)
type SendOfferQuoteResponse
    func (response SendOfferQuoteResponse) HTTPResponse() *http.Response
    func (response SendOfferQuoteResponse) String() string
type SendOfferRequest
    func (request SendOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request SendOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request SendOfferRequest) RetryPolicy() *common.RetryPolicy
    func (request SendOfferRequest) String() string
    func (request SendOfferRequest) ValidateEnumValue() (bool, error)
type SendOfferResponse
    func (response SendOfferResponse) HTTPResponse() *http.Response
    func (response SendOfferResponse) String() string
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdateOfferDetails
    func (m UpdateOfferDetails) String() string
    func (m UpdateOfferDetails) ValidateEnumValue() (bool, error)
type UpdateOfferQuoteDetails
    func (m UpdateOfferQuoteDetails) String() string
    func (m UpdateOfferQuoteDetails) ValidateEnumValue() (bool, error)
type UpdateOfferQuoteRequest
    func (request UpdateOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOfferQuoteRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOfferQuoteRequest) String() string
    func (request UpdateOfferQuoteRequest) ValidateEnumValue() (bool, error)
type UpdateOfferQuoteResponse
    func (response UpdateOfferQuoteResponse) HTTPResponse() *http.Response
    func (response UpdateOfferQuoteResponse) String() string
type UpdateOfferRequest
    func (request UpdateOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOfferRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOfferRequest) String() string
    func (request UpdateOfferRequest) ValidateEnumValue() (bool, error)
type UpdateOfferResponse
    func (response UpdateOfferResponse) HTTPResponse() *http.Response
    func (response UpdateOfferResponse) String() string
type UploadData
    func (m UploadData) String() string
    func (m UploadData) ValidateEnumValue() (bool, error)
type WithdrawOfferQuoteRequest
    func (request WithdrawOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request WithdrawOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request WithdrawOfferQuoteRequest) RetryPolicy() *common.RetryPolicy
    func (request WithdrawOfferQuoteRequest) String() string
    func (request WithdrawOfferQuoteRequest) ValidateEnumValue() (bool, error)
type WithdrawOfferQuoteResponse
    func (response WithdrawOfferQuoteResponse) HTTPResponse() *http.Response
    func (response WithdrawOfferQuoteResponse) String() string
type WithdrawOfferRequest
    func (request WithdrawOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request WithdrawOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request WithdrawOfferRequest) RetryPolicy() *common.RetryPolicy
    func (request WithdrawOfferRequest) String() string
    func (request WithdrawOfferRequest) ValidateEnumValue() (bool, error)
type WithdrawOfferResponse
    func (response WithdrawOfferResponse) HTTPResponse() *http.Response
    func (response WithdrawOfferResponse) String() string

Package files

attachment.go attachment_collection.go attachment_summary.go buyer_information.go contact.go create_attachment_details.go create_attachment_request_response.go create_offer_details.go create_offer_quote_details.go create_offer_quote_request_response.go create_offer_request_response.go create_quote_attachment_details.go create_quote_attachment_request_response.go custom_field.go delete_attachment_request_response.go delete_offer_quote_request_response.go delete_offer_request_response.go delete_quote_attachment_request_response.go get_attachment_content_request_response.go get_attachment_request_response.go get_offer_internal_detail_request_response.go get_offer_quote_internal_detail_request_response.go get_offer_quote_request_response.go get_offer_request_response.go get_quote_attachment_content_request_response.go get_quote_attachment_request_response.go isv_information.go list_attachments_request_response.go list_offer_quotes_request_response.go list_offers_request_response.go list_quote_attachments_request_response.go marketplaceprivateoffer_attachment_client.go marketplaceprivateoffer_offer_client.go marketplaceprivateoffer_offerquote_client.go marketplaceprivateoffer_quoteattachment_client.go offer.go offer_collection.go offer_internal_detail.go offer_quote.go offer_quote_collection.go offer_quote_internal_detail.go offer_quote_summary.go offer_summary.go package_type.go pricing.go publisher_summary.go quote_attachment.go quote_attachment_collection.go quote_attachment_summary.go reseller_information.go resource_bundle.go respond_to_offer_quote_details.go respond_to_offer_quote_request_response.go seller_information.go send_offer_quote_request_response.go send_offer_request_response.go sort_order.go update_offer_details.go update_offer_quote_details.go update_offer_quote_request_response.go update_offer_request_response.go upload_data.go withdraw_offer_quote_request_response.go withdraw_offer_request_response.go

func GetAttachmentLifecycleStateEnumStringValues

func GetAttachmentLifecycleStateEnumStringValues() []string

GetAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for AttachmentLifecycleStateEnum

func GetAttachmentTypeEnumStringValues

func GetAttachmentTypeEnumStringValues() []string

GetAttachmentTypeEnumStringValues Enumerates the set of values in String for AttachmentTypeEnum

func GetListAttachmentsSortByEnumStringValues

func GetListAttachmentsSortByEnumStringValues() []string

GetListAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListAttachmentsSortByEnum

func GetListAttachmentsSortOrderEnumStringValues

func GetListAttachmentsSortOrderEnumStringValues() []string

GetListAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListAttachmentsSortOrderEnum

func GetListOfferQuotesSortByEnumStringValues

func GetListOfferQuotesSortByEnumStringValues() []string

GetListOfferQuotesSortByEnumStringValues Enumerates the set of values in String for ListOfferQuotesSortByEnum

func GetListOfferQuotesSortOrderEnumStringValues

func GetListOfferQuotesSortOrderEnumStringValues() []string

GetListOfferQuotesSortOrderEnumStringValues Enumerates the set of values in String for ListOfferQuotesSortOrderEnum

func GetListOffersSortByEnumStringValues

func GetListOffersSortByEnumStringValues() []string

GetListOffersSortByEnumStringValues Enumerates the set of values in String for ListOffersSortByEnum

func GetListOffersSortOrderEnumStringValues

func GetListOffersSortOrderEnumStringValues() []string

GetListOffersSortOrderEnumStringValues Enumerates the set of values in String for ListOffersSortOrderEnum

func GetListQuoteAttachmentsSortByEnumStringValues

func GetListQuoteAttachmentsSortByEnumStringValues() []string

GetListQuoteAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListQuoteAttachmentsSortByEnum

func GetListQuoteAttachmentsSortOrderEnumStringValues

func GetListQuoteAttachmentsSortOrderEnumStringValues() []string

GetListQuoteAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListQuoteAttachmentsSortOrderEnum

func GetOfferLifecycleStateEnumStringValues

func GetOfferLifecycleStateEnumStringValues() []string

GetOfferLifecycleStateEnumStringValues Enumerates the set of values in String for OfferLifecycleStateEnum

func GetOfferOfferStatusEnumStringValues

func GetOfferOfferStatusEnumStringValues() []string

GetOfferOfferStatusEnumStringValues Enumerates the set of values in String for OfferOfferStatusEnum

func GetOfferOfferTypeEnumStringValues

func GetOfferOfferTypeEnumStringValues() []string

GetOfferOfferTypeEnumStringValues Enumerates the set of values in String for OfferOfferTypeEnum

func GetOfferQuoteLifecycleStateEnumStringValues

func GetOfferQuoteLifecycleStateEnumStringValues() []string

GetOfferQuoteLifecycleStateEnumStringValues Enumerates the set of values in String for OfferQuoteLifecycleStateEnum

func GetOfferQuoteOfferQuoteStatusEnumStringValues

func GetOfferQuoteOfferQuoteStatusEnumStringValues() []string

GetOfferQuoteOfferQuoteStatusEnumStringValues Enumerates the set of values in String for OfferQuoteOfferQuoteStatusEnum

func GetPackageTypeEnumStringValues

func GetPackageTypeEnumStringValues() []string

GetPackageTypeEnumStringValues Enumerates the set of values in String for PackageTypeEnum

func GetPricingBillingCycleEnumStringValues

func GetPricingBillingCycleEnumStringValues() []string

GetPricingBillingCycleEnumStringValues Enumerates the set of values in String for PricingBillingCycleEnum

func GetPublisherSummaryPublisherTypeEnumStringValues

func GetPublisherSummaryPublisherTypeEnumStringValues() []string

GetPublisherSummaryPublisherTypeEnumStringValues Enumerates the set of values in String for PublisherSummaryPublisherTypeEnum

func GetQuoteAttachmentLifecycleStateEnumStringValues

func GetQuoteAttachmentLifecycleStateEnumStringValues() []string

GetQuoteAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for QuoteAttachmentLifecycleStateEnum

func GetQuoteAttachmentRecipientEnumStringValues

func GetQuoteAttachmentRecipientEnumStringValues() []string

GetQuoteAttachmentRecipientEnumStringValues Enumerates the set of values in String for QuoteAttachmentRecipientEnum

func GetQuoteAttachmentTypeEnumStringValues

func GetQuoteAttachmentTypeEnumStringValues() []string

GetQuoteAttachmentTypeEnumStringValues Enumerates the set of values in String for QuoteAttachmentTypeEnum

func GetResourceBundleTypeEnumStringValues

func GetResourceBundleTypeEnumStringValues() []string

GetResourceBundleTypeEnumStringValues Enumerates the set of values in String for ResourceBundleTypeEnum

func GetResourceBundleUnitOfMeasurementEnumStringValues

func GetResourceBundleUnitOfMeasurementEnumStringValues() []string

GetResourceBundleUnitOfMeasurementEnumStringValues Enumerates the set of values in String for ResourceBundleUnitOfMeasurementEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

type Attachment

Attachment Description of Attachment.

type Attachment struct {

    // Unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // OCID of the seller's tenancy (root compartment).
    SellerCompartmentId *string `mandatory:"true" json:"sellerCompartmentId"`

    // Unique identifier of the associated offer that is immutable on creation
    OfferId *string `mandatory:"true" json:"offerId"`

    // The name used to refer to the uploaded data.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The type of offer attachment.
    Type AttachmentTypeEnum `mandatory:"true" json:"type"`

    // The time the the Offer was created. An RFC3339 formatted datetime string
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the Offer.
    LifecycleState AttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // OCID of the buyer's tenancy (root compartment).
    BuyerCompartmentId *string `mandatory:"false" json:"buyerCompartmentId"`

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

    // The type of the offer.
    OfferType OfferOfferTypeEnum `mandatory:"false" json:"offerType,omitempty"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Attachment) String

func (m Attachment) String() string

func (Attachment) ValidateEnumValue

func (m Attachment) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachmentClient

AttachmentClient a client for Attachment

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

func NewAttachmentClientWithConfigurationProvider

func NewAttachmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AttachmentClient, err error)

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

func NewAttachmentClientWithOboToken

func NewAttachmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AttachmentClient, err error)

NewAttachmentClientWithOboToken Creates a new default Attachment 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 (*AttachmentClient) ConfigurationProvider

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

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

func (AttachmentClient) CreateAttachment

func (client AttachmentClient) CreateAttachment(ctx context.Context, request CreateAttachmentRequest) (response CreateAttachmentResponse, err error)

CreateAttachment Creates a new Attachment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/CreateAttachment.go.html to see an example of how to use CreateAttachment API. A default retry strategy applies to this operation CreateAttachment()

func (AttachmentClient) DeleteAttachment

func (client AttachmentClient) DeleteAttachment(ctx context.Context, request DeleteAttachmentRequest) (response DeleteAttachmentResponse, err error)

DeleteAttachment Deletes a Attachment resource by identifier

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/DeleteAttachment.go.html to see an example of how to use DeleteAttachment API. A default retry strategy applies to this operation DeleteAttachment()

func (AttachmentClient) GetAttachment

func (client AttachmentClient) GetAttachment(ctx context.Context, request GetAttachmentRequest) (response GetAttachmentResponse, err error)

GetAttachment Gets a Attachment by identifier

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetAttachment.go.html to see an example of how to use GetAttachment API. A default retry strategy applies to this operation GetAttachment()

func (AttachmentClient) GetAttachmentContent

func (client AttachmentClient) GetAttachmentContent(ctx context.Context, request GetAttachmentContentRequest) (response GetAttachmentContentResponse, err error)

GetAttachmentContent Gets a Attachment content by identifier

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetAttachmentContent.go.html to see an example of how to use GetAttachmentContent API. A default retry strategy applies to this operation GetAttachmentContent()

func (AttachmentClient) ListAttachments

func (client AttachmentClient) ListAttachments(ctx context.Context, request ListAttachmentsRequest) (response ListAttachmentsResponse, err error)

ListAttachments Returns a list of Attachments. Requires either the BuyerCompartmentId or the SellerCompartmentId params. If neither or both are provided, then the API will return a 400.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/ListAttachments.go.html to see an example of how to use ListAttachments API. A default retry strategy applies to this operation ListAttachments()

func (*AttachmentClient) SetRegion

func (client *AttachmentClient) SetRegion(region string)

SetRegion overrides the region of this client.

type AttachmentCollection

AttachmentCollection Results of a offers search. Contains boh AttachmentSummary items.

type AttachmentCollection struct {

    // List of attachment.
    Items []AttachmentSummary `mandatory:"true" json:"items"`
}

func (AttachmentCollection) String

func (m AttachmentCollection) String() string

func (AttachmentCollection) ValidateEnumValue

func (m AttachmentCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachmentLifecycleStateEnum

AttachmentLifecycleStateEnum Enum with underlying type: string

type AttachmentLifecycleStateEnum string

Set of constants representing the allowable values for AttachmentLifecycleStateEnum

const (
    AttachmentLifecycleStateCreating AttachmentLifecycleStateEnum = "CREATING"
    AttachmentLifecycleStateUpdating AttachmentLifecycleStateEnum = "UPDATING"
    AttachmentLifecycleStateActive   AttachmentLifecycleStateEnum = "ACTIVE"
    AttachmentLifecycleStateDeleting AttachmentLifecycleStateEnum = "DELETING"
    AttachmentLifecycleStateDeleted  AttachmentLifecycleStateEnum = "DELETED"
    AttachmentLifecycleStateFailed   AttachmentLifecycleStateEnum = "FAILED"
)

func GetAttachmentLifecycleStateEnumValues

func GetAttachmentLifecycleStateEnumValues() []AttachmentLifecycleStateEnum

GetAttachmentLifecycleStateEnumValues Enumerates the set of values for AttachmentLifecycleStateEnum

func GetMappingAttachmentLifecycleStateEnum

func GetMappingAttachmentLifecycleStateEnum(val string) (AttachmentLifecycleStateEnum, bool)

GetMappingAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type AttachmentSummary

AttachmentSummary Description of Attachment.

type AttachmentSummary struct {

    // Unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // Unique identifier of the associated offer that is immutable on creation
    OfferId *string `mandatory:"true" json:"offerId"`

    // The name used to refer to the uploaded data.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The type of offer attachment.
    Type AttachmentTypeEnum `mandatory:"true" json:"type"`

    // The current state of the Attachment.
    LifecycleState AttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

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

    // The type of the offer.
    OfferType OfferOfferTypeEnum `mandatory:"false" json:"offerType,omitempty"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (AttachmentSummary) String

func (m AttachmentSummary) String() string

func (AttachmentSummary) ValidateEnumValue

func (m AttachmentSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachmentTypeEnum

AttachmentTypeEnum Enum with underlying type: string

type AttachmentTypeEnum string

Set of constants representing the allowable values for AttachmentTypeEnum

const (
    AttachmentTypeContractTAndC AttachmentTypeEnum = "CONTRACT_T_AND_C"
    AttachmentTypeQuote         AttachmentTypeEnum = "QUOTE"
    AttachmentTypeEula          AttachmentTypeEnum = "EULA"
    AttachmentTypeTermsOfUse    AttachmentTypeEnum = "TERMS_OF_USE"
    AttachmentTypeMisc          AttachmentTypeEnum = "MISC"
)

func GetAttachmentTypeEnumValues

func GetAttachmentTypeEnumValues() []AttachmentTypeEnum

GetAttachmentTypeEnumValues Enumerates the set of values for AttachmentTypeEnum

func GetMappingAttachmentTypeEnum

func GetMappingAttachmentTypeEnum(val string) (AttachmentTypeEnum, bool)

GetMappingAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type BuyerInformation

BuyerInformation The information related to the buyer of an Offer

type BuyerInformation struct {

    // the name of the company for the buyer
    CompanyName *string `mandatory:"false" json:"companyName"`

    // a note the seller can specify for the buyer through a notification email
    NoteToBuyer *string `mandatory:"false" json:"noteToBuyer"`

    PrimaryContact *Contact `mandatory:"false" json:"primaryContact"`

    // the additional contacts associated with the buyer
    AdditionalContacts []Contact `mandatory:"false" json:"additionalContacts"`
}

func (BuyerInformation) String

func (m BuyerInformation) String() string

func (BuyerInformation) ValidateEnumValue

func (m BuyerInformation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Contact

Contact The contact information of an individual.

type Contact struct {

    // The first name of the contact.
    FirstName *string `mandatory:"false" json:"firstName"`

    // The last name of the contact.
    LastName *string `mandatory:"false" json:"lastName"`

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

func (Contact) String

func (m Contact) String() string

func (Contact) ValidateEnumValue

func (m Contact) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAttachmentDetails

CreateAttachmentDetails An attachment uploaded by the Publisher to be attached to an Offer.

type CreateAttachmentDetails struct {

    // Base64-encoded file to attach to the Offer. File must be a PDF with maximum size of 1 MB
    FileBase64Encoded []byte `mandatory:"true" json:"fileBase64Encoded"`

    // The name used to refer to the uploaded data.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The type of offer attachment.
    Type AttachmentTypeEnum `mandatory:"true" json:"type"`
}

func (CreateAttachmentDetails) String

func (m CreateAttachmentDetails) String() string

func (CreateAttachmentDetails) ValidateEnumValue

func (m CreateAttachmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAttachmentRequest

CreateAttachmentRequest wrapper for the CreateAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/CreateAttachment.go.html to see an example of how to use CreateAttachmentRequest.

type CreateAttachmentRequest struct {

    // Details for the new Attachment.
    CreateAttachmentDetails `contributesTo:"body"`

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (CreateAttachmentRequest) BinaryRequestBody

func (request CreateAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateAttachmentRequest) HTTPRequest

func (request CreateAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateAttachmentRequest) RetryPolicy

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

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

func (CreateAttachmentRequest) String

func (request CreateAttachmentRequest) String() string

func (CreateAttachmentRequest) ValidateEnumValue

func (request CreateAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAttachmentResponse

CreateAttachmentResponse wrapper for the CreateAttachment operation

type CreateAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (CreateAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateAttachmentResponse) String

func (response CreateAttachmentResponse) String() string

type CreateOfferDetails

CreateOfferDetails The information about new Offers.

type CreateOfferDetails struct {

    // Offers Identifier
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Compartment Identifier of the seller
    SellerCompartmentId *string `mandatory:"true" json:"sellerCompartmentId"`

    // Compartment Identifier of the buyer
    BuyerCompartmentId *string `mandatory:"false" json:"buyerCompartmentId"`

    // Description of the Offer
    Description *string `mandatory:"false" json:"description"`

    // Internal notes of the Offer
    InternalNotes *string `mandatory:"false" json:"internalNotes"`

    // The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
    TimeStartDate *common.SDKTime `mandatory:"false" json:"timeStartDate"`

    // Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
    Duration *string `mandatory:"false" json:"duration"`

    // The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
    TimeAcceptBy *common.SDKTime `mandatory:"false" json:"timeAcceptBy"`

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

    BuyerInformation *BuyerInformation `mandatory:"false" json:"buyerInformation"`

    SellerInformation *SellerInformation `mandatory:"false" json:"sellerInformation"`

    // A list of Resource Bundles associated with an Offer.
    ResourceBundles []ResourceBundle `mandatory:"false" json:"resourceBundles"`

    // A list of key value pairs specified by the seller
    CustomFields []CustomField `mandatory:"false" json:"customFields"`

    // The type of the offer.
    OfferType OfferOfferTypeEnum `mandatory:"false" json:"offerType,omitempty"`

    // A list of associated offer quotes.
    OfferQuoteIds []string `mandatory:"false" json:"offerQuoteIds"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateOfferDetails) String

func (m CreateOfferDetails) String() string

func (CreateOfferDetails) ValidateEnumValue

func (m CreateOfferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateOfferQuoteDetails

CreateOfferQuoteDetails The information about new offer quotes.

type CreateOfferQuoteDetails struct {

    // Offer quotes identifier.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Compartment identifier of the reseller.
    ResellerCompartmentId *string `mandatory:"true" json:"resellerCompartmentId"`

    // Compartment identifier of the ISV.
    IsvCompartmentId *string `mandatory:"false" json:"isvCompartmentId"`

    // Publisher identifier of the ISV.
    IsvPublisherId *string `mandatory:"false" json:"isvPublisherId"`

    // Description of the offer quote.
    Description *string `mandatory:"false" json:"description"`

    // A list of resource bundles associated with an offer quote.
    ResourceBundles []ResourceBundle `mandatory:"false" json:"resourceBundles"`

    // A list of buyer tenancies.
    BuyerCompartmentIds []string `mandatory:"false" json:"buyerCompartmentIds"`

    ResellerInformation *ResellerInformation `mandatory:"false" json:"resellerInformation"`

    IsvInformation *IsvInformation `mandatory:"false" json:"isvInformation"`

    // The time the offer for the buyer must be accepted by before the offer becomes invalid. An RFC3339 formatted datetime string.
    BuyerAcceptanceDeadline *common.SDKTime `mandatory:"false" json:"buyerAcceptanceDeadline"`

    // Duration the offer for the buyer will be active after its start date. An ISO8601 extended formatted string.
    BuyerOfferDuration *string `mandatory:"false" json:"buyerOfferDuration"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateOfferQuoteDetails) String

func (m CreateOfferQuoteDetails) String() string

func (CreateOfferQuoteDetails) ValidateEnumValue

func (m CreateOfferQuoteDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateOfferQuoteRequest

CreateOfferQuoteRequest wrapper for the CreateOfferQuote operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/CreateOfferQuote.go.html to see an example of how to use CreateOfferQuoteRequest.

type CreateOfferQuoteRequest struct {

    // Details for the new offer quote.
    CreateOfferQuoteDetails `contributesTo:"body"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (CreateOfferQuoteRequest) BinaryRequestBody

func (request CreateOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateOfferQuoteRequest) HTTPRequest

func (request CreateOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateOfferQuoteRequest) RetryPolicy

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

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

func (CreateOfferQuoteRequest) String

func (request CreateOfferQuoteRequest) String() string

func (CreateOfferQuoteRequest) ValidateEnumValue

func (request CreateOfferQuoteRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateOfferQuoteResponse

CreateOfferQuoteResponse wrapper for the CreateOfferQuote operation

type CreateOfferQuoteResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OfferQuote instance
    OfferQuote `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"`

    // URL for the created offer quote. The offer quote OCID is generated after this request is sent.
    Location *string `presentIn:"header" name:"location"`

    // Same as location.
    ContentLocation *string `presentIn:"header" name:"content-location"`

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (CreateOfferQuoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOfferQuoteResponse) String

func (response CreateOfferQuoteResponse) String() string

type CreateOfferRequest

CreateOfferRequest wrapper for the CreateOffer operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/CreateOffer.go.html to see an example of how to use CreateOfferRequest.

type CreateOfferRequest struct {

    // Details for the new Offer.
    CreateOfferDetails `contributesTo:"body"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (CreateOfferRequest) BinaryRequestBody

func (request CreateOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateOfferRequest) HTTPRequest

func (request CreateOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateOfferRequest) RetryPolicy

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

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

func (CreateOfferRequest) String

func (request CreateOfferRequest) String() string

func (CreateOfferRequest) ValidateEnumValue

func (request CreateOfferRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateOfferResponse

CreateOfferResponse wrapper for the CreateOffer operation

type CreateOfferResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Offer instance
    Offer `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"`
}

func (CreateOfferResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOfferResponse) String

func (response CreateOfferResponse) String() string

type CreateQuoteAttachmentDetails

CreateQuoteAttachmentDetails The details for creating a new offer quote attachment.

type CreateQuoteAttachmentDetails struct {

    // Base64-encoded file to attach to the offer quote.
    FileBase64Encoded []byte `mandatory:"true" json:"fileBase64Encoded"`

    // The name used to refer to the uploaded data.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The type of offer quote attachment.
    Type QuoteAttachmentTypeEnum `mandatory:"true" json:"type"`

    // The recipient of the offer quote attachment.
    Recipient QuoteAttachmentRecipientEnum `mandatory:"true" json:"recipient"`
}

func (CreateQuoteAttachmentDetails) String

func (m CreateQuoteAttachmentDetails) String() string

func (CreateQuoteAttachmentDetails) ValidateEnumValue

func (m CreateQuoteAttachmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateQuoteAttachmentRequest

CreateQuoteAttachmentRequest wrapper for the CreateQuoteAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/CreateQuoteAttachment.go.html to see an example of how to use CreateQuoteAttachmentRequest.

type CreateQuoteAttachmentRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // Details for the new offer quote attachment.
    CreateQuoteAttachmentDetails `contributesTo:"body"`

    // The client request ID for tracing.
    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
}

func (CreateQuoteAttachmentRequest) BinaryRequestBody

func (request CreateQuoteAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateQuoteAttachmentRequest) HTTPRequest

func (request CreateQuoteAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateQuoteAttachmentRequest) RetryPolicy

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

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

func (CreateQuoteAttachmentRequest) String

func (request CreateQuoteAttachmentRequest) String() string

func (CreateQuoteAttachmentRequest) ValidateEnumValue

func (request CreateQuoteAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateQuoteAttachmentResponse

CreateQuoteAttachmentResponse wrapper for the CreateQuoteAttachment operation

type CreateQuoteAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`

    // URL for the created offer quote attachment. The offer quote attachment OCID is generated after this request is sent.
    Location *string `presentIn:"header" name:"location"`

    // Same as location.
    ContentLocation *string `presentIn:"header" name:"content-location"`

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (CreateQuoteAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateQuoteAttachmentResponse) String

func (response CreateQuoteAttachmentResponse) String() string

type CustomField

CustomField A key value pair specified by the seller of the offer.

type CustomField struct {

    // The key of the custom field.
    Key *string `mandatory:"false" json:"key"`

    // The value of the custom field.
    Value *string `mandatory:"false" json:"value"`
}

func (CustomField) String

func (m CustomField) String() string

func (CustomField) ValidateEnumValue

func (m CustomField) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteAttachmentRequest

DeleteAttachmentRequest wrapper for the DeleteAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/DeleteAttachment.go.html to see an example of how to use DeleteAttachmentRequest.

type DeleteAttachmentRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // unique Offer identifier
    AttachmentId *string `mandatory:"true" contributesTo:"path" name:"attachmentId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (DeleteAttachmentRequest) BinaryRequestBody

func (request DeleteAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteAttachmentRequest) HTTPRequest

func (request DeleteAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteAttachmentRequest) RetryPolicy

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

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

func (DeleteAttachmentRequest) String

func (request DeleteAttachmentRequest) String() string

func (DeleteAttachmentRequest) ValidateEnumValue

func (request DeleteAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteAttachmentResponse

DeleteAttachmentResponse wrapper for the DeleteAttachment operation

type DeleteAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (DeleteAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteAttachmentResponse) String

func (response DeleteAttachmentResponse) String() string

type DeleteOfferQuoteRequest

DeleteOfferQuoteRequest wrapper for the DeleteOfferQuote operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/DeleteOfferQuote.go.html to see an example of how to use DeleteOfferQuoteRequest.

type DeleteOfferQuoteRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (DeleteOfferQuoteRequest) BinaryRequestBody

func (request DeleteOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteOfferQuoteRequest) HTTPRequest

func (request DeleteOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteOfferQuoteRequest) RetryPolicy

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

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

func (DeleteOfferQuoteRequest) String

func (request DeleteOfferQuoteRequest) String() string

func (DeleteOfferQuoteRequest) ValidateEnumValue

func (request DeleteOfferQuoteRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteOfferQuoteResponse

DeleteOfferQuoteResponse wrapper for the DeleteOfferQuote operation

type DeleteOfferQuoteResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (DeleteOfferQuoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOfferQuoteResponse) String

func (response DeleteOfferQuoteResponse) String() string

type DeleteOfferRequest

DeleteOfferRequest wrapper for the DeleteOffer operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/DeleteOffer.go.html to see an example of how to use DeleteOfferRequest.

type DeleteOfferRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (DeleteOfferRequest) BinaryRequestBody

func (request DeleteOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteOfferRequest) HTTPRequest

func (request DeleteOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteOfferRequest) RetryPolicy

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

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

func (DeleteOfferRequest) String

func (request DeleteOfferRequest) String() string

func (DeleteOfferRequest) ValidateEnumValue

func (request DeleteOfferRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteOfferResponse

DeleteOfferResponse wrapper for the DeleteOffer operation

type DeleteOfferResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (DeleteOfferResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOfferResponse) String

func (response DeleteOfferResponse) String() string

type DeleteQuoteAttachmentRequest

DeleteQuoteAttachmentRequest wrapper for the DeleteQuoteAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/DeleteQuoteAttachment.go.html to see an example of how to use DeleteQuoteAttachmentRequest.

type DeleteQuoteAttachmentRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // Unique offer quote attachment identifier.
    QuoteAttachmentId *string `mandatory:"true" contributesTo:"path" name:"quoteAttachmentId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (DeleteQuoteAttachmentRequest) BinaryRequestBody

func (request DeleteQuoteAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteQuoteAttachmentRequest) HTTPRequest

func (request DeleteQuoteAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteQuoteAttachmentRequest) RetryPolicy

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

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

func (DeleteQuoteAttachmentRequest) String

func (request DeleteQuoteAttachmentRequest) String() string

func (DeleteQuoteAttachmentRequest) ValidateEnumValue

func (request DeleteQuoteAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteQuoteAttachmentResponse

DeleteQuoteAttachmentResponse wrapper for the DeleteQuoteAttachment operation

type DeleteQuoteAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (DeleteQuoteAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteQuoteAttachmentResponse) String

func (response DeleteQuoteAttachmentResponse) String() string

type GetAttachmentContentRequest

GetAttachmentContentRequest wrapper for the GetAttachmentContent operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetAttachmentContent.go.html to see an example of how to use GetAttachmentContentRequest.

type GetAttachmentContentRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // unique Offer identifier
    AttachmentId *string `mandatory:"true" contributesTo:"path" name:"attachmentId"`

    // The client request ID for tracing.
    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
}

func (GetAttachmentContentRequest) BinaryRequestBody

func (request GetAttachmentContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAttachmentContentRequest) HTTPRequest

func (request GetAttachmentContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAttachmentContentRequest) RetryPolicy

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

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

func (GetAttachmentContentRequest) String

func (request GetAttachmentContentRequest) String() string

func (GetAttachmentContentRequest) ValidateEnumValue

func (request GetAttachmentContentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetAttachmentContentResponse

GetAttachmentContentResponse wrapper for the GetAttachmentContent operation

type GetAttachmentContentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // 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"`
}

func (GetAttachmentContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAttachmentContentResponse) String

func (response GetAttachmentContentResponse) String() string

type GetAttachmentRequest

GetAttachmentRequest wrapper for the GetAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetAttachment.go.html to see an example of how to use GetAttachmentRequest.

type GetAttachmentRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // unique Offer identifier
    AttachmentId *string `mandatory:"true" contributesTo:"path" name:"attachmentId"`

    // The client request ID for tracing.
    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
}

func (GetAttachmentRequest) BinaryRequestBody

func (request GetAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAttachmentRequest) HTTPRequest

func (request GetAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAttachmentRequest) RetryPolicy

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

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

func (GetAttachmentRequest) String

func (request GetAttachmentRequest) String() string

func (GetAttachmentRequest) ValidateEnumValue

func (request GetAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetAttachmentResponse

GetAttachmentResponse wrapper for the GetAttachment operation

type GetAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (GetAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAttachmentResponse) String

func (response GetAttachmentResponse) String() string

type GetOfferInternalDetailRequest

GetOfferInternalDetailRequest wrapper for the GetOfferInternalDetail operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetOfferInternalDetail.go.html to see an example of how to use GetOfferInternalDetailRequest.

type GetOfferInternalDetailRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // The client request ID for tracing.
    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
}

func (GetOfferInternalDetailRequest) BinaryRequestBody

func (request GetOfferInternalDetailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetOfferInternalDetailRequest) HTTPRequest

func (request GetOfferInternalDetailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetOfferInternalDetailRequest) RetryPolicy

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

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

func (GetOfferInternalDetailRequest) String

func (request GetOfferInternalDetailRequest) String() string

func (GetOfferInternalDetailRequest) ValidateEnumValue

func (request GetOfferInternalDetailRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetOfferInternalDetailResponse

GetOfferInternalDetailResponse wrapper for the GetOfferInternalDetail operation

type GetOfferInternalDetailResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (GetOfferInternalDetailResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOfferInternalDetailResponse) String

func (response GetOfferInternalDetailResponse) String() string

type GetOfferQuoteInternalDetailRequest

GetOfferQuoteInternalDetailRequest wrapper for the GetOfferQuoteInternalDetail operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetOfferQuoteInternalDetail.go.html to see an example of how to use GetOfferQuoteInternalDetailRequest.

type GetOfferQuoteInternalDetailRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // The client request ID for tracing.
    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
}

func (GetOfferQuoteInternalDetailRequest) BinaryRequestBody

func (request GetOfferQuoteInternalDetailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetOfferQuoteInternalDetailRequest) HTTPRequest

func (request GetOfferQuoteInternalDetailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetOfferQuoteInternalDetailRequest) RetryPolicy

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

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

func (GetOfferQuoteInternalDetailRequest) String

func (request GetOfferQuoteInternalDetailRequest) String() string

func (GetOfferQuoteInternalDetailRequest) ValidateEnumValue

func (request GetOfferQuoteInternalDetailRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetOfferQuoteInternalDetailResponse

GetOfferQuoteInternalDetailResponse wrapper for the GetOfferQuoteInternalDetail operation

type GetOfferQuoteInternalDetailResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (GetOfferQuoteInternalDetailResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOfferQuoteInternalDetailResponse) String

func (response GetOfferQuoteInternalDetailResponse) String() string

type GetOfferQuoteRequest

GetOfferQuoteRequest wrapper for the GetOfferQuote operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetOfferQuote.go.html to see an example of how to use GetOfferQuoteRequest.

type GetOfferQuoteRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // The client request ID for tracing.
    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
}

func (GetOfferQuoteRequest) BinaryRequestBody

func (request GetOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetOfferQuoteRequest) HTTPRequest

func (request GetOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetOfferQuoteRequest) RetryPolicy

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

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

func (GetOfferQuoteRequest) String

func (request GetOfferQuoteRequest) String() string

func (GetOfferQuoteRequest) ValidateEnumValue

func (request GetOfferQuoteRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetOfferQuoteResponse

GetOfferQuoteResponse wrapper for the GetOfferQuote operation

type GetOfferQuoteResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (GetOfferQuoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOfferQuoteResponse) String

func (response GetOfferQuoteResponse) String() string

type GetOfferRequest

GetOfferRequest wrapper for the GetOffer operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetOffer.go.html to see an example of how to use GetOfferRequest.

type GetOfferRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // The client request ID for tracing.
    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
}

func (GetOfferRequest) BinaryRequestBody

func (request GetOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetOfferRequest) HTTPRequest

func (request GetOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetOfferRequest) RetryPolicy

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

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

func (GetOfferRequest) String

func (request GetOfferRequest) String() string

func (GetOfferRequest) ValidateEnumValue

func (request GetOfferRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetOfferResponse

GetOfferResponse wrapper for the GetOffer operation

type GetOfferResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (GetOfferResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOfferResponse) String

func (response GetOfferResponse) String() string

type GetQuoteAttachmentContentRequest

GetQuoteAttachmentContentRequest wrapper for the GetQuoteAttachmentContent operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetQuoteAttachmentContent.go.html to see an example of how to use GetQuoteAttachmentContentRequest.

type GetQuoteAttachmentContentRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // Unique offer quote attachment identifier.
    QuoteAttachmentId *string `mandatory:"true" contributesTo:"path" name:"quoteAttachmentId"`

    // The client request ID for tracing.
    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
}

func (GetQuoteAttachmentContentRequest) BinaryRequestBody

func (request GetQuoteAttachmentContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetQuoteAttachmentContentRequest) HTTPRequest

func (request GetQuoteAttachmentContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetQuoteAttachmentContentRequest) RetryPolicy

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

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

func (GetQuoteAttachmentContentRequest) String

func (request GetQuoteAttachmentContentRequest) String() string

func (GetQuoteAttachmentContentRequest) ValidateEnumValue

func (request GetQuoteAttachmentContentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetQuoteAttachmentContentResponse

GetQuoteAttachmentContentResponse wrapper for the GetQuoteAttachmentContent operation

type GetQuoteAttachmentContentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // 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"`
}

func (GetQuoteAttachmentContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetQuoteAttachmentContentResponse) String

func (response GetQuoteAttachmentContentResponse) String() string

type GetQuoteAttachmentRequest

GetQuoteAttachmentRequest wrapper for the GetQuoteAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetQuoteAttachment.go.html to see an example of how to use GetQuoteAttachmentRequest.

type GetQuoteAttachmentRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // Unique offer quote attachment identifier.
    QuoteAttachmentId *string `mandatory:"true" contributesTo:"path" name:"quoteAttachmentId"`

    // The client request ID for tracing.
    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
}

func (GetQuoteAttachmentRequest) BinaryRequestBody

func (request GetQuoteAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetQuoteAttachmentRequest) HTTPRequest

func (request GetQuoteAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetQuoteAttachmentRequest) RetryPolicy

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

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

func (GetQuoteAttachmentRequest) String

func (request GetQuoteAttachmentRequest) String() string

func (GetQuoteAttachmentRequest) ValidateEnumValue

func (request GetQuoteAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetQuoteAttachmentResponse

GetQuoteAttachmentResponse wrapper for the GetQuoteAttachment operation

type GetQuoteAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (GetQuoteAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetQuoteAttachmentResponse) String

func (response GetQuoteAttachmentResponse) String() string

type IsvInformation

IsvInformation The information related to the ISV of an offer quote.

type IsvInformation struct {
    PrimaryContact *Contact `mandatory:"false" json:"primaryContact"`

    // The additional contacts associated with the ISV.
    AdditionalContacts []Contact `mandatory:"false" json:"additionalContacts"`
}

func (IsvInformation) String

func (m IsvInformation) String() string

func (IsvInformation) ValidateEnumValue

func (m IsvInformation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAttachmentsRequest

ListAttachmentsRequest wrapper for the ListAttachments operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/ListAttachments.go.html to see an example of how to use ListAttachmentsRequest.

type ListAttachmentsRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // The ID of the buyer compartment this offer is associated with.
    BuyerCompartmentId *string `mandatory:"false" contributesTo:"query" name:"buyerCompartmentId"`

    // The ID of the seller compartment this offer is associated with.
    SellerCompartmentId *string `mandatory:"false" contributesTo:"query" name:"sellerCompartmentId"`

    // A filter to return only resources their lifecycleState matches the given lifecycleState.
    LifecycleState AttachmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // unique Offer identifier
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListAttachmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListAttachmentsRequest) BinaryRequestBody

func (request ListAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAttachmentsRequest) HTTPRequest

func (request ListAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAttachmentsRequest) RetryPolicy

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

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

func (ListAttachmentsRequest) String

func (request ListAttachmentsRequest) String() string

func (ListAttachmentsRequest) ValidateEnumValue

func (request ListAttachmentsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAttachmentsResponse

ListAttachmentsResponse wrapper for the ListAttachments operation

type ListAttachmentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of AttachmentCollection instances
    AttachmentCollection `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 pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListAttachmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAttachmentsResponse) String

func (response ListAttachmentsResponse) String() string

type ListAttachmentsSortByEnum

ListAttachmentsSortByEnum Enum with underlying type: string

type ListAttachmentsSortByEnum string

Set of constants representing the allowable values for ListAttachmentsSortByEnum

const (
    ListAttachmentsSortByTimecreated ListAttachmentsSortByEnum = "timeCreated"
    ListAttachmentsSortByDisplayname ListAttachmentsSortByEnum = "displayName"
)

func GetListAttachmentsSortByEnumValues

func GetListAttachmentsSortByEnumValues() []ListAttachmentsSortByEnum

GetListAttachmentsSortByEnumValues Enumerates the set of values for ListAttachmentsSortByEnum

func GetMappingListAttachmentsSortByEnum

func GetMappingListAttachmentsSortByEnum(val string) (ListAttachmentsSortByEnum, bool)

GetMappingListAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAttachmentsSortOrderEnum

ListAttachmentsSortOrderEnum Enum with underlying type: string

type ListAttachmentsSortOrderEnum string

Set of constants representing the allowable values for ListAttachmentsSortOrderEnum

const (
    ListAttachmentsSortOrderAsc  ListAttachmentsSortOrderEnum = "ASC"
    ListAttachmentsSortOrderDesc ListAttachmentsSortOrderEnum = "DESC"
)

func GetListAttachmentsSortOrderEnumValues

func GetListAttachmentsSortOrderEnumValues() []ListAttachmentsSortOrderEnum

GetListAttachmentsSortOrderEnumValues Enumerates the set of values for ListAttachmentsSortOrderEnum

func GetMappingListAttachmentsSortOrderEnum

func GetMappingListAttachmentsSortOrderEnum(val string) (ListAttachmentsSortOrderEnum, bool)

GetMappingListAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOfferQuotesRequest

ListOfferQuotesRequest wrapper for the ListOfferQuotes operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/ListOfferQuotes.go.html to see an example of how to use ListOfferQuotesRequest.

type ListOfferQuotesRequest struct {

    // OCID of the reseller's compartment.
    ResellerCompartmentId *string `mandatory:"false" contributesTo:"query" name:"resellerCompartmentId"`

    // OCID of the ISV's compartment.
    IsvCompartmentId *string `mandatory:"false" contributesTo:"query" name:"isvCompartmentId"`

    // A filter to return resources whose lifecycle state matches the given lifecycle state.
    LifecycleState OfferQuoteLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Unique offer quote identifier.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListOfferQuotesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListOfferQuotesRequest) BinaryRequestBody

func (request ListOfferQuotesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListOfferQuotesRequest) HTTPRequest

func (request ListOfferQuotesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListOfferQuotesRequest) RetryPolicy

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

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

func (ListOfferQuotesRequest) String

func (request ListOfferQuotesRequest) String() string

func (ListOfferQuotesRequest) ValidateEnumValue

func (request ListOfferQuotesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListOfferQuotesResponse

ListOfferQuotesResponse wrapper for the ListOfferQuotes operation

type ListOfferQuotesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OfferQuoteCollection instances
    OfferQuoteCollection `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 pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListOfferQuotesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOfferQuotesResponse) String

func (response ListOfferQuotesResponse) String() string

type ListOfferQuotesSortByEnum

ListOfferQuotesSortByEnum Enum with underlying type: string

type ListOfferQuotesSortByEnum string

Set of constants representing the allowable values for ListOfferQuotesSortByEnum

const (
    ListOfferQuotesSortByTimecreated ListOfferQuotesSortByEnum = "timeCreated"
    ListOfferQuotesSortByDisplayname ListOfferQuotesSortByEnum = "displayName"
)

func GetListOfferQuotesSortByEnumValues

func GetListOfferQuotesSortByEnumValues() []ListOfferQuotesSortByEnum

GetListOfferQuotesSortByEnumValues Enumerates the set of values for ListOfferQuotesSortByEnum

func GetMappingListOfferQuotesSortByEnum

func GetMappingListOfferQuotesSortByEnum(val string) (ListOfferQuotesSortByEnum, bool)

GetMappingListOfferQuotesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOfferQuotesSortOrderEnum

ListOfferQuotesSortOrderEnum Enum with underlying type: string

type ListOfferQuotesSortOrderEnum string

Set of constants representing the allowable values for ListOfferQuotesSortOrderEnum

const (
    ListOfferQuotesSortOrderAsc  ListOfferQuotesSortOrderEnum = "ASC"
    ListOfferQuotesSortOrderDesc ListOfferQuotesSortOrderEnum = "DESC"
)

func GetListOfferQuotesSortOrderEnumValues

func GetListOfferQuotesSortOrderEnumValues() []ListOfferQuotesSortOrderEnum

GetListOfferQuotesSortOrderEnumValues Enumerates the set of values for ListOfferQuotesSortOrderEnum

func GetMappingListOfferQuotesSortOrderEnum

func GetMappingListOfferQuotesSortOrderEnum(val string) (ListOfferQuotesSortOrderEnum, bool)

GetMappingListOfferQuotesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOffersRequest

ListOffersRequest wrapper for the ListOffers operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/ListOffers.go.html to see an example of how to use ListOffersRequest.

type ListOffersRequest struct {

    // The ID of the buyer compartment this offer is associated with.
    BuyerCompartmentId *string `mandatory:"false" contributesTo:"query" name:"buyerCompartmentId"`

    // The ID of the seller compartment this offer is associated with.
    SellerCompartmentId *string `mandatory:"false" contributesTo:"query" name:"sellerCompartmentId"`

    // A filter to return only resources their lifecycleState matches the given lifecycleState.
    LifecycleState OfferLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // unique Offer identifier
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListOffersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListOffersRequest) BinaryRequestBody

func (request ListOffersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListOffersRequest) HTTPRequest

func (request ListOffersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListOffersRequest) RetryPolicy

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

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

func (ListOffersRequest) String

func (request ListOffersRequest) String() string

func (ListOffersRequest) ValidateEnumValue

func (request ListOffersRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListOffersResponse

ListOffersResponse wrapper for the ListOffers operation

type ListOffersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OfferCollection instances
    OfferCollection `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 pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListOffersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOffersResponse) String

func (response ListOffersResponse) String() string

type ListOffersSortByEnum

ListOffersSortByEnum Enum with underlying type: string

type ListOffersSortByEnum string

Set of constants representing the allowable values for ListOffersSortByEnum

const (
    ListOffersSortByTimecreated ListOffersSortByEnum = "timeCreated"
    ListOffersSortByDisplayname ListOffersSortByEnum = "displayName"
)

func GetListOffersSortByEnumValues

func GetListOffersSortByEnumValues() []ListOffersSortByEnum

GetListOffersSortByEnumValues Enumerates the set of values for ListOffersSortByEnum

func GetMappingListOffersSortByEnum

func GetMappingListOffersSortByEnum(val string) (ListOffersSortByEnum, bool)

GetMappingListOffersSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOffersSortOrderEnum

ListOffersSortOrderEnum Enum with underlying type: string

type ListOffersSortOrderEnum string

Set of constants representing the allowable values for ListOffersSortOrderEnum

const (
    ListOffersSortOrderAsc  ListOffersSortOrderEnum = "ASC"
    ListOffersSortOrderDesc ListOffersSortOrderEnum = "DESC"
)

func GetListOffersSortOrderEnumValues

func GetListOffersSortOrderEnumValues() []ListOffersSortOrderEnum

GetListOffersSortOrderEnumValues Enumerates the set of values for ListOffersSortOrderEnum

func GetMappingListOffersSortOrderEnum

func GetMappingListOffersSortOrderEnum(val string) (ListOffersSortOrderEnum, bool)

GetMappingListOffersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListQuoteAttachmentsRequest

ListQuoteAttachmentsRequest wrapper for the ListQuoteAttachments operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/ListQuoteAttachments.go.html to see an example of how to use ListQuoteAttachmentsRequest.

type ListQuoteAttachmentsRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // OCID of the reseller's compartment.
    ResellerCompartmentId *string `mandatory:"false" contributesTo:"query" name:"resellerCompartmentId"`

    // OCID of the ISV's compartment.
    IsvCompartmentId *string `mandatory:"false" contributesTo:"query" name:"isvCompartmentId"`

    // A filter to return only resources their lifecycleState matches the given lifecycleState.
    LifecycleState QuoteAttachmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Unique offer quote attachment identifier.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListQuoteAttachmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListQuoteAttachmentsRequest) BinaryRequestBody

func (request ListQuoteAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListQuoteAttachmentsRequest) HTTPRequest

func (request ListQuoteAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListQuoteAttachmentsRequest) RetryPolicy

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

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

func (ListQuoteAttachmentsRequest) String

func (request ListQuoteAttachmentsRequest) String() string

func (ListQuoteAttachmentsRequest) ValidateEnumValue

func (request ListQuoteAttachmentsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListQuoteAttachmentsResponse

ListQuoteAttachmentsResponse wrapper for the ListQuoteAttachments operation

type ListQuoteAttachmentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of QuoteAttachmentCollection instances
    QuoteAttachmentCollection `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 pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListQuoteAttachmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListQuoteAttachmentsResponse) String

func (response ListQuoteAttachmentsResponse) String() string

type ListQuoteAttachmentsSortByEnum

ListQuoteAttachmentsSortByEnum Enum with underlying type: string

type ListQuoteAttachmentsSortByEnum string

Set of constants representing the allowable values for ListQuoteAttachmentsSortByEnum

const (
    ListQuoteAttachmentsSortByTimecreated ListQuoteAttachmentsSortByEnum = "timeCreated"
    ListQuoteAttachmentsSortByDisplayname ListQuoteAttachmentsSortByEnum = "displayName"
)

func GetListQuoteAttachmentsSortByEnumValues

func GetListQuoteAttachmentsSortByEnumValues() []ListQuoteAttachmentsSortByEnum

GetListQuoteAttachmentsSortByEnumValues Enumerates the set of values for ListQuoteAttachmentsSortByEnum

func GetMappingListQuoteAttachmentsSortByEnum

func GetMappingListQuoteAttachmentsSortByEnum(val string) (ListQuoteAttachmentsSortByEnum, bool)

GetMappingListQuoteAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListQuoteAttachmentsSortOrderEnum

ListQuoteAttachmentsSortOrderEnum Enum with underlying type: string

type ListQuoteAttachmentsSortOrderEnum string

Set of constants representing the allowable values for ListQuoteAttachmentsSortOrderEnum

const (
    ListQuoteAttachmentsSortOrderAsc  ListQuoteAttachmentsSortOrderEnum = "ASC"
    ListQuoteAttachmentsSortOrderDesc ListQuoteAttachmentsSortOrderEnum = "DESC"
)

func GetListQuoteAttachmentsSortOrderEnumValues

func GetListQuoteAttachmentsSortOrderEnumValues() []ListQuoteAttachmentsSortOrderEnum

GetListQuoteAttachmentsSortOrderEnumValues Enumerates the set of values for ListQuoteAttachmentsSortOrderEnum

func GetMappingListQuoteAttachmentsSortOrderEnum

func GetMappingListQuoteAttachmentsSortOrderEnum(val string) (ListQuoteAttachmentsSortOrderEnum, bool)

GetMappingListQuoteAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type Offer

Offer Description of Offer.

type Offer struct {

    // Unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // Offer Identifier, can be renamed
    DisplayName *string `mandatory:"true" json:"displayName"`

    // OCID of the seller's tenancy (root compartment).
    SellerCompartmentId *string `mandatory:"true" json:"sellerCompartmentId"`

    // The time the the Offer was created. An RFC3339 formatted datetime string
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the Offer.
    LifecycleState OfferLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // OCID of the buyer's tenancy (root compartment).
    BuyerCompartmentId *string `mandatory:"false" json:"buyerCompartmentId"`

    // The description of the offer
    Description *string `mandatory:"false" json:"description"`

    // The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
    TimeStartDate *common.SDKTime `mandatory:"false" json:"timeStartDate"`

    // Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
    Duration *string `mandatory:"false" json:"duration"`

    // The time the Offer was updated. An RFC3339 formatted datetime string
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
    TimeAcceptBy *common.SDKTime `mandatory:"false" json:"timeAcceptBy"`

    // The time the Offer was accepted by the Buyer of the Offer. An RFC3339 formatted datetime string
    TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

    // The time the accepted Offer will end. An RFC3339 formatted datetime string
    TimeOfferEnd *common.SDKTime `mandatory:"false" json:"timeOfferEnd"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // A substate for lifeCycleStatus to give a more human readable version of the offer
    OfferStatus OfferOfferStatusEnum `mandatory:"false" json:"offerStatus,omitempty"`

    PublisherSummary *PublisherSummary `mandatory:"false" json:"publisherSummary"`

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

    BuyerInformation *BuyerInformation `mandatory:"false" json:"buyerInformation"`

    SellerInformation *SellerInformation `mandatory:"false" json:"sellerInformation"`

    // A list of Resource Bundles associated with an Offer.
    ResourceBundles []ResourceBundle `mandatory:"false" json:"resourceBundles"`

    // The type of the offer.
    OfferType OfferOfferTypeEnum `mandatory:"false" json:"offerType,omitempty"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Offer) String

func (m Offer) String() string

func (Offer) ValidateEnumValue

func (m Offer) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OfferClient

OfferClient a client for Offer

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

func NewOfferClientWithConfigurationProvider

func NewOfferClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OfferClient, err error)

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

func NewOfferClientWithOboToken

func NewOfferClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OfferClient, err error)

NewOfferClientWithOboToken Creates a new default Offer 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 (*OfferClient) ConfigurationProvider

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

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

func (OfferClient) CreateOffer

func (client OfferClient) CreateOffer(ctx context.Context, request CreateOfferRequest) (response CreateOfferResponse, err error)

CreateOffer Creates a new Offer.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/CreateOffer.go.html to see an example of how to use CreateOffer API. A default retry strategy applies to this operation CreateOffer()

func (OfferClient) DeleteOffer

func (client OfferClient) DeleteOffer(ctx context.Context, request DeleteOfferRequest) (response DeleteOfferResponse, err error)

DeleteOffer Deletes an Offer resource by identifier

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/DeleteOffer.go.html to see an example of how to use DeleteOffer API. A default retry strategy applies to this operation DeleteOffer()

func (OfferClient) GetOffer

func (client OfferClient) GetOffer(ctx context.Context, request GetOfferRequest) (response GetOfferResponse, err error)

GetOffer Gets an Offer by identifier

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetOffer.go.html to see an example of how to use GetOffer API. A default retry strategy applies to this operation GetOffer()

func (OfferClient) GetOfferInternalDetail

func (client OfferClient) GetOfferInternalDetail(ctx context.Context, request GetOfferInternalDetailRequest) (response GetOfferInternalDetailResponse, err error)

GetOfferInternalDetail Gets an Offer internal details by identifier

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetOfferInternalDetail.go.html to see an example of how to use GetOfferInternalDetail API. A default retry strategy applies to this operation GetOfferInternalDetail()

func (OfferClient) ListOffers

func (client OfferClient) ListOffers(ctx context.Context, request ListOffersRequest) (response ListOffersResponse, err error)

ListOffers Returns a list of Offers. Requires either the BuyerCompartmentId or the SellerCompartmentId params. If neither or both are provided, then the API will return a 400.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/ListOffers.go.html to see an example of how to use ListOffers API. A default retry strategy applies to this operation ListOffers()

func (OfferClient) SendOffer

func (client OfferClient) SendOffer(ctx context.Context, request SendOfferRequest) (response SendOfferResponse, err error)

SendOffer Sends an Offer to be reviewed and accepted by the buyer. Validation will be run on the offer first to verify the offer is valid and contains all required fields.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/SendOffer.go.html to see an example of how to use SendOffer API. A default retry strategy applies to this operation SendOffer()

func (*OfferClient) SetRegion

func (client *OfferClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OfferClient) UpdateOffer

func (client OfferClient) UpdateOffer(ctx context.Context, request UpdateOfferRequest) (response UpdateOfferResponse, err error)

UpdateOffer Updates the Offer

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/UpdateOffer.go.html to see an example of how to use UpdateOffer API. A default retry strategy applies to this operation UpdateOffer()

func (OfferClient) WithdrawOffer

func (client OfferClient) WithdrawOffer(ctx context.Context, request WithdrawOfferRequest) (response WithdrawOfferResponse, err error)

WithdrawOffer Withdraws an Offer and sends it back into DRAFT state. Offers can only be withdrawn before they are accepted by the buyer.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/WithdrawOffer.go.html to see an example of how to use WithdrawOffer API. A default retry strategy applies to this operation WithdrawOffer()

type OfferCollection

OfferCollection Results of a offers search. Contains boh OfferSummary items and other information, such as metadata.

type OfferCollection struct {

    // List of offers.
    Items []OfferSummary `mandatory:"true" json:"items"`
}

func (OfferCollection) String

func (m OfferCollection) String() string

func (OfferCollection) ValidateEnumValue

func (m OfferCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OfferInternalDetail

OfferInternalDetail the internal details of an offer that are only visible to the seller

type OfferInternalDetail struct {

    // A list of key value pairs specified by the seller
    CustomFields []CustomField `mandatory:"true" json:"customFields"`

    // Internal notes only intended for the Publisher of the Offer
    InternalNotes *string `mandatory:"true" json:"internalNotes"`

    // A list of associated offer quotes.
    OfferQuoteIds []string `mandatory:"false" json:"offerQuoteIds"`
}

func (OfferInternalDetail) String

func (m OfferInternalDetail) String() string

func (OfferInternalDetail) ValidateEnumValue

func (m OfferInternalDetail) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OfferLifecycleStateEnum

OfferLifecycleStateEnum Enum with underlying type: string

type OfferLifecycleStateEnum string

Set of constants representing the allowable values for OfferLifecycleStateEnum

const (
    OfferLifecycleStateCreating OfferLifecycleStateEnum = "CREATING"
    OfferLifecycleStateUpdating OfferLifecycleStateEnum = "UPDATING"
    OfferLifecycleStateActive   OfferLifecycleStateEnum = "ACTIVE"
    OfferLifecycleStateDeleting OfferLifecycleStateEnum = "DELETING"
    OfferLifecycleStateDeleted  OfferLifecycleStateEnum = "DELETED"
    OfferLifecycleStateFailed   OfferLifecycleStateEnum = "FAILED"
)

func GetMappingOfferLifecycleStateEnum

func GetMappingOfferLifecycleStateEnum(val string) (OfferLifecycleStateEnum, bool)

GetMappingOfferLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOfferLifecycleStateEnumValues

func GetOfferLifecycleStateEnumValues() []OfferLifecycleStateEnum

GetOfferLifecycleStateEnumValues Enumerates the set of values for OfferLifecycleStateEnum

type OfferOfferStatusEnum

OfferOfferStatusEnum Enum with underlying type: string

type OfferOfferStatusEnum string

Set of constants representing the allowable values for OfferOfferStatusEnum

const (
    OfferOfferStatusDraft              OfferOfferStatusEnum = "DRAFT"
    OfferOfferStatusPendingMarketplace OfferOfferStatusEnum = "PENDING_MARKETPLACE"
    OfferOfferStatusPendingBuyer       OfferOfferStatusEnum = "PENDING_BUYER"
    OfferOfferStatusExpired            OfferOfferStatusEnum = "EXPIRED"
    OfferOfferStatusAccepted           OfferOfferStatusEnum = "ACCEPTED"
    OfferOfferStatusActive             OfferOfferStatusEnum = "ACTIVE"
    OfferOfferStatusEnded              OfferOfferStatusEnum = "ENDED"
    OfferOfferStatusFailedSend         OfferOfferStatusEnum = "FAILED_SEND"
    OfferOfferStatusFailedAccept       OfferOfferStatusEnum = "FAILED_ACCEPT"
)

func GetMappingOfferOfferStatusEnum

func GetMappingOfferOfferStatusEnum(val string) (OfferOfferStatusEnum, bool)

GetMappingOfferOfferStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOfferOfferStatusEnumValues

func GetOfferOfferStatusEnumValues() []OfferOfferStatusEnum

GetOfferOfferStatusEnumValues Enumerates the set of values for OfferOfferStatusEnum

type OfferOfferTypeEnum

OfferOfferTypeEnum Enum with underlying type: string

type OfferOfferTypeEnum string

Set of constants representing the allowable values for OfferOfferTypeEnum

const (
    OfferOfferTypeDirect     OfferOfferTypeEnum = "DIRECT"
    OfferOfferTypeMultiParty OfferOfferTypeEnum = "MULTI_PARTY"
)

func GetMappingOfferOfferTypeEnum

func GetMappingOfferOfferTypeEnum(val string) (OfferOfferTypeEnum, bool)

GetMappingOfferOfferTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOfferOfferTypeEnumValues

func GetOfferOfferTypeEnumValues() []OfferOfferTypeEnum

GetOfferOfferTypeEnumValues Enumerates the set of values for OfferOfferTypeEnum

type OfferQuote

OfferQuote The model for the offer quote details.

type OfferQuote struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Offer quote identifier, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // OCID of the reseller tenancy.
    ResellerCompartmentId *string `mandatory:"true" json:"resellerCompartmentId"`

    // The time the offer quote was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the offer quote.
    LifecycleState OfferQuoteLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // OCID of the ISV tenancy.
    IsvCompartmentId *string `mandatory:"false" json:"isvCompartmentId"`

    // Publisher identifier of the ISV.
    IsvPublisherId *string `mandatory:"false" json:"isvPublisherId"`

    // Display name of the reseller publisher.
    ResellerPublisherDisplayName *string `mandatory:"false" json:"resellerPublisherDisplayName"`

    // Display name of the ISV publisher.
    IsvPublisherDisplayName *string `mandatory:"false" json:"isvPublisherDisplayName"`

    // A list of buyer tenancies.
    BuyerCompartmentIds []string `mandatory:"false" json:"buyerCompartmentIds"`

    // The description of the offer quote.
    Description *string `mandatory:"false" json:"description"`

    // The time the offer quote was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Provides detailed information about the current state of the offer quote. For example, if the offer quote is in a failed state this message can include specific validation errors.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The human readable representation of where the offer quote is at in its contract lifecycle.
    OfferQuoteStatus OfferQuoteOfferQuoteStatusEnum `mandatory:"false" json:"offerQuoteStatus,omitempty"`

    ResellerInformation *ResellerInformation `mandatory:"false" json:"resellerInformation"`

    IsvInformation *IsvInformation `mandatory:"false" json:"isvInformation"`

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

    // A list of resource bundles associated with an offer quote.
    ResourceBundles []ResourceBundle `mandatory:"false" json:"resourceBundles"`

    // The time the offer for the buyer must be accepted by before the offer becomes invalid. An RFC3339 formatted datetime string.
    BuyerAcceptanceDeadline *common.SDKTime `mandatory:"false" json:"buyerAcceptanceDeadline"`

    // Duration the offer for the buyer will be active after its start date. An ISO8601 extended formatted string.
    BuyerOfferDuration *string `mandatory:"false" json:"buyerOfferDuration"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (OfferQuote) String

func (m OfferQuote) String() string

func (OfferQuote) ValidateEnumValue

func (m OfferQuote) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OfferQuoteClient

OfferQuoteClient a client for OfferQuote

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

func NewOfferQuoteClientWithConfigurationProvider

func NewOfferQuoteClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OfferQuoteClient, err error)

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

func NewOfferQuoteClientWithOboToken

func NewOfferQuoteClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OfferQuoteClient, err error)

NewOfferQuoteClientWithOboToken Creates a new default OfferQuote 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 (*OfferQuoteClient) ConfigurationProvider

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

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

func (OfferQuoteClient) CreateOfferQuote

func (client OfferQuoteClient) CreateOfferQuote(ctx context.Context, request CreateOfferQuoteRequest) (response CreateOfferQuoteResponse, err error)

CreateOfferQuote Creates a new offer quote.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/CreateOfferQuote.go.html to see an example of how to use CreateOfferQuote API. A default retry strategy applies to this operation CreateOfferQuote()

func (OfferQuoteClient) DeleteOfferQuote

func (client OfferQuoteClient) DeleteOfferQuote(ctx context.Context, request DeleteOfferQuoteRequest) (response DeleteOfferQuoteResponse, err error)

DeleteOfferQuote Deletes an offer quote resource by identifier.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/DeleteOfferQuote.go.html to see an example of how to use DeleteOfferQuote API. A default retry strategy applies to this operation DeleteOfferQuote()

func (OfferQuoteClient) GetOfferQuote

func (client OfferQuoteClient) GetOfferQuote(ctx context.Context, request GetOfferQuoteRequest) (response GetOfferQuoteResponse, err error)

GetOfferQuote Gets an offer quote by identifier.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetOfferQuote.go.html to see an example of how to use GetOfferQuote API. A default retry strategy applies to this operation GetOfferQuote()

func (OfferQuoteClient) GetOfferQuoteInternalDetail

func (client OfferQuoteClient) GetOfferQuoteInternalDetail(ctx context.Context, request GetOfferQuoteInternalDetailRequest) (response GetOfferQuoteInternalDetailResponse, err error)

GetOfferQuoteInternalDetail Gets an offer quote internal details by identifier.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetOfferQuoteInternalDetail.go.html to see an example of how to use GetOfferQuoteInternalDetail API. A default retry strategy applies to this operation GetOfferQuoteInternalDetail()

func (OfferQuoteClient) ListOfferQuotes

func (client OfferQuoteClient) ListOfferQuotes(ctx context.Context, request ListOfferQuotesRequest) (response ListOfferQuotesResponse, err error)

ListOfferQuotes Returns a list of offer quotes. Requires either a reseller compartment ID or an ISV compartment ID.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/ListOfferQuotes.go.html to see an example of how to use ListOfferQuotes API. A default retry strategy applies to this operation ListOfferQuotes()

func (OfferQuoteClient) RespondToOfferQuote

func (client OfferQuoteClient) RespondToOfferQuote(ctx context.Context, request RespondToOfferQuoteRequest) (response RespondToOfferQuoteResponse, err error)

RespondToOfferQuote ISV responds to an offer quote for reseller to review.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/RespondToOfferQuote.go.html to see an example of how to use RespondToOfferQuote API. A default retry strategy applies to this operation RespondToOfferQuote()

func (OfferQuoteClient) SendOfferQuote

func (client OfferQuoteClient) SendOfferQuote(ctx context.Context, request SendOfferQuoteRequest) (response SendOfferQuoteResponse, err error)

SendOfferQuote Sends an offer quote to be reviewed and updated by the ISV. Validation will be run on the offer quote first to verify it is valid and contains all required fields.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/SendOfferQuote.go.html to see an example of how to use SendOfferQuote API. A default retry strategy applies to this operation SendOfferQuote()

func (*OfferQuoteClient) SetRegion

func (client *OfferQuoteClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OfferQuoteClient) UpdateOfferQuote

func (client OfferQuoteClient) UpdateOfferQuote(ctx context.Context, request UpdateOfferQuoteRequest) (response UpdateOfferQuoteResponse, err error)

UpdateOfferQuote Updates the offer quote.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/UpdateOfferQuote.go.html to see an example of how to use UpdateOfferQuote API. A default retry strategy applies to this operation UpdateOfferQuote()

func (OfferQuoteClient) WithdrawOfferQuote

func (client OfferQuoteClient) WithdrawOfferQuote(ctx context.Context, request WithdrawOfferQuoteRequest) (response WithdrawOfferQuoteResponse, err error)

WithdrawOfferQuote Withdraws an offer quote and transitions to previous state. Offer quotes can only be withdrawn by reseller before the ISV response and withdrawn by the ISV before reseller acceptance.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/WithdrawOfferQuote.go.html to see an example of how to use WithdrawOfferQuote API. A default retry strategy applies to this operation WithdrawOfferQuote()

type OfferQuoteCollection

OfferQuoteCollection Results of offer quote summaries.

type OfferQuoteCollection struct {

    // List of offer quotes.
    Items []OfferQuoteSummary `mandatory:"true" json:"items"`
}

func (OfferQuoteCollection) String

func (m OfferQuoteCollection) String() string

func (OfferQuoteCollection) ValidateEnumValue

func (m OfferQuoteCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OfferQuoteInternalDetail

OfferQuoteInternalDetail The internal details of an offer quote.

type OfferQuoteInternalDetail struct {

    // A list of associated offers.
    OfferIds []string `mandatory:"false" json:"offerIds"`
}

func (OfferQuoteInternalDetail) String

func (m OfferQuoteInternalDetail) String() string

func (OfferQuoteInternalDetail) ValidateEnumValue

func (m OfferQuoteInternalDetail) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OfferQuoteLifecycleStateEnum

OfferQuoteLifecycleStateEnum Enum with underlying type: string

type OfferQuoteLifecycleStateEnum string

Set of constants representing the allowable values for OfferQuoteLifecycleStateEnum

const (
    OfferQuoteLifecycleStateCreating OfferQuoteLifecycleStateEnum = "CREATING"
    OfferQuoteLifecycleStateUpdating OfferQuoteLifecycleStateEnum = "UPDATING"
    OfferQuoteLifecycleStateActive   OfferQuoteLifecycleStateEnum = "ACTIVE"
    OfferQuoteLifecycleStateDeleting OfferQuoteLifecycleStateEnum = "DELETING"
    OfferQuoteLifecycleStateDeleted  OfferQuoteLifecycleStateEnum = "DELETED"
    OfferQuoteLifecycleStateFailed   OfferQuoteLifecycleStateEnum = "FAILED"
)

func GetMappingOfferQuoteLifecycleStateEnum

func GetMappingOfferQuoteLifecycleStateEnum(val string) (OfferQuoteLifecycleStateEnum, bool)

GetMappingOfferQuoteLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOfferQuoteLifecycleStateEnumValues

func GetOfferQuoteLifecycleStateEnumValues() []OfferQuoteLifecycleStateEnum

GetOfferQuoteLifecycleStateEnumValues Enumerates the set of values for OfferQuoteLifecycleStateEnum

type OfferQuoteOfferQuoteStatusEnum

OfferQuoteOfferQuoteStatusEnum Enum with underlying type: string

type OfferQuoteOfferQuoteStatusEnum string

Set of constants representing the allowable values for OfferQuoteOfferQuoteStatusEnum

const (
    OfferQuoteOfferQuoteStatusDraft            OfferQuoteOfferQuoteStatusEnum = "DRAFT"
    OfferQuoteOfferQuoteStatusPendingIsv       OfferQuoteOfferQuoteStatusEnum = "PENDING_ISV"
    OfferQuoteOfferQuoteStatusPendingIsvUpdate OfferQuoteOfferQuoteStatusEnum = "PENDING_ISV_UPDATE"
    OfferQuoteOfferQuoteStatusPendingReseller  OfferQuoteOfferQuoteStatusEnum = "PENDING_RESELLER"
    OfferQuoteOfferQuoteStatusResellerAccepted OfferQuoteOfferQuoteStatusEnum = "RESELLER_ACCEPTED"
    OfferQuoteOfferQuoteStatusBuyerAccepted    OfferQuoteOfferQuoteStatusEnum = "BUYER_ACCEPTED"
    OfferQuoteOfferQuoteStatusActive           OfferQuoteOfferQuoteStatusEnum = "ACTIVE"
    OfferQuoteOfferQuoteStatusEnded            OfferQuoteOfferQuoteStatusEnum = "ENDED"
    OfferQuoteOfferQuoteStatusExpired          OfferQuoteOfferQuoteStatusEnum = "EXPIRED"
    OfferQuoteOfferQuoteStatusFailedSend       OfferQuoteOfferQuoteStatusEnum = "FAILED_SEND"
    OfferQuoteOfferQuoteStatusFailedAccept     OfferQuoteOfferQuoteStatusEnum = "FAILED_ACCEPT"
    OfferQuoteOfferQuoteStatusFailedRespond    OfferQuoteOfferQuoteStatusEnum = "FAILED_RESPOND"
)

func GetMappingOfferQuoteOfferQuoteStatusEnum

func GetMappingOfferQuoteOfferQuoteStatusEnum(val string) (OfferQuoteOfferQuoteStatusEnum, bool)

GetMappingOfferQuoteOfferQuoteStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOfferQuoteOfferQuoteStatusEnumValues

func GetOfferQuoteOfferQuoteStatusEnumValues() []OfferQuoteOfferQuoteStatusEnum

GetOfferQuoteOfferQuoteStatusEnumValues Enumerates the set of values for OfferQuoteOfferQuoteStatusEnum

type OfferQuoteSummary

OfferQuoteSummary Summary of the offer quotes.

type OfferQuoteSummary struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Offer quote identifier, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // OCID of the reseller tenancy.
    ResellerCompartmentId *string `mandatory:"true" json:"resellerCompartmentId"`

    // The time the offer quote was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the offer quote.
    LifecycleState OfferQuoteLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // OCID of the ISV tenancy.
    IsvCompartmentId *string `mandatory:"false" json:"isvCompartmentId"`

    // A list of buyer tenancies.
    BuyerCompartmentIds []string `mandatory:"false" json:"buyerCompartmentIds"`

    // Display name of the reseller publisher.
    ResellerPublisherDisplayName *string `mandatory:"false" json:"resellerPublisherDisplayName"`

    // Display name of the ISV publisher.
    IsvPublisherDisplayName *string `mandatory:"false" json:"isvPublisherDisplayName"`

    // The time the offer quote was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Provides detailed information about the current state of the offer quote. For example, if the offer quote is in a failed state this message can include specific validation errors.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The human readable representation of where the offer quote is at in its contract lifecycle.
    OfferQuoteStatus OfferQuoteOfferQuoteStatusEnum `mandatory:"false" json:"offerQuoteStatus,omitempty"`

    ResellerInformation *ResellerInformation `mandatory:"false" json:"resellerInformation"`

    IsvInformation *IsvInformation `mandatory:"false" json:"isvInformation"`

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

    // The time the offer for the buyer must be accepted by before the offer becomes invalid. An RFC3339 formatted datetime string.
    BuyerAcceptanceDeadline *common.SDKTime `mandatory:"false" json:"buyerAcceptanceDeadline"`

    // Duration the offer for the buyer will be active after its start date. An ISO8601 extended formatted string.
    BuyerOfferDuration *string `mandatory:"false" json:"buyerOfferDuration"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (OfferQuoteSummary) String

func (m OfferQuoteSummary) String() string

func (OfferQuoteSummary) ValidateEnumValue

func (m OfferQuoteSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OfferSummary

OfferSummary Summary of the Offers.

type OfferSummary struct {

    // Unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // Offer Identifier, can be renamed
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Ocid of the buyer tenancy.
    BuyerCompartmentId *string `mandatory:"true" json:"buyerCompartmentId"`

    // Ocid of the seller tenancy.
    SellerCompartmentId *string `mandatory:"true" json:"sellerCompartmentId"`

    // The time the the Offer was created. An RFC3339 formatted datetime string
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the Offer.
    LifecycleState OfferLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The time the Offer was updated. An RFC3339 formatted datetime string
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
    TimeAcceptBy *common.SDKTime `mandatory:"false" json:"timeAcceptBy"`

    // The time the Offer was accepted by the Buyer of the Offer. An RFC3339 formatted datetime string
    TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

    // The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
    TimeStartDate *common.SDKTime `mandatory:"false" json:"timeStartDate"`

    // The time the accepted Offer will end. An RFC3339 formatted datetime string
    TimeOfferEnd *common.SDKTime `mandatory:"false" json:"timeOfferEnd"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The human readable representation of where the offer is at in it's contract lifecycle.
    OfferStatus OfferOfferStatusEnum `mandatory:"false" json:"offerStatus,omitempty"`

    BuyerInformation *BuyerInformation `mandatory:"false" json:"buyerInformation"`

    SellerInformation *SellerInformation `mandatory:"false" json:"sellerInformation"`

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

    // The type of the offer.
    OfferType OfferOfferTypeEnum `mandatory:"false" json:"offerType,omitempty"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (OfferSummary) String

func (m OfferSummary) String() string

func (OfferSummary) ValidateEnumValue

func (m OfferSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PackageTypeEnum

PackageTypeEnum Enum with underlying type: string

type PackageTypeEnum string

Set of constants representing the allowable values for PackageTypeEnum

const (
    PackageTypeContainerImage PackageTypeEnum = "CONTAINER_IMAGE"
    PackageTypeHelmChart      PackageTypeEnum = "HELM_CHART"
)

func GetMappingPackageTypeEnum

func GetMappingPackageTypeEnum(val string) (PackageTypeEnum, bool)

GetMappingPackageTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPackageTypeEnumValues

func GetPackageTypeEnumValues() []PackageTypeEnum

GetPackageTypeEnumValues Enumerates the set of values for PackageTypeEnum

type Pricing

Pricing The pricing information for the offer.

type Pricing struct {

    // The currency supported for a given Offer, in the format specified by ISO-4217.
    CurrencyType *string `mandatory:"false" json:"currencyType"`

    // The total amount an offer costs.
    TotalAmount *int64 `mandatory:"false" json:"totalAmount"`

    // The frequency at which the customer is billed for the offer.
    BillingCycle PricingBillingCycleEnum `mandatory:"false" json:"billingCycle,omitempty"`
}

func (Pricing) String

func (m Pricing) String() string

func (Pricing) ValidateEnumValue

func (m Pricing) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PricingBillingCycleEnum

PricingBillingCycleEnum Enum with underlying type: string

type PricingBillingCycleEnum string

Set of constants representing the allowable values for PricingBillingCycleEnum

const (
    PricingBillingCycleOneTime PricingBillingCycleEnum = "ONE_TIME"
)

func GetMappingPricingBillingCycleEnum

func GetMappingPricingBillingCycleEnum(val string) (PricingBillingCycleEnum, bool)

GetMappingPricingBillingCycleEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPricingBillingCycleEnumValues

func GetPricingBillingCycleEnumValues() []PricingBillingCycleEnum

GetPricingBillingCycleEnumValues Enumerates the set of values for PricingBillingCycleEnum

type PublisherSummary

PublisherSummary The model for a publisher.

type PublisherSummary struct {

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

    // The root compartment of the Publisher.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The namespace for the publisher registry to persist artifacts.
    RegistryNamespace *string `mandatory:"true" json:"registryNamespace"`

    // The name of the publisher.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The public email address of the publisher for customers.
    ContactEmail *string `mandatory:"true" json:"contactEmail"`

    // The phone number of the publisher in E.164 format.
    ContactPhone *string `mandatory:"true" json:"contactPhone"`

    // publisher type.
    PublisherType PublisherSummaryPublisherTypeEnum `mandatory:"true" json:"publisherType"`

    // The time the publisher was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time the publisher was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Unique legacy service identifier for the publisher.
    LegacyId *string `mandatory:"false" json:"legacyId"`

    // 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 address of the publisher's headquarters.
    HqAddress *string `mandatory:"false" json:"hqAddress"`

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

    // Publisher's Facebook URL
    FacebookUrl *string `mandatory:"false" json:"facebookUrl"`

    // Publisher's Twitter URL
    TwitterUrl *string `mandatory:"false" json:"twitterUrl"`

    // Publisher's LinkedIn URL
    LinkedinUrl *string `mandatory:"false" json:"linkedinUrl"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (PublisherSummary) String

func (m PublisherSummary) String() string

func (PublisherSummary) ValidateEnumValue

func (m PublisherSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PublisherSummaryPublisherTypeEnum

PublisherSummaryPublisherTypeEnum Enum with underlying type: string

type PublisherSummaryPublisherTypeEnum string

Set of constants representing the allowable values for PublisherSummaryPublisherTypeEnum

const (
    PublisherSummaryPublisherTypeInternal PublisherSummaryPublisherTypeEnum = "INTERNAL"
    PublisherSummaryPublisherTypeExternal PublisherSummaryPublisherTypeEnum = "EXTERNAL"
)

func GetMappingPublisherSummaryPublisherTypeEnum

func GetMappingPublisherSummaryPublisherTypeEnum(val string) (PublisherSummaryPublisherTypeEnum, bool)

GetMappingPublisherSummaryPublisherTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPublisherSummaryPublisherTypeEnumValues

func GetPublisherSummaryPublisherTypeEnumValues() []PublisherSummaryPublisherTypeEnum

GetPublisherSummaryPublisherTypeEnumValues Enumerates the set of values for PublisherSummaryPublisherTypeEnum

type QuoteAttachment

QuoteAttachment Description of an offer quote attachment.

type QuoteAttachment struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Unique identifier of the associated offer quote that is immutable on creation.
    OfferQuoteId *string `mandatory:"true" json:"offerQuoteId"`

    // OCID of the reseller's tenancy (root compartment).
    ResellerCompartmentId *string `mandatory:"true" json:"resellerCompartmentId"`

    // OCID of the ISV's tenancy (root compartment).
    IsvCompartmentId *string `mandatory:"true" json:"isvCompartmentId"`

    // The name used to refer to the uploaded data.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The type of offer quote attachment.
    Type QuoteAttachmentTypeEnum `mandatory:"true" json:"type"`

    // The time the offer quote attachment was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the offer quote attachment.
    LifecycleState QuoteAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The recipient of the offer quote attachment.
    Recipient QuoteAttachmentRecipientEnum `mandatory:"true" json:"recipient"`

    // The time the offer quote attachment was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Provides detailed information about the current state of the offer quote attachment. For example, if the offer quote attachment is in a failed state this message can include specific validation errors.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

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

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (QuoteAttachment) String

func (m QuoteAttachment) String() string

func (QuoteAttachment) ValidateEnumValue

func (m QuoteAttachment) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type QuoteAttachmentClient

QuoteAttachmentClient a client for QuoteAttachment

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

func NewQuoteAttachmentClientWithConfigurationProvider

func NewQuoteAttachmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client QuoteAttachmentClient, err error)

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

func NewQuoteAttachmentClientWithOboToken

func NewQuoteAttachmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client QuoteAttachmentClient, err error)

NewQuoteAttachmentClientWithOboToken Creates a new default QuoteAttachment 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 (*QuoteAttachmentClient) ConfigurationProvider

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

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

func (QuoteAttachmentClient) CreateQuoteAttachment

func (client QuoteAttachmentClient) CreateQuoteAttachment(ctx context.Context, request CreateQuoteAttachmentRequest) (response CreateQuoteAttachmentResponse, err error)

CreateQuoteAttachment Creates a new offer quote attachment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/CreateQuoteAttachment.go.html to see an example of how to use CreateQuoteAttachment API. A default retry strategy applies to this operation CreateQuoteAttachment()

func (QuoteAttachmentClient) DeleteQuoteAttachment

func (client QuoteAttachmentClient) DeleteQuoteAttachment(ctx context.Context, request DeleteQuoteAttachmentRequest) (response DeleteQuoteAttachmentResponse, err error)

DeleteQuoteAttachment Deletes an offer quote attachment resource by identifier.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/DeleteQuoteAttachment.go.html to see an example of how to use DeleteQuoteAttachment API. A default retry strategy applies to this operation DeleteQuoteAttachment()

func (QuoteAttachmentClient) GetQuoteAttachment

func (client QuoteAttachmentClient) GetQuoteAttachment(ctx context.Context, request GetQuoteAttachmentRequest) (response GetQuoteAttachmentResponse, err error)

GetQuoteAttachment Gets an offer quote attachment by identifier.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetQuoteAttachment.go.html to see an example of how to use GetQuoteAttachment API. A default retry strategy applies to this operation GetQuoteAttachment()

func (QuoteAttachmentClient) GetQuoteAttachmentContent

func (client QuoteAttachmentClient) GetQuoteAttachmentContent(ctx context.Context, request GetQuoteAttachmentContentRequest) (response GetQuoteAttachmentContentResponse, err error)

GetQuoteAttachmentContent Gets an offer quote attachment content by identifier.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/GetQuoteAttachmentContent.go.html to see an example of how to use GetQuoteAttachmentContent API. A default retry strategy applies to this operation GetQuoteAttachmentContent()

func (QuoteAttachmentClient) ListQuoteAttachments

func (client QuoteAttachmentClient) ListQuoteAttachments(ctx context.Context, request ListQuoteAttachmentsRequest) (response ListQuoteAttachmentsResponse, err error)

ListQuoteAttachments Returns a list of offer quote attachments. Requires either a reseller compartment ID or an ISV compartment ID.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/ListQuoteAttachments.go.html to see an example of how to use ListQuoteAttachments API. A default retry strategy applies to this operation ListQuoteAttachments()

func (*QuoteAttachmentClient) SetRegion

func (client *QuoteAttachmentClient) SetRegion(region string)

SetRegion overrides the region of this client.

type QuoteAttachmentCollection

QuoteAttachmentCollection Results of offer quote attachment summaries.

type QuoteAttachmentCollection struct {

    // List of offer quote attachments.
    Items []QuoteAttachmentSummary `mandatory:"true" json:"items"`
}

func (QuoteAttachmentCollection) String

func (m QuoteAttachmentCollection) String() string

func (QuoteAttachmentCollection) ValidateEnumValue

func (m QuoteAttachmentCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type QuoteAttachmentLifecycleStateEnum

QuoteAttachmentLifecycleStateEnum Enum with underlying type: string

type QuoteAttachmentLifecycleStateEnum string

Set of constants representing the allowable values for QuoteAttachmentLifecycleStateEnum

const (
    QuoteAttachmentLifecycleStateCreating QuoteAttachmentLifecycleStateEnum = "CREATING"
    QuoteAttachmentLifecycleStateUpdating QuoteAttachmentLifecycleStateEnum = "UPDATING"
    QuoteAttachmentLifecycleStateActive   QuoteAttachmentLifecycleStateEnum = "ACTIVE"
    QuoteAttachmentLifecycleStateDeleting QuoteAttachmentLifecycleStateEnum = "DELETING"
    QuoteAttachmentLifecycleStateDeleted  QuoteAttachmentLifecycleStateEnum = "DELETED"
    QuoteAttachmentLifecycleStateFailed   QuoteAttachmentLifecycleStateEnum = "FAILED"
)

func GetMappingQuoteAttachmentLifecycleStateEnum

func GetMappingQuoteAttachmentLifecycleStateEnum(val string) (QuoteAttachmentLifecycleStateEnum, bool)

GetMappingQuoteAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetQuoteAttachmentLifecycleStateEnumValues

func GetQuoteAttachmentLifecycleStateEnumValues() []QuoteAttachmentLifecycleStateEnum

GetQuoteAttachmentLifecycleStateEnumValues Enumerates the set of values for QuoteAttachmentLifecycleStateEnum

type QuoteAttachmentRecipientEnum

QuoteAttachmentRecipientEnum Enum with underlying type: string

type QuoteAttachmentRecipientEnum string

Set of constants representing the allowable values for QuoteAttachmentRecipientEnum

const (
    QuoteAttachmentRecipientReseller QuoteAttachmentRecipientEnum = "RESELLER"
    QuoteAttachmentRecipientBuyer    QuoteAttachmentRecipientEnum = "BUYER"
)

func GetMappingQuoteAttachmentRecipientEnum

func GetMappingQuoteAttachmentRecipientEnum(val string) (QuoteAttachmentRecipientEnum, bool)

GetMappingQuoteAttachmentRecipientEnum performs case Insensitive comparison on enum value and return the desired enum

func GetQuoteAttachmentRecipientEnumValues

func GetQuoteAttachmentRecipientEnumValues() []QuoteAttachmentRecipientEnum

GetQuoteAttachmentRecipientEnumValues Enumerates the set of values for QuoteAttachmentRecipientEnum

type QuoteAttachmentSummary

QuoteAttachmentSummary Summary of offer quote attachment.

type QuoteAttachmentSummary struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Unique identifier of the associated offer quote that is immutable on creation.
    OfferQuoteId *string `mandatory:"true" json:"offerQuoteId"`

    // The name used to refer to the uploaded data.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The type of offer quote attachment.
    Type QuoteAttachmentTypeEnum `mandatory:"true" json:"type"`

    // The current state of the offer quote attachment.
    LifecycleState QuoteAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // OCID of the reseller's tenancy (root compartment).
    ResellerCompartmentId *string `mandatory:"false" json:"resellerCompartmentId"`

    // OCID of the ISV's tenancy (root compartment).
    IsvCompartmentId *string `mandatory:"false" json:"isvCompartmentId"`

    // The time the offer quote attachment was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the offer quote attachment was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Provides detailed information about the current state of the offer quote attachment. For example, if the offer quote attachment is in a failed state this message can include specific validation errors.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

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

    // The current state of the offer quote attachment.
    Recipient QuoteAttachmentRecipientEnum `mandatory:"false" json:"recipient,omitempty"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (QuoteAttachmentSummary) String

func (m QuoteAttachmentSummary) String() string

func (QuoteAttachmentSummary) ValidateEnumValue

func (m QuoteAttachmentSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type QuoteAttachmentTypeEnum

QuoteAttachmentTypeEnum Enum with underlying type: string

type QuoteAttachmentTypeEnum string

Set of constants representing the allowable values for QuoteAttachmentTypeEnum

const (
    QuoteAttachmentTypeContractTAndC QuoteAttachmentTypeEnum = "CONTRACT_T_AND_C"
    QuoteAttachmentTypeQuote         QuoteAttachmentTypeEnum = "QUOTE"
    QuoteAttachmentTypeEula          QuoteAttachmentTypeEnum = "EULA"
    QuoteAttachmentTypeTermsOfUse    QuoteAttachmentTypeEnum = "TERMS_OF_USE"
    QuoteAttachmentTypeMisc          QuoteAttachmentTypeEnum = "MISC"
)

func GetMappingQuoteAttachmentTypeEnum

func GetMappingQuoteAttachmentTypeEnum(val string) (QuoteAttachmentTypeEnum, bool)

GetMappingQuoteAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetQuoteAttachmentTypeEnumValues

func GetQuoteAttachmentTypeEnumValues() []QuoteAttachmentTypeEnum

GetQuoteAttachmentTypeEnumValues Enumerates the set of values for QuoteAttachmentTypeEnum

type ResellerInformation

ResellerInformation The information related to the reseller of an offer quote.

type ResellerInformation struct {
    PrimaryContact *Contact `mandatory:"false" json:"primaryContact"`

    // The additional contacts associated with the reseller.
    AdditionalContacts []Contact `mandatory:"false" json:"additionalContacts"`
}

func (ResellerInformation) String

func (m ResellerInformation) String() string

func (ResellerInformation) ValidateEnumValue

func (m ResellerInformation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceBundle

ResourceBundle Resource bundle associated with an offer.

type ResourceBundle struct {

    // The type of resources in the bundle.
    Type ResourceBundleTypeEnum `mandatory:"false" json:"type,omitempty"`

    // The quantity of a resources associated with the bundle.
    Quantity *int64 `mandatory:"false" json:"quantity"`

    // The unit of measurement for the resource bundle.
    UnitOfMeasurement ResourceBundleUnitOfMeasurementEnum `mandatory:"false" json:"unitOfMeasurement,omitempty"`

    // The IDs of the resources in the offer.
    ResourceIds []string `mandatory:"false" json:"resourceIds"`
}

func (ResourceBundle) String

func (m ResourceBundle) String() string

func (ResourceBundle) ValidateEnumValue

func (m ResourceBundle) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceBundleTypeEnum

ResourceBundleTypeEnum Enum with underlying type: string

type ResourceBundleTypeEnum string

Set of constants representing the allowable values for ResourceBundleTypeEnum

const (
    ResourceBundleTypeListing ResourceBundleTypeEnum = "LISTING"
)

func GetMappingResourceBundleTypeEnum

func GetMappingResourceBundleTypeEnum(val string) (ResourceBundleTypeEnum, bool)

GetMappingResourceBundleTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceBundleTypeEnumValues

func GetResourceBundleTypeEnumValues() []ResourceBundleTypeEnum

GetResourceBundleTypeEnumValues Enumerates the set of values for ResourceBundleTypeEnum

type ResourceBundleUnitOfMeasurementEnum

ResourceBundleUnitOfMeasurementEnum Enum with underlying type: string

type ResourceBundleUnitOfMeasurementEnum string

Set of constants representing the allowable values for ResourceBundleUnitOfMeasurementEnum

const (
    ResourceBundleUnitOfMeasurementOcpuPerHour     ResourceBundleUnitOfMeasurementEnum = "OCPU_PER_HOUR"
    ResourceBundleUnitOfMeasurementInstancePerHour ResourceBundleUnitOfMeasurementEnum = "INSTANCE_PER_HOUR"
    ResourceBundleUnitOfMeasurementCredits         ResourceBundleUnitOfMeasurementEnum = "CREDITS"
    ResourceBundleUnitOfMeasurementInstances       ResourceBundleUnitOfMeasurementEnum = "INSTANCES"
    ResourceBundleUnitOfMeasurementNodes           ResourceBundleUnitOfMeasurementEnum = "NODES"
)

func GetMappingResourceBundleUnitOfMeasurementEnum

func GetMappingResourceBundleUnitOfMeasurementEnum(val string) (ResourceBundleUnitOfMeasurementEnum, bool)

GetMappingResourceBundleUnitOfMeasurementEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceBundleUnitOfMeasurementEnumValues

func GetResourceBundleUnitOfMeasurementEnumValues() []ResourceBundleUnitOfMeasurementEnum

GetResourceBundleUnitOfMeasurementEnumValues Enumerates the set of values for ResourceBundleUnitOfMeasurementEnum

type RespondToOfferQuoteDetails

RespondToOfferQuoteDetails Details for the offer quote ISV response.

type RespondToOfferQuoteDetails struct {
    Pricing *Pricing `mandatory:"true" json:"pricing"`
}

func (RespondToOfferQuoteDetails) String

func (m RespondToOfferQuoteDetails) String() string

func (RespondToOfferQuoteDetails) ValidateEnumValue

func (m RespondToOfferQuoteDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RespondToOfferQuoteRequest

RespondToOfferQuoteRequest wrapper for the RespondToOfferQuote operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/RespondToOfferQuote.go.html to see an example of how to use RespondToOfferQuoteRequest.

type RespondToOfferQuoteRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // Details for the offer quote ISV response.
    RespondToOfferQuoteDetails `contributesTo:"body"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (RespondToOfferQuoteRequest) BinaryRequestBody

func (request RespondToOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RespondToOfferQuoteRequest) HTTPRequest

func (request RespondToOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RespondToOfferQuoteRequest) RetryPolicy

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

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

func (RespondToOfferQuoteRequest) String

func (request RespondToOfferQuoteRequest) String() string

func (RespondToOfferQuoteRequest) ValidateEnumValue

func (request RespondToOfferQuoteRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RespondToOfferQuoteResponse

RespondToOfferQuoteResponse wrapper for the RespondToOfferQuote operation

type RespondToOfferQuoteResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (RespondToOfferQuoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RespondToOfferQuoteResponse) String

func (response RespondToOfferQuoteResponse) String() string

type SellerInformation

SellerInformation The information related to the seller of an Offer

type SellerInformation struct {
    PrimaryContact *Contact `mandatory:"false" json:"primaryContact"`

    // the additional contacts associated with the seller
    AdditionalContacts []Contact `mandatory:"false" json:"additionalContacts"`
}

func (SellerInformation) String

func (m SellerInformation) String() string

func (SellerInformation) ValidateEnumValue

func (m SellerInformation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SendOfferQuoteRequest

SendOfferQuoteRequest wrapper for the SendOfferQuote operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/SendOfferQuote.go.html to see an example of how to use SendOfferQuoteRequest.

type SendOfferQuoteRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (SendOfferQuoteRequest) BinaryRequestBody

func (request SendOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SendOfferQuoteRequest) HTTPRequest

func (request SendOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SendOfferQuoteRequest) RetryPolicy

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

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

func (SendOfferQuoteRequest) String

func (request SendOfferQuoteRequest) String() string

func (SendOfferQuoteRequest) ValidateEnumValue

func (request SendOfferQuoteRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SendOfferQuoteResponse

SendOfferQuoteResponse wrapper for the SendOfferQuote operation

type SendOfferQuoteResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (SendOfferQuoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SendOfferQuoteResponse) String

func (response SendOfferQuoteResponse) String() string

type SendOfferRequest

SendOfferRequest wrapper for the SendOffer operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/SendOffer.go.html to see an example of how to use SendOfferRequest.

type SendOfferRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (SendOfferRequest) BinaryRequestBody

func (request SendOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SendOfferRequest) HTTPRequest

func (request SendOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SendOfferRequest) RetryPolicy

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

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

func (SendOfferRequest) String

func (request SendOfferRequest) String() string

func (SendOfferRequest) ValidateEnumValue

func (request SendOfferRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SendOfferResponse

SendOfferResponse wrapper for the SendOffer operation

type SendOfferResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (SendOfferResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SendOfferResponse) String

func (response SendOfferResponse) String() string

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdateOfferDetails

UpdateOfferDetails The information to be updated.

type UpdateOfferDetails struct {

    // Offers Identifier
    DisplayName *string `mandatory:"false" json:"displayName"`

    // OCID of the buyer's tenancy (root compartment).
    BuyerCompartmentId *string `mandatory:"false" json:"buyerCompartmentId"`

    // Description of the Offer
    Description *string `mandatory:"false" json:"description"`

    // Internal notes of the Offer
    InternalNotes *string `mandatory:"false" json:"internalNotes"`

    // The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
    TimeStartDate *common.SDKTime `mandatory:"false" json:"timeStartDate"`

    // Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
    Duration *string `mandatory:"false" json:"duration"`

    // The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
    TimeAcceptBy *common.SDKTime `mandatory:"false" json:"timeAcceptBy"`

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

    BuyerInformation *BuyerInformation `mandatory:"false" json:"buyerInformation"`

    SellerInformation *SellerInformation `mandatory:"false" json:"sellerInformation"`

    // A list of Resource Bundles associated with an Offer.
    ResourceBundles []ResourceBundle `mandatory:"false" json:"resourceBundles"`

    // A list of key value pairs specified by the seller
    CustomFields []CustomField `mandatory:"false" json:"customFields"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateOfferDetails) String

func (m UpdateOfferDetails) String() string

func (UpdateOfferDetails) ValidateEnumValue

func (m UpdateOfferDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateOfferQuoteDetails

UpdateOfferQuoteDetails The information to be updated.

type UpdateOfferQuoteDetails struct {

    // Offer quotes identifier.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Compartment identifier of the ISV.
    IsvCompartmentId *string `mandatory:"false" json:"isvCompartmentId"`

    // Publisher identifier of the ISV.
    IsvPublisherId *string `mandatory:"false" json:"isvPublisherId"`

    // Description of the offer quote.
    Description *string `mandatory:"false" json:"description"`

    // A list of buyer tenancies.
    BuyerCompartmentIds []string `mandatory:"false" json:"buyerCompartmentIds"`

    ResellerInformation *ResellerInformation `mandatory:"false" json:"resellerInformation"`

    IsvInformation *IsvInformation `mandatory:"false" json:"isvInformation"`

    // A list of resource bundles associated with an offer.
    ResourceBundles []ResourceBundle `mandatory:"false" json:"resourceBundles"`

    // The time the offer for the buyer must be accepted by before the offer becomes invalid. An RFC3339 formatted datetime string.
    BuyerAcceptanceDeadline *common.SDKTime `mandatory:"false" json:"buyerAcceptanceDeadline"`

    // Duration the offer for the buyer will be active after its start date. An ISO8601 extended formatted string.
    BuyerOfferDuration *string `mandatory:"false" json:"buyerOfferDuration"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateOfferQuoteDetails) String

func (m UpdateOfferQuoteDetails) String() string

func (UpdateOfferQuoteDetails) ValidateEnumValue

func (m UpdateOfferQuoteDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateOfferQuoteRequest

UpdateOfferQuoteRequest wrapper for the UpdateOfferQuote operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/UpdateOfferQuote.go.html to see an example of how to use UpdateOfferQuoteRequest.

type UpdateOfferQuoteRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // The information to be updated.
    UpdateOfferQuoteDetails `contributesTo:"body"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (UpdateOfferQuoteRequest) BinaryRequestBody

func (request UpdateOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateOfferQuoteRequest) HTTPRequest

func (request UpdateOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateOfferQuoteRequest) RetryPolicy

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

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

func (UpdateOfferQuoteRequest) String

func (request UpdateOfferQuoteRequest) String() string

func (UpdateOfferQuoteRequest) ValidateEnumValue

func (request UpdateOfferQuoteRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateOfferQuoteResponse

UpdateOfferQuoteResponse wrapper for the UpdateOfferQuote operation

type UpdateOfferQuoteResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (UpdateOfferQuoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOfferQuoteResponse) String

func (response UpdateOfferQuoteResponse) String() string

type UpdateOfferRequest

UpdateOfferRequest wrapper for the UpdateOffer operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/UpdateOffer.go.html to see an example of how to use UpdateOfferRequest.

type UpdateOfferRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // The information to be updated.
    UpdateOfferDetails `contributesTo:"body"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (UpdateOfferRequest) BinaryRequestBody

func (request UpdateOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateOfferRequest) HTTPRequest

func (request UpdateOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateOfferRequest) RetryPolicy

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

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

func (UpdateOfferRequest) String

func (request UpdateOfferRequest) String() string

func (UpdateOfferRequest) ValidateEnumValue

func (request UpdateOfferRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateOfferResponse

UpdateOfferResponse wrapper for the UpdateOffer operation

type UpdateOfferResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (UpdateOfferResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOfferResponse) String

func (response UpdateOfferResponse) String() string

type UploadData

UploadData The model for upload data for images and icons.

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"`
}

func (UploadData) String

func (m UploadData) String() string

func (UploadData) ValidateEnumValue

func (m UploadData) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WithdrawOfferQuoteRequest

WithdrawOfferQuoteRequest wrapper for the WithdrawOfferQuote operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/WithdrawOfferQuote.go.html to see an example of how to use WithdrawOfferQuoteRequest.

type WithdrawOfferQuoteRequest struct {

    // Unique offer quote identifier.
    OfferQuoteId *string `mandatory:"true" contributesTo:"path" name:"offerQuoteId"`

    // OCID of the reseller's compartment.
    ResellerCompartmentId *string `mandatory:"false" contributesTo:"query" name:"resellerCompartmentId"`

    // OCID of the ISV's compartment.
    IsvCompartmentId *string `mandatory:"false" contributesTo:"query" name:"isvCompartmentId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (WithdrawOfferQuoteRequest) BinaryRequestBody

func (request WithdrawOfferQuoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (WithdrawOfferQuoteRequest) HTTPRequest

func (request WithdrawOfferQuoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (WithdrawOfferQuoteRequest) RetryPolicy

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

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

func (WithdrawOfferQuoteRequest) String

func (request WithdrawOfferQuoteRequest) String() string

func (WithdrawOfferQuoteRequest) ValidateEnumValue

func (request WithdrawOfferQuoteRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WithdrawOfferQuoteResponse

WithdrawOfferQuoteResponse wrapper for the WithdrawOfferQuote operation

type WithdrawOfferQuoteResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (WithdrawOfferQuoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (WithdrawOfferQuoteResponse) String

func (response WithdrawOfferQuoteResponse) String() string

type WithdrawOfferRequest

WithdrawOfferRequest wrapper for the WithdrawOffer operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplaceprivateoffer/WithdrawOffer.go.html to see an example of how to use WithdrawOfferRequest.

type WithdrawOfferRequest struct {

    // unique Offer identifier
    OfferId *string `mandatory:"true" contributesTo:"path" name:"offerId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (WithdrawOfferRequest) BinaryRequestBody

func (request WithdrawOfferRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (WithdrawOfferRequest) HTTPRequest

func (request WithdrawOfferRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (WithdrawOfferRequest) RetryPolicy

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

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

func (WithdrawOfferRequest) String

func (request WithdrawOfferRequest) String() string

func (WithdrawOfferRequest) ValidateEnumValue

func (request WithdrawOfferRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WithdrawOfferResponse

WithdrawOfferResponse wrapper for the WithdrawOffer operation

type WithdrawOfferResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (WithdrawOfferResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (WithdrawOfferResponse) String

func (response WithdrawOfferResponse) String() string