...

Package marketplace

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

Overview ▾

Index ▾

Variables
func GetAgreementAuthorEnumStringValues() []string
func GetAgreementSummaryAuthorEnumStringValues() []string
func GetArchitectureTypeEnumStringValues() []string
func GetEulaTypeEnumEnumStringValues() []string
func GetIneligibilityReasonEnumEnumStringValues() []string
func GetLinkEnumEnumStringValues() []string
func GetListAcceptedAgreementsSortByEnumStringValues() []string
func GetListAcceptedAgreementsSortOrderEnumStringValues() []string
func GetListListingsSortByEnumStringValues() []string
func GetListListingsSortOrderEnumStringValues() []string
func GetListPackagesSortByEnumStringValues() []string
func GetListPackagesSortOrderEnumStringValues() []string
func GetListPublicationPackagesSortByEnumStringValues() []string
func GetListPublicationPackagesSortOrderEnumStringValues() []string
func GetListPublicationsListingTypeEnumStringValues() []string
func GetListPublicationsSortByEnumStringValues() []string
func GetListPublicationsSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetListingCompatibleArchitecturesEnumStringValues() []string
func GetListingSummaryCompatibleArchitecturesEnumStringValues() []string
func GetListingSummaryPricingTypesEnumStringValues() []string
func GetListingTypeEnumStringValues() []string
func GetMatchingContextTypeEnumEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetOrchestrationVariableTypeEnumEnumStringValues() []string
func GetPackageTypeEnumEnumStringValues() []string
func GetPricingCurrencyEnumEnumStringValues() []string
func GetPricingStrategyEnumEnumStringValues() []string
func GetPricingTypeEnumEnumStringValues() []string
func GetPublicationLifecycleStateEnumStringValues() []string
func GetSearchDetailsTypeEnumEnumStringValues() []string
func GetThirdPartyPaidListingEligibilityEligibilityReasonEnumStringValues() []string
func GetWorkRequestActionTypeEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
type AcceptedAgreement
    func (m AcceptedAgreement) String() string
    func (m AcceptedAgreement) ValidateEnumValue() (bool, error)
type AcceptedAgreementSummary
    func (m AcceptedAgreementSummary) String() string
    func (m AcceptedAgreementSummary) ValidateEnumValue() (bool, error)
type AccountClient
    func NewAccountClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AccountClient, err error)
    func NewAccountClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AccountClient, err error)
    func (client *AccountClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client AccountClient) GetLaunchEligibility(ctx context.Context, request GetLaunchEligibilityRequest) (response GetLaunchEligibilityResponse, err error)
    func (client AccountClient) GetThirdPartyPaidListingEligibility(ctx context.Context, request GetThirdPartyPaidListingEligibilityRequest) (response GetThirdPartyPaidListingEligibilityResponse, err error)
    func (client *AccountClient) SetRegion(region string)
type Agreement
    func (m Agreement) String() string
    func (m Agreement) ValidateEnumValue() (bool, error)
type AgreementAuthorEnum
    func GetAgreementAuthorEnumValues() []AgreementAuthorEnum
    func GetMappingAgreementAuthorEnum(val string) (AgreementAuthorEnum, bool)
type AgreementSummary
    func (m AgreementSummary) String() string
    func (m AgreementSummary) ValidateEnumValue() (bool, error)
type AgreementSummaryAuthorEnum
    func GetAgreementSummaryAuthorEnumValues() []AgreementSummaryAuthorEnum
    func GetMappingAgreementSummaryAuthorEnum(val string) (AgreementSummaryAuthorEnum, bool)
type ArchitectureTypeEnum
    func GetArchitectureTypeEnumValues() []ArchitectureTypeEnum
    func GetMappingArchitectureTypeEnum(val string) (ArchitectureTypeEnum, bool)
type CategorySummary
    func (m CategorySummary) String() string
    func (m CategorySummary) ValidateEnumValue() (bool, error)
type ChangePublicationCompartmentDetails
    func (m ChangePublicationCompartmentDetails) String() string
    func (m ChangePublicationCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangePublicationCompartmentRequest
    func (request ChangePublicationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangePublicationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangePublicationCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangePublicationCompartmentRequest) String() string
    func (request ChangePublicationCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangePublicationCompartmentResponse
    func (response ChangePublicationCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangePublicationCompartmentResponse) String() string
type ContainerListingPackage
    func (m ContainerListingPackage) GetDescription() *string
    func (m ContainerListingPackage) GetListingId() *string
    func (m ContainerListingPackage) GetOperatingSystem() *OperatingSystem
    func (m ContainerListingPackage) GetPricing() *PricingModel
    func (m ContainerListingPackage) GetRegions() []Region
    func (m ContainerListingPackage) GetResourceId() *string
    func (m ContainerListingPackage) GetTimeCreated() *common.SDKTime
    func (m ContainerListingPackage) GetVersion() *string
    func (m ContainerListingPackage) MarshalJSON() (buff []byte, e error)
    func (m ContainerListingPackage) String() string
    func (m ContainerListingPackage) ValidateEnumValue() (bool, error)
type CreateAcceptedAgreementDetails
    func (m CreateAcceptedAgreementDetails) String() string
    func (m CreateAcceptedAgreementDetails) ValidateEnumValue() (bool, error)
type CreateAcceptedAgreementRequest
    func (request CreateAcceptedAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateAcceptedAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateAcceptedAgreementRequest) String() string
    func (request CreateAcceptedAgreementRequest) ValidateEnumValue() (bool, error)
type CreateAcceptedAgreementResponse
    func (response CreateAcceptedAgreementResponse) HTTPResponse() *http.Response
    func (response CreateAcceptedAgreementResponse) String() string
type CreateImagePublicationPackage
    func (m CreateImagePublicationPackage) GetEula() []Eula
    func (m CreateImagePublicationPackage) GetOperatingSystem() *OperatingSystem
    func (m CreateImagePublicationPackage) GetPackageVersion() *string
    func (m CreateImagePublicationPackage) MarshalJSON() (buff []byte, e error)
    func (m CreateImagePublicationPackage) String() string
    func (m *CreateImagePublicationPackage) UnmarshalJSON(data []byte) (e error)
    func (m CreateImagePublicationPackage) ValidateEnumValue() (bool, error)
type CreatePublicationDetails
    func (m CreatePublicationDetails) String() string
    func (m *CreatePublicationDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreatePublicationDetails) ValidateEnumValue() (bool, error)
type CreatePublicationPackage
type CreatePublicationRequest
    func (request CreatePublicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreatePublicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreatePublicationRequest) RetryPolicy() *common.RetryPolicy
    func (request CreatePublicationRequest) String() string
    func (request CreatePublicationRequest) ValidateEnumValue() (bool, error)
type CreatePublicationResponse
    func (response CreatePublicationResponse) HTTPResponse() *http.Response
    func (response CreatePublicationResponse) String() string
type DeleteAcceptedAgreementRequest
    func (request DeleteAcceptedAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteAcceptedAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteAcceptedAgreementRequest) String() string
    func (request DeleteAcceptedAgreementRequest) ValidateEnumValue() (bool, error)
type DeleteAcceptedAgreementResponse
    func (response DeleteAcceptedAgreementResponse) HTTPResponse() *http.Response
    func (response DeleteAcceptedAgreementResponse) String() string
type DeletePublicationRequest
    func (request DeletePublicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeletePublicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeletePublicationRequest) RetryPolicy() *common.RetryPolicy
    func (request DeletePublicationRequest) String() string
    func (request DeletePublicationRequest) ValidateEnumValue() (bool, error)
type DeletePublicationResponse
    func (response DeletePublicationResponse) HTTPResponse() *http.Response
    func (response DeletePublicationResponse) String() string
type DocumentationLink
    func (m DocumentationLink) String() string
    func (m DocumentationLink) ValidateEnumValue() (bool, error)
type ErrorEntity
    func (m ErrorEntity) String() string
    func (m ErrorEntity) ValidateEnumValue() (bool, error)
type Eula
type EulaTypeEnumEnum
    func GetEulaTypeEnumEnumValues() []EulaTypeEnumEnum
    func GetMappingEulaTypeEnumEnum(val string) (EulaTypeEnumEnum, bool)
type ExportListingRequest
    func (request ExportListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ExportListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ExportListingRequest) RetryPolicy() *common.RetryPolicy
    func (request ExportListingRequest) String() string
    func (request ExportListingRequest) ValidateEnumValue() (bool, error)
type ExportListingResponse
    func (response ExportListingResponse) HTTPResponse() *http.Response
    func (response ExportListingResponse) String() string
type ExportPackageDetails
    func (m ExportPackageDetails) String() string
    func (m ExportPackageDetails) ValidateEnumValue() (bool, error)
type FreeTextSearchDetails
    func (m FreeTextSearchDetails) GetMatchingContextType() MatchingContextTypeEnumEnum
    func (m FreeTextSearchDetails) MarshalJSON() (buff []byte, e error)
    func (m FreeTextSearchDetails) String() string
    func (m FreeTextSearchDetails) ValidateEnumValue() (bool, error)
type GetAcceptedAgreementRequest
    func (request GetAcceptedAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAcceptedAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAcceptedAgreementRequest) String() string
    func (request GetAcceptedAgreementRequest) ValidateEnumValue() (bool, error)
type GetAcceptedAgreementResponse
    func (response GetAcceptedAgreementResponse) HTTPResponse() *http.Response
    func (response GetAcceptedAgreementResponse) String() string
type GetAgreementRequest
    func (request GetAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAgreementRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAgreementRequest) String() string
    func (request GetAgreementRequest) ValidateEnumValue() (bool, error)
type GetAgreementResponse
    func (response GetAgreementResponse) HTTPResponse() *http.Response
    func (response GetAgreementResponse) String() string
type GetLaunchEligibilityRequest
    func (request GetLaunchEligibilityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetLaunchEligibilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetLaunchEligibilityRequest) RetryPolicy() *common.RetryPolicy
    func (request GetLaunchEligibilityRequest) String() string
    func (request GetLaunchEligibilityRequest) ValidateEnumValue() (bool, error)
type GetLaunchEligibilityResponse
    func (response GetLaunchEligibilityResponse) HTTPResponse() *http.Response
    func (response GetLaunchEligibilityResponse) String() string
type GetListingRequest
    func (request GetListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetListingRequest) RetryPolicy() *common.RetryPolicy
    func (request GetListingRequest) String() string
    func (request GetListingRequest) ValidateEnumValue() (bool, error)
type GetListingResponse
    func (response GetListingResponse) HTTPResponse() *http.Response
    func (response GetListingResponse) String() string
type GetPackageRequest
    func (request GetPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetPackageRequest) RetryPolicy() *common.RetryPolicy
    func (request GetPackageRequest) String() string
    func (request GetPackageRequest) ValidateEnumValue() (bool, error)
type GetPackageResponse
    func (response GetPackageResponse) HTTPResponse() *http.Response
    func (response GetPackageResponse) String() string
type GetPublicationPackageRequest
    func (request GetPublicationPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetPublicationPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetPublicationPackageRequest) RetryPolicy() *common.RetryPolicy
    func (request GetPublicationPackageRequest) String() string
    func (request GetPublicationPackageRequest) ValidateEnumValue() (bool, error)
type GetPublicationPackageResponse
    func (response GetPublicationPackageResponse) HTTPResponse() *http.Response
    func (response GetPublicationPackageResponse) String() string
type GetPublicationRequest
    func (request GetPublicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetPublicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetPublicationRequest) RetryPolicy() *common.RetryPolicy
    func (request GetPublicationRequest) String() string
    func (request GetPublicationRequest) ValidateEnumValue() (bool, error)
type GetPublicationResponse
    func (response GetPublicationResponse) HTTPResponse() *http.Response
    func (response GetPublicationResponse) String() string
type GetThirdPartyPaidListingEligibilityRequest
    func (request GetThirdPartyPaidListingEligibilityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetThirdPartyPaidListingEligibilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetThirdPartyPaidListingEligibilityRequest) RetryPolicy() *common.RetryPolicy
    func (request GetThirdPartyPaidListingEligibilityRequest) String() string
    func (request GetThirdPartyPaidListingEligibilityRequest) ValidateEnumValue() (bool, error)
type GetThirdPartyPaidListingEligibilityResponse
    func (response GetThirdPartyPaidListingEligibilityResponse) HTTPResponse() *http.Response
    func (response GetThirdPartyPaidListingEligibilityResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type ImageListingPackage
    func (m ImageListingPackage) GetDescription() *string
    func (m ImageListingPackage) GetListingId() *string
    func (m ImageListingPackage) GetOperatingSystem() *OperatingSystem
    func (m ImageListingPackage) GetPricing() *PricingModel
    func (m ImageListingPackage) GetRegions() []Region
    func (m ImageListingPackage) GetResourceId() *string
    func (m ImageListingPackage) GetTimeCreated() *common.SDKTime
    func (m ImageListingPackage) GetVersion() *string
    func (m ImageListingPackage) MarshalJSON() (buff []byte, e error)
    func (m ImageListingPackage) String() string
    func (m ImageListingPackage) ValidateEnumValue() (bool, error)
type ImagePublicationPackage
    func (m ImagePublicationPackage) GetDescription() *string
    func (m ImagePublicationPackage) GetListingId() *string
    func (m ImagePublicationPackage) GetOperatingSystem() *OperatingSystem
    func (m ImagePublicationPackage) GetResourceId() *string
    func (m ImagePublicationPackage) GetTimeCreated() *common.SDKTime
    func (m ImagePublicationPackage) GetVersion() *string
    func (m ImagePublicationPackage) MarshalJSON() (buff []byte, e error)
    func (m ImagePublicationPackage) String() string
    func (m ImagePublicationPackage) ValidateEnumValue() (bool, error)
type IneligibilityReasonEnumEnum
    func GetIneligibilityReasonEnumEnumValues() []IneligibilityReasonEnumEnum
    func GetMappingIneligibilityReasonEnumEnum(val string) (IneligibilityReasonEnumEnum, bool)
type InternationalMarketPrice
    func (m InternationalMarketPrice) String() string
    func (m InternationalMarketPrice) ValidateEnumValue() (bool, error)
type Item
    func (m Item) String() string
    func (m Item) ValidateEnumValue() (bool, error)
type KubernetesListingPackage
    func (m KubernetesListingPackage) GetDescription() *string
    func (m KubernetesListingPackage) GetListingId() *string
    func (m KubernetesListingPackage) GetOperatingSystem() *OperatingSystem
    func (m KubernetesListingPackage) GetPricing() *PricingModel
    func (m KubernetesListingPackage) GetRegions() []Region
    func (m KubernetesListingPackage) GetResourceId() *string
    func (m KubernetesListingPackage) GetTimeCreated() *common.SDKTime
    func (m KubernetesListingPackage) GetVersion() *string
    func (m KubernetesListingPackage) MarshalJSON() (buff []byte, e error)
    func (m KubernetesListingPackage) String() string
    func (m KubernetesListingPackage) ValidateEnumValue() (bool, error)
type LaunchEligibility
    func (m LaunchEligibility) String() string
    func (m LaunchEligibility) ValidateEnumValue() (bool, error)
type Link
    func (m Link) String() string
    func (m Link) ValidateEnumValue() (bool, error)
type LinkEnumEnum
    func GetLinkEnumEnumValues() []LinkEnumEnum
    func GetMappingLinkEnumEnum(val string) (LinkEnumEnum, bool)
type ListAcceptedAgreementsRequest
    func (request ListAcceptedAgreementsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAcceptedAgreementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAcceptedAgreementsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAcceptedAgreementsRequest) String() string
    func (request ListAcceptedAgreementsRequest) ValidateEnumValue() (bool, error)
type ListAcceptedAgreementsResponse
    func (response ListAcceptedAgreementsResponse) HTTPResponse() *http.Response
    func (response ListAcceptedAgreementsResponse) String() string
type ListAcceptedAgreementsSortByEnum
    func GetListAcceptedAgreementsSortByEnumValues() []ListAcceptedAgreementsSortByEnum
    func GetMappingListAcceptedAgreementsSortByEnum(val string) (ListAcceptedAgreementsSortByEnum, bool)
type ListAcceptedAgreementsSortOrderEnum
    func GetListAcceptedAgreementsSortOrderEnumValues() []ListAcceptedAgreementsSortOrderEnum
    func GetMappingListAcceptedAgreementsSortOrderEnum(val string) (ListAcceptedAgreementsSortOrderEnum, bool)
type ListAgreementsRequest
    func (request ListAgreementsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAgreementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAgreementsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAgreementsRequest) String() string
    func (request ListAgreementsRequest) ValidateEnumValue() (bool, error)
type ListAgreementsResponse
    func (response ListAgreementsResponse) HTTPResponse() *http.Response
    func (response ListAgreementsResponse) String() string
type ListCategoriesRequest
    func (request ListCategoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCategoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCategoriesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCategoriesRequest) String() string
    func (request ListCategoriesRequest) ValidateEnumValue() (bool, error)
type ListCategoriesResponse
    func (response ListCategoriesResponse) HTTPResponse() *http.Response
    func (response ListCategoriesResponse) String() string
type ListListingsRequest
    func (request ListListingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListListingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListListingsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListListingsRequest) String() string
    func (request ListListingsRequest) ValidateEnumValue() (bool, error)
type ListListingsResponse
    func (response ListListingsResponse) HTTPResponse() *http.Response
    func (response ListListingsResponse) String() string
type ListListingsSortByEnum
    func GetListListingsSortByEnumValues() []ListListingsSortByEnum
    func GetMappingListListingsSortByEnum(val string) (ListListingsSortByEnum, bool)
type ListListingsSortOrderEnum
    func GetListListingsSortOrderEnumValues() []ListListingsSortOrderEnum
    func GetMappingListListingsSortOrderEnum(val string) (ListListingsSortOrderEnum, bool)
type ListPackagesRequest
    func (request ListPackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPackagesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPackagesRequest) String() string
    func (request ListPackagesRequest) ValidateEnumValue() (bool, error)
type ListPackagesResponse
    func (response ListPackagesResponse) HTTPResponse() *http.Response
    func (response ListPackagesResponse) String() string
type ListPackagesSortByEnum
    func GetListPackagesSortByEnumValues() []ListPackagesSortByEnum
    func GetMappingListPackagesSortByEnum(val string) (ListPackagesSortByEnum, bool)
type ListPackagesSortOrderEnum
    func GetListPackagesSortOrderEnumValues() []ListPackagesSortOrderEnum
    func GetMappingListPackagesSortOrderEnum(val string) (ListPackagesSortOrderEnum, bool)
type ListPublicationPackagesRequest
    func (request ListPublicationPackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPublicationPackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPublicationPackagesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPublicationPackagesRequest) String() string
    func (request ListPublicationPackagesRequest) ValidateEnumValue() (bool, error)
type ListPublicationPackagesResponse
    func (response ListPublicationPackagesResponse) HTTPResponse() *http.Response
    func (response ListPublicationPackagesResponse) String() string
type ListPublicationPackagesSortByEnum
    func GetListPublicationPackagesSortByEnumValues() []ListPublicationPackagesSortByEnum
    func GetMappingListPublicationPackagesSortByEnum(val string) (ListPublicationPackagesSortByEnum, bool)
type ListPublicationPackagesSortOrderEnum
    func GetListPublicationPackagesSortOrderEnumValues() []ListPublicationPackagesSortOrderEnum
    func GetMappingListPublicationPackagesSortOrderEnum(val string) (ListPublicationPackagesSortOrderEnum, bool)
type ListPublicationsListingTypeEnum
    func GetListPublicationsListingTypeEnumValues() []ListPublicationsListingTypeEnum
    func GetMappingListPublicationsListingTypeEnum(val string) (ListPublicationsListingTypeEnum, bool)
type ListPublicationsRequest
    func (request ListPublicationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPublicationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPublicationsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPublicationsRequest) String() string
    func (request ListPublicationsRequest) ValidateEnumValue() (bool, error)
type ListPublicationsResponse
    func (response ListPublicationsResponse) HTTPResponse() *http.Response
    func (response ListPublicationsResponse) String() string
type ListPublicationsSortByEnum
    func GetListPublicationsSortByEnumValues() []ListPublicationsSortByEnum
    func GetMappingListPublicationsSortByEnum(val string) (ListPublicationsSortByEnum, bool)
type ListPublicationsSortOrderEnum
    func GetListPublicationsSortOrderEnumValues() []ListPublicationsSortOrderEnum
    func GetMappingListPublicationsSortOrderEnum(val string) (ListPublicationsSortOrderEnum, bool)
type ListPublishersRequest
    func (request ListPublishersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPublishersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPublishersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPublishersRequest) String() string
    func (request ListPublishersRequest) ValidateEnumValue() (bool, error)
type ListPublishersResponse
    func (response ListPublishersResponse) HTTPResponse() *http.Response
    func (response ListPublishersResponse) String() string
type ListReportTypesRequest
    func (request ListReportTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListReportTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListReportTypesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListReportTypesRequest) String() string
    func (request ListReportTypesRequest) ValidateEnumValue() (bool, error)
type ListReportTypesResponse
    func (response ListReportTypesResponse) HTTPResponse() *http.Response
    func (response ListReportTypesResponse) String() string
type ListReportsRequest
    func (request ListReportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListReportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListReportsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListReportsRequest) String() string
    func (request ListReportsRequest) ValidateEnumValue() (bool, error)
type ListReportsResponse
    func (response ListReportsResponse) HTTPResponse() *http.Response
    func (response ListReportsResponse) String() string
type ListTaxesRequest
    func (request ListTaxesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListTaxesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListTaxesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListTaxesRequest) String() string
    func (request ListTaxesRequest) ValidateEnumValue() (bool, error)
type ListTaxesResponse
    func (response ListTaxesResponse) HTTPResponse() *http.Response
    func (response ListTaxesResponse) String() string
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type Listing
    func (m Listing) String() string
    func (m Listing) ValidateEnumValue() (bool, error)
type ListingCompatibleArchitecturesEnum
    func GetListingCompatibleArchitecturesEnumValues() []ListingCompatibleArchitecturesEnum
    func GetMappingListingCompatibleArchitecturesEnum(val string) (ListingCompatibleArchitecturesEnum, bool)
type ListingPackage
type ListingPackageSummary
    func (m ListingPackageSummary) String() string
    func (m ListingPackageSummary) ValidateEnumValue() (bool, error)
type ListingPackageTypeEnum
type ListingSummary
    func (m ListingSummary) String() string
    func (m ListingSummary) ValidateEnumValue() (bool, error)
type ListingSummaryCompatibleArchitecturesEnum
    func GetListingSummaryCompatibleArchitecturesEnumValues() []ListingSummaryCompatibleArchitecturesEnum
    func GetMappingListingSummaryCompatibleArchitecturesEnum(val string) (ListingSummaryCompatibleArchitecturesEnum, bool)
type ListingSummaryPricingTypesEnum
    func GetListingSummaryPricingTypesEnumValues() []ListingSummaryPricingTypesEnum
    func GetMappingListingSummaryPricingTypesEnum(val string) (ListingSummaryPricingTypesEnum, bool)
type ListingTypeEnum
    func GetListingTypeEnumValues() []ListingTypeEnum
    func GetMappingListingTypeEnum(val string) (ListingTypeEnum, bool)
type MarketplaceClient
    func NewMarketplaceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MarketplaceClient, err error)
    func NewMarketplaceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MarketplaceClient, err error)
    func (client MarketplaceClient) ChangePublicationCompartment(ctx context.Context, request ChangePublicationCompartmentRequest) (response ChangePublicationCompartmentResponse, err error)
    func (client *MarketplaceClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client MarketplaceClient) CreateAcceptedAgreement(ctx context.Context, request CreateAcceptedAgreementRequest) (response CreateAcceptedAgreementResponse, err error)
    func (client MarketplaceClient) CreatePublication(ctx context.Context, request CreatePublicationRequest) (response CreatePublicationResponse, err error)
    func (client MarketplaceClient) DeleteAcceptedAgreement(ctx context.Context, request DeleteAcceptedAgreementRequest) (response DeleteAcceptedAgreementResponse, err error)
    func (client MarketplaceClient) DeletePublication(ctx context.Context, request DeletePublicationRequest) (response DeletePublicationResponse, err error)
    func (client MarketplaceClient) ExportListing(ctx context.Context, request ExportListingRequest) (response ExportListingResponse, err error)
    func (client MarketplaceClient) GetAcceptedAgreement(ctx context.Context, request GetAcceptedAgreementRequest) (response GetAcceptedAgreementResponse, err error)
    func (client MarketplaceClient) GetAgreement(ctx context.Context, request GetAgreementRequest) (response GetAgreementResponse, err error)
    func (client MarketplaceClient) GetListing(ctx context.Context, request GetListingRequest) (response GetListingResponse, err error)
    func (client MarketplaceClient) GetPackage(ctx context.Context, request GetPackageRequest) (response GetPackageResponse, err error)
    func (client MarketplaceClient) GetPublication(ctx context.Context, request GetPublicationRequest) (response GetPublicationResponse, err error)
    func (client MarketplaceClient) GetPublicationPackage(ctx context.Context, request GetPublicationPackageRequest) (response GetPublicationPackageResponse, err error)
    func (client MarketplaceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client MarketplaceClient) ListAcceptedAgreements(ctx context.Context, request ListAcceptedAgreementsRequest) (response ListAcceptedAgreementsResponse, err error)
    func (client MarketplaceClient) ListAgreements(ctx context.Context, request ListAgreementsRequest) (response ListAgreementsResponse, err error)
    func (client MarketplaceClient) ListCategories(ctx context.Context, request ListCategoriesRequest) (response ListCategoriesResponse, err error)
    func (client MarketplaceClient) ListListings(ctx context.Context, request ListListingsRequest) (response ListListingsResponse, err error)
    func (client MarketplaceClient) ListPackages(ctx context.Context, request ListPackagesRequest) (response ListPackagesResponse, err error)
    func (client MarketplaceClient) ListPublicationPackages(ctx context.Context, request ListPublicationPackagesRequest) (response ListPublicationPackagesResponse, err error)
    func (client MarketplaceClient) ListPublications(ctx context.Context, request ListPublicationsRequest) (response ListPublicationsResponse, err error)
    func (client MarketplaceClient) ListPublishers(ctx context.Context, request ListPublishersRequest) (response ListPublishersResponse, err error)
    func (client MarketplaceClient) ListReportTypes(ctx context.Context, request ListReportTypesRequest) (response ListReportTypesResponse, err error)
    func (client MarketplaceClient) ListReports(ctx context.Context, request ListReportsRequest) (response ListReportsResponse, err error)
    func (client MarketplaceClient) ListTaxes(ctx context.Context, request ListTaxesRequest) (response ListTaxesResponse, err error)
    func (client MarketplaceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client MarketplaceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client MarketplaceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client MarketplaceClient) SearchListings(ctx context.Context, request SearchListingsRequest) (response SearchListingsResponse, err error)
    func (client *MarketplaceClient) SetRegion(region string)
    func (client MarketplaceClient) UpdateAcceptedAgreement(ctx context.Context, request UpdateAcceptedAgreementRequest) (response UpdateAcceptedAgreementResponse, err error)
    func (client MarketplaceClient) UpdatePublication(ctx context.Context, request UpdatePublicationRequest) (response UpdatePublicationResponse, err error)
type MatchingContextTypeEnumEnum
    func GetMappingMatchingContextTypeEnumEnum(val string) (MatchingContextTypeEnumEnum, bool)
    func GetMatchingContextTypeEnumEnumValues() []MatchingContextTypeEnumEnum
type NamedLink
    func (m NamedLink) String() string
    func (m NamedLink) ValidateEnumValue() (bool, error)
type OperatingSystem
    func (m OperatingSystem) String() string
    func (m OperatingSystem) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type OrchestrationListingPackage
    func (m OrchestrationListingPackage) GetDescription() *string
    func (m OrchestrationListingPackage) GetListingId() *string
    func (m OrchestrationListingPackage) GetOperatingSystem() *OperatingSystem
    func (m OrchestrationListingPackage) GetPricing() *PricingModel
    func (m OrchestrationListingPackage) GetRegions() []Region
    func (m OrchestrationListingPackage) GetResourceId() *string
    func (m OrchestrationListingPackage) GetTimeCreated() *common.SDKTime
    func (m OrchestrationListingPackage) GetVersion() *string
    func (m OrchestrationListingPackage) MarshalJSON() (buff []byte, e error)
    func (m OrchestrationListingPackage) String() string
    func (m OrchestrationListingPackage) ValidateEnumValue() (bool, error)
type OrchestrationPublicationPackage
    func (m OrchestrationPublicationPackage) GetDescription() *string
    func (m OrchestrationPublicationPackage) GetListingId() *string
    func (m OrchestrationPublicationPackage) GetOperatingSystem() *OperatingSystem
    func (m OrchestrationPublicationPackage) GetResourceId() *string
    func (m OrchestrationPublicationPackage) GetTimeCreated() *common.SDKTime
    func (m OrchestrationPublicationPackage) GetVersion() *string
    func (m OrchestrationPublicationPackage) MarshalJSON() (buff []byte, e error)
    func (m OrchestrationPublicationPackage) String() string
    func (m OrchestrationPublicationPackage) ValidateEnumValue() (bool, error)
type OrchestrationVariable
    func (m OrchestrationVariable) String() string
    func (m OrchestrationVariable) ValidateEnumValue() (bool, error)
type OrchestrationVariableTypeEnumEnum
    func GetMappingOrchestrationVariableTypeEnumEnum(val string) (OrchestrationVariableTypeEnumEnum, bool)
    func GetOrchestrationVariableTypeEnumEnumValues() []OrchestrationVariableTypeEnumEnum
type PackageTypeEnumEnum
    func GetMappingPackageTypeEnumEnum(val string) (PackageTypeEnumEnum, bool)
    func GetPackageTypeEnumEnumValues() []PackageTypeEnumEnum
type PricingCurrencyEnumEnum
    func GetMappingPricingCurrencyEnumEnum(val string) (PricingCurrencyEnumEnum, bool)
    func GetPricingCurrencyEnumEnumValues() []PricingCurrencyEnumEnum
type PricingModel
    func (m PricingModel) String() string
    func (m PricingModel) ValidateEnumValue() (bool, error)
type PricingStrategyEnumEnum
    func GetMappingPricingStrategyEnumEnum(val string) (PricingStrategyEnumEnum, bool)
    func GetPricingStrategyEnumEnumValues() []PricingStrategyEnumEnum
type PricingTypeEnumEnum
    func GetMappingPricingTypeEnumEnum(val string) (PricingTypeEnumEnum, bool)
    func GetPricingTypeEnumEnumValues() []PricingTypeEnumEnum
type Publication
    func (m Publication) String() string
    func (m Publication) ValidateEnumValue() (bool, error)
type PublicationLifecycleStateEnum
    func GetMappingPublicationLifecycleStateEnum(val string) (PublicationLifecycleStateEnum, bool)
    func GetPublicationLifecycleStateEnumValues() []PublicationLifecycleStateEnum
type PublicationPackage
type PublicationPackageSummary
    func (m PublicationPackageSummary) String() string
    func (m PublicationPackageSummary) ValidateEnumValue() (bool, error)
type PublicationSummary
    func (m PublicationSummary) String() string
    func (m PublicationSummary) ValidateEnumValue() (bool, error)
type Publisher
    func (m Publisher) String() string
    func (m Publisher) ValidateEnumValue() (bool, error)
type PublisherSummary
    func (m PublisherSummary) String() string
    func (m PublisherSummary) ValidateEnumValue() (bool, error)
type Region
    func (m Region) String() string
    func (m Region) ValidateEnumValue() (bool, error)
type ReportCollection
    func (m ReportCollection) String() string
    func (m ReportCollection) ValidateEnumValue() (bool, error)
type ReportSummary
    func (m ReportSummary) String() string
    func (m ReportSummary) ValidateEnumValue() (bool, error)
type ReportTypeCollection
    func (m ReportTypeCollection) String() string
    func (m ReportTypeCollection) ValidateEnumValue() (bool, error)
type ReportTypeSummary
    func (m ReportTypeSummary) String() string
    func (m ReportTypeSummary) ValidateEnumValue() (bool, error)
type Screenshot
    func (m Screenshot) String() string
    func (m Screenshot) ValidateEnumValue() (bool, error)
type SearchDetailsTypeEnumEnum
    func GetMappingSearchDetailsTypeEnumEnum(val string) (SearchDetailsTypeEnumEnum, bool)
    func GetSearchDetailsTypeEnumEnumValues() []SearchDetailsTypeEnumEnum
type SearchListingsDetails
type SearchListingsRequest
    func (request SearchListingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request SearchListingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request SearchListingsRequest) RetryPolicy() *common.RetryPolicy
    func (request SearchListingsRequest) String() string
    func (request SearchListingsRequest) ValidateEnumValue() (bool, error)
type SearchListingsResponse
    func (response SearchListingsResponse) HTTPResponse() *http.Response
    func (response SearchListingsResponse) String() string
type StructuredSearchDetails
    func (m StructuredSearchDetails) GetMatchingContextType() MatchingContextTypeEnumEnum
    func (m StructuredSearchDetails) MarshalJSON() (buff []byte, e error)
    func (m StructuredSearchDetails) String() string
    func (m StructuredSearchDetails) ValidateEnumValue() (bool, error)
type SupportContact
    func (m SupportContact) String() string
    func (m SupportContact) ValidateEnumValue() (bool, error)
type TaxSummary
    func (m TaxSummary) String() string
    func (m TaxSummary) ValidateEnumValue() (bool, error)
type TextBasedEula
    func (m TextBasedEula) MarshalJSON() (buff []byte, e error)
    func (m TextBasedEula) String() string
    func (m TextBasedEula) ValidateEnumValue() (bool, error)
type ThirdPartyPaidListingEligibility
    func (m ThirdPartyPaidListingEligibility) String() string
    func (m ThirdPartyPaidListingEligibility) ValidateEnumValue() (bool, error)
type ThirdPartyPaidListingEligibilityEligibilityReasonEnum
    func GetMappingThirdPartyPaidListingEligibilityEligibilityReasonEnum(val string) (ThirdPartyPaidListingEligibilityEligibilityReasonEnum, bool)
    func GetThirdPartyPaidListingEligibilityEligibilityReasonEnumValues() []ThirdPartyPaidListingEligibilityEligibilityReasonEnum
type UpdateAcceptedAgreementDetails
    func (m UpdateAcceptedAgreementDetails) String() string
    func (m UpdateAcceptedAgreementDetails) ValidateEnumValue() (bool, error)
type UpdateAcceptedAgreementRequest
    func (request UpdateAcceptedAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateAcceptedAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateAcceptedAgreementRequest) String() string
    func (request UpdateAcceptedAgreementRequest) ValidateEnumValue() (bool, error)
type UpdateAcceptedAgreementResponse
    func (response UpdateAcceptedAgreementResponse) HTTPResponse() *http.Response
    func (response UpdateAcceptedAgreementResponse) String() string
type UpdatePublicationDetails
    func (m UpdatePublicationDetails) String() string
    func (m UpdatePublicationDetails) ValidateEnumValue() (bool, error)
type UpdatePublicationRequest
    func (request UpdatePublicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdatePublicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdatePublicationRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdatePublicationRequest) String() string
    func (request UpdatePublicationRequest) ValidateEnumValue() (bool, error)
type UpdatePublicationResponse
    func (response UpdatePublicationResponse) HTTPResponse() *http.Response
    func (response UpdatePublicationResponse) String() string
type UploadData
    func (m UploadData) String() string
    func (m UploadData) ValidateEnumValue() (bool, error)
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestActionTypeEnum
    func GetMappingWorkRequestActionTypeEnum(val string) (WorkRequestActionTypeEnum, bool)
    func GetWorkRequestActionTypeEnumValues() []WorkRequestActionTypeEnum
type WorkRequestCollection
    func (m WorkRequestCollection) String() string
    func (m WorkRequestCollection) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

Package files

accepted_agreement.go accepted_agreement_summary.go agreement.go agreement_summary.go architecture_type.go category_summary.go change_publication_compartment_details.go change_publication_compartment_request_response.go container_listing_package.go create_accepted_agreement_details.go create_accepted_agreement_request_response.go create_image_publication_package.go create_publication_details.go create_publication_package.go create_publication_request_response.go delete_accepted_agreement_request_response.go delete_publication_request_response.go documentation_link.go error_entity.go eula.go eula_type_enum.go export_listing_request_response.go export_package_details.go free_text_search_details.go get_accepted_agreement_request_response.go get_agreement_request_response.go get_launch_eligibility_request_response.go get_listing_request_response.go get_package_request_response.go get_publication_package_request_response.go get_publication_request_response.go get_third_party_paid_listing_eligibility_request_response.go get_work_request_request_response.go image_listing_package.go image_publication_package.go ineligibility_reason_enum.go international_market_price.go item.go kubernetes_listing_package.go launch_eligibility.go link.go link_enum.go list_accepted_agreements_request_response.go list_agreements_request_response.go list_categories_request_response.go list_listings_request_response.go list_packages_request_response.go list_publication_packages_request_response.go list_publications_request_response.go list_publishers_request_response.go list_report_types_request_response.go list_reports_request_response.go list_taxes_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go listing.go listing_package.go listing_package_summary.go listing_summary.go listing_type.go marketplace_account_client.go marketplace_client.go matching_context_type_enum.go named_link.go operating_system.go operation_status.go operation_type.go orchestration_listing_package.go orchestration_publication_package.go orchestration_variable.go orchestration_variable_type_enum.go package_type_enum.go pricing_currency_enum.go pricing_model.go pricing_strategy_enum.go pricing_type_enum.go publication.go publication_package.go publication_package_summary.go publication_summary.go publisher.go publisher_summary.go region.go report_collection.go report_summary.go report_type_collection.go report_type_summary.go screenshot.go search_details_type_enum.go search_listings_details.go search_listings_request_response.go structured_search_details.go support_contact.go tax_summary.go text_based_eula.go third_party_paid_listing_eligibility.go update_accepted_agreement_details.go update_accepted_agreement_request_response.go update_publication_details.go update_publication_request_response.go upload_data.go work_request.go work_request_action_type.go work_request_collection.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_resource_metadata_key.go work_request_summary.go

Variables

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

var GetListingPackageTypeEnumValues = GetPackageTypeEnumEnumValues

func GetAgreementAuthorEnumStringValues

func GetAgreementAuthorEnumStringValues() []string

GetAgreementAuthorEnumStringValues Enumerates the set of values in String for AgreementAuthorEnum

func GetAgreementSummaryAuthorEnumStringValues

func GetAgreementSummaryAuthorEnumStringValues() []string

GetAgreementSummaryAuthorEnumStringValues Enumerates the set of values in String for AgreementSummaryAuthorEnum

func GetArchitectureTypeEnumStringValues

func GetArchitectureTypeEnumStringValues() []string

GetArchitectureTypeEnumStringValues Enumerates the set of values in String for ArchitectureTypeEnum

func GetEulaTypeEnumEnumStringValues

func GetEulaTypeEnumEnumStringValues() []string

GetEulaTypeEnumEnumStringValues Enumerates the set of values in String for EulaTypeEnumEnum

func GetIneligibilityReasonEnumEnumStringValues

func GetIneligibilityReasonEnumEnumStringValues() []string

GetIneligibilityReasonEnumEnumStringValues Enumerates the set of values in String for IneligibilityReasonEnumEnum

func GetLinkEnumEnumStringValues

func GetLinkEnumEnumStringValues() []string

GetLinkEnumEnumStringValues Enumerates the set of values in String for LinkEnumEnum

func GetListAcceptedAgreementsSortByEnumStringValues

func GetListAcceptedAgreementsSortByEnumStringValues() []string

GetListAcceptedAgreementsSortByEnumStringValues Enumerates the set of values in String for ListAcceptedAgreementsSortByEnum

func GetListAcceptedAgreementsSortOrderEnumStringValues

func GetListAcceptedAgreementsSortOrderEnumStringValues() []string

GetListAcceptedAgreementsSortOrderEnumStringValues Enumerates the set of values in String for ListAcceptedAgreementsSortOrderEnum

func GetListListingsSortByEnumStringValues

func GetListListingsSortByEnumStringValues() []string

GetListListingsSortByEnumStringValues Enumerates the set of values in String for ListListingsSortByEnum

func GetListListingsSortOrderEnumStringValues

func GetListListingsSortOrderEnumStringValues() []string

GetListListingsSortOrderEnumStringValues Enumerates the set of values in String for ListListingsSortOrderEnum

func GetListPackagesSortByEnumStringValues

func GetListPackagesSortByEnumStringValues() []string

GetListPackagesSortByEnumStringValues Enumerates the set of values in String for ListPackagesSortByEnum

func GetListPackagesSortOrderEnumStringValues

func GetListPackagesSortOrderEnumStringValues() []string

GetListPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListPackagesSortOrderEnum

func GetListPublicationPackagesSortByEnumStringValues

func GetListPublicationPackagesSortByEnumStringValues() []string

GetListPublicationPackagesSortByEnumStringValues Enumerates the set of values in String for ListPublicationPackagesSortByEnum

func GetListPublicationPackagesSortOrderEnumStringValues

func GetListPublicationPackagesSortOrderEnumStringValues() []string

GetListPublicationPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListPublicationPackagesSortOrderEnum

func GetListPublicationsListingTypeEnumStringValues

func GetListPublicationsListingTypeEnumStringValues() []string

GetListPublicationsListingTypeEnumStringValues Enumerates the set of values in String for ListPublicationsListingTypeEnum

func GetListPublicationsSortByEnumStringValues

func GetListPublicationsSortByEnumStringValues() []string

GetListPublicationsSortByEnumStringValues Enumerates the set of values in String for ListPublicationsSortByEnum

func GetListPublicationsSortOrderEnumStringValues

func GetListPublicationsSortOrderEnumStringValues() []string

GetListPublicationsSortOrderEnumStringValues Enumerates the set of values in String for ListPublicationsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetListingCompatibleArchitecturesEnumStringValues

func GetListingCompatibleArchitecturesEnumStringValues() []string

GetListingCompatibleArchitecturesEnumStringValues Enumerates the set of values in String for ListingCompatibleArchitecturesEnum

func GetListingSummaryCompatibleArchitecturesEnumStringValues

func GetListingSummaryCompatibleArchitecturesEnumStringValues() []string

GetListingSummaryCompatibleArchitecturesEnumStringValues Enumerates the set of values in String for ListingSummaryCompatibleArchitecturesEnum

func GetListingSummaryPricingTypesEnumStringValues

func GetListingSummaryPricingTypesEnumStringValues() []string

GetListingSummaryPricingTypesEnumStringValues Enumerates the set of values in String for ListingSummaryPricingTypesEnum

func GetListingTypeEnumStringValues

func GetListingTypeEnumStringValues() []string

GetListingTypeEnumStringValues Enumerates the set of values in String for ListingTypeEnum

func GetMatchingContextTypeEnumEnumStringValues

func GetMatchingContextTypeEnumEnumStringValues() []string

GetMatchingContextTypeEnumEnumStringValues Enumerates the set of values in String for MatchingContextTypeEnumEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetOrchestrationVariableTypeEnumEnumStringValues

func GetOrchestrationVariableTypeEnumEnumStringValues() []string

GetOrchestrationVariableTypeEnumEnumStringValues Enumerates the set of values in String for OrchestrationVariableTypeEnumEnum

func GetPackageTypeEnumEnumStringValues

func GetPackageTypeEnumEnumStringValues() []string

GetPackageTypeEnumEnumStringValues Enumerates the set of values in String for PackageTypeEnumEnum

func GetPricingCurrencyEnumEnumStringValues

func GetPricingCurrencyEnumEnumStringValues() []string

GetPricingCurrencyEnumEnumStringValues Enumerates the set of values in String for PricingCurrencyEnumEnum

func GetPricingStrategyEnumEnumStringValues

func GetPricingStrategyEnumEnumStringValues() []string

GetPricingStrategyEnumEnumStringValues Enumerates the set of values in String for PricingStrategyEnumEnum

func GetPricingTypeEnumEnumStringValues

func GetPricingTypeEnumEnumStringValues() []string

GetPricingTypeEnumEnumStringValues Enumerates the set of values in String for PricingTypeEnumEnum

func GetPublicationLifecycleStateEnumStringValues

func GetPublicationLifecycleStateEnumStringValues() []string

GetPublicationLifecycleStateEnumStringValues Enumerates the set of values in String for PublicationLifecycleStateEnum

func GetSearchDetailsTypeEnumEnumStringValues

func GetSearchDetailsTypeEnumEnumStringValues() []string

GetSearchDetailsTypeEnumEnumStringValues Enumerates the set of values in String for SearchDetailsTypeEnumEnum

func GetThirdPartyPaidListingEligibilityEligibilityReasonEnumStringValues

func GetThirdPartyPaidListingEligibilityEligibilityReasonEnumStringValues() []string

GetThirdPartyPaidListingEligibilityEligibilityReasonEnumStringValues Enumerates the set of values in String for ThirdPartyPaidListingEligibilityEligibilityReasonEnum

func GetWorkRequestActionTypeEnumStringValues

func GetWorkRequestActionTypeEnumStringValues() []string

GetWorkRequestActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestActionTypeEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

type AcceptedAgreement

AcceptedAgreement The model for an accepted terms of use agreement.

type AcceptedAgreement struct {

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

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

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

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

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

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

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

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

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

func (AcceptedAgreement) String

func (m AcceptedAgreement) String() string

func (AcceptedAgreement) ValidateEnumValue

func (m AcceptedAgreement) 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 AcceptedAgreementSummary

AcceptedAgreementSummary The model for a summary of an accepted agreement.

type AcceptedAgreementSummary struct {

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

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

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

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

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

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

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

func (AcceptedAgreementSummary) String

func (m AcceptedAgreementSummary) String() string

func (AcceptedAgreementSummary) ValidateEnumValue

func (m AcceptedAgreementSummary) 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 AccountClient

AccountClient a client for Account

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

func NewAccountClientWithConfigurationProvider

func NewAccountClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AccountClient, err error)

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

func NewAccountClientWithOboToken

func NewAccountClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AccountClient, err error)

NewAccountClientWithOboToken Creates a new default Account 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 (*AccountClient) ConfigurationProvider

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

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

func (AccountClient) GetLaunchEligibility

func (client AccountClient) GetLaunchEligibility(ctx context.Context, request GetLaunchEligibilityRequest) (response GetLaunchEligibilityResponse, err error)

GetLaunchEligibility Returns Tenant eligibility and other information for launching a PIC image

# See also

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

func (AccountClient) GetThirdPartyPaidListingEligibility

func (client AccountClient) GetThirdPartyPaidListingEligibility(ctx context.Context, request GetThirdPartyPaidListingEligibilityRequest) (response GetThirdPartyPaidListingEligibilityResponse, err error)

GetThirdPartyPaidListingEligibility Returns eligibility details of the tenancy to see and launch third party paid listings

# See also

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

func (*AccountClient) SetRegion

func (client *AccountClient) SetRegion(region string)

SetRegion overrides the region of this client.

type Agreement

Agreement The model for an end user license agreement.

type Agreement struct {

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

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

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

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

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

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

func (Agreement) String

func (m Agreement) String() string

func (Agreement) ValidateEnumValue

func (m Agreement) 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 AgreementAuthorEnum

AgreementAuthorEnum Enum with underlying type: string

type AgreementAuthorEnum string

Set of constants representing the allowable values for AgreementAuthorEnum

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

func GetAgreementAuthorEnumValues

func GetAgreementAuthorEnumValues() []AgreementAuthorEnum

GetAgreementAuthorEnumValues Enumerates the set of values for AgreementAuthorEnum

func GetMappingAgreementAuthorEnum

func GetMappingAgreementAuthorEnum(val string) (AgreementAuthorEnum, bool)

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

type AgreementSummary

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

type AgreementSummary struct {

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

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

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

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

func (AgreementSummary) String

func (m AgreementSummary) String() string

func (AgreementSummary) ValidateEnumValue

func (m AgreementSummary) 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 AgreementSummaryAuthorEnum

AgreementSummaryAuthorEnum Enum with underlying type: string

type AgreementSummaryAuthorEnum string

Set of constants representing the allowable values for AgreementSummaryAuthorEnum

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

func GetAgreementSummaryAuthorEnumValues

func GetAgreementSummaryAuthorEnumValues() []AgreementSummaryAuthorEnum

GetAgreementSummaryAuthorEnumValues Enumerates the set of values for AgreementSummaryAuthorEnum

func GetMappingAgreementSummaryAuthorEnum

func GetMappingAgreementSummaryAuthorEnum(val string) (AgreementSummaryAuthorEnum, bool)

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

type ArchitectureTypeEnum

ArchitectureTypeEnum Enum with underlying type: string

type ArchitectureTypeEnum string

Set of constants representing the allowable values for ArchitectureTypeEnum

const (
    ArchitectureTypeX86 ArchitectureTypeEnum = "X86"
    ArchitectureTypeArm ArchitectureTypeEnum = "ARM"
)

func GetArchitectureTypeEnumValues

func GetArchitectureTypeEnumValues() []ArchitectureTypeEnum

GetArchitectureTypeEnumValues Enumerates the set of values for ArchitectureTypeEnum

func GetMappingArchitectureTypeEnum

func GetMappingArchitectureTypeEnum(val string) (ArchitectureTypeEnum, bool)

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

type CategorySummary

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

type CategorySummary struct {

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

func (CategorySummary) String

func (m CategorySummary) String() string

func (CategorySummary) ValidateEnumValue

func (m CategorySummary) 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 ChangePublicationCompartmentDetails

ChangePublicationCompartmentDetails The model for the parameters needed move a publication from one compartment to another.

type ChangePublicationCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want to move the publication.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

func (ChangePublicationCompartmentDetails) String

func (m ChangePublicationCompartmentDetails) String() string

func (ChangePublicationCompartmentDetails) ValidateEnumValue

func (m ChangePublicationCompartmentDetails) 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 ChangePublicationCompartmentRequest

ChangePublicationCompartmentRequest wrapper for the ChangePublicationCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ChangePublicationCompartment.go.html to see an example of how to use ChangePublicationCompartmentRequest.

type ChangePublicationCompartmentRequest struct {

    // The unique identifier for the publication.
    PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

    // The details of the request to change the compartment of a given publication.
    ChangePublicationCompartmentDetails `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"`

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

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

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

func (ChangePublicationCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangePublicationCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangePublicationCompartmentRequest) RetryPolicy

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

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

func (ChangePublicationCompartmentRequest) String

func (request ChangePublicationCompartmentRequest) String() string

func (ChangePublicationCompartmentRequest) ValidateEnumValue

func (request ChangePublicationCompartmentRequest) 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 ChangePublicationCompartmentResponse

ChangePublicationCompartmentResponse wrapper for the ChangePublicationCompartment operation

type ChangePublicationCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (ChangePublicationCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangePublicationCompartmentResponse) String

func (response ChangePublicationCompartmentResponse) String() string

type ContainerListingPackage

ContainerListingPackage A listing package for container.

type ContainerListingPackage struct {

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

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

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

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

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

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

    OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

    // The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
    Regions []Region `mandatory:"false" json:"regions"`
}

func (ContainerListingPackage) GetDescription

func (m ContainerListingPackage) GetDescription() *string

GetDescription returns Description

func (ContainerListingPackage) GetListingId

func (m ContainerListingPackage) GetListingId() *string

GetListingId returns ListingId

func (ContainerListingPackage) GetOperatingSystem

func (m ContainerListingPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (ContainerListingPackage) GetPricing

func (m ContainerListingPackage) GetPricing() *PricingModel

GetPricing returns Pricing

func (ContainerListingPackage) GetRegions

func (m ContainerListingPackage) GetRegions() []Region

GetRegions returns Regions

func (ContainerListingPackage) GetResourceId

func (m ContainerListingPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (ContainerListingPackage) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (ContainerListingPackage) GetVersion

func (m ContainerListingPackage) GetVersion() *string

GetVersion returns Version

func (ContainerListingPackage) MarshalJSON

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

MarshalJSON marshals to json representation

func (ContainerListingPackage) String

func (m ContainerListingPackage) String() string

func (ContainerListingPackage) ValidateEnumValue

func (m ContainerListingPackage) 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 CreateAcceptedAgreementDetails

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

type CreateAcceptedAgreementDetails struct {

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

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

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

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

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

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

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

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

func (CreateAcceptedAgreementDetails) String

func (m CreateAcceptedAgreementDetails) String() string

func (CreateAcceptedAgreementDetails) ValidateEnumValue

func (m CreateAcceptedAgreementDetails) 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 CreateAcceptedAgreementRequest

CreateAcceptedAgreementRequest wrapper for the CreateAcceptedAgreement operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/CreateAcceptedAgreement.go.html to see an example of how to use CreateAcceptedAgreementRequest.

type CreateAcceptedAgreementRequest struct {

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

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

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

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

func (CreateAcceptedAgreementRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateAcceptedAgreementRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateAcceptedAgreementRequest) RetryPolicy

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

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

func (CreateAcceptedAgreementRequest) String

func (request CreateAcceptedAgreementRequest) String() string

func (CreateAcceptedAgreementRequest) ValidateEnumValue

func (request CreateAcceptedAgreementRequest) 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 CreateAcceptedAgreementResponse

CreateAcceptedAgreementResponse wrapper for the CreateAcceptedAgreement operation

type CreateAcceptedAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (CreateAcceptedAgreementResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateAcceptedAgreementResponse) String

func (response CreateAcceptedAgreementResponse) String() string

type CreateImagePublicationPackage

CreateImagePublicationPackage An object for creating an image publication package.

type CreateImagePublicationPackage struct {

    // The package version.
    PackageVersion *string `mandatory:"true" json:"packageVersion"`

    OperatingSystem *OperatingSystem `mandatory:"true" json:"operatingSystem"`

    // The end user license agreeement (EULA) that consumers of this listing must accept.
    Eula []Eula `mandatory:"true" json:"eula"`

    // The unique identifier for the base image of the publication.
    ImageId *string `mandatory:"false" json:"imageId"`
}

func (CreateImagePublicationPackage) GetEula

func (m CreateImagePublicationPackage) GetEula() []Eula

GetEula returns Eula

func (CreateImagePublicationPackage) GetOperatingSystem

func (m CreateImagePublicationPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (CreateImagePublicationPackage) GetPackageVersion

func (m CreateImagePublicationPackage) GetPackageVersion() *string

GetPackageVersion returns PackageVersion

func (CreateImagePublicationPackage) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateImagePublicationPackage) String

func (m CreateImagePublicationPackage) String() string

func (*CreateImagePublicationPackage) UnmarshalJSON

func (m *CreateImagePublicationPackage) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateImagePublicationPackage) ValidateEnumValue

func (m CreateImagePublicationPackage) 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 CreatePublicationDetails

CreatePublicationDetails The model for the parameters needed to create a publication.

type CreatePublicationDetails struct {

    // The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
    ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`

    // The name of the publication, which is also used in the listing.
    Name *string `mandatory:"true" json:"name"`

    // A short description of the publication to use in the listing.
    ShortDescription *string `mandatory:"true" json:"shortDescription"`

    // Contact information for getting support from the publisher for the listing.
    SupportContacts []SupportContact `mandatory:"true" json:"supportContacts"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the publication.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    PackageDetails CreatePublicationPackage `mandatory:"true" json:"packageDetails"`

    // Whether the publisher acknowledged that they have the right and authority to share the contents of the publication and that they accepted the Oracle terms of use agreements required to create a publication.
    IsAgreementAcknowledged *bool `mandatory:"true" json:"isAgreementAcknowledged"`

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

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

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

func (CreatePublicationDetails) String

func (m CreatePublicationDetails) String() string

func (*CreatePublicationDetails) UnmarshalJSON

func (m *CreatePublicationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreatePublicationDetails) ValidateEnumValue

func (m CreatePublicationDetails) 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 CreatePublicationPackage

CreatePublicationPackage A base object for creating a publication package.

type CreatePublicationPackage interface {

    // The package version.
    GetPackageVersion() *string

    GetOperatingSystem() *OperatingSystem

    // The end user license agreeement (EULA) that consumers of this listing must accept.
    GetEula() []Eula
}

type CreatePublicationRequest

CreatePublicationRequest wrapper for the CreatePublication operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/CreatePublication.go.html to see an example of how to use CreatePublicationRequest.

type CreatePublicationRequest struct {

    // The details for creating the publication.
    CreatePublicationDetails `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"`

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

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

func (CreatePublicationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreatePublicationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreatePublicationRequest) RetryPolicy

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

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

func (CreatePublicationRequest) String

func (request CreatePublicationRequest) String() string

func (CreatePublicationRequest) ValidateEnumValue

func (request CreatePublicationRequest) 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 CreatePublicationResponse

CreatePublicationResponse wrapper for the CreatePublication operation

type CreatePublicationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Publication instance
    Publication `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 (CreatePublicationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreatePublicationResponse) String

func (response CreatePublicationResponse) String() string

type DeleteAcceptedAgreementRequest

DeleteAcceptedAgreementRequest wrapper for the DeleteAcceptedAgreement operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/DeleteAcceptedAgreement.go.html to see an example of how to use DeleteAcceptedAgreementRequest.

type DeleteAcceptedAgreementRequest struct {

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

    // Previously, the signature generated for the listing package terms of use agreement, but now deprecated and ignored.
    Signature *string `mandatory:"false" contributesTo:"query" name:"signature"`

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

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

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

func (DeleteAcceptedAgreementRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteAcceptedAgreementRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteAcceptedAgreementRequest) RetryPolicy

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

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

func (DeleteAcceptedAgreementRequest) String

func (request DeleteAcceptedAgreementRequest) String() string

func (DeleteAcceptedAgreementRequest) ValidateEnumValue

func (request DeleteAcceptedAgreementRequest) 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 DeleteAcceptedAgreementResponse

DeleteAcceptedAgreementResponse wrapper for the DeleteAcceptedAgreement operation

type DeleteAcceptedAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteAcceptedAgreementResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteAcceptedAgreementResponse) String

func (response DeleteAcceptedAgreementResponse) String() string

type DeletePublicationRequest

DeletePublicationRequest wrapper for the DeletePublication operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/DeletePublication.go.html to see an example of how to use DeletePublicationRequest.

type DeletePublicationRequest struct {

    // The unique identifier for the publication.
    PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

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

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

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

func (DeletePublicationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeletePublicationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeletePublicationRequest) RetryPolicy

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

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

func (DeletePublicationRequest) String

func (request DeletePublicationRequest) String() string

func (DeletePublicationRequest) ValidateEnumValue

func (request DeletePublicationRequest) 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 DeletePublicationResponse

DeletePublicationResponse wrapper for the DeletePublication operation

type DeletePublicationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeletePublicationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeletePublicationResponse) String

func (response DeletePublicationResponse) String() string

DocumentationLink A link to a documentation resource on the internet.

type DocumentationLink struct {

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

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

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

func (DocumentationLink) String

func (m DocumentationLink) String() string

func (DocumentationLink) ValidateEnumValue

func (m DocumentationLink) 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 ErrorEntity

ErrorEntity The model for the error entity.

type ErrorEntity struct {

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

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

func (ErrorEntity) String

func (m ErrorEntity) String() string

func (ErrorEntity) ValidateEnumValue

func (m ErrorEntity) 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 Eula

Eula A base object for all types of end user license agreements.

type Eula interface {
}

type EulaTypeEnumEnum

EulaTypeEnumEnum Enum with underlying type: string

type EulaTypeEnumEnum string

Set of constants representing the allowable values for EulaTypeEnumEnum

const (
    EulaTypeEnumText EulaTypeEnumEnum = "TEXT"
)

func GetEulaTypeEnumEnumValues

func GetEulaTypeEnumEnumValues() []EulaTypeEnumEnum

GetEulaTypeEnumEnumValues Enumerates the set of values for EulaTypeEnumEnum

func GetMappingEulaTypeEnumEnum

func GetMappingEulaTypeEnumEnum(val string) (EulaTypeEnumEnum, bool)

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

type ExportListingRequest

ExportListingRequest wrapper for the ExportListing operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ExportListing.go.html to see an example of how to use ExportListingRequest.

type ExportListingRequest struct {

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

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

    // The details for exporting container images or helm chart.
    ExportPackageDetails `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"`

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

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

func (ExportListingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ExportListingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ExportListingRequest) RetryPolicy

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

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

func (ExportListingRequest) String

func (request ExportListingRequest) String() string

func (ExportListingRequest) ValidateEnumValue

func (request ExportListingRequest) 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 ExportListingResponse

ExportListingResponse wrapper for the ExportListing operation

type ExportListingResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // The OCID of the asynchronous work request.
    // Use GetWorkRequest with this OCID to track the status of the asynchronous request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (ExportListingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ExportListingResponse) String

func (response ExportListingResponse) String() string

type ExportPackageDetails

ExportPackageDetails The model for the parameters needed to export a listing.

type ExportPackageDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want to export container image or helm chart.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The repository path (/Content/General/Concepts/identifiers.htm) of the container reposistory where the container image or helm chart should be exported.
    ContainerRepositoryPath *string `mandatory:"true" json:"containerRepositoryPath"`
}

func (ExportPackageDetails) String

func (m ExportPackageDetails) String() string

func (ExportPackageDetails) ValidateEnumValue

func (m ExportPackageDetails) 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 FreeTextSearchDetails

FreeTextSearchDetails A request containing arbitrary text that must be present in the Marketplace Applications.

type FreeTextSearchDetails struct {

    // The text to search for.
    Text *string `mandatory:"true" json:"text"`

    // The type of matching context returned in the response. If you specify HIGHLIGHTS, then the service will highlight fragments in its response. The default value is NONE.
    MatchingContextType MatchingContextTypeEnumEnum `mandatory:"false" json:"matchingContextType,omitempty"`
}

func (FreeTextSearchDetails) GetMatchingContextType

func (m FreeTextSearchDetails) GetMatchingContextType() MatchingContextTypeEnumEnum

GetMatchingContextType returns MatchingContextType

func (FreeTextSearchDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (FreeTextSearchDetails) String

func (m FreeTextSearchDetails) String() string

func (FreeTextSearchDetails) ValidateEnumValue

func (m FreeTextSearchDetails) 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 GetAcceptedAgreementRequest

GetAcceptedAgreementRequest wrapper for the GetAcceptedAgreement operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/GetAcceptedAgreement.go.html to see an example of how to use GetAcceptedAgreementRequest.

type GetAcceptedAgreementRequest struct {

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

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

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

func (GetAcceptedAgreementRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAcceptedAgreementRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAcceptedAgreementRequest) RetryPolicy

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

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

func (GetAcceptedAgreementRequest) String

func (request GetAcceptedAgreementRequest) String() string

func (GetAcceptedAgreementRequest) ValidateEnumValue

func (request GetAcceptedAgreementRequest) 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 GetAcceptedAgreementResponse

GetAcceptedAgreementResponse wrapper for the GetAcceptedAgreement operation

type GetAcceptedAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetAcceptedAgreementResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAcceptedAgreementResponse) String

func (response GetAcceptedAgreementResponse) String() string

type GetAgreementRequest

GetAgreementRequest wrapper for the GetAgreement operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/GetAgreement.go.html to see an example of how to use GetAgreementRequest.

type GetAgreementRequest struct {

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

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

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

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

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

    // 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 (GetAgreementRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAgreementRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAgreementRequest) RetryPolicy

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

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

func (GetAgreementRequest) String

func (request GetAgreementRequest) String() string

func (GetAgreementRequest) ValidateEnumValue

func (request GetAgreementRequest) 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 GetAgreementResponse

GetAgreementResponse wrapper for the GetAgreement operation

type GetAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (GetAgreementResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAgreementResponse) String

func (response GetAgreementResponse) String() string

type GetLaunchEligibilityRequest

GetLaunchEligibilityRequest wrapper for the GetLaunchEligibility operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/GetLaunchEligibility.go.html to see an example of how to use GetLaunchEligibilityRequest.

type GetLaunchEligibilityRequest struct {

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

    // Image ID
    ImageId *string `mandatory:"true" contributesTo:"query" name:"imageId"`

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

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

func (GetLaunchEligibilityRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetLaunchEligibilityRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetLaunchEligibilityRequest) RetryPolicy

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

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

func (GetLaunchEligibilityRequest) String

func (request GetLaunchEligibilityRequest) String() string

func (GetLaunchEligibilityRequest) ValidateEnumValue

func (request GetLaunchEligibilityRequest) 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 GetLaunchEligibilityResponse

GetLaunchEligibilityResponse wrapper for the GetLaunchEligibility operation

type GetLaunchEligibilityResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (GetLaunchEligibilityResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetLaunchEligibilityResponse) String

func (response GetLaunchEligibilityResponse) String() string

type GetListingRequest

GetListingRequest wrapper for the GetListing operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/GetListing.go.html to see an example of how to use GetListingRequest.

type GetListingRequest struct {

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

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

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

    // 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 (GetListingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetListingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetListingRequest) RetryPolicy

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

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

func (GetListingRequest) String

func (request GetListingRequest) String() string

func (GetListingRequest) ValidateEnumValue

func (request GetListingRequest) 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 GetListingResponse

GetListingResponse wrapper for the GetListing operation

type GetListingResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetListingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetListingResponse) String

func (response GetListingResponse) String() string

type GetPackageRequest

GetPackageRequest wrapper for the GetPackage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/GetPackage.go.html to see an example of how to use GetPackageRequest.

type GetPackageRequest struct {

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

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

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

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

    // 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 (GetPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetPackageRequest) RetryPolicy

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

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

func (GetPackageRequest) String

func (request GetPackageRequest) String() string

func (GetPackageRequest) ValidateEnumValue

func (request GetPackageRequest) 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 GetPackageResponse

GetPackageResponse wrapper for the GetPackage operation

type GetPackageResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetPackageResponse) String

func (response GetPackageResponse) String() string

type GetPublicationPackageRequest

GetPublicationPackageRequest wrapper for the GetPublicationPackage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/GetPublicationPackage.go.html to see an example of how to use GetPublicationPackageRequest.

type GetPublicationPackageRequest struct {

    // The unique identifier for the publication.
    PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

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

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

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

func (GetPublicationPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetPublicationPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetPublicationPackageRequest) RetryPolicy

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

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

func (GetPublicationPackageRequest) String

func (request GetPublicationPackageRequest) String() string

func (GetPublicationPackageRequest) ValidateEnumValue

func (request GetPublicationPackageRequest) 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 GetPublicationPackageResponse

GetPublicationPackageResponse wrapper for the GetPublicationPackage operation

type GetPublicationPackageResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The PublicationPackage instance
    PublicationPackage `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 (GetPublicationPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetPublicationPackageResponse) String

func (response GetPublicationPackageResponse) String() string

type GetPublicationRequest

GetPublicationRequest wrapper for the GetPublication operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/GetPublication.go.html to see an example of how to use GetPublicationRequest.

type GetPublicationRequest struct {

    // The unique identifier for the publication.
    PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

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

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

func (GetPublicationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetPublicationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetPublicationRequest) RetryPolicy

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

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

func (GetPublicationRequest) String

func (request GetPublicationRequest) String() string

func (GetPublicationRequest) ValidateEnumValue

func (request GetPublicationRequest) 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 GetPublicationResponse

GetPublicationResponse wrapper for the GetPublication operation

type GetPublicationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Publication instance
    Publication `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 (GetPublicationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetPublicationResponse) String

func (response GetPublicationResponse) String() string

type GetThirdPartyPaidListingEligibilityRequest

GetThirdPartyPaidListingEligibilityRequest wrapper for the GetThirdPartyPaidListingEligibility operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/GetThirdPartyPaidListingEligibility.go.html to see an example of how to use GetThirdPartyPaidListingEligibilityRequest.

type GetThirdPartyPaidListingEligibilityRequest struct {

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

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

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

func (GetThirdPartyPaidListingEligibilityRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetThirdPartyPaidListingEligibilityRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetThirdPartyPaidListingEligibilityRequest) RetryPolicy

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

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

func (GetThirdPartyPaidListingEligibilityRequest) String

func (request GetThirdPartyPaidListingEligibilityRequest) String() string

func (GetThirdPartyPaidListingEligibilityRequest) ValidateEnumValue

func (request GetThirdPartyPaidListingEligibilityRequest) 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 GetThirdPartyPaidListingEligibilityResponse

GetThirdPartyPaidListingEligibilityResponse wrapper for the GetThirdPartyPaidListingEligibility operation

type GetThirdPartyPaidListingEligibilityResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (GetThirdPartyPaidListingEligibilityResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetThirdPartyPaidListingEligibilityResponse) String

func (response GetThirdPartyPaidListingEligibilityResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) 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 GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `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 (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type ImageListingPackage

ImageListingPackage A package for image listings.

type ImageListingPackage struct {

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

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

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

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

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

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

    OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

    // The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
    Regions []Region `mandatory:"false" json:"regions"`

    // The ID of the listing resource associated with this listing package. For more information, see AppCatalogListing (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListing/) in the Core Services API.
    AppCatalogListingId *string `mandatory:"false" json:"appCatalogListingId"`

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

    // The ID of the image corresponding to the package.
    ImageId *string `mandatory:"false" json:"imageId"`
}

func (ImageListingPackage) GetDescription

func (m ImageListingPackage) GetDescription() *string

GetDescription returns Description

func (ImageListingPackage) GetListingId

func (m ImageListingPackage) GetListingId() *string

GetListingId returns ListingId

func (ImageListingPackage) GetOperatingSystem

func (m ImageListingPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (ImageListingPackage) GetPricing

func (m ImageListingPackage) GetPricing() *PricingModel

GetPricing returns Pricing

func (ImageListingPackage) GetRegions

func (m ImageListingPackage) GetRegions() []Region

GetRegions returns Regions

func (ImageListingPackage) GetResourceId

func (m ImageListingPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (ImageListingPackage) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (ImageListingPackage) GetVersion

func (m ImageListingPackage) GetVersion() *string

GetVersion returns Version

func (ImageListingPackage) MarshalJSON

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

MarshalJSON marshals to json representation

func (ImageListingPackage) String

func (m ImageListingPackage) String() string

func (ImageListingPackage) ValidateEnumValue

func (m ImageListingPackage) 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 ImagePublicationPackage

ImagePublicationPackage A publication package for image publications.

type ImagePublicationPackage struct {

    // The ID of the listing that the specified package belongs to.
    ListingId *string `mandatory:"true" json:"listingId"`

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

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

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

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

    OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

    // The ID of the listing resource associated with this publication package. For more information, see AppCatalogListing (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListing/) in the Core Services API.
    AppCatalogListingId *string `mandatory:"false" json:"appCatalogListingId"`

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

    // The ID of the image that corresponds to the package.
    ImageId *string `mandatory:"false" json:"imageId"`
}

func (ImagePublicationPackage) GetDescription

func (m ImagePublicationPackage) GetDescription() *string

GetDescription returns Description

func (ImagePublicationPackage) GetListingId

func (m ImagePublicationPackage) GetListingId() *string

GetListingId returns ListingId

func (ImagePublicationPackage) GetOperatingSystem

func (m ImagePublicationPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (ImagePublicationPackage) GetResourceId

func (m ImagePublicationPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (ImagePublicationPackage) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (ImagePublicationPackage) GetVersion

func (m ImagePublicationPackage) GetVersion() *string

GetVersion returns Version

func (ImagePublicationPackage) MarshalJSON

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

MarshalJSON marshals to json representation

func (ImagePublicationPackage) String

func (m ImagePublicationPackage) String() string

func (ImagePublicationPackage) ValidateEnumValue

func (m ImagePublicationPackage) 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 IneligibilityReasonEnumEnum

IneligibilityReasonEnumEnum Enum with underlying type: string

type IneligibilityReasonEnumEnum string

Set of constants representing the allowable values for IneligibilityReasonEnumEnum

const (
    IneligibilityReasonEnumIneligibleAccountCountry                      IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_COUNTRY"
    IneligibilityReasonEnumIneligibleRegion                              IneligibilityReasonEnumEnum = "INELIGIBLE_REGION"
    IneligibilityReasonEnumIneligibleAccountBlacklisted                  IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_BLACKLISTED"
    IneligibilityReasonEnumIneligibleAccountFeatureDisabled              IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_FEATURE_DISABLED"
    IneligibilityReasonEnumIneligibleAccountCurrency                     IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_CURRENCY"
    IneligibilityReasonEnumIneligibleAccountNotPaid                      IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_NOT_PAID"
    IneligibilityReasonEnumIneligibleAccountInternal                     IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_INTERNAL"
    IneligibilityReasonEnumIneligibleAccountGovSubscription              IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_GOV_SUBSCRIPTION"
    IneligibilityReasonEnumIneligiblePaidListingThrottled                IneligibilityReasonEnumEnum = "INELIGIBLE_PAID_LISTING_THROTTLED"
    IneligibilityReasonEnumIneligibleAccountNotAvailable                 IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_NOT_AVAILABLE"
    IneligibilityReasonEnumIneligibleAccountNotMonthlyInclusive          IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_NOT_MONTHLY_INCLUSIVE"
    IneligibilityReasonEnumImageMetaDataSo                               IneligibilityReasonEnumEnum = "IMAGE_META_DATA_SO"
    IneligibilityReasonEnumIneligibleAccountTenancyNotAllowedAccessImage IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_TENANCY_NOT_ALLOWED_ACCESS_IMAGE"
    IneligibilityReasonEnumIneligibleAccountGovLaunchNonGovListing       IneligibilityReasonEnumEnum = "INELIGIBLE_ACCOUNT_GOV_LAUNCH_NON_GOV_LISTING"
    IneligibilityReasonEnumAgreementNotAccepted                          IneligibilityReasonEnumEnum = "AGREEMENT_NOT_ACCEPTED"
    IneligibilityReasonEnumNotAuthorized                                 IneligibilityReasonEnumEnum = "NOT_AUTHORIZED"
    IneligibilityReasonEnumEligible                                      IneligibilityReasonEnumEnum = "ELIGIBLE"
)

func GetIneligibilityReasonEnumEnumValues

func GetIneligibilityReasonEnumEnumValues() []IneligibilityReasonEnumEnum

GetIneligibilityReasonEnumEnumValues Enumerates the set of values for IneligibilityReasonEnumEnum

func GetMappingIneligibilityReasonEnumEnum

func GetMappingIneligibilityReasonEnumEnum(val string) (IneligibilityReasonEnumEnum, bool)

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

type InternationalMarketPrice

InternationalMarketPrice The model for international market pricing.

type InternationalMarketPrice struct {

    // The currency of the pricing model.
    CurrencyCode PricingCurrencyEnumEnum `mandatory:"true" json:"currencyCode"`

    // The pricing rate.
    Rate *float64 `mandatory:"true" json:"rate"`

    // The symbol of the currency
    CurrencySymbol *string `mandatory:"false" json:"currencySymbol"`
}

func (InternationalMarketPrice) String

func (m InternationalMarketPrice) String() string

func (InternationalMarketPrice) ValidateEnumValue

func (m InternationalMarketPrice) 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 Item

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

type Item struct {

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

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

func (Item) String

func (m Item) String() string

func (Item) ValidateEnumValue

func (m Item) 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 KubernetesListingPackage

KubernetesListingPackage A listing package for kubernetes.

type KubernetesListingPackage struct {

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

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

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

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

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

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

    OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

    // The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
    Regions []Region `mandatory:"false" json:"regions"`
}

func (KubernetesListingPackage) GetDescription

func (m KubernetesListingPackage) GetDescription() *string

GetDescription returns Description

func (KubernetesListingPackage) GetListingId

func (m KubernetesListingPackage) GetListingId() *string

GetListingId returns ListingId

func (KubernetesListingPackage) GetOperatingSystem

func (m KubernetesListingPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (KubernetesListingPackage) GetPricing

func (m KubernetesListingPackage) GetPricing() *PricingModel

GetPricing returns Pricing

func (KubernetesListingPackage) GetRegions

func (m KubernetesListingPackage) GetRegions() []Region

GetRegions returns Regions

func (KubernetesListingPackage) GetResourceId

func (m KubernetesListingPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (KubernetesListingPackage) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (KubernetesListingPackage) GetVersion

func (m KubernetesListingPackage) GetVersion() *string

GetVersion returns Version

func (KubernetesListingPackage) MarshalJSON

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

MarshalJSON marshals to json representation

func (KubernetesListingPackage) String

func (m KubernetesListingPackage) String() string

func (KubernetesListingPackage) ValidateEnumValue

func (m KubernetesListingPackage) 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 LaunchEligibility

LaunchEligibility Tenant eligibility and other information for launching a PIC image

type LaunchEligibility struct {

    // PIC Image ID
    ImageId *string `mandatory:"true" json:"imageId"`

    // Is the tenant permitted to launch the PIC image
    IsLaunchAllowed *bool `mandatory:"true" json:"isLaunchAllowed"`

    // related meters for the PIC image
    Meters *string `mandatory:"false" json:"meters"`

    // Reason the account is ineligible to launch paid listings
    IneligibilityReason IneligibilityReasonEnumEnum `mandatory:"false" json:"ineligibilityReason,omitempty"`
}

func (LaunchEligibility) String

func (m LaunchEligibility) String() string

func (LaunchEligibility) ValidateEnumValue

func (m LaunchEligibility) 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

Link The model for links.

type Link struct {

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

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

func (Link) String

func (m Link) String() string

func (Link) ValidateEnumValue

func (m Link) 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 LinkEnumEnum

LinkEnumEnum Enum with underlying type: string

type LinkEnumEnum string

Set of constants representing the allowable values for LinkEnumEnum

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

func GetLinkEnumEnumValues

func GetLinkEnumEnumValues() []LinkEnumEnum

GetLinkEnumEnumValues Enumerates the set of values for LinkEnumEnum

func GetMappingLinkEnumEnum

func GetMappingLinkEnumEnum(val string) (LinkEnumEnum, bool)

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

type ListAcceptedAgreementsRequest

ListAcceptedAgreementsRequest wrapper for the ListAcceptedAgreements operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListAcceptedAgreements.go.html to see an example of how to use ListAcceptedAgreementsRequest.

type ListAcceptedAgreementsRequest struct {

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

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

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

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

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

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

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

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

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

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

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

func (ListAcceptedAgreementsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAcceptedAgreementsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAcceptedAgreementsRequest) RetryPolicy

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

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

func (ListAcceptedAgreementsRequest) String

func (request ListAcceptedAgreementsRequest) String() string

func (ListAcceptedAgreementsRequest) ValidateEnumValue

func (request ListAcceptedAgreementsRequest) 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 ListAcceptedAgreementsResponse

ListAcceptedAgreementsResponse wrapper for the ListAcceptedAgreements operation

type ListAcceptedAgreementsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For 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 (ListAcceptedAgreementsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAcceptedAgreementsResponse) String

func (response ListAcceptedAgreementsResponse) String() string

type ListAcceptedAgreementsSortByEnum

ListAcceptedAgreementsSortByEnum Enum with underlying type: string

type ListAcceptedAgreementsSortByEnum string

Set of constants representing the allowable values for ListAcceptedAgreementsSortByEnum

const (
    ListAcceptedAgreementsSortByTimeaccepted ListAcceptedAgreementsSortByEnum = "TIMEACCEPTED"
)

func GetListAcceptedAgreementsSortByEnumValues

func GetListAcceptedAgreementsSortByEnumValues() []ListAcceptedAgreementsSortByEnum

GetListAcceptedAgreementsSortByEnumValues Enumerates the set of values for ListAcceptedAgreementsSortByEnum

func GetMappingListAcceptedAgreementsSortByEnum

func GetMappingListAcceptedAgreementsSortByEnum(val string) (ListAcceptedAgreementsSortByEnum, bool)

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

type ListAcceptedAgreementsSortOrderEnum

ListAcceptedAgreementsSortOrderEnum Enum with underlying type: string

type ListAcceptedAgreementsSortOrderEnum string

Set of constants representing the allowable values for ListAcceptedAgreementsSortOrderEnum

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

func GetListAcceptedAgreementsSortOrderEnumValues

func GetListAcceptedAgreementsSortOrderEnumValues() []ListAcceptedAgreementsSortOrderEnum

GetListAcceptedAgreementsSortOrderEnumValues Enumerates the set of values for ListAcceptedAgreementsSortOrderEnum

func GetMappingListAcceptedAgreementsSortOrderEnum

func GetMappingListAcceptedAgreementsSortOrderEnum(val string) (ListAcceptedAgreementsSortOrderEnum, bool)

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

type ListAgreementsRequest

ListAgreementsRequest wrapper for the ListAgreements operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListAgreements.go.html to see an example of how to use ListAgreementsRequest.

type ListAgreementsRequest struct {

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

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

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

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

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

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

    // 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 (ListAgreementsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAgreementsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAgreementsRequest) RetryPolicy

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

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

func (ListAgreementsRequest) String

func (request ListAgreementsRequest) String() string

func (ListAgreementsRequest) ValidateEnumValue

func (request ListAgreementsRequest) 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 ListAgreementsResponse

ListAgreementsResponse wrapper for the ListAgreements operation

type ListAgreementsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For 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 (ListAgreementsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAgreementsResponse) String

func (response ListAgreementsResponse) String() string

type ListCategoriesRequest

ListCategoriesRequest wrapper for the ListCategories operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListCategories.go.html to see an example of how to use ListCategoriesRequest.

type ListCategoriesRequest struct {

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

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

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

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

    // 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 (ListCategoriesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListCategoriesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListCategoriesRequest) RetryPolicy

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

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

func (ListCategoriesRequest) String

func (request ListCategoriesRequest) String() string

func (ListCategoriesRequest) ValidateEnumValue

func (request ListCategoriesRequest) 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 ListCategoriesResponse

ListCategoriesResponse wrapper for the ListCategories operation

type ListCategoriesResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For 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 (ListCategoriesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCategoriesResponse) String

func (response ListCategoriesResponse) String() string

type ListListingsRequest

ListListingsRequest wrapper for the ListListings operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListListings.go.html to see an example of how to use ListListingsRequest.

type ListListingsRequest struct {

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

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

    // The image identifier of the listing.
    ImageId *string `mandatory:"false" contributesTo:"query" name:"imageId"`

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

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

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

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

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

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

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

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

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

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

    // The type of the listing.
    ListingTypes []ListingTypeEnum `contributesTo:"query" name:"listingTypes" omitEmpty:"true" collectionFormat:"multi"`

    // The operating system of the listing.
    OperatingSystems []string `contributesTo:"query" name:"operatingSystems" collectionFormat:"multi"`

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

    // 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 (ListListingsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListListingsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListListingsRequest) RetryPolicy

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

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

func (ListListingsRequest) String

func (request ListListingsRequest) String() string

func (ListListingsRequest) ValidateEnumValue

func (request ListListingsRequest) 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 ListListingsResponse

ListListingsResponse wrapper for the ListListings operation

type ListListingsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For 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 (ListListingsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListListingsResponse) String

func (response ListListingsResponse) String() string

type ListListingsSortByEnum

ListListingsSortByEnum Enum with underlying type: string

type ListListingsSortByEnum string

Set of constants representing the allowable values for ListListingsSortByEnum

const (
    ListListingsSortByTimereleased ListListingsSortByEnum = "TIMERELEASED"
)

func GetListListingsSortByEnumValues

func GetListListingsSortByEnumValues() []ListListingsSortByEnum

GetListListingsSortByEnumValues Enumerates the set of values for ListListingsSortByEnum

func GetMappingListListingsSortByEnum

func GetMappingListListingsSortByEnum(val string) (ListListingsSortByEnum, bool)

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

type ListListingsSortOrderEnum

ListListingsSortOrderEnum Enum with underlying type: string

type ListListingsSortOrderEnum string

Set of constants representing the allowable values for ListListingsSortOrderEnum

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

func GetListListingsSortOrderEnumValues

func GetListListingsSortOrderEnumValues() []ListListingsSortOrderEnum

GetListListingsSortOrderEnumValues Enumerates the set of values for ListListingsSortOrderEnum

func GetMappingListListingsSortOrderEnum

func GetMappingListListingsSortOrderEnum(val string) (ListListingsSortOrderEnum, bool)

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

type ListPackagesRequest

ListPackagesRequest wrapper for the ListPackages operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListPackages.go.html to see an example of how to use ListPackagesRequest.

type ListPackagesRequest struct {

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

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

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

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

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

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

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

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

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

    // 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 (ListPackagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPackagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPackagesRequest) RetryPolicy

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

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

func (ListPackagesRequest) String

func (request ListPackagesRequest) String() string

func (ListPackagesRequest) ValidateEnumValue

func (request ListPackagesRequest) 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 ListPackagesResponse

ListPackagesResponse wrapper for the ListPackages operation

type ListPackagesResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For 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 (ListPackagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPackagesResponse) String

func (response ListPackagesResponse) String() string

type ListPackagesSortByEnum

ListPackagesSortByEnum Enum with underlying type: string

type ListPackagesSortByEnum string

Set of constants representing the allowable values for ListPackagesSortByEnum

const (
    ListPackagesSortByTimereleased ListPackagesSortByEnum = "TIMERELEASED"
)

func GetListPackagesSortByEnumValues

func GetListPackagesSortByEnumValues() []ListPackagesSortByEnum

GetListPackagesSortByEnumValues Enumerates the set of values for ListPackagesSortByEnum

func GetMappingListPackagesSortByEnum

func GetMappingListPackagesSortByEnum(val string) (ListPackagesSortByEnum, bool)

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

type ListPackagesSortOrderEnum

ListPackagesSortOrderEnum Enum with underlying type: string

type ListPackagesSortOrderEnum string

Set of constants representing the allowable values for ListPackagesSortOrderEnum

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

func GetListPackagesSortOrderEnumValues

func GetListPackagesSortOrderEnumValues() []ListPackagesSortOrderEnum

GetListPackagesSortOrderEnumValues Enumerates the set of values for ListPackagesSortOrderEnum

func GetMappingListPackagesSortOrderEnum

func GetMappingListPackagesSortOrderEnum(val string) (ListPackagesSortOrderEnum, bool)

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

type ListPublicationPackagesRequest

ListPublicationPackagesRequest wrapper for the ListPublicationPackages operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListPublicationPackages.go.html to see an example of how to use ListPublicationPackagesRequest.

type ListPublicationPackagesRequest struct {

    // The unique identifier for the publication.
    PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

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

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

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

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

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

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

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

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

func (ListPublicationPackagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPublicationPackagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPublicationPackagesRequest) RetryPolicy

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

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

func (ListPublicationPackagesRequest) String

func (request ListPublicationPackagesRequest) String() string

func (ListPublicationPackagesRequest) ValidateEnumValue

func (request ListPublicationPackagesRequest) 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 ListPublicationPackagesResponse

ListPublicationPackagesResponse wrapper for the ListPublicationPackages operation

type ListPublicationPackagesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []PublicationPackageSummary instances
    Items []PublicationPackageSummary `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 (ListPublicationPackagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPublicationPackagesResponse) String

func (response ListPublicationPackagesResponse) String() string

type ListPublicationPackagesSortByEnum

ListPublicationPackagesSortByEnum Enum with underlying type: string

type ListPublicationPackagesSortByEnum string

Set of constants representing the allowable values for ListPublicationPackagesSortByEnum

const (
    ListPublicationPackagesSortByTimereleased ListPublicationPackagesSortByEnum = "TIMERELEASED"
)

func GetListPublicationPackagesSortByEnumValues

func GetListPublicationPackagesSortByEnumValues() []ListPublicationPackagesSortByEnum

GetListPublicationPackagesSortByEnumValues Enumerates the set of values for ListPublicationPackagesSortByEnum

func GetMappingListPublicationPackagesSortByEnum

func GetMappingListPublicationPackagesSortByEnum(val string) (ListPublicationPackagesSortByEnum, bool)

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

type ListPublicationPackagesSortOrderEnum

ListPublicationPackagesSortOrderEnum Enum with underlying type: string

type ListPublicationPackagesSortOrderEnum string

Set of constants representing the allowable values for ListPublicationPackagesSortOrderEnum

const (
    ListPublicationPackagesSortOrderAsc  ListPublicationPackagesSortOrderEnum = "ASC"
    ListPublicationPackagesSortOrderDesc ListPublicationPackagesSortOrderEnum = "DESC"
)

func GetListPublicationPackagesSortOrderEnumValues

func GetListPublicationPackagesSortOrderEnumValues() []ListPublicationPackagesSortOrderEnum

GetListPublicationPackagesSortOrderEnumValues Enumerates the set of values for ListPublicationPackagesSortOrderEnum

func GetMappingListPublicationPackagesSortOrderEnum

func GetMappingListPublicationPackagesSortOrderEnum(val string) (ListPublicationPackagesSortOrderEnum, bool)

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

type ListPublicationsListingTypeEnum

ListPublicationsListingTypeEnum Enum with underlying type: string

type ListPublicationsListingTypeEnum string

Set of constants representing the allowable values for ListPublicationsListingTypeEnum

const (
    ListPublicationsListingTypeCommunity ListPublicationsListingTypeEnum = "COMMUNITY"
    ListPublicationsListingTypePartner   ListPublicationsListingTypeEnum = "PARTNER"
    ListPublicationsListingTypePrivate   ListPublicationsListingTypeEnum = "PRIVATE"
)

func GetListPublicationsListingTypeEnumValues

func GetListPublicationsListingTypeEnumValues() []ListPublicationsListingTypeEnum

GetListPublicationsListingTypeEnumValues Enumerates the set of values for ListPublicationsListingTypeEnum

func GetMappingListPublicationsListingTypeEnum

func GetMappingListPublicationsListingTypeEnum(val string) (ListPublicationsListingTypeEnum, bool)

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

type ListPublicationsRequest

ListPublicationsRequest wrapper for the ListPublications operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListPublications.go.html to see an example of how to use ListPublicationsRequest.

type ListPublicationsRequest struct {

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

    // The type of the listing.
    ListingType ListPublicationsListingTypeEnum `mandatory:"true" contributesTo:"query" name:"listingType" omitEmpty:"true"`

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

    // The unique identifier for the publication.
    PublicationId *string `mandatory:"false" contributesTo:"query" name:"publicationId"`

    // The operating system of the listing.
    OperatingSystems []string `contributesTo:"query" name:"operatingSystems" collectionFormat:"multi"`

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

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

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

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

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

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

func (ListPublicationsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPublicationsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPublicationsRequest) RetryPolicy

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

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

func (ListPublicationsRequest) String

func (request ListPublicationsRequest) String() string

func (ListPublicationsRequest) ValidateEnumValue

func (request ListPublicationsRequest) 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 ListPublicationsResponse

ListPublicationsResponse wrapper for the ListPublications operation

type ListPublicationsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []PublicationSummary instances
    Items []PublicationSummary `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 (ListPublicationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPublicationsResponse) String

func (response ListPublicationsResponse) String() string

type ListPublicationsSortByEnum

ListPublicationsSortByEnum Enum with underlying type: string

type ListPublicationsSortByEnum string

Set of constants representing the allowable values for ListPublicationsSortByEnum

const (
    ListPublicationsSortByTimereleased ListPublicationsSortByEnum = "TIMERELEASED"
)

func GetListPublicationsSortByEnumValues

func GetListPublicationsSortByEnumValues() []ListPublicationsSortByEnum

GetListPublicationsSortByEnumValues Enumerates the set of values for ListPublicationsSortByEnum

func GetMappingListPublicationsSortByEnum

func GetMappingListPublicationsSortByEnum(val string) (ListPublicationsSortByEnum, bool)

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

type ListPublicationsSortOrderEnum

ListPublicationsSortOrderEnum Enum with underlying type: string

type ListPublicationsSortOrderEnum string

Set of constants representing the allowable values for ListPublicationsSortOrderEnum

const (
    ListPublicationsSortOrderAsc  ListPublicationsSortOrderEnum = "ASC"
    ListPublicationsSortOrderDesc ListPublicationsSortOrderEnum = "DESC"
)

func GetListPublicationsSortOrderEnumValues

func GetListPublicationsSortOrderEnumValues() []ListPublicationsSortOrderEnum

GetListPublicationsSortOrderEnumValues Enumerates the set of values for ListPublicationsSortOrderEnum

func GetMappingListPublicationsSortOrderEnum

func GetMappingListPublicationsSortOrderEnum(val string) (ListPublicationsSortOrderEnum, bool)

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

type ListPublishersRequest

ListPublishersRequest wrapper for the ListPublishers operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListPublishers.go.html to see an example of how to use ListPublishersRequest.

type ListPublishersRequest struct {

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

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

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

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

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

    // 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 (ListPublishersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPublishersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPublishersRequest) RetryPolicy

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

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

func (ListPublishersRequest) String

func (request ListPublishersRequest) String() string

func (ListPublishersRequest) ValidateEnumValue

func (request ListPublishersRequest) 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 ListPublishersResponse

ListPublishersResponse wrapper for the ListPublishers operation

type ListPublishersResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For 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 (ListPublishersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPublishersResponse) String

func (response ListPublishersResponse) String() string

type ListReportTypesRequest

ListReportTypesRequest wrapper for the ListReportTypes operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListReportTypes.go.html to see an example of how to use ListReportTypesRequest.

type ListReportTypesRequest struct {

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

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

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

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

func (ListReportTypesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListReportTypesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListReportTypesRequest) RetryPolicy

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

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

func (ListReportTypesRequest) String

func (request ListReportTypesRequest) String() string

func (ListReportTypesRequest) ValidateEnumValue

func (request ListReportTypesRequest) 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 ListReportTypesResponse

ListReportTypesResponse wrapper for the ListReportTypes operation

type ListReportTypesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ReportTypeCollection instances
    ReportTypeCollection `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 (ListReportTypesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListReportTypesResponse) String

func (response ListReportTypesResponse) String() string

type ListReportsRequest

ListReportsRequest wrapper for the ListReports operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListReports.go.html to see an example of how to use ListReportsRequest.

type ListReportsRequest struct {

    // The type of the report.
    ReportType *string `mandatory:"true" contributesTo:"query" name:"reportType"`

    // Date, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. The service only interprets the year, month, and day parts in the input value, and ignores the hour, minute, and second parts.
    Date *common.SDKTime `mandatory:"true" contributesTo:"query" name:"date"`

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

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

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

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

func (ListReportsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListReportsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListReportsRequest) RetryPolicy

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

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

func (ListReportsRequest) String

func (request ListReportsRequest) String() string

func (ListReportsRequest) ValidateEnumValue

func (request ListReportsRequest) 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 ListReportsResponse

ListReportsResponse wrapper for the ListReports operation

type ListReportsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ReportCollection instances
    ReportCollection `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 (ListReportsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListReportsResponse) String

func (response ListReportsResponse) String() string

type ListTaxesRequest

ListTaxesRequest wrapper for the ListTaxes operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListTaxes.go.html to see an example of how to use ListTaxesRequest.

type ListTaxesRequest struct {

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

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

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

    // 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 (ListTaxesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTaxesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTaxesRequest) RetryPolicy

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

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

func (ListTaxesRequest) String

func (request ListTaxesRequest) String() string

func (ListTaxesRequest) ValidateEnumValue

func (request ListTaxesRequest) 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 ListTaxesResponse

ListTaxesResponse wrapper for the ListTaxes operation

type ListTaxesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The []TaxSummary instance
    Items []TaxSummary `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 (ListTaxesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTaxesResponse) String

func (response ListTaxesResponse) String() string

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

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

    // The sort order to use, either `ASC` or `DESC`.
    SortOrder ListWorkRequestErrorsSortOrderEnum `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.
    SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) 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 ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestErrorCollection instances
    WorkRequestErrorCollection `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 (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

const (
    ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
    ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

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

    // The sort order to use, either `ASC` or `DESC`.
    SortOrder ListWorkRequestLogsSortOrderEnum `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.
    SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) 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 ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestLogEntryCollection instances
    WorkRequestLogEntryCollection `presentIn:"body"`

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

    // 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 (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

const (
    ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
    ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

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

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

    // A filter to return only resources whose status matches the given OperationStatus.
    Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

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

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

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

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

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

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) 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 ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestCollection instances
    WorkRequestCollection `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 (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

const (
    ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
    ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
    ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
    ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
)

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type Listing

Listing The model for an Oracle Cloud Infrastructure Marketplace listing.

type Listing struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // The list of compatible architectures supported by the listing
    CompatibleArchitectures []ListingCompatibleArchitecturesEnum `mandatory:"false" json:"compatibleArchitectures,omitempty"`

    // The regions where you can deploy the listing. (Some listings have restrictions that limit their deployment to United States regions only.)
    Regions []Region `mandatory:"false" json:"regions"`

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

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

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

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

    // The publisher category to which the listing belongs. The publisher category informs where the listing appears for use.
    ListingType ListingTypeEnum `mandatory:"false" json:"listingType,omitempty"`

    // List of operating systems supported by the listing.
    SupportedOperatingSystems []OperatingSystem `mandatory:"false" json:"supportedOperatingSystems"`
}

func (Listing) String

func (m Listing) String() string

func (Listing) ValidateEnumValue

func (m Listing) 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 ListingCompatibleArchitecturesEnum

ListingCompatibleArchitecturesEnum Enum with underlying type: string

type ListingCompatibleArchitecturesEnum string

Set of constants representing the allowable values for ListingCompatibleArchitecturesEnum

const (
    ListingCompatibleArchitecturesX86 ListingCompatibleArchitecturesEnum = "X86"
    ListingCompatibleArchitecturesArm ListingCompatibleArchitecturesEnum = "ARM"
)

func GetListingCompatibleArchitecturesEnumValues

func GetListingCompatibleArchitecturesEnumValues() []ListingCompatibleArchitecturesEnum

GetListingCompatibleArchitecturesEnumValues Enumerates the set of values for ListingCompatibleArchitecturesEnum

func GetMappingListingCompatibleArchitecturesEnum

func GetMappingListingCompatibleArchitecturesEnum(val string) (ListingCompatibleArchitecturesEnum, bool)

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

type ListingPackage

ListingPackage A base object for all types of listing packages.

type ListingPackage interface {

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

    // The package version.
    GetVersion() *string

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

    GetPricing() *PricingModel

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

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

    GetOperatingSystem() *OperatingSystem

    // The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
    GetRegions() []Region
}

type ListingPackageSummary

ListingPackageSummary The model for a summary of a package.

type ListingPackageSummary struct {

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

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

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

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

    // The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
    Regions []Region `mandatory:"false" json:"regions"`

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

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

func (ListingPackageSummary) String

func (m ListingPackageSummary) String() string

func (ListingPackageSummary) ValidateEnumValue

func (m ListingPackageSummary) 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 ListingPackageTypeEnum

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

type ListingPackageTypeEnum = PackageTypeEnumEnum

type ListingSummary

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

type ListingSummary struct {

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

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

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

    // True if this application is Rover exportable
    IsRoverExportable *bool `mandatory:"false" json:"isRoverExportable"`

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

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

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

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

    // The list of compatible architectures supported by the listing
    CompatibleArchitectures []ListingSummaryCompatibleArchitecturesEnum `mandatory:"false" json:"compatibleArchitectures,omitempty"`

    // The regions where you can deploy the listing. (Some listings have restrictions that limit their deployment to United States regions only.)
    Regions []Region `mandatory:"false" json:"regions"`

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

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

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

    // The list of operating systems supported by the listing.
    SupportedOperatingSystems []OperatingSystem `mandatory:"false" json:"supportedOperatingSystems"`

    // The publisher category to which the listing belongs. The publisher category informs where the listing appears for use.
    ListingType ListingTypeEnum `mandatory:"false" json:"listingType,omitempty"`
}

func (ListingSummary) String

func (m ListingSummary) String() string

func (ListingSummary) ValidateEnumValue

func (m ListingSummary) 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 ListingSummaryCompatibleArchitecturesEnum

ListingSummaryCompatibleArchitecturesEnum Enum with underlying type: string

type ListingSummaryCompatibleArchitecturesEnum string

Set of constants representing the allowable values for ListingSummaryCompatibleArchitecturesEnum

const (
    ListingSummaryCompatibleArchitecturesX86 ListingSummaryCompatibleArchitecturesEnum = "X86"
    ListingSummaryCompatibleArchitecturesArm ListingSummaryCompatibleArchitecturesEnum = "ARM"
)

func GetListingSummaryCompatibleArchitecturesEnumValues

func GetListingSummaryCompatibleArchitecturesEnumValues() []ListingSummaryCompatibleArchitecturesEnum

GetListingSummaryCompatibleArchitecturesEnumValues Enumerates the set of values for ListingSummaryCompatibleArchitecturesEnum

func GetMappingListingSummaryCompatibleArchitecturesEnum

func GetMappingListingSummaryCompatibleArchitecturesEnum(val string) (ListingSummaryCompatibleArchitecturesEnum, bool)

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

type ListingSummaryPricingTypesEnum

ListingSummaryPricingTypesEnum Enum with underlying type: string

type ListingSummaryPricingTypesEnum string

Set of constants representing the allowable values for ListingSummaryPricingTypesEnum

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

func GetListingSummaryPricingTypesEnumValues

func GetListingSummaryPricingTypesEnumValues() []ListingSummaryPricingTypesEnum

GetListingSummaryPricingTypesEnumValues Enumerates the set of values for ListingSummaryPricingTypesEnum

func GetMappingListingSummaryPricingTypesEnum

func GetMappingListingSummaryPricingTypesEnum(val string) (ListingSummaryPricingTypesEnum, bool)

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

type ListingTypeEnum

ListingTypeEnum Enum with underlying type: string

type ListingTypeEnum string

Set of constants representing the allowable values for ListingTypeEnum

const (
    ListingTypeCommunity ListingTypeEnum = "COMMUNITY"
    ListingTypePartner   ListingTypeEnum = "PARTNER"
    ListingTypePrivate   ListingTypeEnum = "PRIVATE"
)

func GetListingTypeEnumValues

func GetListingTypeEnumValues() []ListingTypeEnum

GetListingTypeEnumValues Enumerates the set of values for ListingTypeEnum

func GetMappingListingTypeEnum

func GetMappingListingTypeEnum(val string) (ListingTypeEnum, bool)

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

type MarketplaceClient

MarketplaceClient a client for Marketplace

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

func NewMarketplaceClientWithConfigurationProvider

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

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

func NewMarketplaceClientWithOboToken

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

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

as well as reading the region

func (MarketplaceClient) ChangePublicationCompartment

func (client MarketplaceClient) ChangePublicationCompartment(ctx context.Context, request ChangePublicationCompartmentRequest) (response ChangePublicationCompartmentResponse, err error)

ChangePublicationCompartment Moves the specified publication from one compartment to another.

# See also

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

func (*MarketplaceClient) ConfigurationProvider

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

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

func (MarketplaceClient) CreateAcceptedAgreement

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

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

# See also

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

func (MarketplaceClient) CreatePublication

func (client MarketplaceClient) CreatePublication(ctx context.Context, request CreatePublicationRequest) (response CreatePublicationResponse, err error)

CreatePublication Creates a publication of the specified listing type with an optional default package.

# See also

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

func (MarketplaceClient) DeleteAcceptedAgreement

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

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

# See also

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

func (MarketplaceClient) DeletePublication

func (client MarketplaceClient) DeletePublication(ctx context.Context, request DeletePublicationRequest) (response DeletePublicationResponse, err error)

DeletePublication Deletes a publication, which also removes the associated listing from anywhere it was published, such as Marketplace or Compute.

# See also

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

func (MarketplaceClient) ExportListing

func (client MarketplaceClient) ExportListing(ctx context.Context, request ExportListingRequest) (response ExportListingResponse, err error)

ExportListing Exports container images or helm chart from marketplace to customer's registry.

# See also

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

func (MarketplaceClient) GetAcceptedAgreement

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

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

# See also

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

func (MarketplaceClient) GetAgreement

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

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

# See also

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

func (MarketplaceClient) GetListing

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

GetListing Gets detailed information about a listing, including the listing's name, version, description, and resources. If you plan to launch an instance from an image listing, you must first subscribe to the listing. When you launch the instance, you also need to provide the image ID of the listing resource version that you want. Subscribing to the listing requires you to first get a signature from the terms of use agreement for the listing resource version. To get the signature, issue a GetAppCatalogListingAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreements) API call. The AppCatalogListingResourceVersionAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements) object, including its signature, is returned in the response. With the signature for the terms of use agreement for the desired listing resource version, create a subscription by issuing a CreateAppCatalogSubscription (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogSubscription/CreateAppCatalogSubscription) API call. To get the image ID to launch an instance, issue a GetAppCatalogListingResourceVersion (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion) API call. Lastly, to launch the instance, use the image ID of the listing resource version to issue a LaunchInstance (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) API call.

# See also

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

func (MarketplaceClient) GetPackage

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

GetPackage Get the details of the specified version of a package, including information needed to launch the package. If you plan to launch an instance from an image listing, you must first subscribe to the listing. When you launch the instance, you also need to provide the image ID of the listing resource version that you want. Subscribing to the listing requires you to first get a signature from the terms of use agreement for the listing resource version. To get the signature, issue a GetAppCatalogListingAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreements) API call. The AppCatalogListingResourceVersionAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements) object, including its signature, is returned in the response. With the signature for the terms of use agreement for the desired listing resource version, create a subscription by issuing a CreateAppCatalogSubscription (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogSubscription/CreateAppCatalogSubscription) API call. To get the image ID to launch an instance, issue a GetAppCatalogListingResourceVersion (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion) API call. Lastly, to launch the instance, use the image ID of the listing resource version to issue a LaunchInstance (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) API call.

# See also

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

func (MarketplaceClient) GetPublication

func (client MarketplaceClient) GetPublication(ctx context.Context, request GetPublicationRequest) (response GetPublicationResponse, err error)

GetPublication Gets the details of the specified publication.

# See also

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

func (MarketplaceClient) GetPublicationPackage

func (client MarketplaceClient) GetPublicationPackage(ctx context.Context, request GetPublicationPackageRequest) (response GetPublicationPackageResponse, err error)

GetPublicationPackage Gets the details of a specific package version within a given publication.

# See also

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

func (MarketplaceClient) GetWorkRequest

func (client MarketplaceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the details of the specified work request

# See also

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

func (MarketplaceClient) ListAcceptedAgreements

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

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

# See also

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

func (MarketplaceClient) ListAgreements

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

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

# See also

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

func (MarketplaceClient) ListCategories

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

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

# See also

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

func (MarketplaceClient) ListListings

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

ListListings Gets a list of listings from Oracle Cloud Infrastructure Marketplace by searching keywords and filtering according to listing attributes. If you plan to launch an instance from an image listing, you must first subscribe to the listing. When you launch the instance, you also need to provide the image ID of the listing resource version that you want. Subscribing to the listing requires you to first get a signature from the terms of use agreement for the listing resource version. To get the signature, issue a GetAppCatalogListingAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreements) API call. The AppCatalogListingResourceVersionAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements) object, including its signature, is returned in the response. With the signature for the terms of use agreement for the desired listing resource version, create a subscription by issuing a CreateAppCatalogSubscription (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogSubscription/CreateAppCatalogSubscription) API call. To get the image ID to launch an instance, issue a GetAppCatalogListingResourceVersion (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion) API call. Lastly, to launch the instance, use the image ID of the listing resource version to issue a LaunchInstance (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) API call.

# See also

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

func (MarketplaceClient) ListPackages

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

ListPackages Gets the list of packages for a listing. If you plan to launch an instance from an image listing, you must first subscribe to the listing. When you launch the instance, you also need to provide the image ID of the listing resource version that you want. Subscribing to the listing requires you to first get a signature from the terms of use agreement for the listing resource version. To get the signature, issue a GetAppCatalogListingAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreements) API call. The AppCatalogListingResourceVersionAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements) object, including its signature, is returned in the response. With the signature for the terms of use agreement for the desired listing resource version, create a subscription by issuing a CreateAppCatalogSubscription (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogSubscription/CreateAppCatalogSubscription) API call. To get the image ID to launch an instance, issue a GetAppCatalogListingResourceVersion (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion) API call. Lastly, to launch the instance, use the image ID of the listing resource version to issue a LaunchInstance (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) API call.

# See also

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

func (MarketplaceClient) ListPublicationPackages

func (client MarketplaceClient) ListPublicationPackages(ctx context.Context, request ListPublicationPackagesRequest) (response ListPublicationPackagesResponse, err error)

ListPublicationPackages Lists the packages in the specified publication.

# See also

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

func (MarketplaceClient) ListPublications

func (client MarketplaceClient) ListPublications(ctx context.Context, request ListPublicationsRequest) (response ListPublicationsResponse, err error)

ListPublications Lists the publications in the specified compartment.

# See also

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

func (MarketplaceClient) ListPublishers

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

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

# See also

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

func (MarketplaceClient) ListReportTypes

func (client MarketplaceClient) ListReportTypes(ctx context.Context, request ListReportTypesRequest) (response ListReportTypesResponse, err error)

ListReportTypes Lists available types of reports for the compartment.

# See also

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

func (MarketplaceClient) ListReports

func (client MarketplaceClient) ListReports(ctx context.Context, request ListReportsRequest) (response ListReportsResponse, err error)

ListReports Lists reports in the compartment that match the specified report type and date.

# See also

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

func (MarketplaceClient) ListTaxes

func (client MarketplaceClient) ListTaxes(ctx context.Context, request ListTaxesRequest) (response ListTaxesResponse, err error)

ListTaxes Returns list of all tax implications that current tenant may be liable to once they launch the listing.

# See also

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

func (MarketplaceClient) ListWorkRequestErrors

func (client MarketplaceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors List all errors for a work request

# See also

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

func (MarketplaceClient) ListWorkRequestLogs

func (client MarketplaceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs List all logs for a work request

# See also

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

func (MarketplaceClient) ListWorkRequests

func (client MarketplaceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests List all work requests in a compartment

# See also

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

func (MarketplaceClient) SearchListings

func (client MarketplaceClient) SearchListings(ctx context.Context, request SearchListingsRequest) (response SearchListingsResponse, err error)

SearchListings Queries all Marketplace Applications to find listings that match the specified criteria. To search for a listing, you can use a free text or structured search.

# See also

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

func (*MarketplaceClient) SetRegion

func (client *MarketplaceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (MarketplaceClient) UpdateAcceptedAgreement

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

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

# See also

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

func (MarketplaceClient) UpdatePublication

func (client MarketplaceClient) UpdatePublication(ctx context.Context, request UpdatePublicationRequest) (response UpdatePublicationResponse, err error)

UpdatePublication Updates the details of an existing publication.

# See also

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

type MatchingContextTypeEnumEnum

MatchingContextTypeEnumEnum Enum with underlying type: string

type MatchingContextTypeEnumEnum string

Set of constants representing the allowable values for MatchingContextTypeEnumEnum

const (
    MatchingContextTypeEnumNone       MatchingContextTypeEnumEnum = "NONE"
    MatchingContextTypeEnumHighlights MatchingContextTypeEnumEnum = "HIGHLIGHTS"
)

func GetMappingMatchingContextTypeEnumEnum

func GetMappingMatchingContextTypeEnumEnum(val string) (MatchingContextTypeEnumEnum, bool)

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

func GetMatchingContextTypeEnumEnumValues

func GetMatchingContextTypeEnumEnumValues() []MatchingContextTypeEnumEnum

GetMatchingContextTypeEnumEnumValues Enumerates the set of values for MatchingContextTypeEnumEnum

NamedLink A link to a resource on the internet.

type NamedLink struct {

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

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

func (NamedLink) String

func (m NamedLink) String() string

func (NamedLink) ValidateEnumValue

func (m NamedLink) 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 OperatingSystem

OperatingSystem The operating system used by the listing.

type OperatingSystem struct {

    // The name of the operating system.
    Name *string `mandatory:"false" json:"name"`
}

func (OperatingSystem) String

func (m OperatingSystem) String() string

func (OperatingSystem) ValidateEnumValue

func (m OperatingSystem) 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 OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

const (
    OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
    OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
    OperationStatusFailed     OperationStatusEnum = "FAILED"
    OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
)

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

const (
    OperationTypeExportListing OperationTypeEnum = "EXPORT_LISTING"
)

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type OrchestrationListingPackage

OrchestrationListingPackage A listing package for orchestration.

type OrchestrationListingPackage struct {

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

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

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

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

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

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

    OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

    // The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
    Regions []Region `mandatory:"false" json:"regions"`

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

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

func (OrchestrationListingPackage) GetDescription

func (m OrchestrationListingPackage) GetDescription() *string

GetDescription returns Description

func (OrchestrationListingPackage) GetListingId

func (m OrchestrationListingPackage) GetListingId() *string

GetListingId returns ListingId

func (OrchestrationListingPackage) GetOperatingSystem

func (m OrchestrationListingPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (OrchestrationListingPackage) GetPricing

func (m OrchestrationListingPackage) GetPricing() *PricingModel

GetPricing returns Pricing

func (OrchestrationListingPackage) GetRegions

func (m OrchestrationListingPackage) GetRegions() []Region

GetRegions returns Regions

func (OrchestrationListingPackage) GetResourceId

func (m OrchestrationListingPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (OrchestrationListingPackage) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (OrchestrationListingPackage) GetVersion

func (m OrchestrationListingPackage) GetVersion() *string

GetVersion returns Version

func (OrchestrationListingPackage) MarshalJSON

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

MarshalJSON marshals to json representation

func (OrchestrationListingPackage) String

func (m OrchestrationListingPackage) String() string

func (OrchestrationListingPackage) ValidateEnumValue

func (m OrchestrationListingPackage) 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 OrchestrationPublicationPackage

OrchestrationPublicationPackage A publication package for stack publications.

type OrchestrationPublicationPackage struct {

    // The ID of the listing that the specified package belongs to.
    ListingId *string `mandatory:"true" json:"listingId"`

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

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

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

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

    OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

    // A link to the stack resource.
    ResourceLink *string `mandatory:"false" json:"resourceLink"`

    // A list of variables for the stack resource.
    Variables []OrchestrationVariable `mandatory:"false" json:"variables"`
}

func (OrchestrationPublicationPackage) GetDescription

func (m OrchestrationPublicationPackage) GetDescription() *string

GetDescription returns Description

func (OrchestrationPublicationPackage) GetListingId

func (m OrchestrationPublicationPackage) GetListingId() *string

GetListingId returns ListingId

func (OrchestrationPublicationPackage) GetOperatingSystem

func (m OrchestrationPublicationPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (OrchestrationPublicationPackage) GetResourceId

func (m OrchestrationPublicationPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (OrchestrationPublicationPackage) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (OrchestrationPublicationPackage) GetVersion

func (m OrchestrationPublicationPackage) GetVersion() *string

GetVersion returns Version

func (OrchestrationPublicationPackage) MarshalJSON

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

MarshalJSON marshals to json representation

func (OrchestrationPublicationPackage) String

func (m OrchestrationPublicationPackage) String() string

func (OrchestrationPublicationPackage) ValidateEnumValue

func (m OrchestrationPublicationPackage) 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 OrchestrationVariable

OrchestrationVariable The model of a variable for an orchestration resource.

type OrchestrationVariable struct {

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

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

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

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

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

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

func (OrchestrationVariable) String

func (m OrchestrationVariable) String() string

func (OrchestrationVariable) ValidateEnumValue

func (m OrchestrationVariable) 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 OrchestrationVariableTypeEnumEnum

OrchestrationVariableTypeEnumEnum Enum with underlying type: string

type OrchestrationVariableTypeEnumEnum string

Set of constants representing the allowable values for OrchestrationVariableTypeEnumEnum

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

func GetMappingOrchestrationVariableTypeEnumEnum

func GetMappingOrchestrationVariableTypeEnumEnum(val string) (OrchestrationVariableTypeEnumEnum, bool)

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

func GetOrchestrationVariableTypeEnumEnumValues

func GetOrchestrationVariableTypeEnumEnumValues() []OrchestrationVariableTypeEnumEnum

GetOrchestrationVariableTypeEnumEnumValues Enumerates the set of values for OrchestrationVariableTypeEnumEnum

type PackageTypeEnumEnum

PackageTypeEnumEnum Enum with underlying type: string

type PackageTypeEnumEnum string

Set of constants representing the allowable values for PackageTypeEnumEnum Deprecated

const (
    ListingPackageTypeOrchestration PackageTypeEnumEnum = "ORCHESTRATION"
    ListingPackageTypeImage         PackageTypeEnumEnum = "IMAGE"
    ListingPackageTypeContainer     PackageTypeEnumEnum = "CONTAINER"
    ListingPackageTypeKubernetes    PackageTypeEnumEnum = "KUBERNETES"
)

Set of constants representing the allowable values for PackageTypeEnumEnum

const (
    PackageTypeEnumOrchestration PackageTypeEnumEnum = "ORCHESTRATION"
    PackageTypeEnumImage         PackageTypeEnumEnum = "IMAGE"
    PackageTypeEnumContainer     PackageTypeEnumEnum = "CONTAINER"
    PackageTypeEnumKubernetes    PackageTypeEnumEnum = "KUBERNETES"
)

func GetMappingPackageTypeEnumEnum

func GetMappingPackageTypeEnumEnum(val string) (PackageTypeEnumEnum, bool)

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

func GetPackageTypeEnumEnumValues

func GetPackageTypeEnumEnumValues() []PackageTypeEnumEnum

GetPackageTypeEnumEnumValues Enumerates the set of values for PackageTypeEnumEnum

type PricingCurrencyEnumEnum

PricingCurrencyEnumEnum Enum with underlying type: string

type PricingCurrencyEnumEnum string

Set of constants representing the allowable values for PricingCurrencyEnumEnum

const (
    PricingCurrencyEnumUsd PricingCurrencyEnumEnum = "USD"
    PricingCurrencyEnumCad PricingCurrencyEnumEnum = "CAD"
    PricingCurrencyEnumInr PricingCurrencyEnumEnum = "INR"
    PricingCurrencyEnumGbp PricingCurrencyEnumEnum = "GBP"
    PricingCurrencyEnumBrl PricingCurrencyEnumEnum = "BRL"
    PricingCurrencyEnumJpy PricingCurrencyEnumEnum = "JPY"
    PricingCurrencyEnumOmr PricingCurrencyEnumEnum = "OMR"
    PricingCurrencyEnumEur PricingCurrencyEnumEnum = "EUR"
    PricingCurrencyEnumChf PricingCurrencyEnumEnum = "CHF"
    PricingCurrencyEnumMxn PricingCurrencyEnumEnum = "MXN"
    PricingCurrencyEnumClp PricingCurrencyEnumEnum = "CLP"
    PricingCurrencyEnumAll PricingCurrencyEnumEnum = "ALL"
    PricingCurrencyEnumArs PricingCurrencyEnumEnum = "ARS"
    PricingCurrencyEnumAud PricingCurrencyEnumEnum = "AUD"
    PricingCurrencyEnumBdt PricingCurrencyEnumEnum = "BDT"
    PricingCurrencyEnumBam PricingCurrencyEnumEnum = "BAM"
    PricingCurrencyEnumBgn PricingCurrencyEnumEnum = "BGN"
    PricingCurrencyEnumCny PricingCurrencyEnumEnum = "CNY"
    PricingCurrencyEnumCop PricingCurrencyEnumEnum = "COP"
    PricingCurrencyEnumCrc PricingCurrencyEnumEnum = "CRC"
    PricingCurrencyEnumHrk PricingCurrencyEnumEnum = "HRK"
    PricingCurrencyEnumCzk PricingCurrencyEnumEnum = "CZK"
    PricingCurrencyEnumDkk PricingCurrencyEnumEnum = "DKK"
    PricingCurrencyEnumEgp PricingCurrencyEnumEnum = "EGP"
    PricingCurrencyEnumHkd PricingCurrencyEnumEnum = "HKD"
    PricingCurrencyEnumHuf PricingCurrencyEnumEnum = "HUF"
    PricingCurrencyEnumIsk PricingCurrencyEnumEnum = "ISK"
    PricingCurrencyEnumIdr PricingCurrencyEnumEnum = "IDR"
    PricingCurrencyEnumIls PricingCurrencyEnumEnum = "ILS"
    PricingCurrencyEnumJmd PricingCurrencyEnumEnum = "JMD"
    PricingCurrencyEnumKzt PricingCurrencyEnumEnum = "KZT"
    PricingCurrencyEnumKes PricingCurrencyEnumEnum = "KES"
    PricingCurrencyEnumKrw PricingCurrencyEnumEnum = "KRW"
    PricingCurrencyEnumKwd PricingCurrencyEnumEnum = "KWD"
    PricingCurrencyEnumLbp PricingCurrencyEnumEnum = "LBP"
    PricingCurrencyEnumMop PricingCurrencyEnumEnum = "MOP"
    PricingCurrencyEnumMyr PricingCurrencyEnumEnum = "MYR"
    PricingCurrencyEnumMvr PricingCurrencyEnumEnum = "MVR"
    PricingCurrencyEnumAed PricingCurrencyEnumEnum = "AED"
    PricingCurrencyEnumNzd PricingCurrencyEnumEnum = "NZD"
    PricingCurrencyEnumNok PricingCurrencyEnumEnum = "NOK"
    PricingCurrencyEnumPkr PricingCurrencyEnumEnum = "PKR"
    PricingCurrencyEnumPen PricingCurrencyEnumEnum = "PEN"
    PricingCurrencyEnumPhp PricingCurrencyEnumEnum = "PHP"
    PricingCurrencyEnumPln PricingCurrencyEnumEnum = "PLN"
    PricingCurrencyEnumQar PricingCurrencyEnumEnum = "QAR"
    PricingCurrencyEnumRon PricingCurrencyEnumEnum = "RON"
    PricingCurrencyEnumSar PricingCurrencyEnumEnum = "SAR"
    PricingCurrencyEnumRsd PricingCurrencyEnumEnum = "RSD"
    PricingCurrencyEnumSgd PricingCurrencyEnumEnum = "SGD"
    PricingCurrencyEnumZar PricingCurrencyEnumEnum = "ZAR"
    PricingCurrencyEnumSek PricingCurrencyEnumEnum = "SEK"
    PricingCurrencyEnumTwd PricingCurrencyEnumEnum = "TWD"
    PricingCurrencyEnumThb PricingCurrencyEnumEnum = "THB"
    PricingCurrencyEnumTry PricingCurrencyEnumEnum = "TRY"
    PricingCurrencyEnumVnd PricingCurrencyEnumEnum = "VND"
)

func GetMappingPricingCurrencyEnumEnum

func GetMappingPricingCurrencyEnumEnum(val string) (PricingCurrencyEnumEnum, bool)

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

func GetPricingCurrencyEnumEnumValues

func GetPricingCurrencyEnumEnumValues() []PricingCurrencyEnumEnum

GetPricingCurrencyEnumEnumValues Enumerates the set of values for PricingCurrencyEnumEnum

type PricingModel

PricingModel The model for pricing.

type PricingModel struct {

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

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

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

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

    InternationalMarketPrice *InternationalMarketPrice `mandatory:"false" json:"internationalMarketPrice"`
}

func (PricingModel) String

func (m PricingModel) String() string

func (PricingModel) ValidateEnumValue

func (m PricingModel) 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 PricingStrategyEnumEnum

PricingStrategyEnumEnum Enum with underlying type: string

type PricingStrategyEnumEnum string

Set of constants representing the allowable values for PricingStrategyEnumEnum

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

func GetMappingPricingStrategyEnumEnum

func GetMappingPricingStrategyEnumEnum(val string) (PricingStrategyEnumEnum, bool)

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

func GetPricingStrategyEnumEnumValues

func GetPricingStrategyEnumEnumValues() []PricingStrategyEnumEnum

GetPricingStrategyEnumEnumValues Enumerates the set of values for PricingStrategyEnumEnum

type PricingTypeEnumEnum

PricingTypeEnumEnum Enum with underlying type: string

type PricingTypeEnumEnum string

Set of constants representing the allowable values for PricingTypeEnumEnum

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

func GetMappingPricingTypeEnumEnum

func GetMappingPricingTypeEnumEnum(val string) (PricingTypeEnumEnum, bool)

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

func GetPricingTypeEnumEnumValues

func GetPricingTypeEnumEnumValues() []PricingTypeEnumEnum

GetPricingTypeEnumEnumValues Enumerates the set of values for PricingTypeEnumEnum

type Publication

Publication The model for an Oracle Cloud Infrastructure Marketplace publication.

type Publication struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the publication exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // The name of the publication, which is also used in the listing.
    Name *string `mandatory:"true" json:"name"`

    // The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
    ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`

    // The lifecycle state of the publication.
    LifecycleState PublicationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

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

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

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

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

    // The list of operating systems supprted by the listing.
    SupportedOperatingSystems []OperatingSystem `mandatory:"false" json:"supportedOperatingSystems"`

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

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

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

    // The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{orcl-cloud: {free-tier-retain: true}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Publication) String

func (m Publication) String() string

func (Publication) ValidateEnumValue

func (m Publication) 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 PublicationLifecycleStateEnum

PublicationLifecycleStateEnum Enum with underlying type: string

type PublicationLifecycleStateEnum string

Set of constants representing the allowable values for PublicationLifecycleStateEnum

const (
    PublicationLifecycleStateCreating PublicationLifecycleStateEnum = "CREATING"
    PublicationLifecycleStateActive   PublicationLifecycleStateEnum = "ACTIVE"
    PublicationLifecycleStateDeleting PublicationLifecycleStateEnum = "DELETING"
    PublicationLifecycleStateDeleted  PublicationLifecycleStateEnum = "DELETED"
    PublicationLifecycleStateFailed   PublicationLifecycleStateEnum = "FAILED"
)

func GetMappingPublicationLifecycleStateEnum

func GetMappingPublicationLifecycleStateEnum(val string) (PublicationLifecycleStateEnum, bool)

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

func GetPublicationLifecycleStateEnumValues

func GetPublicationLifecycleStateEnumValues() []PublicationLifecycleStateEnum

GetPublicationLifecycleStateEnumValues Enumerates the set of values for PublicationLifecycleStateEnum

type PublicationPackage

PublicationPackage A base object for all types of publication packages.

type PublicationPackage interface {

    // The ID of the listing that the specified package belongs to.
    GetListingId() *string

    // The package version.
    GetVersion() *string

    // A description of the package.
    GetDescription() *string

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

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

    GetOperatingSystem() *OperatingSystem
}

type PublicationPackageSummary

PublicationPackageSummary The model for a summary of a publication package.

type PublicationPackageSummary struct {

    // The ID of the listing that the specified package belongs to.
    ListingId *string `mandatory:"true" json:"listingId"`

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

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

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

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

func (PublicationPackageSummary) String

func (m PublicationPackageSummary) String() string

func (PublicationPackageSummary) ValidateEnumValue

func (m PublicationPackageSummary) 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 PublicationSummary

PublicationSummary The model for a summary of an Oracle Cloud Infrastructure publication.

type PublicationSummary struct {

    // The lifecycle state of the publication.
    LifecycleState PublicationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the publication exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // The name of the publication, which is also used in the listing.
    Name *string `mandatory:"true" json:"name"`

    // The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
    ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`

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

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

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

    // The list of operating systems supported by the listing.
    SupportedOperatingSystems []OperatingSystem `mandatory:"false" json:"supportedOperatingSystems"`

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

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

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

    // The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{orcl-cloud: {free-tier-retain: true}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (PublicationSummary) String

func (m PublicationSummary) String() string

func (PublicationSummary) ValidateEnumValue

func (m PublicationSummary) 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 Publisher

Publisher The model for a publisher.

type Publisher struct {

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

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

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

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

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

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

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

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

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

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

func (Publisher) String

func (m Publisher) String() string

func (Publisher) ValidateEnumValue

func (m Publisher) 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 PublisherSummary

PublisherSummary Summary details about the publisher of the listing.

type PublisherSummary struct {

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

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

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

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 Region

Region The model for regions supported by a listing and package.

type Region struct {

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

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

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

func (Region) String

func (m Region) String() string

func (Region) ValidateEnumValue

func (m Region) 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 ReportCollection

ReportCollection A collection of reports that match the parameters of the request.

type ReportCollection struct {

    // An array of reports.
    Items []ReportSummary `mandatory:"true" json:"items"`
}

func (ReportCollection) String

func (m ReportCollection) String() string

func (ReportCollection) ValidateEnumValue

func (m ReportCollection) 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 ReportSummary

ReportSummary The model of a single report.

type ReportSummary struct {

    // The type of report.
    ReportType *string `mandatory:"true" json:"reportType"`

    // The date of the report.
    Date *common.SDKTime `mandatory:"true" json:"date"`

    // The columns in the report.
    Columns []string `mandatory:"true" json:"columns"`

    // The contents of the report in comma-separated values (CSV) file format.
    Content *string `mandatory:"true" json:"content"`
}

func (ReportSummary) String

func (m ReportSummary) String() string

func (ReportSummary) ValidateEnumValue

func (m ReportSummary) 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 ReportTypeCollection

ReportTypeCollection A collection of report types.

type ReportTypeCollection struct {

    // An array of report types.
    Items []ReportTypeSummary `mandatory:"true" json:"items"`
}

func (ReportTypeCollection) String

func (m ReportTypeCollection) String() string

func (ReportTypeCollection) ValidateEnumValue

func (m ReportTypeCollection) 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 ReportTypeSummary

ReportTypeSummary The model of the description of a report.

type ReportTypeSummary struct {

    // The type of report.
    ReportType *string `mandatory:"false" json:"reportType"`

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

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

    // The columns in the report.
    Columns []string `mandatory:"false" json:"columns"`
}

func (ReportTypeSummary) String

func (m ReportTypeSummary) String() string

func (ReportTypeSummary) ValidateEnumValue

func (m ReportTypeSummary) 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 Screenshot

Screenshot The model for a listing's screenshot.

type Screenshot struct {

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

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

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

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

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

func (Screenshot) String

func (m Screenshot) String() string

func (Screenshot) ValidateEnumValue

func (m Screenshot) 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 SearchDetailsTypeEnumEnum

SearchDetailsTypeEnumEnum Enum with underlying type: string

type SearchDetailsTypeEnumEnum string

Set of constants representing the allowable values for SearchDetailsTypeEnumEnum

const (
    SearchDetailsTypeEnumFreeText   SearchDetailsTypeEnumEnum = "FreeText"
    SearchDetailsTypeEnumStructured SearchDetailsTypeEnumEnum = "Structured"
)

func GetMappingSearchDetailsTypeEnumEnum

func GetMappingSearchDetailsTypeEnumEnum(val string) (SearchDetailsTypeEnumEnum, bool)

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

func GetSearchDetailsTypeEnumEnumValues

func GetSearchDetailsTypeEnumEnumValues() []SearchDetailsTypeEnumEnum

GetSearchDetailsTypeEnumEnumValues Enumerates the set of values for SearchDetailsTypeEnumEnum

type SearchListingsDetails

SearchListingsDetails A base request type that contains common criteria for Marketplace Search Listings details.

type SearchListingsDetails interface {

    // The type of matching context returned in the response. If you specify HIGHLIGHTS, then the service will highlight fragments in its response. The default value is NONE.
    GetMatchingContextType() MatchingContextTypeEnumEnum
}

type SearchListingsRequest

SearchListingsRequest wrapper for the SearchListings operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/SearchListings.go.html to see an example of how to use SearchListingsRequest.

type SearchListingsRequest struct {

    // Details related to the search query
    SearchListingsDetails `contributesTo:"body"`

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

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

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

    // 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 (SearchListingsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (SearchListingsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SearchListingsRequest) RetryPolicy

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

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

func (SearchListingsRequest) String

func (request SearchListingsRequest) String() string

func (SearchListingsRequest) ValidateEnumValue

func (request SearchListingsRequest) 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 SearchListingsResponse

SearchListingsResponse wrapper for the SearchListings operation

type SearchListingsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For 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 (SearchListingsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SearchListingsResponse) String

func (response SearchListingsResponse) String() string

type StructuredSearchDetails

StructuredSearchDetails A request that uses Search's structured query language to specify filter conditions to apply to search listings. For more information about writing search queries, see Search Language Syntax (https://docs.cloud.oracle.com/Content/Search/Concepts/querysyntax.htm).

type StructuredSearchDetails struct {

    // The structured query describing which resources to search for.
    Query *string `mandatory:"true" json:"query"`

    // The type of matching context returned in the response. If you specify HIGHLIGHTS, then the service will highlight fragments in its response. The default value is NONE.
    MatchingContextType MatchingContextTypeEnumEnum `mandatory:"false" json:"matchingContextType,omitempty"`
}

func (StructuredSearchDetails) GetMatchingContextType

func (m StructuredSearchDetails) GetMatchingContextType() MatchingContextTypeEnumEnum

GetMatchingContextType returns MatchingContextType

func (StructuredSearchDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (StructuredSearchDetails) String

func (m StructuredSearchDetails) String() string

func (StructuredSearchDetails) ValidateEnumValue

func (m StructuredSearchDetails) 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 SupportContact

SupportContact Contact information to use to get support.

type SupportContact struct {

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

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

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

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

func (SupportContact) String

func (m SupportContact) String() string

func (SupportContact) ValidateEnumValue

func (m SupportContact) 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 TaxSummary

TaxSummary Tax implication that current tenant may be eligible while using specific listing

type TaxSummary struct {

    // Unique code for the tax.
    Code *string `mandatory:"true" json:"code"`

    // Name of the tax code.
    Name *string `mandatory:"false" json:"name"`

    // Country, which imposes the tax.
    Country *string `mandatory:"false" json:"country"`

    // The URL with more details about this tax.
    Url *string `mandatory:"false" json:"url"`
}

func (TaxSummary) String

func (m TaxSummary) String() string

func (TaxSummary) ValidateEnumValue

func (m TaxSummary) 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 TextBasedEula

TextBasedEula An end user license agreement that is provided as text.

type TextBasedEula struct {

    // The text of the end user license agreement.
    LicenseText *string `mandatory:"false" json:"licenseText"`
}

func (TextBasedEula) MarshalJSON

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

MarshalJSON marshals to json representation

func (TextBasedEula) String

func (m TextBasedEula) String() string

func (TextBasedEula) ValidateEnumValue

func (m TextBasedEula) 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 ThirdPartyPaidListingEligibility

ThirdPartyPaidListingEligibility Tenant eligibility for using third party paid listings

type ThirdPartyPaidListingEligibility struct {

    // Whether the tenant is permitted to use paid listings
    IsPaidListingEligible *bool `mandatory:"true" json:"isPaidListingEligible"`

    // Whether the tenant is currently prevented from using paid listings because of throttling
    IsPaidListingThrottled *bool `mandatory:"true" json:"isPaidListingThrottled"`

    // Reason the account is ineligible to launch paid listings
    EligibilityReason ThirdPartyPaidListingEligibilityEligibilityReasonEnum `mandatory:"true" json:"eligibilityReason"`
}

func (ThirdPartyPaidListingEligibility) String

func (m ThirdPartyPaidListingEligibility) String() string

func (ThirdPartyPaidListingEligibility) ValidateEnumValue

func (m ThirdPartyPaidListingEligibility) 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 ThirdPartyPaidListingEligibilityEligibilityReasonEnum

ThirdPartyPaidListingEligibilityEligibilityReasonEnum Enum with underlying type: string

type ThirdPartyPaidListingEligibilityEligibilityReasonEnum string

Set of constants representing the allowable values for ThirdPartyPaidListingEligibilityEligibilityReasonEnum

const (
    ThirdPartyPaidListingEligibilityEligibilityReasonEligible                         ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "ELIGIBLE"
    ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountCountry         ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_COUNTRY"
    ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleRegion                 ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_REGION"
    ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountBlacklisted     ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_BLACKLISTED"
    ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountFeatureDisabled ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_FEATURE_DISABLED"
    ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountCurrency        ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_CURRENCY"
    ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountNotPaid         ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_NOT_PAID"
    ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountInternal        ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_INTERNAL"
    ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountGovSubscription ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_GOV_SUBSCRIPTION"
    ThirdPartyPaidListingEligibilityEligibilityReasonNotAuthorized                    ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "NOT_AUTHORIZED"
)

func GetMappingThirdPartyPaidListingEligibilityEligibilityReasonEnum

func GetMappingThirdPartyPaidListingEligibilityEligibilityReasonEnum(val string) (ThirdPartyPaidListingEligibilityEligibilityReasonEnum, bool)

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

func GetThirdPartyPaidListingEligibilityEligibilityReasonEnumValues

func GetThirdPartyPaidListingEligibilityEligibilityReasonEnumValues() []ThirdPartyPaidListingEligibilityEligibilityReasonEnum

GetThirdPartyPaidListingEligibilityEligibilityReasonEnumValues Enumerates the set of values for ThirdPartyPaidListingEligibilityEligibilityReasonEnum

type UpdateAcceptedAgreementDetails

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

type UpdateAcceptedAgreementDetails struct {

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

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

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

func (UpdateAcceptedAgreementDetails) String

func (m UpdateAcceptedAgreementDetails) String() string

func (UpdateAcceptedAgreementDetails) ValidateEnumValue

func (m UpdateAcceptedAgreementDetails) 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 UpdateAcceptedAgreementRequest

UpdateAcceptedAgreementRequest wrapper for the UpdateAcceptedAgreement operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/UpdateAcceptedAgreement.go.html to see an example of how to use UpdateAcceptedAgreementRequest.

type UpdateAcceptedAgreementRequest struct {

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

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

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

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

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

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

func (UpdateAcceptedAgreementRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateAcceptedAgreementRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateAcceptedAgreementRequest) RetryPolicy

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

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

func (UpdateAcceptedAgreementRequest) String

func (request UpdateAcceptedAgreementRequest) String() string

func (UpdateAcceptedAgreementRequest) ValidateEnumValue

func (request UpdateAcceptedAgreementRequest) 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 UpdateAcceptedAgreementResponse

UpdateAcceptedAgreementResponse wrapper for the UpdateAcceptedAgreement operation

type UpdateAcceptedAgreementResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateAcceptedAgreementResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateAcceptedAgreementResponse) String

func (response UpdateAcceptedAgreementResponse) String() string

type UpdatePublicationDetails

UpdatePublicationDetails The model for the parameters needed to update a publication.

type UpdatePublicationDetails struct {

    // The name of the publication, which is also used in the listing.
    Name *string `mandatory:"false" json:"name"`

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

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

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

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

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

func (UpdatePublicationDetails) String

func (m UpdatePublicationDetails) String() string

func (UpdatePublicationDetails) ValidateEnumValue

func (m UpdatePublicationDetails) 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 UpdatePublicationRequest

UpdatePublicationRequest wrapper for the UpdatePublication operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.1/marketplace/UpdatePublication.go.html to see an example of how to use UpdatePublicationRequest.

type UpdatePublicationRequest struct {

    // The unique identifier for the publication.
    PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

    // The details for updating the publication.
    UpdatePublicationDetails `contributesTo:"body"`

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

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

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

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

func (UpdatePublicationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdatePublicationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdatePublicationRequest) RetryPolicy

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

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

func (UpdatePublicationRequest) String

func (request UpdatePublicationRequest) String() string

func (UpdatePublicationRequest) ValidateEnumValue

func (request UpdatePublicationRequest) 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 UpdatePublicationResponse

UpdatePublicationResponse wrapper for the UpdatePublication operation

type UpdatePublicationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Publication instance
    Publication `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 (UpdatePublicationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdatePublicationResponse) String

func (response UpdatePublicationResponse) 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"`

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

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 WorkRequest

WorkRequest A description of workrequest

type WorkRequest struct {

    // Type of the work request
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // The current status of the work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The OCID of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment that contains the work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // How much progress the operation has made.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // Date and time the work was accepted, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"false" json:"resources"`

    // Date and time the work started, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // Date and time the work completed, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // The listing id associated with the work request.
    ListingId *string `mandatory:"false" json:"listingId"`

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

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) 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 WorkRequestActionTypeEnum

WorkRequestActionTypeEnum Enum with underlying type: string

type WorkRequestActionTypeEnum string

Set of constants representing the allowable values for WorkRequestActionTypeEnum

const (
    WorkRequestActionTypeAccepted       WorkRequestActionTypeEnum = "ACCEPTED"
    WorkRequestActionTypeInProgress     WorkRequestActionTypeEnum = "IN_PROGRESS"
    WorkRequestActionTypeWaiting        WorkRequestActionTypeEnum = "WAITING"
    WorkRequestActionTypeNeedsAttention WorkRequestActionTypeEnum = "NEEDS_ATTENTION"
    WorkRequestActionTypeFailed         WorkRequestActionTypeEnum = "FAILED"
    WorkRequestActionTypeSucceeded      WorkRequestActionTypeEnum = "SUCCEEDED"
    WorkRequestActionTypeCanceled       WorkRequestActionTypeEnum = "CANCELED"
)

func GetMappingWorkRequestActionTypeEnum

func GetMappingWorkRequestActionTypeEnum(val string) (WorkRequestActionTypeEnum, bool)

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

func GetWorkRequestActionTypeEnumValues

func GetWorkRequestActionTypeEnumValues() []WorkRequestActionTypeEnum

GetWorkRequestActionTypeEnumValues Enumerates the set of values for WorkRequestActionTypeEnum

type WorkRequestCollection

WorkRequestCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

type WorkRequestCollection struct {

    // List of workRequestSummary objects.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

func (m WorkRequestCollection) 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 WorkRequestError

WorkRequestError Details about errors encountered while executing a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occurred. Error codes are listed
    // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
    Code *string `mandatory:"true" json:"code"`

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

    // Date and time the error happened, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) 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 WorkRequestErrorCollection

WorkRequestErrorCollection A list of work request errors that match filter criteria, if any. Results contain `WorkRequestError` objects.

type WorkRequestErrorCollection struct {

    // A collection of work request errors.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) 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 WorkRequestLogEntry

WorkRequestLogEntry Details about the log entity.

type WorkRequestLogEntry struct {

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

    // Date and time the log was written, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) 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 WorkRequestLogEntryCollection

WorkRequestLogEntryCollection A list of work request logs that match filter criteria, if any. Results contain `WorkRequestLogEntry` objects.

type WorkRequestLogEntryCollection struct {

    // A collection of work request log entries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) 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 WorkRequestResource

WorkRequestResource Details about the resource entity.

type WorkRequestResource struct {

    // The resource type the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource was affected by the work tracked by the work request.
    // A resource being created, updated, or deleted remains in the `IN_PROGRESS` state until
    // work is complete for that resource. At that point, the resource transitions to the `CREATED`, `UPDATED`,
    // or `DELETED` state.
    ActionType WorkRequestActionTypeEnum `mandatory:"true" json:"actionType"`

    // The resource identifier the work request affects.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that the user can do a GET on to access the resource metadata
    EntityUri *string `mandatory:"false" json:"entityUri"`

    // Additional information about the resource.
    Metadata map[string]string `mandatory:"false" json:"metadata"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) 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 WorkRequestResourceMetadataKeyEnum

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

type WorkRequestResourceMetadataKeyEnum string

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

const (
    WorkRequestResourceMetadataKeyOperationName WorkRequestResourceMetadataKeyEnum = "OPERATION_NAME"
)

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

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

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

WorkRequestSummary A summary of the status of a work request.

type WorkRequestSummary struct {

    // Type of the work request
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The id of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The ocid of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"false" json:"resources"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // The listing id associated with the work request.
    ListingId *string `mandatory:"false" json:"listingId"`

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

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) 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