func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAdminAiAgentListingRevisionAssetTypeEnumStringValues() []string
GetAdminAiAgentListingRevisionAssetTypeEnumStringValues Enumerates the set of values in String for AdminAiAgentListingRevisionAssetTypeEnum
func GetAdminAiAgentListingRevisionLocationEnumStringValues() []string
GetAdminAiAgentListingRevisionLocationEnumStringValues Enumerates the set of values in String for AdminAiAgentListingRevisionLocationEnum
func GetAdminListingRevisionSummaryPricingTypeEnumStringValues() []string
GetAdminListingRevisionSummaryPricingTypeEnumStringValues Enumerates the set of values in String for AdminListingRevisionSummaryPricingTypeEnum
func GetAdminOpnPartnerSummaryMembershipStatusEnumStringValues() []string
GetAdminOpnPartnerSummaryMembershipStatusEnumStringValues Enumerates the set of values in String for AdminOpnPartnerSummaryMembershipStatusEnum
func GetAdminTermVersionAuthorEnumStringValues() []string
GetAdminTermVersionAuthorEnumStringValues Enumerates the set of values in String for AdminTermVersionAuthorEnum
func GetAdminTermVersionTermAuthorEnumStringValues() []string
GetAdminTermVersionTermAuthorEnumStringValues Enumerates the set of values in String for AdminTermVersionTermAuthorEnum
func GetArtifactLifecycleStateEnumStringValues() []string
GetArtifactLifecycleStateEnumStringValues Enumerates the set of values in String for ArtifactLifecycleStateEnum
func GetArtifactStatusEnumStringValues() []string
GetArtifactStatusEnumStringValues Enumerates the set of values in String for ArtifactStatusEnum
func GetArtifactTypeEnumEnumStringValues() []string
GetArtifactTypeEnumEnumStringValues Enumerates the set of values in String for ArtifactTypeEnumEnum
func GetCategoryLifecycleStateEnumStringValues() []string
GetCategoryLifecycleStateEnumStringValues Enumerates the set of values in String for CategoryLifecycleStateEnum
func GetCustomerInstanceReportExportLifecycleStateEnumStringValues() []string
GetCustomerInstanceReportExportLifecycleStateEnumStringValues Enumerates the set of values in String for CustomerInstanceReportExportLifecycleStateEnum
func GetCustomerInstanceReportExportSortByEnumStringValues() []string
GetCustomerInstanceReportExportSortByEnumStringValues Enumerates the set of values in String for CustomerInstanceReportExportSortByEnum
func GetCustomerInstanceReportExportSortOrderEnumStringValues() []string
GetCustomerInstanceReportExportSortOrderEnumStringValues Enumerates the set of values in String for CustomerInstanceReportExportSortOrderEnum
func GetCustomerInstanceReportExportStatusEnumStringValues() []string
GetCustomerInstanceReportExportStatusEnumStringValues Enumerates the set of values in String for CustomerInstanceReportExportStatusEnum
func GetCustomerInstanceReportExportSummarySortByEnumStringValues() []string
GetCustomerInstanceReportExportSummarySortByEnumStringValues Enumerates the set of values in String for CustomerInstanceReportExportSummarySortByEnum
func GetCustomerInstanceReportExportSummarySortOrderEnumStringValues() []string
GetCustomerInstanceReportExportSummarySortOrderEnumStringValues Enumerates the set of values in String for CustomerInstanceReportExportSummarySortOrderEnum
func GetCustomerInstanceReportExportSummaryStatusEnumStringValues() []string
GetCustomerInstanceReportExportSummaryStatusEnumStringValues Enumerates the set of values in String for CustomerInstanceReportExportSummaryStatusEnum
func GetGenerateCustomerInstanceReportExportDetailsSortByEnumStringValues() []string
GetGenerateCustomerInstanceReportExportDetailsSortByEnumStringValues Enumerates the set of values in String for GenerateCustomerInstanceReportExportDetailsSortByEnum
func GetGenerateCustomerInstanceReportExportDetailsSortOrderEnumStringValues() []string
GetGenerateCustomerInstanceReportExportDetailsSortOrderEnumStringValues Enumerates the set of values in String for GenerateCustomerInstanceReportExportDetailsSortOrderEnum
func GetGenerateCustomerInstanceReportExportDetailsStatusEnumStringValues() []string
GetGenerateCustomerInstanceReportExportDetailsStatusEnumStringValues Enumerates the set of values in String for GenerateCustomerInstanceReportExportDetailsStatusEnum
func GetGeoLocationGeographicRegionEnumStringValues() []string
GetGeoLocationGeographicRegionEnumStringValues Enumerates the set of values in String for GeoLocationGeographicRegionEnum
func GetHybridPricingPlanBillingFrequencyEnumStringValues() []string
GetHybridPricingPlanBillingFrequencyEnumStringValues Enumerates the set of values in String for HybridPricingPlanBillingFrequencyEnum
func GetHybridPricingPlanPlanDurationEnumStringValues() []string
GetHybridPricingPlanPlanDurationEnumStringValues Enumerates the set of values in String for HybridPricingPlanPlanDurationEnum
func GetLeadLifecycleStateEnumStringValues() []string
GetLeadLifecycleStateEnumStringValues Enumerates the set of values in String for LeadLifecycleStateEnum
func GetListAdminArtifactsArtifactTypeEnumStringValues() []string
GetListAdminArtifactsArtifactTypeEnumStringValues Enumerates the set of values in String for ListAdminArtifactsArtifactTypeEnum
func GetListAdminArtifactsSortByEnumStringValues() []string
GetListAdminArtifactsSortByEnumStringValues Enumerates the set of values in String for ListAdminArtifactsSortByEnum
func GetListAdminArtifactsSortOrderEnumStringValues() []string
GetListAdminArtifactsSortOrderEnumStringValues Enumerates the set of values in String for ListAdminArtifactsSortOrderEnum
func GetListAdminListingRevisionAttachmentsSortByEnumStringValues() []string
GetListAdminListingRevisionAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListAdminListingRevisionAttachmentsSortByEnum
func GetListAdminListingRevisionAttachmentsSortOrderEnumStringValues() []string
GetListAdminListingRevisionAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListAdminListingRevisionAttachmentsSortOrderEnum
func GetListAdminListingRevisionPackagesSortByEnumStringValues() []string
GetListAdminListingRevisionPackagesSortByEnumStringValues Enumerates the set of values in String for ListAdminListingRevisionPackagesSortByEnum
func GetListAdminListingRevisionPackagesSortOrderEnumStringValues() []string
GetListAdminListingRevisionPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListAdminListingRevisionPackagesSortOrderEnum
func GetListAdminListingRevisionsListingTypeEnumStringValues() []string
GetListAdminListingRevisionsListingTypeEnumStringValues Enumerates the set of values in String for ListAdminListingRevisionsListingTypeEnum
func GetListAdminListingRevisionsSortByEnumStringValues() []string
GetListAdminListingRevisionsSortByEnumStringValues Enumerates the set of values in String for ListAdminListingRevisionsSortByEnum
func GetListAdminListingRevisionsSortOrderEnumStringValues() []string
GetListAdminListingRevisionsSortOrderEnumStringValues Enumerates the set of values in String for ListAdminListingRevisionsSortOrderEnum
func GetListAdminTermVersionsSortByEnumStringValues() []string
GetListAdminTermVersionsSortByEnumStringValues Enumerates the set of values in String for ListAdminTermVersionsSortByEnum
func GetListAdminTermVersionsSortOrderEnumStringValues() []string
GetListAdminTermVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListAdminTermVersionsSortOrderEnum
func GetListAdminTermsSortByEnumStringValues() []string
GetListAdminTermsSortByEnumStringValues Enumerates the set of values in String for ListAdminTermsSortByEnum
func GetListAdminTermsSortOrderEnumStringValues() []string
GetListAdminTermsSortOrderEnumStringValues Enumerates the set of values in String for ListAdminTermsSortOrderEnum
func GetListAdminWorkRequestsSortByEnumStringValues() []string
GetListAdminWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListAdminWorkRequestsSortByEnum
func GetListAdminWorkRequestsSortOrderEnumStringValues() []string
GetListAdminWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListAdminWorkRequestsSortOrderEnum
func GetListAdminWorkRequestsStatusEnumStringValues() []string
GetListAdminWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListAdminWorkRequestsStatusEnum
func GetListArtifactsSortByEnumStringValues() []string
GetListArtifactsSortByEnumStringValues Enumerates the set of values in String for ListArtifactsSortByEnum
func GetListArtifactsSortOrderEnumStringValues() []string
GetListArtifactsSortOrderEnumStringValues Enumerates the set of values in String for ListArtifactsSortOrderEnum
func GetListAvailableServicesSortByEnumStringValues() []string
GetListAvailableServicesSortByEnumStringValues Enumerates the set of values in String for ListAvailableServicesSortByEnum
func GetListAvailableServicesSortOrderEnumStringValues() []string
GetListAvailableServicesSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableServicesSortOrderEnum
func GetListCategoriesSortByEnumStringValues() []string
GetListCategoriesSortByEnumStringValues Enumerates the set of values in String for ListCategoriesSortByEnum
func GetListCategoriesSortOrderEnumStringValues() []string
GetListCategoriesSortOrderEnumStringValues Enumerates the set of values in String for ListCategoriesSortOrderEnum
func GetListCustomerInstanceReportExportsSortByEnumStringValues() []string
GetListCustomerInstanceReportExportsSortByEnumStringValues Enumerates the set of values in String for ListCustomerInstanceReportExportsSortByEnum
func GetListCustomerInstanceReportExportsSortOrderEnumStringValues() []string
GetListCustomerInstanceReportExportsSortOrderEnumStringValues Enumerates the set of values in String for ListCustomerInstanceReportExportsSortOrderEnum
func GetListCustomerInstanceReportExportsStatusEnumStringValues() []string
GetListCustomerInstanceReportExportsStatusEnumStringValues Enumerates the set of values in String for ListCustomerInstanceReportExportsStatusEnum
func GetListCustomerInstanceReportRecordsSortByEnumStringValues() []string
GetListCustomerInstanceReportRecordsSortByEnumStringValues Enumerates the set of values in String for ListCustomerInstanceReportRecordsSortByEnum
func GetListCustomerInstanceReportRecordsSortOrderEnumStringValues() []string
GetListCustomerInstanceReportRecordsSortOrderEnumStringValues Enumerates the set of values in String for ListCustomerInstanceReportRecordsSortOrderEnum
func GetListCustomerInstanceReportRecordsStatusEnumStringValues() []string
GetListCustomerInstanceReportRecordsStatusEnumStringValues Enumerates the set of values in String for ListCustomerInstanceReportRecordsStatusEnum
func GetListDisbursementReportRecordsDateRangeEnumStringValues() []string
GetListDisbursementReportRecordsDateRangeEnumStringValues Enumerates the set of values in String for ListDisbursementReportRecordsDateRangeEnum
func GetListDisbursementReportRecordsSortByEnumStringValues() []string
GetListDisbursementReportRecordsSortByEnumStringValues Enumerates the set of values in String for ListDisbursementReportRecordsSortByEnum
func GetListDisbursementReportRecordsSortOrderEnumStringValues() []string
GetListDisbursementReportRecordsSortOrderEnumStringValues Enumerates the set of values in String for ListDisbursementReportRecordsSortOrderEnum
func GetListLeadsSortByEnumStringValues() []string
GetListLeadsSortByEnumStringValues Enumerates the set of values in String for ListLeadsSortByEnum
func GetListLeadsSortOrderEnumStringValues() []string
GetListLeadsSortOrderEnumStringValues Enumerates the set of values in String for ListLeadsSortOrderEnum
func GetListListingRevisionAttachmentsSortByEnumStringValues() []string
GetListListingRevisionAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListListingRevisionAttachmentsSortByEnum
func GetListListingRevisionAttachmentsSortOrderEnumStringValues() []string
GetListListingRevisionAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListListingRevisionAttachmentsSortOrderEnum
func GetListListingRevisionNotesSortByEnumStringValues() []string
GetListListingRevisionNotesSortByEnumStringValues Enumerates the set of values in String for ListListingRevisionNotesSortByEnum
func GetListListingRevisionNotesSortOrderEnumStringValues() []string
GetListListingRevisionNotesSortOrderEnumStringValues Enumerates the set of values in String for ListListingRevisionNotesSortOrderEnum
func GetListListingRevisionPackagesSortByEnumStringValues() []string
GetListListingRevisionPackagesSortByEnumStringValues Enumerates the set of values in String for ListListingRevisionPackagesSortByEnum
func GetListListingRevisionPackagesSortOrderEnumStringValues() []string
GetListListingRevisionPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListListingRevisionPackagesSortOrderEnum
func GetListListingRevisionsSortByEnumStringValues() []string
GetListListingRevisionsSortByEnumStringValues Enumerates the set of values in String for ListListingRevisionsSortByEnum
func GetListListingRevisionsSortOrderEnumStringValues() []string
GetListListingRevisionsSortOrderEnumStringValues Enumerates the set of values in String for ListListingRevisionsSortOrderEnum
func GetListListingsListingTypeEnumStringValues() []string
GetListListingsListingTypeEnumStringValues Enumerates the set of values in String for ListListingsListingTypeEnum
func GetListListingsSortByEnumStringValues() []string
GetListListingsSortByEnumStringValues Enumerates the set of values in String for ListListingsSortByEnum
func GetListListingsSortOrderEnumStringValues() []string
GetListListingsSortOrderEnumStringValues Enumerates the set of values in String for ListListingsSortOrderEnum
func GetListMarketsSortByEnumStringValues() []string
GetListMarketsSortByEnumStringValues Enumerates the set of values in String for ListMarketsSortByEnum
func GetListMarketsSortOrderEnumStringValues() []string
GetListMarketsSortOrderEnumStringValues Enumerates the set of values in String for ListMarketsSortOrderEnum
func GetListProductsSortByEnumStringValues() []string
GetListProductsSortByEnumStringValues Enumerates the set of values in String for ListProductsSortByEnum
func GetListProductsSortOrderEnumStringValues() []string
GetListProductsSortOrderEnumStringValues Enumerates the set of values in String for ListProductsSortOrderEnum
func GetListPublishersSortByEnumStringValues() []string
GetListPublishersSortByEnumStringValues Enumerates the set of values in String for ListPublishersSortByEnum
func GetListPublishersSortOrderEnumStringValues() []string
GetListPublishersSortOrderEnumStringValues Enumerates the set of values in String for ListPublishersSortOrderEnum
func GetListSupportDocsSortByEnumStringValues() []string
GetListSupportDocsSortByEnumStringValues Enumerates the set of values in String for ListSupportDocsSortByEnum
func GetListSupportDocsSortOrderEnumStringValues() []string
GetListSupportDocsSortOrderEnumStringValues Enumerates the set of values in String for ListSupportDocsSortOrderEnum
func GetListSupportedCurrenciesSortByEnumStringValues() []string
GetListSupportedCurrenciesSortByEnumStringValues Enumerates the set of values in String for ListSupportedCurrenciesSortByEnum
func GetListSupportedCurrenciesSortOrderEnumStringValues() []string
GetListSupportedCurrenciesSortOrderEnumStringValues Enumerates the set of values in String for ListSupportedCurrenciesSortOrderEnum
func GetListSupportedShapesSortByEnumStringValues() []string
GetListSupportedShapesSortByEnumStringValues Enumerates the set of values in String for ListSupportedShapesSortByEnum
func GetListSupportedShapesSortOrderEnumStringValues() []string
GetListSupportedShapesSortOrderEnumStringValues Enumerates the set of values in String for ListSupportedShapesSortOrderEnum
func GetListTermVersionsSortByEnumStringValues() []string
GetListTermVersionsSortByEnumStringValues Enumerates the set of values in String for ListTermVersionsSortByEnum
func GetListTermVersionsSortOrderEnumStringValues() []string
GetListTermVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListTermVersionsSortOrderEnum
func GetListTermsSortByEnumStringValues() []string
GetListTermsSortByEnumStringValues Enumerates the set of values in String for ListTermsSortByEnum
func GetListTermsSortOrderEnumStringValues() []string
GetListTermsSortOrderEnumStringValues Enumerates the set of values in String for ListTermsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetListingLifecycleStateEnumStringValues() []string
GetListingLifecycleStateEnumStringValues Enumerates the set of values in String for ListingLifecycleStateEnum
func GetListingPartBillingModelEnumStringValues() []string
GetListingPartBillingModelEnumStringValues Enumerates the set of values in String for ListingPartBillingModelEnum
func GetListingRevisionAttachmentAttachmentTypeEnumStringValues() []string
GetListingRevisionAttachmentAttachmentTypeEnumStringValues Enumerates the set of values in String for ListingRevisionAttachmentAttachmentTypeEnum
func GetListingRevisionAttachmentLifecycleStateEnumStringValues() []string
GetListingRevisionAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for ListingRevisionAttachmentLifecycleStateEnum
func GetListingRevisionAttachmentSourceTypeEnumStringValues() []string
GetListingRevisionAttachmentSourceTypeEnumStringValues Enumerates the set of values in String for ListingRevisionAttachmentSourceTypeEnum
func GetListingRevisionAttachmentSummaryDocumentCategoryEnumStringValues() []string
GetListingRevisionAttachmentSummaryDocumentCategoryEnumStringValues Enumerates the set of values in String for ListingRevisionAttachmentSummaryDocumentCategoryEnum
func GetListingRevisionLifecycleStateEnumStringValues() []string
GetListingRevisionLifecycleStateEnumStringValues Enumerates the set of values in String for ListingRevisionLifecycleStateEnum
func GetListingRevisionNoteLifecycleStateEnumStringValues() []string
GetListingRevisionNoteLifecycleStateEnumStringValues Enumerates the set of values in String for ListingRevisionNoteLifecycleStateEnum
func GetListingRevisionNoteNoteSourceEnumStringValues() []string
GetListingRevisionNoteNoteSourceEnumStringValues Enumerates the set of values in String for ListingRevisionNoteNoteSourceEnum
func GetListingRevisionPackageLifecycleStateEnumStringValues() []string
GetListingRevisionPackageLifecycleStateEnumStringValues Enumerates the set of values in String for ListingRevisionPackageLifecycleStateEnum
func GetListingRevisionPackageStatusEnumStringValues() []string
GetListingRevisionPackageStatusEnumStringValues Enumerates the set of values in String for ListingRevisionPackageStatusEnum
func GetListingRevisionStatusEnumStringValues() []string
GetListingRevisionStatusEnumStringValues Enumerates the set of values in String for ListingRevisionStatusEnum
func GetListingTypeEnumStringValues() []string
GetListingTypeEnumStringValues Enumerates the set of values in String for ListingTypeEnum
func GetMarketLifecycleStateEnumStringValues() []string
GetMarketLifecycleStateEnumStringValues Enumerates the set of values in String for MarketLifecycleStateEnum
func GetMeteredPricingPlanNameEnumStringValues() []string
GetMeteredPricingPlanNameEnumStringValues Enumerates the set of values in String for MeteredPricingPlanNameEnum
func GetMetricTypeEnumStringValues() []string
GetMetricTypeEnumStringValues Enumerates the set of values in String for MetricTypeEnum
func GetOciListingRevisionPricingTypeEnumStringValues() []string
GetOciListingRevisionPricingTypeEnumStringValues Enumerates the set of values in String for OciListingRevisionPricingTypeEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetPackageTypeEnumStringValues() []string
GetPackageTypeEnumStringValues Enumerates the set of values in String for PackageTypeEnum
func GetPricingPlanPlanTypeEnumStringValues() []string
GetPricingPlanPlanTypeEnumStringValues Enumerates the set of values in String for PricingPlanPlanTypeEnum
func GetProductLifecycleStateEnumStringValues() []string
GetProductLifecycleStateEnumStringValues Enumerates the set of values in String for ProductLifecycleStateEnum
func GetPublicationStatusEnumStringValues() []string
GetPublicationStatusEnumStringValues Enumerates the set of values in String for PublicationStatusEnum
func GetPublisherPublisherTypeEnumStringValues() []string
GetPublisherPublisherTypeEnumStringValues Enumerates the set of values in String for PublisherPublisherTypeEnum
func GetPublisherStatusEnumStringValues() []string
GetPublisherStatusEnumStringValues Enumerates the set of values in String for PublisherStatusEnum
func GetPublisherSummaryPublisherTypeEnumStringValues() []string
GetPublisherSummaryPublisherTypeEnumStringValues Enumerates the set of values in String for PublisherSummaryPublisherTypeEnum
func GetRelatedDocumentAttachmentDocumentCategoryEnumStringValues() []string
GetRelatedDocumentAttachmentDocumentCategoryEnumStringValues Enumerates the set of values in String for RelatedDocumentAttachmentDocumentCategoryEnum
func GetSaaSPricingPlanBillingFrequencyEnumStringValues() []string
GetSaaSPricingPlanBillingFrequencyEnumStringValues Enumerates the set of values in String for SaaSPricingPlanBillingFrequencyEnum
func GetSaaSPricingPlanPlanDurationEnumStringValues() []string
GetSaaSPricingPlanPlanDurationEnumStringValues Enumerates the set of values in String for SaaSPricingPlanPlanDurationEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetSupportDocLifecycleStateEnumStringValues() []string
GetSupportDocLifecycleStateEnumStringValues Enumerates the set of values in String for SupportDocLifecycleStateEnum
func GetSupportedCurrencySummaryLifecycleStateEnumStringValues() []string
GetSupportedCurrencySummaryLifecycleStateEnumStringValues Enumerates the set of values in String for SupportedCurrencySummaryLifecycleStateEnum
func GetSupportedServiceAttachmentTypeEnumStringValues() []string
GetSupportedServiceAttachmentTypeEnumStringValues Enumerates the set of values in String for SupportedServiceAttachmentTypeEnum
func GetTermAuthorEnumStringValues() []string
GetTermAuthorEnumStringValues Enumerates the set of values in String for TermAuthorEnum
func GetTermLifecycleStateEnumStringValues() []string
GetTermLifecycleStateEnumStringValues Enumerates the set of values in String for TermLifecycleStateEnum
func GetTermVersionLifecycleStateEnumStringValues() []string
GetTermVersionLifecycleStateEnumStringValues Enumerates the set of values in String for TermVersionLifecycleStateEnum
func GetTermVersionStatusEnumStringValues() []string
GetTermVersionStatusEnumStringValues Enumerates the set of values in String for TermVersionStatusEnum
func GetUsageBasedPricingPlanBillingFrequencyEnumStringValues() []string
GetUsageBasedPricingPlanBillingFrequencyEnumStringValues Enumerates the set of values in String for UsageBasedPricingPlanBillingFrequencyEnum
func GetUsageBasedPricingPlanPlanDurationEnumStringValues() []string
GetUsageBasedPricingPlanPlanDurationEnumStringValues Enumerates the set of values in String for UsageBasedPricingPlanPlanDurationEnum
func GetUsageDimensionDimensionBillingFrequencyEnumStringValues() []string
GetUsageDimensionDimensionBillingFrequencyEnumStringValues Enumerates the set of values in String for UsageDimensionDimensionBillingFrequencyEnum
func GetValidationStatusEnumStringValues() []string
GetValidationStatusEnumStringValues Enumerates the set of values in String for ValidationStatusEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const (
ActionTypeCreated ActionTypeEnum = "CREATED"
ActionTypeUpdated ActionTypeEnum = "UPDATED"
ActionTypeDeleted ActionTypeEnum = "DELETED"
ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
ActionTypeRelated ActionTypeEnum = "RELATED"
ActionTypeFailed ActionTypeEnum = "FAILED"
)
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ActivateTermVersionRequest wrapper for the ActivateTermVersion operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ActivateTermVersion.go.html to see an example of how to use ActivateTermVersionRequest.
type ActivateTermVersionRequest struct {
// term version OCID
TermVersionId *string `mandatory:"true" contributesTo:"path" name:"termVersionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ActivateTermVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ActivateTermVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ActivateTermVersionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ActivateTermVersionRequest) String() string
func (request ActivateTermVersionRequest) 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
ActivateTermVersionResponse wrapper for the ActivateTermVersion operation
type ActivateTermVersionResponse struct {
// The underlying http response
RawResponse *http.Response
// The TermVersion instance
TermVersion `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 (response ActivateTermVersionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ActivateTermVersionResponse) String() string
AdditionalFilter Additional filters for the product
type AdditionalFilter struct {
// Filter name
Name *string `mandatory:"false" json:"name"`
// Filter code
Code *string `mandatory:"false" json:"code"`
// The date and time the additional filter was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// Usage instructions for the properties
UsageInstructions *string `mandatory:"false" json:"usageInstructions"`
// Is multiselect available for product code or not
IsMultiSelect *bool `mandatory:"false" json:"isMultiSelect"`
// Is the product code mandatory or not
IsMandatory *bool `mandatory:"false" json:"isMandatory"`
// Additional filters attached to custom filter
Properties []FilterProperty `mandatory:"false" json:"properties"`
}
func (m AdditionalFilter) String() string
func (m AdditionalFilter) 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
AdditionalInfo Additional information about the lead
type AdditionalInfo struct {
// The company name
Company *string `mandatory:"false" json:"company"`
// The company address
CompanyAddress *string `mandatory:"false" json:"companyAddress"`
// The email address
Email *string `mandatory:"false" json:"email"`
// The first name
FirstName *string `mandatory:"false" json:"firstName"`
// The last name
LastName *string `mandatory:"false" json:"lastName"`
// The phone number
Phone *string `mandatory:"false" json:"phone"`
// Additional notes
Notes *string `mandatory:"false" json:"notes"`
}
func (m AdditionalInfo) String() string
func (m AdditionalInfo) 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
AdminAiAgentListingRevision Listing revision details for AI agent listings
type AdminAiAgentListingRevision struct {
// The OCID for the listing revision in Marketplace Publisher.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// The OCID for the publisher in Marketplace Publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The name for the listing revision.
DisplayName *string `mandatory:"true" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// The time the listing revision was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the listing revision was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Measurable or compelling value of the agent
KeyBenefits *string `mandatory:"true" json:"keyBenefits"`
// Capture asset competitive differentiator
CompetitiveDifferentiators *string `mandatory:"true" json:"competitiveDifferentiators"`
// Target audience for the asset
TargetAudience *string `mandatory:"true" json:"targetAudience"`
// List of industries subscribed by listing.
Industries []string `mandatory:"true" json:"industries"`
// Support details based on geographic location
GeoLocations []GeoLocation `mandatory:"true" json:"geoLocations"`
// List of products subscribed by listing.
Products []AdminListingProduct `mandatory:"true" json:"products"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The user OCID of the administrator who approved the listing revision.
ApproverId *string `mandatory:"false" json:"approverId"`
// The email address of the administrator who approved the listing revision.
ApproverEmail *string `mandatory:"false" json:"approverEmail"`
// The revision number of the listing revision. This is an internal attribute
RevisionNumber *string `mandatory:"false" json:"revisionNumber"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description of the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
Banner *ListingRevisionBannerAttachment `mandatory:"false" json:"banner"`
// Status notes for the listing revision.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Additional metadata key/value pairs for the listing revision.
// For example:
// `{"oracleStandardTermVersionId": "1234"}`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
// Agent asset type
AssetType AdminAiAgentListingRevisionAssetTypeEnum `mandatory:"true" json:"assetType"`
// Work area that surfaces the AI agent
Location AdminAiAgentListingRevisionLocationEnum `mandatory:"true" json:"location"`
// The current status for the listing revision.
Status ListingRevisionStatusEnum `mandatory:"true" json:"status"`
// The current state of the listing revision.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The listing's package type. Populated from the listing.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
}
func (m AdminAiAgentListingRevision) GetApproverEmail() *string
GetApproverEmail returns ApproverEmail
func (m AdminAiAgentListingRevision) GetApproverId() *string
GetApproverId returns ApproverId
func (m AdminAiAgentListingRevision) GetBanner() *ListingRevisionBannerAttachment
GetBanner returns Banner
func (m AdminAiAgentListingRevision) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminAiAgentListingRevision) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m AdminAiAgentListingRevision) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminAiAgentListingRevision) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminAiAgentListingRevision) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m AdminAiAgentListingRevision) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminAiAgentListingRevision) GetHeadline() *string
GetHeadline returns Headline
func (m AdminAiAgentListingRevision) GetIcon() *ListingRevisionIconAttachment
GetIcon returns Icon
func (m AdminAiAgentListingRevision) GetId() *string
GetId returns Id
func (m AdminAiAgentListingRevision) GetKeywords() *string
GetKeywords returns Keywords
func (m AdminAiAgentListingRevision) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminAiAgentListingRevision) GetLifecycleState() ListingRevisionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminAiAgentListingRevision) GetListingId() *string
GetListingId returns ListingId
func (m AdminAiAgentListingRevision) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m AdminAiAgentListingRevision) GetPackageType() PackageTypeEnum
GetPackageType returns PackageType
func (m AdminAiAgentListingRevision) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m AdminAiAgentListingRevision) GetRevisionNumber() *string
GetRevisionNumber returns RevisionNumber
func (m AdminAiAgentListingRevision) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m AdminAiAgentListingRevision) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m AdminAiAgentListingRevision) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m AdminAiAgentListingRevision) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m AdminAiAgentListingRevision) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m AdminAiAgentListingRevision) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m AdminAiAgentListingRevision) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminAiAgentListingRevision) GetTagline() *string
GetTagline returns Tagline
func (m AdminAiAgentListingRevision) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminAiAgentListingRevision) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminAiAgentListingRevision) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m AdminAiAgentListingRevision) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminAiAgentListingRevision) String() string
func (m AdminAiAgentListingRevision) 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
AdminAiAgentListingRevisionAssetTypeEnum Enum with underlying type: string
type AdminAiAgentListingRevisionAssetTypeEnum string
Set of constants representing the allowable values for AdminAiAgentListingRevisionAssetTypeEnum
const (
AdminAiAgentListingRevisionAssetTypeFoundational AdminAiAgentListingRevisionAssetTypeEnum = "FOUNDATIONAL"
AdminAiAgentListingRevisionAssetTypeTeam AdminAiAgentListingRevisionAssetTypeEnum = "TEAM"
AdminAiAgentListingRevisionAssetTypeWorkflow AdminAiAgentListingRevisionAssetTypeEnum = "WORKFLOW"
AdminAiAgentListingRevisionAssetTypeApplication AdminAiAgentListingRevisionAssetTypeEnum = "APPLICATION"
AdminAiAgentListingRevisionAssetTypeConnector AdminAiAgentListingRevisionAssetTypeEnum = "CONNECTOR"
)
func GetAdminAiAgentListingRevisionAssetTypeEnumValues() []AdminAiAgentListingRevisionAssetTypeEnum
GetAdminAiAgentListingRevisionAssetTypeEnumValues Enumerates the set of values for AdminAiAgentListingRevisionAssetTypeEnum
func GetMappingAdminAiAgentListingRevisionAssetTypeEnum(val string) (AdminAiAgentListingRevisionAssetTypeEnum, bool)
GetMappingAdminAiAgentListingRevisionAssetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AdminAiAgentListingRevisionLocationEnum Enum with underlying type: string
type AdminAiAgentListingRevisionLocationEnum string
Set of constants representing the allowable values for AdminAiAgentListingRevisionLocationEnum
const (
AdminAiAgentListingRevisionLocationSeeded AdminAiAgentListingRevisionLocationEnum = "SEEDED"
AdminAiAgentListingRevisionLocationLeadGen AdminAiAgentListingRevisionLocationEnum = "LEAD_GEN"
)
func GetAdminAiAgentListingRevisionLocationEnumValues() []AdminAiAgentListingRevisionLocationEnum
GetAdminAiAgentListingRevisionLocationEnumValues Enumerates the set of values for AdminAiAgentListingRevisionLocationEnum
func GetMappingAdminAiAgentListingRevisionLocationEnum(val string) (AdminAiAgentListingRevisionLocationEnum, bool)
GetMappingAdminAiAgentListingRevisionLocationEnum performs case Insensitive comparison on enum value and return the desired enum
AdminArtifact Base model object for the artifacts.
type AdminArtifact interface {
// Unique OCID identifier for the artifact.
GetId() *string
// A display name for the artifact.
GetDisplayName() *string
// The current status for the Artifact.
GetStatus() ArtifactStatusEnum
// The current state for the Artifact.
GetLifecycleState() ArtifactLifecycleStateEnum
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
GetTimeCreated() *common.SDKTime
// The unique identifier for the compartment.
GetCompartmentId() *string
// The unique identifier for the publisher.
GetPublisherId() *string
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
GetTimeUpdated() *common.SDKTime
// The unique legacy identifier for the listing.
GetLegacyId() *string
// Status notes for the Artifact.
GetStatusNotes() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
}
AdminArtifactCollection Results of the artifact search. Contains the artifact items.
type AdminArtifactCollection struct {
// List of artifact summary.
Items []AdminArtifactSummary `mandatory:"true" json:"items"`
}
func (m AdminArtifactCollection) String() string
func (m AdminArtifactCollection) 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
AdminArtifactSummary The model for the admin artifact summary.
type AdminArtifactSummary struct {
// Unique identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// Artifact Type for the artifact.
ArtifactType ArtifactTypeEnumEnum `mandatory:"true" json:"artifactType"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminArtifactSummary) String() string
func (m AdminArtifactSummary) 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
AdminBillToCountries The model for the admin bill to countries details.
type AdminBillToCountries struct {
// The name of the Bill to Country.
Name *string `mandatory:"true" json:"name"`
// The code of the Bill to Country.
Code *string `mandatory:"true" json:"code"`
}
func (m AdminBillToCountries) String() string
func (m AdminBillToCountries) 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
AdminContainerImageArtifact Container Image artifact details.
type AdminContainerImageArtifact struct {
// Unique OCID identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// A display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
ContainerImage *ContainerImageDetails `mandatory:"true" json:"containerImage"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Status notes for the Artifact.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AdminContainerImageArtifact) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminContainerImageArtifact) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminContainerImageArtifact) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminContainerImageArtifact) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminContainerImageArtifact) GetId() *string
GetId returns Id
func (m AdminContainerImageArtifact) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminContainerImageArtifact) GetLifecycleState() ArtifactLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminContainerImageArtifact) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m AdminContainerImageArtifact) GetStatus() ArtifactStatusEnum
GetStatus returns Status
func (m AdminContainerImageArtifact) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m AdminContainerImageArtifact) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminContainerImageArtifact) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminContainerImageArtifact) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminContainerImageArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminContainerImageArtifact) String() string
func (m AdminContainerImageArtifact) 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
AdminContainerPackage A package for container image listings.
type AdminContainerPackage struct {
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The unique identifier for the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"true" json:"artifactId"`
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// The version for the package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"true" json:"isDefault"`
// The date and time this listing revision 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:"true" json:"timeCreated"`
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID for the listing revision package in Marketplace Publisher.
Id *string `mandatory:"false" json:"id"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// The description of this package.
Description *string `mandatory:"false" json:"description"`
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current state for the listing revision package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the listing revision package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
}
func (m AdminContainerPackage) GetAreSecurityUpgradesProvided() *bool
GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided
func (m AdminContainerPackage) GetArtifactId() *string
GetArtifactId returns ArtifactId
func (m AdminContainerPackage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminContainerPackage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminContainerPackage) GetDescription() *string
GetDescription returns Description
func (m AdminContainerPackage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminContainerPackage) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m AdminContainerPackage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminContainerPackage) GetId() *string
GetId returns Id
func (m AdminContainerPackage) GetIsDefault() *bool
GetIsDefault returns IsDefault
func (m AdminContainerPackage) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminContainerPackage) GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminContainerPackage) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminContainerPackage) GetPackageVersion() *string
GetPackageVersion returns PackageVersion
func (m AdminContainerPackage) GetStatus() ListingRevisionPackageStatusEnum
GetStatus returns Status
func (m AdminContainerPackage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminContainerPackage) GetTermId() *string
GetTermId returns TermId
func (m AdminContainerPackage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminContainerPackage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminContainerPackage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminContainerPackage) String() string
func (m AdminContainerPackage) 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
AdminCustomerSuccessAttachment Customer success attachment for the listing revision.
type AdminCustomerSuccessAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Name of the customer
CustomerName *string `mandatory:"true" json:"customerName"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Identifies whether the attachment is for Internal Oracle Users or external users as well.
IsOracleUsersOnly *bool `mandatory:"false" json:"isOracleUsersOnly"`
// Optional url to success story
Url *string `mandatory:"false" json:"url"`
// List of product codes this success
ProductCodes []string `mandatory:"false" json:"productCodes"`
// URL of the uploaded document.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AdminCustomerSuccessAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminCustomerSuccessAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminCustomerSuccessAttachment) GetDescription() *string
GetDescription returns Description
func (m AdminCustomerSuccessAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminCustomerSuccessAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminCustomerSuccessAttachment) GetId() *string
GetId returns Id
func (m AdminCustomerSuccessAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminCustomerSuccessAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminCustomerSuccessAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m AdminCustomerSuccessAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminCustomerSuccessAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminCustomerSuccessAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminCustomerSuccessAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminCustomerSuccessAttachment) String() string
func (m AdminCustomerSuccessAttachment) 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
AdminHelmChartPackage A package for container image listings.
type AdminHelmChartPackage struct {
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The unique identifier for the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"true" json:"artifactId"`
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// The version for the package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"true" json:"isDefault"`
// The date and time this listing revision 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:"true" json:"timeCreated"`
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID for the listing revision package in Marketplace Publisher.
Id *string `mandatory:"false" json:"id"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// The description of this package.
Description *string `mandatory:"false" json:"description"`
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current state for the listing revision package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the listing revision package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
}
func (m AdminHelmChartPackage) GetAreSecurityUpgradesProvided() *bool
GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided
func (m AdminHelmChartPackage) GetArtifactId() *string
GetArtifactId returns ArtifactId
func (m AdminHelmChartPackage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminHelmChartPackage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminHelmChartPackage) GetDescription() *string
GetDescription returns Description
func (m AdminHelmChartPackage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminHelmChartPackage) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m AdminHelmChartPackage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminHelmChartPackage) GetId() *string
GetId returns Id
func (m AdminHelmChartPackage) GetIsDefault() *bool
GetIsDefault returns IsDefault
func (m AdminHelmChartPackage) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminHelmChartPackage) GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminHelmChartPackage) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminHelmChartPackage) GetPackageVersion() *string
GetPackageVersion returns PackageVersion
func (m AdminHelmChartPackage) GetStatus() ListingRevisionPackageStatusEnum
GetStatus returns Status
func (m AdminHelmChartPackage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminHelmChartPackage) GetTermId() *string
GetTermId returns TermId
func (m AdminHelmChartPackage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminHelmChartPackage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminHelmChartPackage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminHelmChartPackage) String() string
func (m AdminHelmChartPackage) 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
AdminKubernetesImageArtifact Kubernetes HelmChart Image artifact details.
type AdminKubernetesImageArtifact struct {
// Unique OCID identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// A display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
HelmChart *HelmChartImageDetails `mandatory:"true" json:"helmChart"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Status notes for the Artifact.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// List of container image artifact unique identifiers included in the helm chart.
ContainerImageArtifactIds []string `mandatory:"false" json:"containerImageArtifactIds"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AdminKubernetesImageArtifact) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminKubernetesImageArtifact) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminKubernetesImageArtifact) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminKubernetesImageArtifact) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminKubernetesImageArtifact) GetId() *string
GetId returns Id
func (m AdminKubernetesImageArtifact) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminKubernetesImageArtifact) GetLifecycleState() ArtifactLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminKubernetesImageArtifact) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m AdminKubernetesImageArtifact) GetStatus() ArtifactStatusEnum
GetStatus returns Status
func (m AdminKubernetesImageArtifact) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m AdminKubernetesImageArtifact) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminKubernetesImageArtifact) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminKubernetesImageArtifact) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminKubernetesImageArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminKubernetesImageArtifact) String() string
func (m AdminKubernetesImageArtifact) 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
AdminLeadGenListingRevision Listing revision details for lead gen listings
type AdminLeadGenListingRevision struct {
// The OCID for the listing revision in Marketplace Publisher.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// The OCID for the publisher in Marketplace Publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The name for the listing revision.
DisplayName *string `mandatory:"true" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// The time the listing revision was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the listing revision was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The user OCID of the administrator who approved the listing revision.
ApproverId *string `mandatory:"false" json:"approverId"`
// The email address of the administrator who approved the listing revision.
ApproverEmail *string `mandatory:"false" json:"approverEmail"`
// The revision number of the listing revision. This is an internal attribute
RevisionNumber *string `mandatory:"false" json:"revisionNumber"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description of the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
Banner *ListingRevisionBannerAttachment `mandatory:"false" json:"banner"`
// Status notes for the listing revision.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Additional metadata key/value pairs for the listing revision.
// For example:
// `{"oracleStandardTermVersionId": "1234"}`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// System requirements for the listing revision.
SystemRequirements *string `mandatory:"false" json:"systemRequirements"`
// Url to demo of the listing
DemoUrl *string `mandatory:"false" json:"demoUrl"`
// Url to training resources of the listing
SelfPacedTrainingUrl *string `mandatory:"false" json:"selfPacedTrainingUrl"`
// OCIDs of service listings attached to lead gen listing
RecommendedServiceProviderListingIds []string `mandatory:"false" json:"recommendedServiceProviderListingIds"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
DownloadInfo *DownloadInfo `mandatory:"false" json:"downloadInfo"`
// Pricing details for lead gen listing
PricingPlans *string `mandatory:"false" json:"pricingPlans"`
// List of Products subscribed by listing.
Products []AdminListingProduct `mandatory:"false" json:"products"`
// The current status for the listing revision.
Status ListingRevisionStatusEnum `mandatory:"true" json:"status"`
// The current state of the listing revision.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The listing's package type. Populated from the listing.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// The pricing model for the listing revision.
PricingType OciListingRevisionPricingTypeEnum `mandatory:"false" json:"pricingType,omitempty"`
}
func (m AdminLeadGenListingRevision) GetApproverEmail() *string
GetApproverEmail returns ApproverEmail
func (m AdminLeadGenListingRevision) GetApproverId() *string
GetApproverId returns ApproverId
func (m AdminLeadGenListingRevision) GetBanner() *ListingRevisionBannerAttachment
GetBanner returns Banner
func (m AdminLeadGenListingRevision) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminLeadGenListingRevision) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m AdminLeadGenListingRevision) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminLeadGenListingRevision) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminLeadGenListingRevision) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m AdminLeadGenListingRevision) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminLeadGenListingRevision) GetHeadline() *string
GetHeadline returns Headline
func (m AdminLeadGenListingRevision) GetIcon() *ListingRevisionIconAttachment
GetIcon returns Icon
func (m AdminLeadGenListingRevision) GetId() *string
GetId returns Id
func (m AdminLeadGenListingRevision) GetKeywords() *string
GetKeywords returns Keywords
func (m AdminLeadGenListingRevision) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminLeadGenListingRevision) GetLifecycleState() ListingRevisionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminLeadGenListingRevision) GetListingId() *string
GetListingId returns ListingId
func (m AdminLeadGenListingRevision) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m AdminLeadGenListingRevision) GetPackageType() PackageTypeEnum
GetPackageType returns PackageType
func (m AdminLeadGenListingRevision) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m AdminLeadGenListingRevision) GetRevisionNumber() *string
GetRevisionNumber returns RevisionNumber
func (m AdminLeadGenListingRevision) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m AdminLeadGenListingRevision) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m AdminLeadGenListingRevision) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m AdminLeadGenListingRevision) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m AdminLeadGenListingRevision) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m AdminLeadGenListingRevision) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m AdminLeadGenListingRevision) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminLeadGenListingRevision) GetTagline() *string
GetTagline returns Tagline
func (m AdminLeadGenListingRevision) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminLeadGenListingRevision) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminLeadGenListingRevision) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m AdminLeadGenListingRevision) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminLeadGenListingRevision) String() string
func (m AdminLeadGenListingRevision) 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
AdminListing The model for the Admin Marketplace Publisher listing.
type AdminListing struct {
// Unique OCID identifier for the listing.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The listing type for the listing.
ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`
// Name for the listing.
Name *string `mandatory:"true" json:"name"`
// The package type for the listing.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// The current state of the listing revision.
LifecycleState ListingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the listing was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the listing was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Additional metadata key/value pairs for the listing summary.
// For example:
// `{"listingRevisionStatus": "Published","listingRevision": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// List of parts provider by marketplace admin.
Parts []ListingPart `mandatory:"false" json:"parts"`
// Indicates whether the listing is featured.
IsFeatured *bool `mandatory:"false" json:"isFeatured"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminListing) String() string
func (m AdminListing) 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
AdminListingProduct Products associated with listing.
type AdminListingProduct struct {
// Product Code
Code *string `mandatory:"false" json:"code"`
// List of category codes within a Product which are applicable to the listing revision.
Categories []string `mandatory:"false" json:"categories"`
// The product group for the product.
ProductGroup *string `mandatory:"false" json:"productGroup"`
// The product name for the product.
ProductName *string `mandatory:"false" json:"productName"`
// Custom filter for the product
AdditionalFilters []ListingProductAdditionalFilter `mandatory:"false" json:"additionalFilters"`
}
func (m AdminListingProduct) String() string
func (m AdminListingProduct) 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
AdminListingRevision The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
type AdminListingRevision interface {
// The OCID for the listing revision in Marketplace Publisher.
GetId() *string
// The unique identifier for the listing this revision belongs to.
GetListingId() *string
// The OCID for the publisher in Marketplace Publisher.
GetPublisherId() *string
// The name for the listing revision.
GetDisplayName() *string
// Single line introduction for the listing revision.
GetHeadline() *string
// The time the listing revision was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the listing revision was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// The current status for the listing revision.
GetStatus() ListingRevisionStatusEnum
// The current state of the listing revision.
GetLifecycleState() ListingRevisionLifecycleStateEnum
// The listing's package type. Populated from the listing.
GetPackageType() PackageTypeEnum
// The unique legacy identifier for the listing.
GetLegacyId() *string
// The unique identifier for the compartment.
GetCompartmentId() *string
// The user OCID of the administrator who approved the listing revision.
GetApproverId() *string
// The email address of the administrator who approved the listing revision.
GetApproverEmail() *string
// The revision number of the listing revision. This is an internal attribute
GetRevisionNumber() *string
// The tagline for the listing revision.
GetTagline() *string
// Keywords associated with the listing revision.
GetKeywords() *string
// A short description of the listing revision.
GetShortDescription() *string
// Usage information for the listing revision.
GetUsageInformation() *string
// A long description for the listing revision.
GetLongDescription() *string
GetContentLanguage() *LanguageItem
// Languages supported by the publisher for the listing revision.
GetSupportedlanguages() []LanguageItem
// Contact information to use to get support from the publisher for the listing revision.
GetSupportContacts() []SupportContact
// Links to support resources for the listing revision.
GetSupportLinks() []NamedLink
GetIcon() *ListingRevisionIconAttachment
GetBanner() *ListingRevisionBannerAttachment
// Status notes for the listing revision.
GetStatusNotes() *string
// Additional metadata key/value pairs for the listing revision.
// For example:
// `{"oracleStandardTermVersionId": "1234"}`
GetExtendedMetadata() map[string]string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
}
AdminListingRevisionAttachment A attachment for the listing revision. User can provide an external URL/upload a file
type AdminListingRevisionAttachment interface {
// Unique OCID identifier for the listing revision attachment.
GetId() *string
// The unique identifier for the compartment.
GetCompartmentId() *string
// The unique identifier of the listing revision that the specified attachment belongs to.
GetListingRevisionId() *string
// Name of the listing revision attachment.
GetDisplayName() *string
// The current state of the attachment.
GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
// The time the attachment was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the attachment was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// Description of the listing revision attachment.
GetDescription() *string
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
GetSourceType() ListingRevisionAttachmentSourceTypeEnum
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
}
AdminListingRevisionAttachmentCollection Results of the listing attachments search. Contains attachment items.
type AdminListingRevisionAttachmentCollection struct {
// List of attachment summary.
Items []AdminListingRevisionAttachmentSummary `mandatory:"true" json:"items"`
}
func (m AdminListingRevisionAttachmentCollection) String() string
func (m AdminListingRevisionAttachmentCollection) 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
AdminListingRevisionAttachmentSummary The model for a summary of a admin listing revision related attachments.
type AdminListingRevisionAttachmentSummary struct {
// The OCID of the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The ID of the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name of the specified document.
DisplayName *string `mandatory:"true" json:"displayName"`
// The specified attachment type.
AttachmentType ListingRevisionAttachmentAttachmentTypeEnum `mandatory:"true" json:"attachmentType"`
// The URL of the specified attachment.
ContentUrl *string `mandatory:"true" json:"contentUrl"`
// The date and time the related document was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the related document was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The specified attachment type is Internal or External.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The specified document type.
DocumentCategory ListingRevisionAttachmentSummaryDocumentCategoryEnum `mandatory:"false" json:"documentCategory,omitempty"`
// Identifies whether the attachment is for Internal Oracle Users or external users as well.
IsOracleUsersOnly *bool `mandatory:"false" json:"isOracleUsersOnly"`
// The MIME type of the screenshot.
MimeType *string `mandatory:"false" json:"mimeType"`
// The current state of the document.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminListingRevisionAttachmentSummary) String() string
func (m AdminListingRevisionAttachmentSummary) 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
AdminListingRevisionCollection Results of admin listing revision search. Contains Listing revision items.
type AdminListingRevisionCollection struct {
// List of listing revision summary.
Items []AdminListingRevisionSummary `mandatory:"true" json:"items"`
}
func (m AdminListingRevisionCollection) String() string
func (m AdminListingRevisionCollection) 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
AdminListingRevisionPackage A base object for all types of listing revision packages.
type AdminListingRevisionPackage interface {
// The name of the listing revision package.
GetDisplayName() *string
// The unique identifier for the listing revision.
GetListingRevisionId() *string
// The unique identifier for the compartment.
GetCompartmentId() *string
// The unique identifier for the artifact.
GetArtifactId() *string
// The unique identifier for the term.
GetTermId() *string
// The version for the package.
GetPackageVersion() *string
// The current state for the listing revision package.
GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
// The current status for the listing revision package.
GetStatus() ListingRevisionPackageStatusEnum
// Identifies whether security upgrades will be provided for this package.
GetAreSecurityUpgradesProvided() *bool
// Identifies that this will be default package for the listing revision.
GetIsDefault() *bool
// The date and time this listing revision 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
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
GetTimeUpdated() *common.SDKTime
// The OCID for the listing revision package in Marketplace Publisher.
GetId() *string
// The unique legacy identifier for the listing.
GetLegacyId() *string
// The description of this package.
GetDescription() *string
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
GetExtendedMetadata() map[string]string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
}
AdminListingRevisionPackageCollection Results of package search. Contains Package items.
type AdminListingRevisionPackageCollection struct {
// List of package summary.
Items []AdminListingRevisionPackageSummary `mandatory:"true" json:"items"`
}
func (m AdminListingRevisionPackageCollection) String() string
func (m AdminListingRevisionPackageCollection) 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
AdminListingRevisionPackageSummary The model for a summary of a package.
type AdminListingRevisionPackageSummary struct {
// The ID of the listing revision package.
Id *string `mandatory:"true" json:"id"`
// The ID of the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The version of the specified package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// The specified package's type.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// The current state of the Package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status of the package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
// The date and time the publication package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the publication package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"false" json:"isDefault"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminListingRevisionPackageSummary) String() string
func (m AdminListingRevisionPackageSummary) 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
AdminListingRevisionSummary The model for a summary of an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
type AdminListingRevisionSummary struct {
// The OCID for the listing revision in Marketplace Publisher.
Id *string `mandatory:"true" json:"id"`
// The OCID for the Listing in Marketplace Publisher.
ListingId *string `mandatory:"true" json:"listingId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID for the publisher in Marketplace Publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The display name for the listing revision.
DisplayName *string `mandatory:"true" json:"displayName"`
// The current status for the listing revision.
Status ListingRevisionStatusEnum `mandatory:"true" json:"status"`
// The current state for the listing revision.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The listing's package type.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// The listing's type. Populated from the listing.
ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`
// The date and time the listing revision was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the listing revision was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
// List of Pricing Plans provided by publisher.
PricingPlans []PricingPlan `mandatory:"false" json:"pricingPlans"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
// System requirements for the listing revision.
SystemRequirements *string `mandatory:"false" json:"systemRequirements"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// Number of trained professional per product
TrainedProfessionals []TrainedProfessionals `mandatory:"false" json:"trainedProfessionals"`
// Support details based on geographic location
GeoLocations []GeoLocation `mandatory:"false" json:"geoLocations"`
// The pricing model for the listing revision.
PricingType AdminListingRevisionSummaryPricingTypeEnum `mandatory:"false" json:"pricingType,omitempty"`
// Markets associated with Listing revision.
Markets []string `mandatory:"false" json:"markets"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// List of Admin Products subscribed by listing.
Products []AdminListingProduct `mandatory:"false" json:"products"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
Banner *ListingRevisionBannerAttachment `mandatory:"false" json:"banner"`
// Url to demo of the listing
DemoUrl *string `mandatory:"false" json:"demoUrl"`
// List of industries subscribed by listing.
Industries []string `mandatory:"false" json:"industries"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminListingRevisionSummary) String() string
func (m *AdminListingRevisionSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AdminListingRevisionSummary) 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
AdminListingRevisionSummaryPricingTypeEnum Enum with underlying type: string
type AdminListingRevisionSummaryPricingTypeEnum string
Set of constants representing the allowable values for AdminListingRevisionSummaryPricingTypeEnum
const (
AdminListingRevisionSummaryPricingTypeFree AdminListingRevisionSummaryPricingTypeEnum = "FREE"
AdminListingRevisionSummaryPricingTypeByol AdminListingRevisionSummaryPricingTypeEnum = "BYOL"
AdminListingRevisionSummaryPricingTypePaygo AdminListingRevisionSummaryPricingTypeEnum = "PAYGO"
)
func GetAdminListingRevisionSummaryPricingTypeEnumValues() []AdminListingRevisionSummaryPricingTypeEnum
GetAdminListingRevisionSummaryPricingTypeEnumValues Enumerates the set of values for AdminListingRevisionSummaryPricingTypeEnum
func GetMappingAdminListingRevisionSummaryPricingTypeEnum(val string) (AdminListingRevisionSummaryPricingTypeEnum, bool)
GetMappingAdminListingRevisionSummaryPricingTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AdminMachineImageArtifact Machine Image artifact details.
type AdminMachineImageArtifact struct {
// Unique OCID identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// A display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
MachineImage *MachineImageDetails `mandatory:"true" json:"machineImage"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Status notes for the Artifact.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AdminMachineImageArtifact) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminMachineImageArtifact) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminMachineImageArtifact) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminMachineImageArtifact) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminMachineImageArtifact) GetId() *string
GetId returns Id
func (m AdminMachineImageArtifact) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminMachineImageArtifact) GetLifecycleState() ArtifactLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminMachineImageArtifact) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m AdminMachineImageArtifact) GetStatus() ArtifactStatusEnum
GetStatus returns Status
func (m AdminMachineImageArtifact) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m AdminMachineImageArtifact) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminMachineImageArtifact) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminMachineImageArtifact) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminMachineImageArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminMachineImageArtifact) String() string
func (m AdminMachineImageArtifact) 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
AdminMachineImagePackage A package for machine image listings.
type AdminMachineImagePackage struct {
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The unique identifier for the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"true" json:"artifactId"`
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// The version for the package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"true" json:"isDefault"`
// The date and time this listing revision 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:"true" json:"timeCreated"`
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID for the listing revision package in Marketplace Publisher.
Id *string `mandatory:"false" json:"id"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// The description of this package.
Description *string `mandatory:"false" json:"description"`
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
MachineImageDetails *MachineImagePackageDetails `mandatory:"false" json:"machineImageDetails"`
// The current state for the listing revision package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the listing revision package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
}
func (m AdminMachineImagePackage) GetAreSecurityUpgradesProvided() *bool
GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided
func (m AdminMachineImagePackage) GetArtifactId() *string
GetArtifactId returns ArtifactId
func (m AdminMachineImagePackage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminMachineImagePackage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminMachineImagePackage) GetDescription() *string
GetDescription returns Description
func (m AdminMachineImagePackage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminMachineImagePackage) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m AdminMachineImagePackage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminMachineImagePackage) GetId() *string
GetId returns Id
func (m AdminMachineImagePackage) GetIsDefault() *bool
GetIsDefault returns IsDefault
func (m AdminMachineImagePackage) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminMachineImagePackage) GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminMachineImagePackage) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminMachineImagePackage) GetPackageVersion() *string
GetPackageVersion returns PackageVersion
func (m AdminMachineImagePackage) GetStatus() ListingRevisionPackageStatusEnum
GetStatus returns Status
func (m AdminMachineImagePackage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminMachineImagePackage) GetTermId() *string
GetTermId returns TermId
func (m AdminMachineImagePackage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminMachineImagePackage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminMachineImagePackage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminMachineImagePackage) String() string
func (m AdminMachineImagePackage) 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
AdminMarket The model for the admin market details.
type AdminMarket struct {
// The name of the market.
Name *string `mandatory:"true" json:"name"`
// The code of the market.
Code *string `mandatory:"true" json:"code"`
// The category code of the market.
CategoryCode *string `mandatory:"true" json:"categoryCode"`
// bill to countries for the market.
BillToCountries []AdminBillToCountries `mandatory:"true" json:"billToCountries"`
}
func (m AdminMarket) String() string
func (m AdminMarket) 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
AdminOciListingRevision Listing revision details for listings
type AdminOciListingRevision struct {
// The OCID for the listing revision in Marketplace Publisher.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// The OCID for the publisher in Marketplace Publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The name for the listing revision.
DisplayName *string `mandatory:"true" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// The time the listing revision was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the listing revision was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The user OCID of the administrator who approved the listing revision.
ApproverId *string `mandatory:"false" json:"approverId"`
// The email address of the administrator who approved the listing revision.
ApproverEmail *string `mandatory:"false" json:"approverEmail"`
// The revision number of the listing revision. This is an internal attribute
RevisionNumber *string `mandatory:"false" json:"revisionNumber"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description of the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
Banner *ListingRevisionBannerAttachment `mandatory:"false" json:"banner"`
// Status notes for the listing revision.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Additional metadata key/value pairs for the listing revision.
// For example:
// `{"oracleStandardTermVersionId": "1234"}`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// System requirements for the listing revision.
SystemRequirements *string `mandatory:"false" json:"systemRequirements"`
// List of Products subscribed by listing.
Products []AdminListingProduct `mandatory:"false" json:"products"`
// The url provided by partner for the registration of subscription.
PartnerRegistrationUrl *string `mandatory:"false" json:"partnerRegistrationUrl"`
// The unique id of the term attached to the listing.
TermId *string `mandatory:"false" json:"termId"`
// List of Pricing Plans provided by publisher.
PricingPlans []PricingPlan `mandatory:"false" json:"pricingPlans"`
// The markets where the listing will be published.
Markets []AdminMarket `mandatory:"false" json:"markets"`
// Allowed tenancies provided when a listing revision is published as private.
AllowedTenancies []string `mandatory:"false" json:"allowedTenancies"`
// Identifies whether publisher allows internal tenancy launches for the listing revision.
AreInternalTenancyLaunchAllowed *bool `mandatory:"false" json:"areInternalTenancyLaunchAllowed"`
// Is this listing rover exportable
IsRoverExportable *bool `mandatory:"false" json:"isRoverExportable"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
// Url to demo of the listing
DemoUrl *string `mandatory:"false" json:"demoUrl"`
// Url to training resources of the listing
SelfPacedTrainingUrl *string `mandatory:"false" json:"selfPacedTrainingUrl"`
// The current status for the listing revision.
Status ListingRevisionStatusEnum `mandatory:"true" json:"status"`
// The current state of the listing revision.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The listing's package type. Populated from the listing.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// The pricing model for the listing revision.
PricingType OciListingRevisionPricingTypeEnum `mandatory:"false" json:"pricingType,omitempty"`
}
func (m AdminOciListingRevision) GetApproverEmail() *string
GetApproverEmail returns ApproverEmail
func (m AdminOciListingRevision) GetApproverId() *string
GetApproverId returns ApproverId
func (m AdminOciListingRevision) GetBanner() *ListingRevisionBannerAttachment
GetBanner returns Banner
func (m AdminOciListingRevision) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminOciListingRevision) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m AdminOciListingRevision) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminOciListingRevision) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminOciListingRevision) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m AdminOciListingRevision) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminOciListingRevision) GetHeadline() *string
GetHeadline returns Headline
func (m AdminOciListingRevision) GetIcon() *ListingRevisionIconAttachment
GetIcon returns Icon
func (m AdminOciListingRevision) GetId() *string
GetId returns Id
func (m AdminOciListingRevision) GetKeywords() *string
GetKeywords returns Keywords
func (m AdminOciListingRevision) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminOciListingRevision) GetLifecycleState() ListingRevisionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminOciListingRevision) GetListingId() *string
GetListingId returns ListingId
func (m AdminOciListingRevision) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m AdminOciListingRevision) GetPackageType() PackageTypeEnum
GetPackageType returns PackageType
func (m AdminOciListingRevision) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m AdminOciListingRevision) GetRevisionNumber() *string
GetRevisionNumber returns RevisionNumber
func (m AdminOciListingRevision) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m AdminOciListingRevision) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m AdminOciListingRevision) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m AdminOciListingRevision) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m AdminOciListingRevision) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m AdminOciListingRevision) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m AdminOciListingRevision) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminOciListingRevision) GetTagline() *string
GetTagline returns Tagline
func (m AdminOciListingRevision) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminOciListingRevision) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminOciListingRevision) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m AdminOciListingRevision) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminOciListingRevision) String() string
func (m *AdminOciListingRevision) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AdminOciListingRevision) 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
AdminOpnPartnerSummary OPN partner summary.
type AdminOpnPartnerSummary struct {
// The id for company.
CompanyId *string `mandatory:"true" json:"companyId"`
// Partner Name.
PartnerName *string `mandatory:"true" json:"partnerName"`
// Partner Name.
LevelProgramName *string `mandatory:"true" json:"levelProgramName"`
// The OPN membership status.
MembershipStatus AdminOpnPartnerSummaryMembershipStatusEnum `mandatory:"true" json:"membershipStatus"`
// OPN membership type
MembershipType *string `mandatory:"true" json:"membershipType"`
// The start date.
StartDate *string `mandatory:"false" json:"startDate"`
// The end date.
EndDate *string `mandatory:"false" json:"endDate"`
// The address of the partner.
StreetAddress1 *string `mandatory:"false" json:"streetAddress1"`
// The address of the partner.
StreetAddress2 *string `mandatory:"false" json:"streetAddress2"`
// City
City *string `mandatory:"false" json:"city"`
// State
State *string `mandatory:"false" json:"state"`
// Zip
Zipcode *string `mandatory:"false" json:"zipcode"`
// Country
Country *string `mandatory:"false" json:"country"`
// The phone number of the contact.
PhoneNumber *string `mandatory:"false" json:"phoneNumber"`
// The URL for partner's service.
PartnerUrl *string `mandatory:"false" json:"partnerUrl"`
// The total number of employees.
NumberOfEmployees *string `mandatory:"false" json:"numberOfEmployees"`
// The last updated timestamp in format "yyyy-MM-dd HH:mm:ss.S".
LastUpdated *string `mandatory:"false" json:"lastUpdated"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminOpnPartnerSummary) String() string
func (m AdminOpnPartnerSummary) 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
AdminOpnPartnerSummaryMembershipStatusEnum Enum with underlying type: string
type AdminOpnPartnerSummaryMembershipStatusEnum string
Set of constants representing the allowable values for AdminOpnPartnerSummaryMembershipStatusEnum
const (
AdminOpnPartnerSummaryMembershipStatusActive AdminOpnPartnerSummaryMembershipStatusEnum = "ACTIVE"
AdminOpnPartnerSummaryMembershipStatusInactive AdminOpnPartnerSummaryMembershipStatusEnum = "INACTIVE"
AdminOpnPartnerSummaryMembershipStatusRenewalInProgress AdminOpnPartnerSummaryMembershipStatusEnum = "RENEWAL_IN_PROGRESS"
)
func GetAdminOpnPartnerSummaryMembershipStatusEnumValues() []AdminOpnPartnerSummaryMembershipStatusEnum
GetAdminOpnPartnerSummaryMembershipStatusEnumValues Enumerates the set of values for AdminOpnPartnerSummaryMembershipStatusEnum
func GetMappingAdminOpnPartnerSummaryMembershipStatusEnum(val string) (AdminOpnPartnerSummaryMembershipStatusEnum, bool)
GetMappingAdminOpnPartnerSummaryMembershipStatusEnum performs case Insensitive comparison on enum value and return the desired enum
AdminPublisher The model for a publisher details.
type AdminPublisher struct {
// Unique OCID identifier for the publisher.
Id *string `mandatory:"true" json:"id"`
// The root compartment of the Publisher.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The namespace for the publisher registry to persist artifacts.
RegistryNamespace *string `mandatory:"true" json:"registryNamespace"`
// The name of the publisher.
DisplayName *string `mandatory:"true" json:"displayName"`
// The public email address of the publisher for customers.
ContactEmail *string `mandatory:"true" json:"contactEmail"`
// The phone number of the publisher in E.164 format.
ContactPhone *string `mandatory:"true" json:"contactPhone"`
// publisher type.
PublisherType PublisherSummaryPublisherTypeEnum `mandatory:"true" json:"publisherType"`
// The time the publisher was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the publisher was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// publisher status.
PublisherStatus PublisherStatusEnum `mandatory:"true" json:"publisherStatus"`
// The root compartment name of the Publisher.
CompartmentName *string `mandatory:"false" json:"compartmentName"`
// First Name of the publisher
FirstName *string `mandatory:"false" json:"firstName"`
// Last Name of the publisher
LastName *string `mandatory:"false" json:"lastName"`
// Email address of the publisher.
Email *string `mandatory:"false" json:"email"`
// The status for the publisher.
Status PublisherStatusEnum `mandatory:"false" json:"status,omitempty"`
// Unique legacy service identifier for the publisher.
LegacyId *string `mandatory:"false" json:"legacyId"`
// A description of the publisher.
Description *string `mandatory:"false" json:"description"`
// A description of the publisher solutions.
SolutionDescription *string `mandatory:"false" json:"solutionDescription"`
// The year the publisher's company or organization was founded.
YearFounded *int64 `mandatory:"false" json:"yearFounded"`
// Count of employees in publisher's company
EmployeeCount *string `mandatory:"false" json:"employeeCount"`
// Indicates who modified the publisher data.
ModifiedBy *string `mandatory:"false" json:"modifiedBy"`
// Indicates if publisher is Oracle first-party or third-party
IsOracleOwned *bool `mandatory:"false" json:"isOracleOwned"`
// Indicates whether this publisher is explicitly exempt from OPN and Oracle Cloud Marketplace Agreement validation.
IsOpnAgreementValidationExempt *bool `mandatory:"false" json:"isOpnAgreementValidationExempt"`
PartnerPortalOptions *PartnerPortalOptions `mandatory:"false" json:"partnerPortalOptions"`
// The publisher's website.
WebsiteUrl *string `mandatory:"false" json:"websiteUrl"`
// The address of the publisher's headquarters.
HqAddress *string `mandatory:"false" json:"hqAddress"`
Logo *UploadData `mandatory:"false" json:"logo"`
// Publisher's Facebook URL
FacebookUrl *string `mandatory:"false" json:"facebookUrl"`
// Publisher's Twitter URL
TwitterUrl *string `mandatory:"false" json:"twitterUrl"`
// Publisher's LinkedIn URL
LinkedinUrl *string `mandatory:"false" json:"linkedinUrl"`
// Indicates if publisher has application listings
IsAppPublisher *bool `mandatory:"false" json:"isAppPublisher"`
// Indicates if publisher has service listings
IsServicePublisher *bool `mandatory:"false" json:"isServicePublisher"`
// the expiry time of the publisher
TimeExpired *common.SDKTime `mandatory:"false" json:"timeExpired"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The private email address of the publisher product team.
NotificationEmail *string `mandatory:"false" json:"notificationEmail"`
OpnMembership *OpnMembership `mandatory:"false" json:"opnMembership"`
PrivateOfferAccountDetails *PrivateOfferAccountDetails `mandatory:"false" json:"privateOfferAccountDetails"`
// Whether automatic FX conversion is enabled for the publisher.
IsFxEnabled *bool `mandatory:"false" json:"isFxEnabled"`
// upload access object storage par url
UploadOsParUrl *string `mandatory:"false" json:"uploadOsParUrl"`
}
func (m AdminPublisher) String() string
func (m AdminPublisher) 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
AdminPublisherSku Sku details for private offers
type AdminPublisherSku struct {
// Sku name
ProductCode *string `mandatory:"true" json:"productCode"`
// Sku description
Description *string `mandatory:"true" json:"description"`
// List of pricing rates for listing
Rates []AdminSkuPricingRate `mandatory:"true" json:"rates"`
// The meter of the SKU.
Meter *string `mandatory:"false" json:"meter"`
}
func (m AdminPublisherSku) String() string
func (m AdminPublisherSku) 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
AdminPublisherSkuCollection Results of admin listing SKU retrieval. Contains SKU items.
type AdminPublisherSkuCollection struct {
// List of SKUs.
Items []AdminPublisherSku `mandatory:"true" json:"items"`
}
func (m AdminPublisherSkuCollection) String() string
func (m AdminPublisherSkuCollection) 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
AdminPublisherSummary The model for a publisher.
type AdminPublisherSummary struct {
// Unique OCID identifier for the publisher.
Id *string `mandatory:"true" json:"id"`
// The root compartment of the Publisher.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The namespace for the publisher registry to persist artifacts.
RegistryNamespace *string `mandatory:"true" json:"registryNamespace"`
// The name of the publisher.
DisplayName *string `mandatory:"true" json:"displayName"`
// The public email address of the publisher for customers.
ContactEmail *string `mandatory:"true" json:"contactEmail"`
// The phone number of the publisher in E.164 format.
ContactPhone *string `mandatory:"true" json:"contactPhone"`
// publisher type.
PublisherType PublisherSummaryPublisherTypeEnum `mandatory:"true" json:"publisherType"`
// The time the publisher was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the publisher was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The root compartment name of the Publisher.
CompartmentName *string `mandatory:"false" json:"compartmentName"`
// First Name of the publisher
FirstName *string `mandatory:"false" json:"firstName"`
// Last Name of the publisher
LastName *string `mandatory:"false" json:"lastName"`
// Email address of the publisher.
Email *string `mandatory:"false" json:"email"`
// The status for the publisher.
Status PublisherStatusEnum `mandatory:"false" json:"status,omitempty"`
// Unique legacy service identifier for the publisher.
LegacyId *string `mandatory:"false" json:"legacyId"`
// A description of the publisher.
Description *string `mandatory:"false" json:"description"`
// A description of the publisher solutions.
SolutionDescription *string `mandatory:"false" json:"solutionDescription"`
// The year the publisher's company or organization was founded.
YearFounded *int64 `mandatory:"false" json:"yearFounded"`
// Count of employees in publisher's company
EmployeeCount *string `mandatory:"false" json:"employeeCount"`
// Indicates who modified the publisher data.
ModifiedBy *string `mandatory:"false" json:"modifiedBy"`
// Indicates if publisher is Oracle first-party or third-party
IsOracleOwned *bool `mandatory:"false" json:"isOracleOwned"`
// Indicates whether this publisher is explicitly exempt from OPN and Oracle Cloud Marketplace Agreement validation.
IsOpnAgreementValidationExempt *bool `mandatory:"false" json:"isOpnAgreementValidationExempt"`
PartnerPortalOptions *PartnerPortalOptions `mandatory:"false" json:"partnerPortalOptions"`
// The publisher's website.
WebsiteUrl *string `mandatory:"false" json:"websiteUrl"`
// The address of the publisher's headquarters.
HqAddress *string `mandatory:"false" json:"hqAddress"`
Logo *UploadData `mandatory:"false" json:"logo"`
// Publisher's Facebook URL
FacebookUrl *string `mandatory:"false" json:"facebookUrl"`
// Publisher's Twitter URL
TwitterUrl *string `mandatory:"false" json:"twitterUrl"`
// Publisher's LinkedIn URL
LinkedinUrl *string `mandatory:"false" json:"linkedinUrl"`
// Indicates if publisher has application listings
IsAppPublisher *bool `mandatory:"false" json:"isAppPublisher"`
// Indicates if publisher has service listings
IsServicePublisher *bool `mandatory:"false" json:"isServicePublisher"`
// the expiry time of the publisher
TimeExpired *common.SDKTime `mandatory:"false" json:"timeExpired"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminPublisherSummary) String() string
func (m AdminPublisherSummary) 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
AdminRelatedDocumentAttachment Related document attachment for the listing revision.
type AdminRelatedDocumentAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Identifies whether the attachment is for Internal Oracle Users or external users as well.
IsOracleUsersOnly *bool `mandatory:"false" json:"isOracleUsersOnly"`
// URL of the uploaded document.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AdminRelatedDocumentAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminRelatedDocumentAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminRelatedDocumentAttachment) GetDescription() *string
GetDescription returns Description
func (m AdminRelatedDocumentAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminRelatedDocumentAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminRelatedDocumentAttachment) GetId() *string
GetId returns Id
func (m AdminRelatedDocumentAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminRelatedDocumentAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminRelatedDocumentAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m AdminRelatedDocumentAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminRelatedDocumentAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminRelatedDocumentAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminRelatedDocumentAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminRelatedDocumentAttachment) String() string
func (m AdminRelatedDocumentAttachment) 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
AdminReviewSupportDocumentAttachment Review support attachment for the listing revision.
type AdminReviewSupportDocumentAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Name of the review support document
DocumentName *string `mandatory:"true" json:"documentName"`
// Template code for the uploaded document
TemplateCode *string `mandatory:"true" json:"templateCode"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Identifies whether the attachment is for Internal Oracle Users or external users as well.
IsOracleUsersOnly *bool `mandatory:"false" json:"isOracleUsersOnly"`
// URL of the uploaded document
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AdminReviewSupportDocumentAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminReviewSupportDocumentAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminReviewSupportDocumentAttachment) GetDescription() *string
GetDescription returns Description
func (m AdminReviewSupportDocumentAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminReviewSupportDocumentAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminReviewSupportDocumentAttachment) GetId() *string
GetId returns Id
func (m AdminReviewSupportDocumentAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminReviewSupportDocumentAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminReviewSupportDocumentAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m AdminReviewSupportDocumentAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminReviewSupportDocumentAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminReviewSupportDocumentAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminReviewSupportDocumentAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminReviewSupportDocumentAttachment) String() string
func (m AdminReviewSupportDocumentAttachment) 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
AdminScreenShotAttachment Screenshot attachment for the listing revision.
type AdminScreenShotAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Identifies whether the attachment is for Internal Oracle Users or external users as well.
IsOracleUsersOnly *bool `mandatory:"false" json:"isOracleUsersOnly"`
// URL of the uploaded document.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AdminScreenShotAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminScreenShotAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminScreenShotAttachment) GetDescription() *string
GetDescription returns Description
func (m AdminScreenShotAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminScreenShotAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminScreenShotAttachment) GetId() *string
GetId returns Id
func (m AdminScreenShotAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminScreenShotAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminScreenShotAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m AdminScreenShotAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminScreenShotAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminScreenShotAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminScreenShotAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminScreenShotAttachment) String() string
func (m AdminScreenShotAttachment) 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
AdminServiceListingRevision Listing revision details for service listings
type AdminServiceListingRevision struct {
// The OCID for the listing revision in Marketplace Publisher.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// The OCID for the publisher in Marketplace Publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The name for the listing revision.
DisplayName *string `mandatory:"true" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// The time the listing revision was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the listing revision was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The user OCID of the administrator who approved the listing revision.
ApproverId *string `mandatory:"false" json:"approverId"`
// The email address of the administrator who approved the listing revision.
ApproverEmail *string `mandatory:"false" json:"approverEmail"`
// The revision number of the listing revision. This is an internal attribute
RevisionNumber *string `mandatory:"false" json:"revisionNumber"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description of the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
Banner *ListingRevisionBannerAttachment `mandatory:"false" json:"banner"`
// Status notes for the listing revision.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Additional metadata key/value pairs for the listing revision.
// For example:
// `{"oracleStandardTermVersionId": "1234"}`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Custom text by partner regarding contact information
ContactUs *string `mandatory:"false" json:"contactUs"`
// List of product code subscribed by listing.
ProductCodes []string `mandatory:"false" json:"productCodes"`
// List of industries subscribed by listing.
Industries []string `mandatory:"false" json:"industries"`
// Number of trained professional per product
TrainedProfessionals []TrainedProfessionals `mandatory:"false" json:"trainedProfessionals"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
// Support details based on geographic location
GeoLocations []GeoLocation `mandatory:"false" json:"geoLocations"`
// List of Products subscribed by listing.
Products []AdminListingProduct `mandatory:"false" json:"products"`
// The current status for the listing revision.
Status ListingRevisionStatusEnum `mandatory:"true" json:"status"`
// The current state of the listing revision.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The listing's package type. Populated from the listing.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
}
func (m AdminServiceListingRevision) GetApproverEmail() *string
GetApproverEmail returns ApproverEmail
func (m AdminServiceListingRevision) GetApproverId() *string
GetApproverId returns ApproverId
func (m AdminServiceListingRevision) GetBanner() *ListingRevisionBannerAttachment
GetBanner returns Banner
func (m AdminServiceListingRevision) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminServiceListingRevision) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m AdminServiceListingRevision) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminServiceListingRevision) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminServiceListingRevision) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m AdminServiceListingRevision) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminServiceListingRevision) GetHeadline() *string
GetHeadline returns Headline
func (m AdminServiceListingRevision) GetIcon() *ListingRevisionIconAttachment
GetIcon returns Icon
func (m AdminServiceListingRevision) GetId() *string
GetId returns Id
func (m AdminServiceListingRevision) GetKeywords() *string
GetKeywords returns Keywords
func (m AdminServiceListingRevision) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminServiceListingRevision) GetLifecycleState() ListingRevisionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminServiceListingRevision) GetListingId() *string
GetListingId returns ListingId
func (m AdminServiceListingRevision) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m AdminServiceListingRevision) GetPackageType() PackageTypeEnum
GetPackageType returns PackageType
func (m AdminServiceListingRevision) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m AdminServiceListingRevision) GetRevisionNumber() *string
GetRevisionNumber returns RevisionNumber
func (m AdminServiceListingRevision) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m AdminServiceListingRevision) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m AdminServiceListingRevision) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m AdminServiceListingRevision) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m AdminServiceListingRevision) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m AdminServiceListingRevision) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m AdminServiceListingRevision) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminServiceListingRevision) GetTagline() *string
GetTagline returns Tagline
func (m AdminServiceListingRevision) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminServiceListingRevision) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminServiceListingRevision) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m AdminServiceListingRevision) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminServiceListingRevision) String() string
func (m AdminServiceListingRevision) 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
AdminSkuPricingRate A pricing plan rate for listing sku.
type AdminSkuPricingRate struct {
// The currency supported, in the format specified by ISO-4217
CurrencyCode *string `mandatory:"true" json:"currencyCode"`
// The amount for the currency type.
UnitPrice *float32 `mandatory:"true" json:"unitPrice"`
}
func (m AdminSkuPricingRate) String() string
func (m AdminSkuPricingRate) 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
AdminStackArtifact Stack artifact details.
type AdminStackArtifact struct {
// Unique OCID identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// A display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
Stack *StackArtifactDetails `mandatory:"true" json:"stack"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Status notes for the Artifact.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AdminStackArtifact) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminStackArtifact) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminStackArtifact) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminStackArtifact) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminStackArtifact) GetId() *string
GetId returns Id
func (m AdminStackArtifact) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminStackArtifact) GetLifecycleState() ArtifactLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminStackArtifact) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m AdminStackArtifact) GetStatus() ArtifactStatusEnum
GetStatus returns Status
func (m AdminStackArtifact) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m AdminStackArtifact) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminStackArtifact) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminStackArtifact) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminStackArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminStackArtifact) String() string
func (m AdminStackArtifact) 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
AdminStackPackage A package for Stack listings.
type AdminStackPackage struct {
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The unique identifier for the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"true" json:"artifactId"`
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// The version for the package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"true" json:"isDefault"`
// The date and time this listing revision 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:"true" json:"timeCreated"`
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID for the listing revision package in Marketplace Publisher.
Id *string `mandatory:"false" json:"id"`
// The unique legacy identifier for the listing.
LegacyId *string `mandatory:"false" json:"legacyId"`
// The description of this package.
Description *string `mandatory:"false" json:"description"`
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current state for the listing revision package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the listing revision package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
}
func (m AdminStackPackage) GetAreSecurityUpgradesProvided() *bool
GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided
func (m AdminStackPackage) GetArtifactId() *string
GetArtifactId returns ArtifactId
func (m AdminStackPackage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminStackPackage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminStackPackage) GetDescription() *string
GetDescription returns Description
func (m AdminStackPackage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminStackPackage) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m AdminStackPackage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminStackPackage) GetId() *string
GetId returns Id
func (m AdminStackPackage) GetIsDefault() *bool
GetIsDefault returns IsDefault
func (m AdminStackPackage) GetLegacyId() *string
GetLegacyId returns LegacyId
func (m AdminStackPackage) GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminStackPackage) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminStackPackage) GetPackageVersion() *string
GetPackageVersion returns PackageVersion
func (m AdminStackPackage) GetStatus() ListingRevisionPackageStatusEnum
GetStatus returns Status
func (m AdminStackPackage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminStackPackage) GetTermId() *string
GetTermId returns TermId
func (m AdminStackPackage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminStackPackage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminStackPackage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminStackPackage) String() string
func (m AdminStackPackage) 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
AdminSupportedServiceAttachment Supported service attachment for the listing revision.
type AdminSupportedServiceAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Name of the service
ServiceName *string `mandatory:"true" json:"serviceName"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Identifies whether the attachment is for Internal Oracle Users or external users as well.
IsOracleUsersOnly *bool `mandatory:"false" json:"isOracleUsersOnly"`
// Optional url to service
Url *string `mandatory:"false" json:"url"`
// URL of the uploaded document.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Type of service
Type SupportedServiceAttachmentTypeEnum `mandatory:"true" json:"type"`
}
func (m AdminSupportedServiceAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminSupportedServiceAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminSupportedServiceAttachment) GetDescription() *string
GetDescription returns Description
func (m AdminSupportedServiceAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminSupportedServiceAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminSupportedServiceAttachment) GetId() *string
GetId returns Id
func (m AdminSupportedServiceAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminSupportedServiceAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminSupportedServiceAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m AdminSupportedServiceAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminSupportedServiceAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminSupportedServiceAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminSupportedServiceAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminSupportedServiceAttachment) String() string
func (m AdminSupportedServiceAttachment) 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
AdminTerm Base model object for the admin term.
type AdminTerm struct {
// The name for the term.
Name *string `mandatory:"true" json:"name"`
// Who authored the term. Publisher terms will be defaulted to 'PARTNER'.
Author TermAuthorEnum `mandatory:"true" json:"author"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The current state for the Term.
LifecycleState TermLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the term was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the term was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Unique OCID identifier for the term.
Id *string `mandatory:"false" json:"id"`
// The unique legacy identifier for the term.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminTerm) String() string
func (m AdminTerm) 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
AdminTermCollection Results of the term search. Contains term items.
type AdminTermCollection struct {
// List of the Terms summary.
Items []AdminTermSummary `mandatory:"true" json:"items"`
}
func (m AdminTermCollection) String() string
func (m AdminTermCollection) 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
AdminTermSummary The model for the term summary.
type AdminTermSummary struct {
// Unique OCID identifier for the term.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name for the term.
Name *string `mandatory:"true" json:"name"`
// Who authored the term. Publisher terms will be defaulted to as 'PARTNER'.
Author TermAuthorEnum `mandatory:"true" json:"author"`
// The current state for the term version.
LifecycleState TermLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the resource was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The unique legacy identifier for the term.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminTermSummary) String() string
func (m AdminTermSummary) 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
AdminTermVersion Model object for the term version details.
type AdminTermVersion struct {
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// The name for the term version.
DisplayName *string `mandatory:"true" json:"displayName"`
Attachment *AdminTermVersionAttachment `mandatory:"true" json:"attachment"`
// The current status for the term version.
Status TermVersionStatusEnum `mandatory:"true" json:"status"`
// The current state for the term version.
LifecycleState TermVersionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the term version was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the term version was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Unique OCID identifier for the term version.
Id *string `mandatory:"false" json:"id"`
// The unique legacy identifier for the term version.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Who authored the term. Publisher terms will be defaulted to 'PARTNER'.
TermAuthor AdminTermVersionTermAuthorEnum `mandatory:"false" json:"termAuthor,omitempty"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// Who authored the term. Publisher terms will be defaulted to 'PARTNER'.
Author AdminTermVersionAuthorEnum `mandatory:"false" json:"author,omitempty"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminTermVersion) String() string
func (m AdminTermVersion) 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
AdminTermVersionAttachment An attachment uploaded by the Publisher for the term.
type AdminTermVersionAttachment struct {
// The content URL of the uploaded data.
ContentUrl *string `mandatory:"true" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"true" json:"mimeType"`
// The term version content.
TermVersionContent []byte `mandatory:"true" json:"termVersionContent"`
}
func (m AdminTermVersionAttachment) String() string
func (m AdminTermVersionAttachment) 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
AdminTermVersionAuthorEnum Enum with underlying type: string
type AdminTermVersionAuthorEnum string
Set of constants representing the allowable values for AdminTermVersionAuthorEnum
const (
AdminTermVersionAuthorOracle AdminTermVersionAuthorEnum = "ORACLE"
AdminTermVersionAuthorPartner AdminTermVersionAuthorEnum = "PARTNER"
)
func GetAdminTermVersionAuthorEnumValues() []AdminTermVersionAuthorEnum
GetAdminTermVersionAuthorEnumValues Enumerates the set of values for AdminTermVersionAuthorEnum
func GetMappingAdminTermVersionAuthorEnum(val string) (AdminTermVersionAuthorEnum, bool)
GetMappingAdminTermVersionAuthorEnum performs case Insensitive comparison on enum value and return the desired enum
AdminTermVersionCollection Results of the term version search. Contains term version items.
type AdminTermVersionCollection struct {
// List of the Terms version summary.
Items []AdminTermVersionSummary `mandatory:"true" json:"items"`
}
func (m AdminTermVersionCollection) String() string
func (m AdminTermVersionCollection) 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
AdminTermVersionSummary The model for the admin term version summary.
type AdminTermVersionSummary struct {
// Unique OCID identifier for the term version.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name for the term version.
DisplayName *string `mandatory:"true" json:"displayName"`
// The current status for the term version.
Status TermVersionStatusEnum `mandatory:"true" json:"status"`
// The current state for the Term version.
LifecycleState TermVersionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the term version was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the time version was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The unique legacy identifier for the term version.
LegacyId *string `mandatory:"false" json:"legacyId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m AdminTermVersionSummary) String() string
func (m AdminTermVersionSummary) 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
AdminTermVersionTermAuthorEnum Enum with underlying type: string
type AdminTermVersionTermAuthorEnum string
Set of constants representing the allowable values for AdminTermVersionTermAuthorEnum
const (
AdminTermVersionTermAuthorOracle AdminTermVersionTermAuthorEnum = "ORACLE"
AdminTermVersionTermAuthorPartner AdminTermVersionTermAuthorEnum = "PARTNER"
)
func GetAdminTermVersionTermAuthorEnumValues() []AdminTermVersionTermAuthorEnum
GetAdminTermVersionTermAuthorEnumValues Enumerates the set of values for AdminTermVersionTermAuthorEnum
func GetMappingAdminTermVersionTermAuthorEnum(val string) (AdminTermVersionTermAuthorEnum, bool)
GetMappingAdminTermVersionTermAuthorEnum performs case Insensitive comparison on enum value and return the desired enum
AdminVideoAttachment Video attachment for the listing revision.
type AdminVideoAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The URL for the video.
ContentUrl *string `mandatory:"true" json:"contentUrl"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Identifies whether the attachment is for Internal Oracle Users or external users as well.
IsOracleUsersOnly *bool `mandatory:"false" json:"isOracleUsersOnly"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AdminVideoAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AdminVideoAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AdminVideoAttachment) GetDescription() *string
GetDescription returns Description
func (m AdminVideoAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AdminVideoAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AdminVideoAttachment) GetId() *string
GetId returns Id
func (m AdminVideoAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AdminVideoAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m AdminVideoAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m AdminVideoAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AdminVideoAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AdminVideoAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AdminVideoAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdminVideoAttachment) String() string
func (m AdminVideoAttachment) 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
AdminWorkRequestSummary A summary of the status of a work request.
type AdminWorkRequestSummary 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. If the work request affects multiple resources,
// and those resources are not in the same compartment, it is up to the service team to pick the primary
// resource whose compartment should be used
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// 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 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"`
}
func (m AdminWorkRequestSummary) String() string
func (m AdminWorkRequestSummary) 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
AdminWorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
type AdminWorkRequestSummaryCollection struct {
// List of workRequestSummary objects.
Items []AdminWorkRequestSummary `mandatory:"true" json:"items"`
}
func (m AdminWorkRequestSummaryCollection) String() string
func (m AdminWorkRequestSummaryCollection) 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
AdministratorArtifactClient a client for AdministratorArtifact
type AdministratorArtifactClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewAdministratorArtifactClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AdministratorArtifactClient, err error)
NewAdministratorArtifactClientWithConfigurationProvider Creates a new default AdministratorArtifact client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewAdministratorArtifactClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AdministratorArtifactClient, err error)
NewAdministratorArtifactClientWithOboToken Creates a new default AdministratorArtifact 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 (client *AdministratorArtifactClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client *AdministratorArtifactClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client AdministratorArtifactClient) UpdateAdminArtifactStatus(ctx context.Context, request UpdateAdminArtifactStatusRequest) (response UpdateAdminArtifactStatusResponse, err error)
UpdateAdminArtifactStatus Updates the specified Artifact Status identified by the id.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateAdminArtifactStatus.go.html to see an example of how to use UpdateAdminArtifactStatus API. A default retry strategy applies to this operation UpdateAdminArtifactStatus()
AdministratorPublisherClient a client for AdministratorPublisher
type AdministratorPublisherClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewAdministratorPublisherClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AdministratorPublisherClient, err error)
NewAdministratorPublisherClientWithConfigurationProvider Creates a new default AdministratorPublisher client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewAdministratorPublisherClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AdministratorPublisherClient, err error)
NewAdministratorPublisherClientWithOboToken Creates a new default AdministratorPublisher 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 (client *AdministratorPublisherClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client AdministratorPublisherClient) GetAdminPublisher(ctx context.Context, request GetAdminPublisherRequest) (response GetAdminPublisherResponse, err error)
GetAdminPublisher Gets a Publisher by identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminPublisher.go.html to see an example of how to use GetAdminPublisher API. A default retry strategy applies to this operation GetAdminPublisher()
func (client *AdministratorPublisherClient) SetRegion(region string)
SetRegion overrides the region of this client.
Artifact Base model object for the artifacts.
type Artifact interface {
// Unique OCID identifier for the artifact.
GetId() *string
// A display name for the artifact.
GetDisplayName() *string
// The current status for the Artifact.
GetStatus() ArtifactStatusEnum
// The current state for the Artifact.
GetLifecycleState() ArtifactLifecycleStateEnum
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
GetTimeCreated() *common.SDKTime
// The unique identifier for the compartment.
GetCompartmentId() *string
// The unique identifier for the publisher.
GetPublisherId() *string
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
GetTimeUpdated() *common.SDKTime
// Status notes for the Artifact.
GetStatusNotes() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
}
ArtifactCollection Results of the artifact search. Contains the artifact items.
type ArtifactCollection struct {
// List of artifact summary.
Items []ArtifactSummary `mandatory:"true" json:"items"`
}
func (m ArtifactCollection) String() string
func (m ArtifactCollection) 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
ArtifactLifecycleStateEnum Enum with underlying type: string
type ArtifactLifecycleStateEnum string
Set of constants representing the allowable values for ArtifactLifecycleStateEnum
const (
ArtifactLifecycleStateCreating ArtifactLifecycleStateEnum = "CREATING"
ArtifactLifecycleStateUpdating ArtifactLifecycleStateEnum = "UPDATING"
ArtifactLifecycleStateActive ArtifactLifecycleStateEnum = "ACTIVE"
ArtifactLifecycleStateDeleting ArtifactLifecycleStateEnum = "DELETING"
ArtifactLifecycleStateDeleted ArtifactLifecycleStateEnum = "DELETED"
ArtifactLifecycleStateFailed ArtifactLifecycleStateEnum = "FAILED"
)
func GetArtifactLifecycleStateEnumValues() []ArtifactLifecycleStateEnum
GetArtifactLifecycleStateEnumValues Enumerates the set of values for ArtifactLifecycleStateEnum
func GetMappingArtifactLifecycleStateEnum(val string) (ArtifactLifecycleStateEnum, bool)
GetMappingArtifactLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ArtifactStatusEnum Enum with underlying type: string
type ArtifactStatusEnum string
Set of constants representing the allowable values for ArtifactStatusEnum
const (
ArtifactStatusInProgress ArtifactStatusEnum = "IN_PROGRESS"
ArtifactStatusAvailable ArtifactStatusEnum = "AVAILABLE"
ArtifactStatusEnum = "UNAVAILABLE"
)
func GetArtifactStatusEnumValues() []ArtifactStatusEnum
GetArtifactStatusEnumValues Enumerates the set of values for ArtifactStatusEnum
func GetMappingArtifactStatusEnum(val string) (ArtifactStatusEnum, bool)
GetMappingArtifactStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ArtifactSummary The model for the artifact summary.
type ArtifactSummary struct {
// Unique identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// Artifact Type for the artifact.
ArtifactType ArtifactTypeEnumEnum `mandatory:"true" json:"artifactType"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m ArtifactSummary) String() string
func (m ArtifactSummary) 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
ArtifactTypeEnumEnum Enum with underlying type: string
type ArtifactTypeEnumEnum string
Set of constants representing the allowable values for ArtifactTypeEnumEnum
const (
ArtifactTypeEnumContainerImage ArtifactTypeEnumEnum = "CONTAINER_IMAGE"
ArtifactTypeEnumHelmChart ArtifactTypeEnumEnum = "HELM_CHART"
ArtifactTypeEnumMachineImage ArtifactTypeEnumEnum = "MACHINE_IMAGE"
ArtifactTypeEnumStack ArtifactTypeEnumEnum = "STACK"
)
func GetArtifactTypeEnumEnumValues() []ArtifactTypeEnumEnum
GetArtifactTypeEnumEnumValues Enumerates the set of values for ArtifactTypeEnumEnum
func GetMappingArtifactTypeEnumEnum(val string) (ArtifactTypeEnumEnum, bool)
GetMappingArtifactTypeEnumEnum performs case Insensitive comparison on enum value and return the desired enum
AvailableServiceCollection Results of available service provider search, returns available services
type AvailableServiceCollection struct {
// List of available service providers
Items []AvailableServiceSummary `mandatory:"true" json:"items"`
}
func (m AvailableServiceCollection) String() string
func (m AvailableServiceCollection) 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
AvailableServiceSummary Available service provider listing for lead generation listings
type AvailableServiceSummary struct {
// Listing Id for the listing
ListingId *string `mandatory:"true" json:"listingId"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
// The name of the listing revision.
DisplayName *string `mandatory:"false" json:"displayName"`
// A short description of the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// The tagline of the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
}
func (m AvailableServiceSummary) String() string
func (m AvailableServiceSummary) 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
BillToCountry Bill to country associated with Market
type BillToCountry struct {
// Bill to country code
Code *string `mandatory:"true" json:"code"`
// Bill to country code
Name *string `mandatory:"true" json:"name"`
}
func (m BillToCountry) String() string
func (m BillToCountry) 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
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
func (request CancelWorkRequestRequest) 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
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse 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 (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
CascadingDeleteListingRequest wrapper for the CascadingDeleteListing operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CascadingDeleteListing.go.html to see an example of how to use CascadingDeleteListingRequest.
type CascadingDeleteListingRequest struct {
// listing OCID
ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CascadingDeleteListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CascadingDeleteListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CascadingDeleteListingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CascadingDeleteListingRequest) String() string
func (request CascadingDeleteListingRequest) 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
CascadingDeleteListingResponse wrapper for the CascadingDeleteListing operation
type CascadingDeleteListingResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CascadingDeleteListingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CascadingDeleteListingResponse) String() string
CascadingDeleteListingRevisionRequest wrapper for the CascadingDeleteListingRevision operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CascadingDeleteListingRevision.go.html to see an example of how to use CascadingDeleteListingRevisionRequest.
type CascadingDeleteListingRevisionRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CascadingDeleteListingRevisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CascadingDeleteListingRevisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CascadingDeleteListingRevisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CascadingDeleteListingRevisionRequest) String() string
func (request CascadingDeleteListingRevisionRequest) 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
CascadingDeleteListingRevisionResponse wrapper for the CascadingDeleteListingRevision operation
type CascadingDeleteListingRevisionResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CascadingDeleteListingRevisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CascadingDeleteListingRevisionResponse) String() string
Category The model for the category details.
type Category struct {
// The name for the category.
Name *string `mandatory:"true" json:"name"`
// The code of the category.
Code *string `mandatory:"true" json:"code"`
// The product that the category belongs to.
ProductCode *string `mandatory:"true" json:"productCode"`
// The current state for the category.
LifecycleState CategoryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the category was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the category was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}
func (m Category) String() string
func (m Category) 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
CategoryCollection Results of a category search. Contains the category items.
type CategoryCollection struct {
// List of category summary.
Items []CategorySummary `mandatory:"true" json:"items"`
}
func (m CategoryCollection) String() string
func (m CategoryCollection) 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
CategoryLifecycleStateEnum Enum with underlying type: string
type CategoryLifecycleStateEnum string
Set of constants representing the allowable values for CategoryLifecycleStateEnum
const (
CategoryLifecycleStateActive CategoryLifecycleStateEnum = "ACTIVE"
CategoryLifecycleStateInactive CategoryLifecycleStateEnum = "INACTIVE"
)
func GetCategoryLifecycleStateEnumValues() []CategoryLifecycleStateEnum
GetCategoryLifecycleStateEnumValues Enumerates the set of values for CategoryLifecycleStateEnum
func GetMappingCategoryLifecycleStateEnum(val string) (CategoryLifecycleStateEnum, bool)
GetMappingCategoryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
CategorySummary The model for the category summary.
type CategorySummary struct {
// The name of the category.
Name *string `mandatory:"true" json:"name"`
// The code of the category.
Code *string `mandatory:"true" json:"code"`
// The product that the category belongs.
ProductCode *string `mandatory:"true" json:"productCode"`
// The current state of the category.
LifecycleState CategoryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the category was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the category was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}
func (m CategorySummary) String() string
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
ChangeArtifactCompartmentDetails Contains details indicating which compartment the artifact should move to.
type ChangeArtifactCompartmentDetails struct {
// The unique identifier of the compartment for the artifact.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeArtifactCompartmentDetails) String() string
func (m ChangeArtifactCompartmentDetails) 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
ChangeArtifactCompartmentRequest wrapper for the ChangeArtifactCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeArtifactCompartment.go.html to see an example of how to use ChangeArtifactCompartmentRequest.
type ChangeArtifactCompartmentRequest struct {
// artifact OCID
ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`
// Request to change the compartment of a given artifact.
ChangeArtifactCompartmentDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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 (request ChangeArtifactCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeArtifactCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeArtifactCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeArtifactCompartmentRequest) String() string
func (request ChangeArtifactCompartmentRequest) 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
ChangeArtifactCompartmentResponse wrapper for the ChangeArtifactCompartment operation
type ChangeArtifactCompartmentResponse 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"`
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}
func (response ChangeArtifactCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeArtifactCompartmentResponse) String() string
ChangeListingCompartmentDetails Contains details indicating which compartment the listing should move to.
type ChangeListingCompartmentDetails struct {
// The id of the compartment which the listing should be moved.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
}
func (m ChangeListingCompartmentDetails) String() string
func (m ChangeListingCompartmentDetails) 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
ChangeListingCompartmentRequest wrapper for the ChangeListingCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeListingCompartment.go.html to see an example of how to use ChangeListingCompartmentRequest.
type ChangeListingCompartmentRequest struct {
// listing OCID
ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`
// Request to change the compartment of a given listing.
ChangeListingCompartmentDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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 (request ChangeListingCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeListingCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeListingCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeListingCompartmentRequest) String() string
func (request ChangeListingCompartmentRequest) 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
ChangeListingCompartmentResponse wrapper for the ChangeListingCompartment operation
type ChangeListingCompartmentResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ChangeListingCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeListingCompartmentResponse) String() string
ChangeListingRevisionStatusToNewRequest wrapper for the ChangeListingRevisionStatusToNew operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeListingRevisionStatusToNew.go.html to see an example of how to use ChangeListingRevisionStatusToNewRequest.
type ChangeListingRevisionStatusToNewRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ChangeListingRevisionStatusToNewRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeListingRevisionStatusToNewRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeListingRevisionStatusToNewRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeListingRevisionStatusToNewRequest) String() string
func (request ChangeListingRevisionStatusToNewRequest) 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
ChangeListingRevisionStatusToNewResponse wrapper for the ChangeListingRevisionStatusToNew operation
type ChangeListingRevisionStatusToNewResponse struct {
// The underlying http response
RawResponse *http.Response
// The AdminListingRevision instance
AdminListingRevision `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 (response ChangeListingRevisionStatusToNewResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeListingRevisionStatusToNewResponse) String() string
ChangeListingRevisionToNewStatusRequest wrapper for the ChangeListingRevisionToNewStatus operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeListingRevisionToNewStatus.go.html to see an example of how to use ChangeListingRevisionToNewStatusRequest.
type ChangeListingRevisionToNewStatusRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ChangeListingRevisionToNewStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeListingRevisionToNewStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeListingRevisionToNewStatusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeListingRevisionToNewStatusRequest) String() string
func (request ChangeListingRevisionToNewStatusRequest) 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
ChangeListingRevisionToNewStatusResponse wrapper for the ChangeListingRevisionToNewStatus operation
type ChangeListingRevisionToNewStatusResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevision instance
ListingRevision `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 (response ChangeListingRevisionToNewStatusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeListingRevisionToNewStatusResponse) String() string
ChangeTermCompartmentDetails Contains details indicating which compartment the term should move to
type ChangeTermCompartmentDetails struct {
// The id of the compartment which the term should be moved.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
}
func (m ChangeTermCompartmentDetails) String() string
func (m ChangeTermCompartmentDetails) 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
ChangeTermCompartmentRequest wrapper for the ChangeTermCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeTermCompartment.go.html to see an example of how to use ChangeTermCompartmentRequest.
type ChangeTermCompartmentRequest struct {
// term OCID
TermId *string `mandatory:"true" contributesTo:"path" name:"termId"`
// Request to change the compartment of a given term.
ChangeTermCompartmentDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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 (request ChangeTermCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeTermCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeTermCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeTermCompartmentRequest) String() string
func (request ChangeTermCompartmentRequest) 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
ChangeTermCompartmentResponse wrapper for the ChangeTermCompartment operation
type ChangeTermCompartmentResponse 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"`
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}
func (response ChangeTermCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeTermCompartmentResponse) String() string
CloneListingRevisionRequest wrapper for the CloneListingRevision operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CloneListingRevision.go.html to see an example of how to use CloneListingRevisionRequest.
type CloneListingRevisionRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CloneListingRevisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CloneListingRevisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CloneListingRevisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CloneListingRevisionRequest) String() string
func (request CloneListingRevisionRequest) 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
CloneListingRevisionResponse wrapper for the CloneListingRevision operation
type CloneListingRevisionResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CloneListingRevisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CloneListingRevisionResponse) String() string
ContainerImageArtifact Container Image artifact details.
type ContainerImageArtifact struct {
// Unique OCID identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// A display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
ContainerImage *ContainerImageDetails `mandatory:"true" json:"containerImage"`
// Status notes for the Artifact.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m ContainerImageArtifact) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ContainerImageArtifact) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ContainerImageArtifact) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ContainerImageArtifact) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ContainerImageArtifact) GetId() *string
GetId returns Id
func (m ContainerImageArtifact) GetLifecycleState() ArtifactLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ContainerImageArtifact) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m ContainerImageArtifact) GetStatus() ArtifactStatusEnum
GetStatus returns Status
func (m ContainerImageArtifact) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m ContainerImageArtifact) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ContainerImageArtifact) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ContainerImageArtifact) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ContainerImageArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ContainerImageArtifact) String() string
func (m ContainerImageArtifact) 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
ContainerImageDetails Container Image details.
type ContainerImageDetails struct {
// The source registry url of the container image.
SourceRegistryUrl *string `mandatory:"true" json:"sourceRegistryUrl"`
// image validation status
ValidationStatus ValidationStatusEnum `mandatory:"true" json:"validationStatus"`
// image publication status
PublicationStatus PublicationStatusEnum `mandatory:"true" json:"publicationStatus"`
// The source registry OCID of the container image.
SourceRegistryId *string `mandatory:"false" json:"sourceRegistryId"`
// image validation failure errors
ValidationError *string `mandatory:"false" json:"validationError"`
// image publication failure errors
PublicationError *string `mandatory:"false" json:"publicationError"`
}
func (m ContainerImageDetails) String() string
func (m ContainerImageDetails) 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
ContainerPackage A package for container image listings.
type ContainerPackage struct {
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The unique identifier for the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"true" json:"artifactId"`
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// The version for the package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"true" json:"isDefault"`
// The date and time this listing revision 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:"true" json:"timeCreated"`
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID for the listing revision package in Marketplace Publisher.
Id *string `mandatory:"false" json:"id"`
// The description of this package.
Description *string `mandatory:"false" json:"description"`
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current state for the listing revision package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the listing revision package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
}
func (m ContainerPackage) GetAreSecurityUpgradesProvided() *bool
GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided
func (m ContainerPackage) GetArtifactId() *string
GetArtifactId returns ArtifactId
func (m ContainerPackage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ContainerPackage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ContainerPackage) GetDescription() *string
GetDescription returns Description
func (m ContainerPackage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ContainerPackage) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m ContainerPackage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ContainerPackage) GetId() *string
GetId returns Id
func (m ContainerPackage) GetIsDefault() *bool
GetIsDefault returns IsDefault
func (m ContainerPackage) GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ContainerPackage) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m ContainerPackage) GetPackageVersion() *string
GetPackageVersion returns PackageVersion
func (m ContainerPackage) GetStatus() ListingRevisionPackageStatusEnum
GetStatus returns Status
func (m ContainerPackage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ContainerPackage) GetTermId() *string
GetTermId returns TermId
func (m ContainerPackage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ContainerPackage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ContainerPackage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ContainerPackage) String() string
func (m ContainerPackage) 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
CreateAdminListingRevisionNoteDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision note.
type CreateAdminListingRevisionNoteDetails struct {
// The unique identifier of the listing revision that the specified note belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Notes provided for the listing revision.
NoteDetails *string `mandatory:"true" json:"noteDetails"`
}
func (m CreateAdminListingRevisionNoteDetails) String() string
func (m CreateAdminListingRevisionNoteDetails) 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
CreateArtifactDetails Common Details to create Marketplace Publisher artifact.
type CreateArtifactDetails interface {
// The unique identifier for the compartment.
GetCompartmentId() *string
// The display name for the artifact.
GetDisplayName() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
}
CreateArtifactRequest wrapper for the CreateArtifact operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateArtifact.go.html to see an example of how to use CreateArtifactRequest.
type CreateArtifactRequest struct {
// Request object for creating a new artifact.
CreateArtifactDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateArtifactRequest) String() string
func (request CreateArtifactRequest) 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
CreateArtifactResponse wrapper for the CreateArtifact operation
type CreateArtifactResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CreateArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateArtifactResponse) String() string
CreateContainerImageArtifactDetails Details to create a new container image artifact.
type CreateContainerImageArtifactDetails struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
ContainerImage *CreateContainerImageDetails `mandatory:"true" json:"containerImage"`
// The display name for the artifact.
DisplayName *string `mandatory:"false" json:"displayName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateContainerImageArtifactDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateContainerImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateContainerImageArtifactDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateContainerImageArtifactDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateContainerImageArtifactDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateContainerImageArtifactDetails) String() string
func (m CreateContainerImageArtifactDetails) 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
CreateContainerImageDetails Container image details required to create a container artifact.
type CreateContainerImageDetails struct {
// The source registry id of the container image.
SourceRegistryId *string `mandatory:"true" json:"sourceRegistryId"`
// The source registry url of the container image.
SourceRegistryUrl *string `mandatory:"true" json:"sourceRegistryUrl"`
}
func (m CreateContainerImageDetails) String() string
func (m CreateContainerImageDetails) 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
CreateCustomerSuccessAttachment customer success story attachment for the listing revision.
type CreateCustomerSuccessAttachment struct {
// The OCID for the listing revision in Marketplace Publisher.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the customer
CustomerName *string `mandatory:"true" json:"customerName"`
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description for this specified attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Optional url to success story
Url *string `mandatory:"false" json:"url"`
// List of product codes for success story
ProductCodes []string `mandatory:"false" json:"productCodes"`
// The specified attachment type is Internal or External.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
}
func (m CreateCustomerSuccessAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateCustomerSuccessAttachment) GetDescription() *string
GetDescription returns Description
func (m CreateCustomerSuccessAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateCustomerSuccessAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateCustomerSuccessAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m CreateCustomerSuccessAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateCustomerSuccessAttachment) String() string
func (m CreateCustomerSuccessAttachment) 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
CreateHelmChartImageDetails Helmchart image details required to create an helmchart artifact.
type CreateHelmChartImageDetails struct {
// The source registry OCID of the container image.
SourceRegistryId *string `mandatory:"true" json:"sourceRegistryId"`
// The source registry url of the helmchart image.
SourceRegistryUrl *string `mandatory:"true" json:"sourceRegistryUrl"`
// The Supported Versions of Kubernetes
SupportedKubernetesVersions []string `mandatory:"false" json:"supportedKubernetesVersions"`
}
func (m CreateHelmChartImageDetails) String() string
func (m CreateHelmChartImageDetails) 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
CreateKubernetesImageArtifactDetails Details to create a new helm chart image artifact.
type CreateKubernetesImageArtifactDetails struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
HelmChart *CreateHelmChartImageDetails `mandatory:"true" json:"helmChart"`
// The display name for the artifact.
DisplayName *string `mandatory:"false" json:"displayName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// List of container image artifact uniquie identifiers included in the helm chart.
ContainerImageArtifactIds []string `mandatory:"false" json:"containerImageArtifactIds"`
}
func (m CreateKubernetesImageArtifactDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateKubernetesImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateKubernetesImageArtifactDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateKubernetesImageArtifactDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateKubernetesImageArtifactDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateKubernetesImageArtifactDetails) String() string
func (m CreateKubernetesImageArtifactDetails) 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
CreateLeadGenListingRevisionDetails Listing revision update details for listings
type CreateLeadGenListingRevisionDetails struct {
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// List of Products subscribed by listing.
Products []ListingProduct `mandatory:"true" json:"products"`
// The name for the listing revision.
DisplayName *string `mandatory:"false" json:"displayName"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// System requirements for the listing revision.
SystemRequirements *string `mandatory:"false" json:"systemRequirements"`
// Url to demo of the listing
DemoUrl *string `mandatory:"false" json:"demoUrl"`
// Url to training resources of the listing
SelfPacedTrainingUrl *string `mandatory:"false" json:"selfPacedTrainingUrl"`
// OCIDs of service listings attached to lead gen listing
RecommendedServiceProviderListingIds []string `mandatory:"false" json:"recommendedServiceProviderListingIds"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
DownloadInfo *DownloadInfo `mandatory:"false" json:"downloadInfo"`
// Pricing details for lead gen listing
PricingPlans *string `mandatory:"false" json:"pricingPlans"`
// The current status of the Listing revision.
Status ListingRevisionStatusEnum `mandatory:"false" json:"status,omitempty"`
// The pricing model for the listing revision.
PricingType OciListingRevisionPricingTypeEnum `mandatory:"true" json:"pricingType"`
}
func (m CreateLeadGenListingRevisionDetails) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m CreateLeadGenListingRevisionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateLeadGenListingRevisionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateLeadGenListingRevisionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateLeadGenListingRevisionDetails) GetHeadline() *string
GetHeadline returns Headline
func (m CreateLeadGenListingRevisionDetails) GetKeywords() *string
GetKeywords returns Keywords
func (m CreateLeadGenListingRevisionDetails) GetListingId() *string
GetListingId returns ListingId
func (m CreateLeadGenListingRevisionDetails) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m CreateLeadGenListingRevisionDetails) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m CreateLeadGenListingRevisionDetails) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m CreateLeadGenListingRevisionDetails) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m CreateLeadGenListingRevisionDetails) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m CreateLeadGenListingRevisionDetails) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m CreateLeadGenListingRevisionDetails) GetTagline() *string
GetTagline returns Tagline
func (m CreateLeadGenListingRevisionDetails) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m CreateLeadGenListingRevisionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateLeadGenListingRevisionDetails) String() string
func (m CreateLeadGenListingRevisionDetails) 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
CreateListingDetails Details to create a new listing.
type CreateListingDetails struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name for the listing.
Name *string `mandatory:"true" json:"name"`
// The listing type for the listing.
ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`
// The package type for the listing.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateListingDetails) String() string
func (m CreateListingDetails) 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
CreateListingRequest wrapper for the CreateListing operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListing.go.html to see an example of how to use CreateListingRequest.
type CreateListingRequest struct {
// Details for the new Listing.
CreateListingDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateListingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateListingRequest) String() string
func (request CreateListingRequest) 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
CreateListingResponse wrapper for the CreateListing operation
type CreateListingResponse struct {
// The underlying http response
RawResponse *http.Response
// The Listing instance
Listing `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 (response CreateListingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateListingResponse) String() string
CreateListingRevisionAttachmentDetails Attachment uploaded by the publisher for the listing revision.
type CreateListingRevisionAttachmentDetails interface {
// The OCID for the listing revision in Marketplace Publisher.
GetListingRevisionId() *string
// The name for the listing revision attachment.
GetDisplayName() *string
// Description for this specified attachment.
GetDescription() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
}
CreateListingRevisionAttachmentRequest wrapper for the CreateListingRevisionAttachment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevisionAttachment.go.html to see an example of how to use CreateListingRevisionAttachmentRequest.
type CreateListingRevisionAttachmentRequest struct {
// Details for the new Listing Revision Attachment.
CreateListingRevisionAttachmentDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateListingRevisionAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateListingRevisionAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateListingRevisionAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateListingRevisionAttachmentRequest) String() string
func (request CreateListingRevisionAttachmentRequest) 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
CreateListingRevisionAttachmentResponse wrapper for the CreateListingRevisionAttachment operation
type CreateListingRevisionAttachmentResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionAttachment instance
ListingRevisionAttachment `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 (response CreateListingRevisionAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateListingRevisionAttachmentResponse) String() string
CreateListingRevisionDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
type CreateListingRevisionDetails interface {
// The unique identifier for the listing this revision belongs to.
GetListingId() *string
// Single line introduction for the listing revision.
GetHeadline() *string
// The name for the listing revision.
GetDisplayName() *string
// The tagline for the listing revision.
GetTagline() *string
// Keywords associated with the listing revision.
GetKeywords() *string
// A short description for the listing revision.
GetShortDescription() *string
// Usage information for the listing revision.
GetUsageInformation() *string
// A long description for the listing revision.
GetLongDescription() *string
GetContentLanguage() *LanguageItem
// Languages supported by the publisher for the listing revision.
GetSupportedlanguages() []LanguageItem
// Contact information to use to get support from the publisher for the listing revision.
GetSupportContacts() []SupportContact
// Links to support resources for the listing revision.
GetSupportLinks() []NamedLink
// The current status of the Listing revision.
GetStatus() ListingRevisionStatusEnum
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
}
CreateListingRevisionNoteDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision note.
type CreateListingRevisionNoteDetails struct {
// The unique identifier of the listing revision that the specified note belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Notes provided for the listing revision.
NoteDetails *string `mandatory:"true" json:"noteDetails"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateListingRevisionNoteDetails) String() string
func (m CreateListingRevisionNoteDetails) 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
CreateListingRevisionNoteRequest wrapper for the CreateListingRevisionNote operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevisionNote.go.html to see an example of how to use CreateListingRevisionNoteRequest.
type CreateListingRevisionNoteRequest struct {
// Details for the new Listing Revision Note.
CreateListingRevisionNoteDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateListingRevisionNoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateListingRevisionNoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateListingRevisionNoteRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateListingRevisionNoteRequest) String() string
func (request CreateListingRevisionNoteRequest) 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
CreateListingRevisionNoteResponse wrapper for the CreateListingRevisionNote operation
type CreateListingRevisionNoteResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionNote instance
ListingRevisionNote `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 (response CreateListingRevisionNoteResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateListingRevisionNoteResponse) String() string
CreateListingRevisionPackageDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision package.
type CreateListingRevisionPackageDetails struct {
// The OCID for the listing revision in Marketplace Publisher.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The version for the package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"true" json:"artifactId"`
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// The name for the listing revision package.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description for this package.
Description *string `mandatory:"false" json:"description"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"false" json:"isDefault"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateListingRevisionPackageDetails) String() string
func (m CreateListingRevisionPackageDetails) 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
CreateListingRevisionPackageRequest wrapper for the CreateListingRevisionPackage operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevisionPackage.go.html to see an example of how to use CreateListingRevisionPackageRequest.
type CreateListingRevisionPackageRequest struct {
// Details for the new Listing Revision Package.
CreateListingRevisionPackageDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateListingRevisionPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateListingRevisionPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateListingRevisionPackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateListingRevisionPackageRequest) String() string
func (request CreateListingRevisionPackageRequest) 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
CreateListingRevisionPackageResponse wrapper for the CreateListingRevisionPackage operation
type CreateListingRevisionPackageResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionPackage instance
ListingRevisionPackage `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 (response CreateListingRevisionPackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateListingRevisionPackageResponse) String() string
CreateListingRevisionRequest wrapper for the CreateListingRevision operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevision.go.html to see an example of how to use CreateListingRevisionRequest.
type CreateListingRevisionRequest struct {
// Details for the new Listing Revision.
CreateListingRevisionDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateListingRevisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateListingRevisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateListingRevisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateListingRevisionRequest) String() string
func (request CreateListingRevisionRequest) 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
CreateListingRevisionResponse wrapper for the CreateListingRevision operation
type CreateListingRevisionResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevision instance
ListingRevision `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 (response CreateListingRevisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateListingRevisionResponse) String() string
CreateMachineImageArtifactDetails Details to create machine image artifact.
type CreateMachineImageArtifactDetails struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
MachineImage *CreateMachineImageDetails `mandatory:"true" json:"machineImage"`
// The display name for the artifact.
DisplayName *string `mandatory:"false" json:"displayName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateMachineImageArtifactDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMachineImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateMachineImageArtifactDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateMachineImageArtifactDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateMachineImageArtifactDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMachineImageArtifactDetails) String() string
func (m CreateMachineImageArtifactDetails) 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
CreateMachineImageDetails Machine image details required to create an Image artifact.
type CreateMachineImageDetails struct {
// The OCID of source Machine Image.
SourceImageId *string `mandatory:"true" json:"sourceImageId"`
// Indicates if the customer is allowed to take a snapshot of running instance created from the machine image.
IsSnapshotAllowed *bool `mandatory:"true" json:"isSnapshotAllowed"`
// List of shape configurations compatible with the image.
ImageShapeCompatibilityEntries []ImageShapeCompatibility `mandatory:"true" json:"imageShapeCompatibilityEntries"`
// The username for machine image.
Username *string `mandatory:"false" json:"username"`
}
func (m CreateMachineImageDetails) String() string
func (m CreateMachineImageDetails) 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
CreateMarketDetails Details to create a Market.
type CreateMarketDetails struct {
// The name of the market.
Name *string `mandatory:"true" json:"name"`
// The code of the market.
Code *string `mandatory:"true" json:"code"`
// The category code of the market.
CategoryCode *string `mandatory:"true" json:"categoryCode"`
// bill to countries for the market.
BillToCountries []BillToCountry `mandatory:"false" json:"billToCountries"`
}
func (m CreateMarketDetails) String() string
func (m CreateMarketDetails) 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
CreateMarketRequest wrapper for the CreateMarket operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateMarket.go.html to see an example of how to use CreateMarketRequest.
type CreateMarketRequest struct {
// Details for the new Market.
CreateMarketDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateMarketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateMarketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateMarketRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateMarketRequest) String() string
func (request CreateMarketRequest) 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
CreateMarketResponse wrapper for the CreateMarket operation
type CreateMarketResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CreateMarketResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateMarketResponse) String() string
CreateOciListingRevisionDetails Listing revision update details for listings
type CreateOciListingRevisionDetails struct {
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// List of Products subscribed by listing.
Products []ListingProduct `mandatory:"true" json:"products"`
// The name for the listing revision.
DisplayName *string `mandatory:"false" json:"displayName"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// System requirements for the listing revision.
SystemRequirements *string `mandatory:"false" json:"systemRequirements"`
// List of Pricing Plans provider by publisher.
PricingPlans []PricingPlan `mandatory:"false" json:"pricingPlans"`
// The url provided by partner for the registration of subscription.
PartnerRegistrationUrl *string `mandatory:"false" json:"partnerRegistrationUrl"`
// The unique id of the term attached to the listing.
TermId *string `mandatory:"false" json:"termId"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
// OCIDs of service listings attached to lead gen listing
RecommendedServiceProviderListingIds []string `mandatory:"false" json:"recommendedServiceProviderListingIds"`
// Listing availability and Pricing Policy statement.
AvailabilityAndPricingPolicy *string `mandatory:"false" json:"availabilityAndPricingPolicy"`
// Is this listing rover exportable
IsRoverExportable *bool `mandatory:"false" json:"isRoverExportable"`
// Url to demo of the listing
DemoUrl *string `mandatory:"false" json:"demoUrl"`
// Url to training resources of the listing
SelfPacedTrainingUrl *string `mandatory:"false" json:"selfPacedTrainingUrl"`
// The current status of the Listing revision.
Status ListingRevisionStatusEnum `mandatory:"false" json:"status,omitempty"`
// The pricing model for the listing revision.
PricingType OciListingRevisionPricingTypeEnum `mandatory:"true" json:"pricingType"`
}
func (m CreateOciListingRevisionDetails) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m CreateOciListingRevisionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOciListingRevisionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOciListingRevisionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOciListingRevisionDetails) GetHeadline() *string
GetHeadline returns Headline
func (m CreateOciListingRevisionDetails) GetKeywords() *string
GetKeywords returns Keywords
func (m CreateOciListingRevisionDetails) GetListingId() *string
GetListingId returns ListingId
func (m CreateOciListingRevisionDetails) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m CreateOciListingRevisionDetails) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m CreateOciListingRevisionDetails) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m CreateOciListingRevisionDetails) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m CreateOciListingRevisionDetails) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m CreateOciListingRevisionDetails) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m CreateOciListingRevisionDetails) GetTagline() *string
GetTagline returns Tagline
func (m CreateOciListingRevisionDetails) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m CreateOciListingRevisionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOciListingRevisionDetails) String() string
func (m *CreateOciListingRevisionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateOciListingRevisionDetails) 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
CreatePublisherDetails Details to create a publisher.
type CreatePublisherDetails struct {
// Email address of the publisher.
Email *string `mandatory:"true" json:"email"`
// The business phone number of the publisher.
BusinessPhoneNumber *string `mandatory:"true" json:"businessPhoneNumber"`
// The company name of the publisher.
CompanyName *string `mandatory:"true" json:"companyName"`
// The company name of the publisher.
CompanyDescription *string `mandatory:"true" json:"companyDescription"`
// Count of employees in publisher's company
EmployeeCount *int64 `mandatory:"true" json:"employeeCount"`
// OPN membership number of the publisher
OpnNumber *string `mandatory:"true" json:"opnNumber"`
// The year the publisher's company or organization was founded.
YearFounded *int64 `mandatory:"true" json:"yearFounded"`
// City
City *string `mandatory:"true" json:"city"`
// State
State *string `mandatory:"true" json:"state"`
// Country
Country *string `mandatory:"true" json:"country"`
// The publisher's website.
Website *string `mandatory:"true" json:"website"`
// The contact phone number of the publisher.
ContactPhoneNumber *string `mandatory:"true" json:"contactPhoneNumber"`
// The contact email address of the publisher.
ContactEmail *string `mandatory:"true" json:"contactEmail"`
// The tenancy(compartment) OCID of the publisher.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A description of the publisher solutions.
SolutionDescription *string `mandatory:"false" json:"solutionDescription"`
}
func (m CreatePublisherDetails) String() string
func (m CreatePublisherDetails) 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
CreatePublisherRequest wrapper for the CreatePublisher operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreatePublisher.go.html to see an example of how to use CreatePublisherRequest.
type CreatePublisherRequest struct {
// The publisher information to be created.
CreatePublisherDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreatePublisherRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreatePublisherRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreatePublisherRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreatePublisherRequest) String() string
func (request CreatePublisherRequest) 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
CreatePublisherResponse wrapper for the CreatePublisher operation
type CreatePublisherResponse struct {
// The underlying http response
RawResponse *http.Response
// The Publisher instance
Publisher `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 (response CreatePublisherResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreatePublisherResponse) String() string
CreateRelatedDocumentAttachmentDetails Create Details of the related document attachment.
type CreateRelatedDocumentAttachmentDetails struct {
// The OCID for the listing revision in Marketplace Publisher.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description for this specified attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// The document URL of the listing revision attachment.
SourceUrl *string `mandatory:"false" json:"sourceUrl"`
// Identifies whether the attachment is for Internal Oracle Users or external users as well.
IsOracleUsersOnly *bool `mandatory:"false" json:"isOracleUsersOnly"`
// The document category of the listing revision attachment.
DocumentCategory RelatedDocumentAttachmentDocumentCategoryEnum `mandatory:"true" json:"documentCategory"`
// The specified attachment type is Internal or External.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
}
func (m CreateRelatedDocumentAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateRelatedDocumentAttachmentDetails) GetDescription() *string
GetDescription returns Description
func (m CreateRelatedDocumentAttachmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateRelatedDocumentAttachmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateRelatedDocumentAttachmentDetails) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m CreateRelatedDocumentAttachmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateRelatedDocumentAttachmentDetails) String() string
func (m CreateRelatedDocumentAttachmentDetails) 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
CreateReviewSupportDocumentAttachment Reviewsupport document attachment for the listing revision.
type CreateReviewSupportDocumentAttachment struct {
// The OCID for the listing revision in Marketplace Publisher.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the review support document
DocumentName *string `mandatory:"true" json:"documentName"`
// Type of review support document
TemplateCode *string `mandatory:"true" json:"templateCode"`
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description for this specified attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// The specified attachment type is Internal or External.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
}
func (m CreateReviewSupportDocumentAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateReviewSupportDocumentAttachment) GetDescription() *string
GetDescription returns Description
func (m CreateReviewSupportDocumentAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateReviewSupportDocumentAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateReviewSupportDocumentAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m CreateReviewSupportDocumentAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateReviewSupportDocumentAttachment) String() string
func (m CreateReviewSupportDocumentAttachment) 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
CreateScreenShotAttachmentDetails Create Details of the screenshot attachment.
type CreateScreenShotAttachmentDetails struct {
// The OCID for the listing revision in Marketplace Publisher.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description for this specified attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// The specified attachment type is Internal or External.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
}
func (m CreateScreenShotAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateScreenShotAttachmentDetails) GetDescription() *string
GetDescription returns Description
func (m CreateScreenShotAttachmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateScreenShotAttachmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateScreenShotAttachmentDetails) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m CreateScreenShotAttachmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateScreenShotAttachmentDetails) String() string
func (m CreateScreenShotAttachmentDetails) 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
CreateServiceListingRevisionDetails Listing revision update details for listings
type CreateServiceListingRevisionDetails struct {
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// List of product codes subscribed by listing.
ProductCodes []string `mandatory:"true" json:"productCodes"`
// List of industries subscribed by listing.
Industries []string `mandatory:"true" json:"industries"`
// The name for the listing revision.
DisplayName *string `mandatory:"false" json:"displayName"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Custom text by partner regarding contact information
ContactUs *string `mandatory:"false" json:"contactUs"`
// Number of trained professional per product
TrainedProfessionals []TrainedProfessionals `mandatory:"false" json:"trainedProfessionals"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
// Support details based on geographic location
GeoLocations []GeoLocation `mandatory:"false" json:"geoLocations"`
// The current status of the Listing revision.
Status ListingRevisionStatusEnum `mandatory:"false" json:"status,omitempty"`
}
func (m CreateServiceListingRevisionDetails) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m CreateServiceListingRevisionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateServiceListingRevisionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateServiceListingRevisionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateServiceListingRevisionDetails) GetHeadline() *string
GetHeadline returns Headline
func (m CreateServiceListingRevisionDetails) GetKeywords() *string
GetKeywords returns Keywords
func (m CreateServiceListingRevisionDetails) GetListingId() *string
GetListingId returns ListingId
func (m CreateServiceListingRevisionDetails) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m CreateServiceListingRevisionDetails) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m CreateServiceListingRevisionDetails) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m CreateServiceListingRevisionDetails) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m CreateServiceListingRevisionDetails) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m CreateServiceListingRevisionDetails) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m CreateServiceListingRevisionDetails) GetTagline() *string
GetTagline returns Tagline
func (m CreateServiceListingRevisionDetails) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m CreateServiceListingRevisionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateServiceListingRevisionDetails) String() string
func (m CreateServiceListingRevisionDetails) 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
CreateStackArtifactDetails Details to create Stack artifact.
type CreateStackArtifactDetails struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
Stack *CreateStackDetails `mandatory:"true" json:"stack"`
// The display name for the artifact.
DisplayName *string `mandatory:"false" json:"displayName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateStackArtifactDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateStackArtifactDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateStackArtifactDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateStackArtifactDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateStackArtifactDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateStackArtifactDetails) String() string
func (m CreateStackArtifactDetails) 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
CreateStackDetails Stack details required to create a Stack artifact.
type CreateStackDetails struct {
// The source stack OCID.
SourceStackId *string `mandatory:"true" json:"sourceStackId"`
// Image listing OCIDs that are referenced in the Stack.
ImageListingIds []string `mandatory:"false" json:"imageListingIds"`
}
func (m CreateStackDetails) String() string
func (m CreateStackDetails) 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
CreateSupportedServiceAttachment Supported service attachment for the listing revision.
type CreateSupportedServiceAttachment struct {
// The OCID for the listing revision in Marketplace Publisher.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the service
ServiceName *string `mandatory:"true" json:"serviceName"`
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description for this specified attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Optional url to service information
Url *string `mandatory:"false" json:"url"`
// Type of the service
Type SupportedServiceAttachmentTypeEnum `mandatory:"true" json:"type"`
// The specified attachment type is Internal or External.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
}
func (m CreateSupportedServiceAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateSupportedServiceAttachment) GetDescription() *string
GetDescription returns Description
func (m CreateSupportedServiceAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateSupportedServiceAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateSupportedServiceAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m CreateSupportedServiceAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateSupportedServiceAttachment) String() string
func (m CreateSupportedServiceAttachment) 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
CreateTermDetails Details to create Marketplace Publisher term.
type CreateTermDetails struct {
// The OCID of the publisher's compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name of the term.
Name *string `mandatory:"true" json:"name"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateTermDetails) String() string
func (m CreateTermDetails) 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
CreateTermRequest wrapper for the CreateTerm operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateTerm.go.html to see an example of how to use CreateTermRequest.
type CreateTermRequest struct {
// Details for the new Term.
CreateTermDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateTermRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTermRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTermRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTermRequest) String() string
func (request CreateTermRequest) 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
CreateTermResponse wrapper for the CreateTerm operation
type CreateTermResponse struct {
// The underlying http response
RawResponse *http.Response
// The Term instance
Term `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 (response CreateTermResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTermResponse) String() string
CreateTermVersionRequest wrapper for the CreateTermVersion operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateTermVersion.go.html to see an example of how to use CreateTermVersionRequest.
type CreateTermVersionRequest struct {
// The term version file to upload.
CreateTermVersionContent io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`
// Unique OCID identifier for the term.
TermId *string `mandatory:"true" contributesTo:"header" name:"term-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"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The name of the resource.
DisplayName *string `mandatory:"false" contributesTo:"header" name:"display-name"`
// 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 (request CreateTermVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTermVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTermVersionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTermVersionRequest) String() string
func (request CreateTermVersionRequest) 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
CreateTermVersionResponse wrapper for the CreateTermVersion operation
type CreateTermVersionResponse struct {
// The underlying http response
RawResponse *http.Response
// The TermVersion instance
TermVersion `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 (response CreateTermVersionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTermVersionResponse) String() string
CreateVideoAttachmentDetails Create Details of the video attachment.
type CreateVideoAttachmentDetails struct {
// The OCID for the listing revision in Marketplace Publisher.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
VideoAttachmentDetails *CreateVideoDetails `mandatory:"true" json:"videoAttachmentDetails"`
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description for this specified attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateVideoAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateVideoAttachmentDetails) GetDescription() *string
GetDescription returns Description
func (m CreateVideoAttachmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateVideoAttachmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateVideoAttachmentDetails) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m CreateVideoAttachmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateVideoAttachmentDetails) String() string
func (m CreateVideoAttachmentDetails) 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
CreateVideoDetails A link to a video on the internet.
type CreateVideoDetails struct {
// The URL of the video.
ContentUrl *string `mandatory:"true" json:"contentUrl"`
// The specified attachment type is Internal or External.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
}
func (m CreateVideoDetails) String() string
func (m CreateVideoDetails) 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
CustomerInstanceReportExport The model for a Customer Instance Report export.
type CustomerInstanceReportExport struct {
// Customer Instance Report export identifier.
Id *string `mandatory:"true" json:"id"`
// The OCID of the compartment for the export.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Customer Instance Report export lifecycle state.
LifecycleState CustomerInstanceReportExportLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time that the export 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:"true" json:"timeCreated"`
// The work request identifier associated with the export generation.
WorkRequestId *string `mandatory:"false" json:"workRequestId"`
// The generated CSV file name.
FileName *string `mandatory:"false" json:"fileName"`
// The sort order for the generated export.
SortOrder CustomerInstanceReportExportSortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"`
// The field to sort by.
SortBy CustomerInstanceReportExportSortByEnum `mandatory:"false" json:"sortBy,omitempty"`
// A filter to return only report records that match the listing name.
Name *string `mandatory:"false" json:"name"`
// A filter to return only report records that match the listing OCID.
ListingId *string `mandatory:"false" json:"listingId"`
// A filter to return only report records that match the instance status.
Status CustomerInstanceReportExportStatusEnum `mandatory:"false" json:"status,omitempty"`
// A filter to return only report records that match the instance shape.
Shape *string `mandatory:"false" json:"shape"`
// A filter to return only report records that match the instance region.
Region *string `mandatory:"false" json:"region"`
// A filter to return only report records that match the instance realm.
Realm *string `mandatory:"false" json:"realm"`
// A filter to return only report records that match the tenant administrator email domain.
TenantAdminDomain *string `mandatory:"false" json:"tenantAdminDomain"`
// A filter to return only report records that match the package version.
PackageVersion *string `mandatory:"false" json:"packageVersion"`
// A filter to return only report records that match the instance OCID.
InstanceId *string `mandatory:"false" json:"instanceId"`
// The inclusive earliest instance creation time, in RFC 3339 format.
TimeInstanceCreationFromDate *common.SDKTime `mandatory:"false" json:"timeInstanceCreationFromDate"`
// The inclusive latest instance creation time, in RFC 3339 format.
TimeInstanceCreationToDate *common.SDKTime `mandatory:"false" json:"timeInstanceCreationToDate"`
// The inclusive earliest instance termination time, in RFC 3339 format.
TimeInstanceTerminationFromDate *common.SDKTime `mandatory:"false" json:"timeInstanceTerminationFromDate"`
// The inclusive latest instance termination time, in RFC 3339 format.
TimeInstanceTerminationToDate *common.SDKTime `mandatory:"false" json:"timeInstanceTerminationToDate"`
// The date and time that the export expires, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m CustomerInstanceReportExport) String() string
func (m CustomerInstanceReportExport) 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
CustomerInstanceReportExportCollection Customer Instance Report export collection.
type CustomerInstanceReportExportCollection struct {
// List of Customer Instance Report exports.
Items []CustomerInstanceReportExportSummary `mandatory:"true" json:"items"`
}
func (m CustomerInstanceReportExportCollection) String() string
func (m CustomerInstanceReportExportCollection) 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
CustomerInstanceReportExportLifecycleStateEnum Enum with underlying type: string
type CustomerInstanceReportExportLifecycleStateEnum string
Set of constants representing the allowable values for CustomerInstanceReportExportLifecycleStateEnum
const (
CustomerInstanceReportExportLifecycleStateInProgress CustomerInstanceReportExportLifecycleStateEnum = "IN_PROGRESS"
CustomerInstanceReportExportLifecycleStateAccepted CustomerInstanceReportExportLifecycleStateEnum = "ACCEPTED"
CustomerInstanceReportExportLifecycleStateFailed CustomerInstanceReportExportLifecycleStateEnum = "FAILED"
CustomerInstanceReportExportLifecycleStateNeedsAttention CustomerInstanceReportExportLifecycleStateEnum = "NEEDS_ATTENTION"
CustomerInstanceReportExportLifecycleStateSucceeded CustomerInstanceReportExportLifecycleStateEnum = "SUCCEEDED"
CustomerInstanceReportExportLifecycleStateCanceled CustomerInstanceReportExportLifecycleStateEnum = "CANCELED"
CustomerInstanceReportExportLifecycleStateWaiting CustomerInstanceReportExportLifecycleStateEnum = "WAITING"
CustomerInstanceReportExportLifecycleStateCanceling CustomerInstanceReportExportLifecycleStateEnum = "CANCELING"
)
func GetCustomerInstanceReportExportLifecycleStateEnumValues() []CustomerInstanceReportExportLifecycleStateEnum
GetCustomerInstanceReportExportLifecycleStateEnumValues Enumerates the set of values for CustomerInstanceReportExportLifecycleStateEnum
func GetMappingCustomerInstanceReportExportLifecycleStateEnum(val string) (CustomerInstanceReportExportLifecycleStateEnum, bool)
GetMappingCustomerInstanceReportExportLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
CustomerInstanceReportExportSortByEnum Enum with underlying type: string
type CustomerInstanceReportExportSortByEnum string
Set of constants representing the allowable values for CustomerInstanceReportExportSortByEnum
const (
CustomerInstanceReportExportSortByInstanceId CustomerInstanceReportExportSortByEnum = "INSTANCE_ID"
)
func GetCustomerInstanceReportExportSortByEnumValues() []CustomerInstanceReportExportSortByEnum
GetCustomerInstanceReportExportSortByEnumValues Enumerates the set of values for CustomerInstanceReportExportSortByEnum
func GetMappingCustomerInstanceReportExportSortByEnum(val string) (CustomerInstanceReportExportSortByEnum, bool)
GetMappingCustomerInstanceReportExportSortByEnum performs case Insensitive comparison on enum value and return the desired enum
CustomerInstanceReportExportSortOrderEnum Enum with underlying type: string
type CustomerInstanceReportExportSortOrderEnum string
Set of constants representing the allowable values for CustomerInstanceReportExportSortOrderEnum
const (
CustomerInstanceReportExportSortOrderAsc CustomerInstanceReportExportSortOrderEnum = "ASC"
CustomerInstanceReportExportSortOrderDesc CustomerInstanceReportExportSortOrderEnum = "DESC"
)
func GetCustomerInstanceReportExportSortOrderEnumValues() []CustomerInstanceReportExportSortOrderEnum
GetCustomerInstanceReportExportSortOrderEnumValues Enumerates the set of values for CustomerInstanceReportExportSortOrderEnum
func GetMappingCustomerInstanceReportExportSortOrderEnum(val string) (CustomerInstanceReportExportSortOrderEnum, bool)
GetMappingCustomerInstanceReportExportSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
CustomerInstanceReportExportStatusEnum Enum with underlying type: string
type CustomerInstanceReportExportStatusEnum string
Set of constants representing the allowable values for CustomerInstanceReportExportStatusEnum
const (
CustomerInstanceReportExportStatusProvisioning CustomerInstanceReportExportStatusEnum = "PROVISIONING"
CustomerInstanceReportExportStatusRunning CustomerInstanceReportExportStatusEnum = "RUNNING"
CustomerInstanceReportExportStatusStopped CustomerInstanceReportExportStatusEnum = "STOPPED"
CustomerInstanceReportExportStatusTerminating CustomerInstanceReportExportStatusEnum = "TERMINATING"
CustomerInstanceReportExportStatusTerminated CustomerInstanceReportExportStatusEnum = "TERMINATED"
CustomerInstanceReportExportStatusDisabled CustomerInstanceReportExportStatusEnum = "DISABLED"
CustomerInstanceReportExportStatusStarting CustomerInstanceReportExportStatusEnum = "STARTING"
CustomerInstanceReportExportStatusStopping CustomerInstanceReportExportStatusEnum = "STOPPING"
CustomerInstanceReportExportStatusSnapshotting CustomerInstanceReportExportStatusEnum = "SNAPSHOTTING"
)
func GetCustomerInstanceReportExportStatusEnumValues() []CustomerInstanceReportExportStatusEnum
GetCustomerInstanceReportExportStatusEnumValues Enumerates the set of values for CustomerInstanceReportExportStatusEnum
func GetMappingCustomerInstanceReportExportStatusEnum(val string) (CustomerInstanceReportExportStatusEnum, bool)
GetMappingCustomerInstanceReportExportStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CustomerInstanceReportExportSummary Summary model for a Customer Instance Report export.
type CustomerInstanceReportExportSummary struct {
// Customer Instance Report export identifier.
Id *string `mandatory:"true" json:"id"`
// The OCID of the compartment for the export.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Customer Instance Report export lifecycle state.
LifecycleState CustomerInstanceReportExportLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time that the export 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:"true" json:"timeCreated"`
// The work request identifier associated with the export generation.
WorkRequestId *string `mandatory:"false" json:"workRequestId"`
// The generated CSV file name.
FileName *string `mandatory:"false" json:"fileName"`
// The sort order for the generated export.
SortOrder CustomerInstanceReportExportSummarySortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"`
// The field to sort by.
SortBy CustomerInstanceReportExportSummarySortByEnum `mandatory:"false" json:"sortBy,omitempty"`
// A filter to return only report records that match the listing name.
Name *string `mandatory:"false" json:"name"`
// A filter to return only report records that match the listing OCID.
ListingId *string `mandatory:"false" json:"listingId"`
// A filter to return only report records that match the instance status.
Status CustomerInstanceReportExportSummaryStatusEnum `mandatory:"false" json:"status,omitempty"`
// A filter to return only report records that match the instance shape.
Shape *string `mandatory:"false" json:"shape"`
// A filter to return only report records that match the instance region.
Region *string `mandatory:"false" json:"region"`
// A filter to return only report records that match the instance realm.
Realm *string `mandatory:"false" json:"realm"`
// A filter to return only report records that match the tenant administrator email domain.
TenantAdminDomain *string `mandatory:"false" json:"tenantAdminDomain"`
// A filter to return only report records that match the package version.
PackageVersion *string `mandatory:"false" json:"packageVersion"`
// A filter to return only report records that match the instance OCID.
InstanceId *string `mandatory:"false" json:"instanceId"`
// The inclusive earliest instance creation time, in RFC 3339 format.
TimeInstanceCreationFromDate *common.SDKTime `mandatory:"false" json:"timeInstanceCreationFromDate"`
// The inclusive latest instance creation time, in RFC 3339 format.
TimeInstanceCreationToDate *common.SDKTime `mandatory:"false" json:"timeInstanceCreationToDate"`
// The inclusive earliest instance termination time, in RFC 3339 format.
TimeInstanceTerminationFromDate *common.SDKTime `mandatory:"false" json:"timeInstanceTerminationFromDate"`
// The inclusive latest instance termination time, in RFC 3339 format.
TimeInstanceTerminationToDate *common.SDKTime `mandatory:"false" json:"timeInstanceTerminationToDate"`
// The date and time that the export expires, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m CustomerInstanceReportExportSummary) String() string
func (m CustomerInstanceReportExportSummary) 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
CustomerInstanceReportExportSummarySortByEnum Enum with underlying type: string
type CustomerInstanceReportExportSummarySortByEnum string
Set of constants representing the allowable values for CustomerInstanceReportExportSummarySortByEnum
const (
CustomerInstanceReportExportSummarySortByInstanceId CustomerInstanceReportExportSummarySortByEnum = "INSTANCE_ID"
)
func GetCustomerInstanceReportExportSummarySortByEnumValues() []CustomerInstanceReportExportSummarySortByEnum
GetCustomerInstanceReportExportSummarySortByEnumValues Enumerates the set of values for CustomerInstanceReportExportSummarySortByEnum
func GetMappingCustomerInstanceReportExportSummarySortByEnum(val string) (CustomerInstanceReportExportSummarySortByEnum, bool)
GetMappingCustomerInstanceReportExportSummarySortByEnum performs case Insensitive comparison on enum value and return the desired enum
CustomerInstanceReportExportSummarySortOrderEnum Enum with underlying type: string
type CustomerInstanceReportExportSummarySortOrderEnum string
Set of constants representing the allowable values for CustomerInstanceReportExportSummarySortOrderEnum
const (
CustomerInstanceReportExportSummarySortOrderAsc CustomerInstanceReportExportSummarySortOrderEnum = "ASC"
CustomerInstanceReportExportSummarySortOrderDesc CustomerInstanceReportExportSummarySortOrderEnum = "DESC"
)
func GetCustomerInstanceReportExportSummarySortOrderEnumValues() []CustomerInstanceReportExportSummarySortOrderEnum
GetCustomerInstanceReportExportSummarySortOrderEnumValues Enumerates the set of values for CustomerInstanceReportExportSummarySortOrderEnum
func GetMappingCustomerInstanceReportExportSummarySortOrderEnum(val string) (CustomerInstanceReportExportSummarySortOrderEnum, bool)
GetMappingCustomerInstanceReportExportSummarySortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
CustomerInstanceReportExportSummaryStatusEnum Enum with underlying type: string
type CustomerInstanceReportExportSummaryStatusEnum string
Set of constants representing the allowable values for CustomerInstanceReportExportSummaryStatusEnum
const (
CustomerInstanceReportExportSummaryStatusProvisioning CustomerInstanceReportExportSummaryStatusEnum = "PROVISIONING"
CustomerInstanceReportExportSummaryStatusRunning CustomerInstanceReportExportSummaryStatusEnum = "RUNNING"
CustomerInstanceReportExportSummaryStatusStopped CustomerInstanceReportExportSummaryStatusEnum = "STOPPED"
CustomerInstanceReportExportSummaryStatusTerminating CustomerInstanceReportExportSummaryStatusEnum = "TERMINATING"
CustomerInstanceReportExportSummaryStatusTerminated CustomerInstanceReportExportSummaryStatusEnum = "TERMINATED"
CustomerInstanceReportExportSummaryStatusDisabled CustomerInstanceReportExportSummaryStatusEnum = "DISABLED"
CustomerInstanceReportExportSummaryStatusStarting CustomerInstanceReportExportSummaryStatusEnum = "STARTING"
CustomerInstanceReportExportSummaryStatusStopping CustomerInstanceReportExportSummaryStatusEnum = "STOPPING"
CustomerInstanceReportExportSummaryStatusSnapshotting CustomerInstanceReportExportSummaryStatusEnum = "SNAPSHOTTING"
)
func GetCustomerInstanceReportExportSummaryStatusEnumValues() []CustomerInstanceReportExportSummaryStatusEnum
GetCustomerInstanceReportExportSummaryStatusEnumValues Enumerates the set of values for CustomerInstanceReportExportSummaryStatusEnum
func GetMappingCustomerInstanceReportExportSummaryStatusEnum(val string) (CustomerInstanceReportExportSummaryStatusEnum, bool)
GetMappingCustomerInstanceReportExportSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CustomerInstanceReportRecord The model for instance report item
type CustomerInstanceReportRecord struct {
// publisher OCID
PublisherId *string `mandatory:"false" json:"publisherId"`
// Name of the listing
ListingName *string `mandatory:"false" json:"listingName"`
// Listing ID
ListingId *string `mandatory:"false" json:"listingId"`
// Listing version ID
ListingVersionId *string `mandatory:"false" json:"listingVersionId"`
// The version for the package
PackageVersion *string `mandatory:"false" json:"packageVersion"`
// Package version ID
PackageVersionId *string `mandatory:"false" json:"packageVersionId"`
// Instance status
Status *string `mandatory:"false" json:"status"`
// Instance OCID
InstanceId *string `mandatory:"false" json:"instanceId"`
// The date and time that instance was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeInstanceCreation *common.SDKTime `mandatory:"false" json:"timeInstanceCreation"`
// The date and time that instance was terminated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeInstanceTermination *common.SDKTime `mandatory:"false" json:"timeInstanceTermination"`
// The region of the instance
Region *string `mandatory:"false" json:"region"`
// The realm of the instance
Realm *string `mandatory:"false" json:"realm"`
// The shape of the instance
Shape *string `mandatory:"false" json:"shape"`
// The tenancy of the instance
OciTenancy *string `mandatory:"false" json:"ociTenancy"`
// The domain of the tenant administrator email address
TenantAdminDomain *string `mandatory:"false" json:"tenantAdminDomain"`
// The legacy listing id of the listing
LegacyListingId *string `mandatory:"false" json:"legacyListingId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m CustomerInstanceReportRecord) String() string
func (m CustomerInstanceReportRecord) 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
CustomerInstanceReportRecordCollection Customer instance report
type CustomerInstanceReportRecordCollection struct {
// List of customer instance report records.
Items []CustomerInstanceReportRecord `mandatory:"true" json:"items"`
}
func (m CustomerInstanceReportRecordCollection) String() string
func (m CustomerInstanceReportRecordCollection) 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
CustomerSuccessAttachment Customer success story attachment for the service listing revision.
type CustomerSuccessAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Name of the customer
CustomerName *string `mandatory:"true" json:"customerName"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Optional url to success story
Url *string `mandatory:"false" json:"url"`
// List of product codes for customer story
ProductCodes []string `mandatory:"false" json:"productCodes"`
// URL of the uploaded document.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m CustomerSuccessAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CustomerSuccessAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CustomerSuccessAttachment) GetDescription() *string
GetDescription returns Description
func (m CustomerSuccessAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CustomerSuccessAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CustomerSuccessAttachment) GetId() *string
GetId returns Id
func (m CustomerSuccessAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m CustomerSuccessAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m CustomerSuccessAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m CustomerSuccessAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m CustomerSuccessAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m CustomerSuccessAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m CustomerSuccessAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CustomerSuccessAttachment) String() string
func (m CustomerSuccessAttachment) 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
DeleteArtifactRequest wrapper for the DeleteArtifact operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteArtifact.go.html to see an example of how to use DeleteArtifactRequest.
type DeleteArtifactRequest struct {
// artifact OCID
ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteArtifactRequest) String() string
func (request DeleteArtifactRequest) 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
DeleteArtifactResponse wrapper for the DeleteArtifact operation
type DeleteArtifactResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response DeleteArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteArtifactResponse) String() string
DeleteCustomerInstanceReportExportRequest wrapper for the DeleteCustomerInstanceReportExport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteCustomerInstanceReportExport.go.html to see an example of how to use DeleteCustomerInstanceReportExportRequest.
type DeleteCustomerInstanceReportExportRequest struct {
// Customer Instance Report export identifier.
CustomerInstanceReportExportId *string `mandatory:"true" contributesTo:"path" name:"customerInstanceReportExportId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteCustomerInstanceReportExportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteCustomerInstanceReportExportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteCustomerInstanceReportExportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteCustomerInstanceReportExportRequest) String() string
func (request DeleteCustomerInstanceReportExportRequest) 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
DeleteCustomerInstanceReportExportResponse wrapper for the DeleteCustomerInstanceReportExport operation
type DeleteCustomerInstanceReportExportResponse 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 (response DeleteCustomerInstanceReportExportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteCustomerInstanceReportExportResponse) String() string
DeleteListingRequest wrapper for the DeleteListing operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListing.go.html to see an example of how to use DeleteListingRequest.
type DeleteListingRequest struct {
// listing OCID
ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteListingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteListingRequest) String() string
func (request DeleteListingRequest) 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
DeleteListingResponse wrapper for the DeleteListing operation
type DeleteListingResponse 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 (response DeleteListingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteListingResponse) String() string
DeleteListingRevisionAttachmentRequest wrapper for the DeleteListingRevisionAttachment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevisionAttachment.go.html to see an example of how to use DeleteListingRevisionAttachmentRequest.
type DeleteListingRevisionAttachmentRequest struct {
// attachment OCID
ListingRevisionAttachmentId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionAttachmentId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteListingRevisionAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteListingRevisionAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteListingRevisionAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteListingRevisionAttachmentRequest) String() string
func (request DeleteListingRevisionAttachmentRequest) 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
DeleteListingRevisionAttachmentResponse wrapper for the DeleteListingRevisionAttachment operation
type DeleteListingRevisionAttachmentResponse 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 (response DeleteListingRevisionAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteListingRevisionAttachmentResponse) String() string
DeleteListingRevisionNoteRequest wrapper for the DeleteListingRevisionNote operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevisionNote.go.html to see an example of how to use DeleteListingRevisionNoteRequest.
type DeleteListingRevisionNoteRequest struct {
// Unique listing revision note identifier.
ListingRevisionNoteId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionNoteId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteListingRevisionNoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteListingRevisionNoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteListingRevisionNoteRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteListingRevisionNoteRequest) String() string
func (request DeleteListingRevisionNoteRequest) 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
DeleteListingRevisionNoteResponse wrapper for the DeleteListingRevisionNote operation
type DeleteListingRevisionNoteResponse 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 (response DeleteListingRevisionNoteResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteListingRevisionNoteResponse) String() string
DeleteListingRevisionPackageRequest wrapper for the DeleteListingRevisionPackage operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevisionPackage.go.html to see an example of how to use DeleteListingRevisionPackageRequest.
type DeleteListingRevisionPackageRequest struct {
// Unique listing revision package identifier.
ListingRevisionPackageId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionPackageId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteListingRevisionPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteListingRevisionPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteListingRevisionPackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteListingRevisionPackageRequest) String() string
func (request DeleteListingRevisionPackageRequest) 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
DeleteListingRevisionPackageResponse wrapper for the DeleteListingRevisionPackage operation
type DeleteListingRevisionPackageResponse 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 (response DeleteListingRevisionPackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteListingRevisionPackageResponse) String() string
DeleteListingRevisionRequest wrapper for the DeleteListingRevision operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevision.go.html to see an example of how to use DeleteListingRevisionRequest.
type DeleteListingRevisionRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteListingRevisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteListingRevisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteListingRevisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteListingRevisionRequest) String() string
func (request DeleteListingRevisionRequest) 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
DeleteListingRevisionResponse wrapper for the DeleteListingRevision operation
type DeleteListingRevisionResponse 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 (response DeleteListingRevisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteListingRevisionResponse) String() string
DeleteTermRequest wrapper for the DeleteTerm operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteTerm.go.html to see an example of how to use DeleteTermRequest.
type DeleteTermRequest struct {
// term OCID
TermId *string `mandatory:"true" contributesTo:"path" name:"termId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteTermRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTermRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTermRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTermRequest) String() string
func (request DeleteTermRequest) 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
DeleteTermResponse wrapper for the DeleteTerm operation
type DeleteTermResponse 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 (response DeleteTermResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTermResponse) String() string
DeleteTermVersionRequest wrapper for the DeleteTermVersion operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteTermVersion.go.html to see an example of how to use DeleteTermVersionRequest.
type DeleteTermVersionRequest struct {
// term version OCID
TermVersionId *string `mandatory:"true" contributesTo:"path" name:"termVersionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteTermVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTermVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTermVersionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTermVersionRequest) String() string
func (request DeleteTermVersionRequest) 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
DeleteTermVersionResponse wrapper for the DeleteTermVersion operation
type DeleteTermVersionResponse 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 (response DeleteTermVersionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTermVersionResponse) String() string
DisbursementReportRecord The model for disbursement report item
type DisbursementReportRecord struct {
// Enterprise Quarter
EnterpriseQuarter *string `mandatory:"false" json:"enterpriseQuarter"`
// Enterprise Period
EnterprisePeriod *string `mandatory:"false" json:"enterprisePeriod"`
// Listing Name
ListingName *string `mandatory:"false" json:"listingName"`
// Listing ID
ListingId *string `mandatory:"false" json:"listingId"`
// Private Offer ID
PrivateOfferId *string `mandatory:"false" json:"privateOfferId"`
// Private Offer Name
PrivateOfferName *string `mandatory:"false" json:"privateOfferName"`
// SKU
Sku *string `mandatory:"false" json:"sku"`
// Transaction Reference ID
TransactionReferenceId *string `mandatory:"false" json:"transactionReferenceId"`
// Customer ID
CustomerId *string `mandatory:"false" json:"customerId"`
// Customer Name
CustomerName *string `mandatory:"false" json:"customerName"`
// Customer Domain
CustomerDomain *string `mandatory:"false" json:"customerDomain"`
// End User Customer ID
EndUserCustomerId *string `mandatory:"false" json:"endUserCustomerId"`
// EEnd User Customer Name
EndUserCustomerName *string `mandatory:"false" json:"endUserCustomerName"`
// Country
Country *string `mandatory:"false" json:"country"`
// State
State *string `mandatory:"false" json:"state"`
// City
City *string `mandatory:"false" json:"city"`
// Zip
Zip *string `mandatory:"false" json:"zip"`
// Currency Code
CurrencyCode *string `mandatory:"false" json:"currencyCode"`
// Usage Quantity
UsageQuantity *string `mandatory:"false" json:"usageQuantity"`
// Used Amount (LC)
UsedAmountLc *string `mandatory:"false" json:"usedAmountLc"`
// LC Amount for Disbursement Calculations
LcAmountForDisbursementCalculations *string `mandatory:"false" json:"lcAmountForDisbursementCalculations"`
// LC Base Amount for Tax Calculations
LcBaseAmountForTaxCalculations *string `mandatory:"false" json:"lcBaseAmountForTaxCalculations"`
// Withholding Tax Rate
WithholdingTaxRate *string `mandatory:"false" json:"withholdingTaxRate"`
// Withholding Tax Amount
WithholdingTaxAmount *string `mandatory:"false" json:"withholdingTaxAmount"`
// Transfer Tax Base Amount
TransferTaxBaseAmount *string `mandatory:"false" json:"transferTaxBaseAmount"`
// Transfer Tax Rate
TransferTaxRate *string `mandatory:"false" json:"transferTaxRate"`
// Transfer Tax Amount
TransferTaxAmount *string `mandatory:"false" json:"transferTaxAmount"`
// LC Amount for Disbursement after Tax
LcAmountForDisbursementAfterTax *string `mandatory:"false" json:"lcAmountForDisbursementAfterTax"`
// LC Partner Payment
LcPartnerPayment *string `mandatory:"false" json:"lcPartnerPayment"`
// FX Rate (LC to USD)
FxRateLcToUsd *string `mandatory:"false" json:"fxRateLcToUsd"`
// Disbursement Amount (USD)
DisbursementAmountUsd *string `mandatory:"false" json:"disbursementAmountUsd"`
// Partner Name
PartnerName *string `mandatory:"false" json:"partnerName"`
// Partner OCID
PartnerId *string `mandatory:"false" json:"partnerId"`
// The listing ocid of the listing
PublisherServiceListingId *string `mandatory:"false" json:"publisherServiceListingId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m DisbursementReportRecord) String() string
func (m DisbursementReportRecord) 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
DisbursementReportRecordCollection Disbursement report
type DisbursementReportRecordCollection struct {
// List of disbursement report records.
Items []DisbursementReportRecord `mandatory:"true" json:"items"`
}
func (m DisbursementReportRecordCollection) String() string
func (m DisbursementReportRecordCollection) 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
DownloadInfo Guidelines to be displayed to the Customer who intends to generate a lead for a listing.
type DownloadInfo struct {
// Text shown when capturing lead
Description *string `mandatory:"false" json:"description"`
// Redirect link provided by publisher
Url *string `mandatory:"false" json:"url"`
}
func (m DownloadInfo) String() string
func (m DownloadInfo) 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
FilterProperty Properties for the filter
type FilterProperty struct {
// Name of filter
Name *string `mandatory:"false" json:"name"`
// Filter code
Code *string `mandatory:"false" json:"code"`
}
func (m FilterProperty) String() string
func (m FilterProperty) 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
GenerateCustomerInstanceReportExportDetails Details to generate a Customer Instance Report export.
type GenerateCustomerInstanceReportExportDetails struct {
// The OCID of the compartment for the export.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The sort order for the generated export.
SortOrder GenerateCustomerInstanceReportExportDetailsSortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"`
// The field to sort by.
SortBy GenerateCustomerInstanceReportExportDetailsSortByEnum `mandatory:"false" json:"sortBy,omitempty"`
// A filter to return only report records that match the listing name.
Name *string `mandatory:"false" json:"name"`
// A filter to return only report records that match the listing OCID.
ListingId *string `mandatory:"false" json:"listingId"`
// A filter to return only report records that match the instance status.
Status GenerateCustomerInstanceReportExportDetailsStatusEnum `mandatory:"false" json:"status,omitempty"`
// A filter to return only report records that match the instance shape.
Shape *string `mandatory:"false" json:"shape"`
// A filter to return only report records that match the instance region.
Region *string `mandatory:"false" json:"region"`
// A filter to return only report records that match the instance realm.
Realm *string `mandatory:"false" json:"realm"`
// A filter to return only report records that match the tenant administrator email domain.
TenantAdminDomain *string `mandatory:"false" json:"tenantAdminDomain"`
// A filter to return only report records that match the package version.
PackageVersion *string `mandatory:"false" json:"packageVersion"`
// A filter to return only report records that match the instance OCID.
InstanceId *string `mandatory:"false" json:"instanceId"`
// The inclusive earliest instance creation time, in RFC 3339 format.
TimeInstanceCreationFromDate *common.SDKTime `mandatory:"false" json:"timeInstanceCreationFromDate"`
// The inclusive latest instance creation time, in RFC 3339 format.
TimeInstanceCreationToDate *common.SDKTime `mandatory:"false" json:"timeInstanceCreationToDate"`
// The inclusive earliest instance termination time, in RFC 3339 format.
TimeInstanceTerminationFromDate *common.SDKTime `mandatory:"false" json:"timeInstanceTerminationFromDate"`
// The inclusive latest instance termination time, in RFC 3339 format.
TimeInstanceTerminationToDate *common.SDKTime `mandatory:"false" json:"timeInstanceTerminationToDate"`
}
func (m GenerateCustomerInstanceReportExportDetails) String() string
func (m GenerateCustomerInstanceReportExportDetails) 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
GenerateCustomerInstanceReportExportDetailsSortByEnum Enum with underlying type: string
type GenerateCustomerInstanceReportExportDetailsSortByEnum string
Set of constants representing the allowable values for GenerateCustomerInstanceReportExportDetailsSortByEnum
const (
GenerateCustomerInstanceReportExportDetailsSortByInstanceId GenerateCustomerInstanceReportExportDetailsSortByEnum = "INSTANCE_ID"
)
func GetGenerateCustomerInstanceReportExportDetailsSortByEnumValues() []GenerateCustomerInstanceReportExportDetailsSortByEnum
GetGenerateCustomerInstanceReportExportDetailsSortByEnumValues Enumerates the set of values for GenerateCustomerInstanceReportExportDetailsSortByEnum
func GetMappingGenerateCustomerInstanceReportExportDetailsSortByEnum(val string) (GenerateCustomerInstanceReportExportDetailsSortByEnum, bool)
GetMappingGenerateCustomerInstanceReportExportDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
GenerateCustomerInstanceReportExportDetailsSortOrderEnum Enum with underlying type: string
type GenerateCustomerInstanceReportExportDetailsSortOrderEnum string
Set of constants representing the allowable values for GenerateCustomerInstanceReportExportDetailsSortOrderEnum
const (
GenerateCustomerInstanceReportExportDetailsSortOrderAsc GenerateCustomerInstanceReportExportDetailsSortOrderEnum = "ASC"
GenerateCustomerInstanceReportExportDetailsSortOrderDesc GenerateCustomerInstanceReportExportDetailsSortOrderEnum = "DESC"
)
func GetGenerateCustomerInstanceReportExportDetailsSortOrderEnumValues() []GenerateCustomerInstanceReportExportDetailsSortOrderEnum
GetGenerateCustomerInstanceReportExportDetailsSortOrderEnumValues Enumerates the set of values for GenerateCustomerInstanceReportExportDetailsSortOrderEnum
func GetMappingGenerateCustomerInstanceReportExportDetailsSortOrderEnum(val string) (GenerateCustomerInstanceReportExportDetailsSortOrderEnum, bool)
GetMappingGenerateCustomerInstanceReportExportDetailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
GenerateCustomerInstanceReportExportDetailsStatusEnum Enum with underlying type: string
type GenerateCustomerInstanceReportExportDetailsStatusEnum string
Set of constants representing the allowable values for GenerateCustomerInstanceReportExportDetailsStatusEnum
const (
GenerateCustomerInstanceReportExportDetailsStatusProvisioning GenerateCustomerInstanceReportExportDetailsStatusEnum = "PROVISIONING"
GenerateCustomerInstanceReportExportDetailsStatusRunning GenerateCustomerInstanceReportExportDetailsStatusEnum = "RUNNING"
GenerateCustomerInstanceReportExportDetailsStatusStopped GenerateCustomerInstanceReportExportDetailsStatusEnum = "STOPPED"
GenerateCustomerInstanceReportExportDetailsStatusTerminating GenerateCustomerInstanceReportExportDetailsStatusEnum = "TERMINATING"
GenerateCustomerInstanceReportExportDetailsStatusTerminated GenerateCustomerInstanceReportExportDetailsStatusEnum = "TERMINATED"
GenerateCustomerInstanceReportExportDetailsStatusDisabled GenerateCustomerInstanceReportExportDetailsStatusEnum = "DISABLED"
GenerateCustomerInstanceReportExportDetailsStatusStarting GenerateCustomerInstanceReportExportDetailsStatusEnum = "STARTING"
GenerateCustomerInstanceReportExportDetailsStatusStopping GenerateCustomerInstanceReportExportDetailsStatusEnum = "STOPPING"
GenerateCustomerInstanceReportExportDetailsStatusSnapshotting GenerateCustomerInstanceReportExportDetailsStatusEnum = "SNAPSHOTTING"
)
func GetGenerateCustomerInstanceReportExportDetailsStatusEnumValues() []GenerateCustomerInstanceReportExportDetailsStatusEnum
GetGenerateCustomerInstanceReportExportDetailsStatusEnumValues Enumerates the set of values for GenerateCustomerInstanceReportExportDetailsStatusEnum
func GetMappingGenerateCustomerInstanceReportExportDetailsStatusEnum(val string) (GenerateCustomerInstanceReportExportDetailsStatusEnum, bool)
GetMappingGenerateCustomerInstanceReportExportDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
GenerateCustomerInstanceReportExportRequest wrapper for the GenerateCustomerInstanceReportExport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GenerateCustomerInstanceReportExport.go.html to see an example of how to use GenerateCustomerInstanceReportExportRequest.
type GenerateCustomerInstanceReportExportRequest struct {
// Details for the Customer Instance Report export.
GenerateCustomerInstanceReportExportDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GenerateCustomerInstanceReportExportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GenerateCustomerInstanceReportExportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GenerateCustomerInstanceReportExportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GenerateCustomerInstanceReportExportRequest) String() string
func (request GenerateCustomerInstanceReportExportRequest) 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
GenerateCustomerInstanceReportExportResponse wrapper for the GenerateCustomerInstanceReportExport operation
type GenerateCustomerInstanceReportExportResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// Customer Instance Report export identifier.
ExportIdentifier *string `presentIn:"header" name:"exportidentifier"`
}
func (response GenerateCustomerInstanceReportExportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GenerateCustomerInstanceReportExportResponse) String() string
GeoLocation Support details based on geographic location
type GeoLocation struct {
// Region for geographic location
GeographicRegion GeoLocationGeographicRegionEnum `mandatory:"true" json:"geographicRegion"`
// Support details for specific region
Details *string `mandatory:"true" json:"details"`
}
func (m GeoLocation) String() string
func (m GeoLocation) 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
GeoLocationGeographicRegionEnum Enum with underlying type: string
type GeoLocationGeographicRegionEnum string
Set of constants representing the allowable values for GeoLocationGeographicRegionEnum
const (
GeoLocationGeographicRegionAfrica GeoLocationGeographicRegionEnum = "AFRICA"
GeoLocationGeographicRegionAsiaPacific GeoLocationGeographicRegionEnum = "ASIA_PACIFIC"
GeoLocationGeographicRegionEurope GeoLocationGeographicRegionEnum = "EUROPE"
GeoLocationGeographicRegionJapan GeoLocationGeographicRegionEnum = "JAPAN"
GeoLocationGeographicRegionLatinAmerica GeoLocationGeographicRegionEnum = "LATIN_AMERICA"
GeoLocationGeographicRegionMiddleEast GeoLocationGeographicRegionEnum = "MIDDLE_EAST"
GeoLocationGeographicRegionNorthAmerica GeoLocationGeographicRegionEnum = "NORTH_AMERICA"
)
func GetGeoLocationGeographicRegionEnumValues() []GeoLocationGeographicRegionEnum
GetGeoLocationGeographicRegionEnumValues Enumerates the set of values for GeoLocationGeographicRegionEnum
func GetMappingGeoLocationGeographicRegionEnum(val string) (GeoLocationGeographicRegionEnum, bool)
GetMappingGeoLocationGeographicRegionEnum performs case Insensitive comparison on enum value and return the desired enum
GetAdminArtifactRequest wrapper for the GetAdminArtifact operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminArtifact.go.html to see an example of how to use GetAdminArtifactRequest.
type GetAdminArtifactRequest struct {
// artifact OCID
ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetAdminArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAdminArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAdminArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAdminArtifactRequest) String() string
func (request GetAdminArtifactRequest) 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
GetAdminArtifactResponse wrapper for the GetAdminArtifact operation
type GetAdminArtifactResponse struct {
// The underlying http response
RawResponse *http.Response
// The AdminArtifact instance
AdminArtifact `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 (response GetAdminArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAdminArtifactResponse) String() string
GetAdminListingRequest wrapper for the GetAdminListing operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminListing.go.html to see an example of how to use GetAdminListingRequest.
type GetAdminListingRequest struct {
// listing OCID
ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetAdminListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAdminListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAdminListingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAdminListingRequest) String() string
func (request GetAdminListingRequest) 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
GetAdminListingResponse wrapper for the GetAdminListing operation
type GetAdminListingResponse struct {
// The underlying http response
RawResponse *http.Response
// The AdminListing instance
AdminListing `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 (response GetAdminListingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAdminListingResponse) String() string
GetAdminListingRevisionAttachmentRequest wrapper for the GetAdminListingRevisionAttachment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminListingRevisionAttachment.go.html to see an example of how to use GetAdminListingRevisionAttachmentRequest.
type GetAdminListingRevisionAttachmentRequest struct {
// attachment OCID
ListingRevisionAttachmentId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionAttachmentId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetAdminListingRevisionAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAdminListingRevisionAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAdminListingRevisionAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAdminListingRevisionAttachmentRequest) String() string
func (request GetAdminListingRevisionAttachmentRequest) 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
GetAdminListingRevisionAttachmentResponse wrapper for the GetAdminListingRevisionAttachment operation
type GetAdminListingRevisionAttachmentResponse struct {
// The underlying http response
RawResponse *http.Response
// The AdminListingRevisionAttachment instance
AdminListingRevisionAttachment `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 (response GetAdminListingRevisionAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAdminListingRevisionAttachmentResponse) String() string
GetAdminListingRevisionPackageRequest wrapper for the GetAdminListingRevisionPackage operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminListingRevisionPackage.go.html to see an example of how to use GetAdminListingRevisionPackageRequest.
type GetAdminListingRevisionPackageRequest struct {
// Unique listing revision package identifier.
ListingRevisionPackageId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionPackageId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetAdminListingRevisionPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAdminListingRevisionPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAdminListingRevisionPackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAdminListingRevisionPackageRequest) String() string
func (request GetAdminListingRevisionPackageRequest) 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
GetAdminListingRevisionPackageResponse wrapper for the GetAdminListingRevisionPackage operation
type GetAdminListingRevisionPackageResponse struct {
// The underlying http response
RawResponse *http.Response
// The AdminListingRevisionPackage instance
AdminListingRevisionPackage `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 (response GetAdminListingRevisionPackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAdminListingRevisionPackageResponse) String() string
GetAdminListingRevisionRequest wrapper for the GetAdminListingRevision operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminListingRevision.go.html to see an example of how to use GetAdminListingRevisionRequest.
type GetAdminListingRevisionRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetAdminListingRevisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAdminListingRevisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAdminListingRevisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAdminListingRevisionRequest) String() string
func (request GetAdminListingRevisionRequest) 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
GetAdminListingRevisionResponse wrapper for the GetAdminListingRevision operation
type GetAdminListingRevisionResponse struct {
// The underlying http response
RawResponse *http.Response
// The AdminListingRevision instance
AdminListingRevision `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 (response GetAdminListingRevisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAdminListingRevisionResponse) String() string
GetAdminPublisherRequest wrapper for the GetAdminPublisher operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminPublisher.go.html to see an example of how to use GetAdminPublisherRequest.
type GetAdminPublisherRequest struct {
// Publisher OCID
PublisherId *string `mandatory:"true" contributesTo:"path" name:"publisherId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetAdminPublisherRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAdminPublisherRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAdminPublisherRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAdminPublisherRequest) String() string
func (request GetAdminPublisherRequest) 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
GetAdminPublisherResponse wrapper for the GetAdminPublisher operation
type GetAdminPublisherResponse struct {
// The underlying http response
RawResponse *http.Response
// The AdminPublisher instance
AdminPublisher `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 (response GetAdminPublisherResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAdminPublisherResponse) String() string
GetAdminTermRequest wrapper for the GetAdminTerm operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminTerm.go.html to see an example of how to use GetAdminTermRequest.
type GetAdminTermRequest struct {
// term OCID
TermId *string `mandatory:"true" contributesTo:"path" name:"termId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetAdminTermRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAdminTermRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAdminTermRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAdminTermRequest) String() string
func (request GetAdminTermRequest) 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
GetAdminTermResponse wrapper for the GetAdminTerm operation
type GetAdminTermResponse struct {
// The underlying http response
RawResponse *http.Response
// The AdminTerm instance
AdminTerm `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 (response GetAdminTermResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAdminTermResponse) String() string
GetAdminTermVersionRequest wrapper for the GetAdminTermVersion operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminTermVersion.go.html to see an example of how to use GetAdminTermVersionRequest.
type GetAdminTermVersionRequest struct {
// term version OCID
TermVersionId *string `mandatory:"true" contributesTo:"path" name:"termVersionId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetAdminTermVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAdminTermVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAdminTermVersionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAdminTermVersionRequest) String() string
func (request GetAdminTermVersionRequest) 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
GetAdminTermVersionResponse wrapper for the GetAdminTermVersion operation
type GetAdminTermVersionResponse struct {
// The underlying http response
RawResponse *http.Response
// The AdminTermVersion instance
AdminTermVersion `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 (response GetAdminTermVersionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAdminTermVersionResponse) String() string
GetArtifactRequest wrapper for the GetArtifact operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetArtifact.go.html to see an example of how to use GetArtifactRequest.
type GetArtifactRequest struct {
// artifact OCID
ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetArtifactRequest) String() string
func (request GetArtifactRequest) 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
GetArtifactResponse wrapper for the GetArtifact operation
type GetArtifactResponse struct {
// The underlying http response
RawResponse *http.Response
// The Artifact instance
Artifact `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 (response GetArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetArtifactResponse) String() string
GetCategoryRequest wrapper for the GetCategory operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetCategory.go.html to see an example of how to use GetCategoryRequest.
type GetCategoryRequest struct {
// Category Code
CategoryCode *string `mandatory:"true" contributesTo:"path" name:"categoryCode"`
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetCategoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetCategoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetCategoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetCategoryRequest) String() string
func (request GetCategoryRequest) 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
GetCategoryResponse wrapper for the GetCategory operation
type GetCategoryResponse struct {
// The underlying http response
RawResponse *http.Response
// The Category instance
Category `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 (response GetCategoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetCategoryResponse) String() string
GetCustomerInstanceReportExportContentRequest wrapper for the GetCustomerInstanceReportExportContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetCustomerInstanceReportExportContent.go.html to see an example of how to use GetCustomerInstanceReportExportContentRequest.
type GetCustomerInstanceReportExportContentRequest struct {
// Customer Instance Report export identifier.
CustomerInstanceReportExportId *string `mandatory:"true" contributesTo:"path" name:"customerInstanceReportExportId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetCustomerInstanceReportExportContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetCustomerInstanceReportExportContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetCustomerInstanceReportExportContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetCustomerInstanceReportExportContentRequest) String() string
func (request GetCustomerInstanceReportExportContentRequest) 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
GetCustomerInstanceReportExportContentResponse wrapper for the GetCustomerInstanceReportExportContent operation
type GetCustomerInstanceReportExportContentResponse 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 (response GetCustomerInstanceReportExportContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetCustomerInstanceReportExportContentResponse) String() string
GetCustomerInstanceReportExportRequest wrapper for the GetCustomerInstanceReportExport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetCustomerInstanceReportExport.go.html to see an example of how to use GetCustomerInstanceReportExportRequest.
type GetCustomerInstanceReportExportRequest struct {
// Customer Instance Report export identifier.
CustomerInstanceReportExportId *string `mandatory:"true" contributesTo:"path" name:"customerInstanceReportExportId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetCustomerInstanceReportExportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetCustomerInstanceReportExportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetCustomerInstanceReportExportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetCustomerInstanceReportExportRequest) String() string
func (request GetCustomerInstanceReportExportRequest) 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
GetCustomerInstanceReportExportResponse wrapper for the GetCustomerInstanceReportExport operation
type GetCustomerInstanceReportExportResponse struct {
// The underlying http response
RawResponse *http.Response
// The CustomerInstanceReportExport instance
CustomerInstanceReportExport `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 (response GetCustomerInstanceReportExportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetCustomerInstanceReportExportResponse) String() string
GetLeadRequest wrapper for the GetLead operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetLead.go.html to see an example of how to use GetLeadRequest.
type GetLeadRequest struct {
// Lead ID
LeadId *string `mandatory:"true" contributesTo:"path" name:"leadId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetLeadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetLeadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLeadRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLeadRequest) String() string
func (request GetLeadRequest) 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
GetLeadResponse wrapper for the GetLead operation
type GetLeadResponse struct {
// The underlying http response
RawResponse *http.Response
// The Lead instance
Lead `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 (response GetLeadResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLeadResponse) String() string
GetListingRequest wrapper for the GetListing operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListing.go.html to see an example of how to use GetListingRequest.
type GetListingRequest struct {
// listing OCID
ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetListingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetListingRequest) String() string
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
GetListingResponse wrapper for the GetListing operation
type GetListingResponse struct {
// The underlying http response
RawResponse *http.Response
// The Listing instance
Listing `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 (response GetListingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetListingResponse) String() string
GetListingRevisionAttachmentContentRequest wrapper for the GetListingRevisionAttachmentContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionAttachmentContent.go.html to see an example of how to use GetListingRevisionAttachmentContentRequest.
type GetListingRevisionAttachmentContentRequest struct {
// attachment OCID
ListingRevisionAttachmentId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionAttachmentId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetListingRevisionAttachmentContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetListingRevisionAttachmentContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetListingRevisionAttachmentContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetListingRevisionAttachmentContentRequest) String() string
func (request GetListingRevisionAttachmentContentRequest) 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
GetListingRevisionAttachmentContentResponse wrapper for the GetListingRevisionAttachmentContent operation
type GetListingRevisionAttachmentContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response GetListingRevisionAttachmentContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetListingRevisionAttachmentContentResponse) String() string
GetListingRevisionAttachmentRequest wrapper for the GetListingRevisionAttachment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionAttachment.go.html to see an example of how to use GetListingRevisionAttachmentRequest.
type GetListingRevisionAttachmentRequest struct {
// attachment OCID
ListingRevisionAttachmentId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionAttachmentId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetListingRevisionAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetListingRevisionAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetListingRevisionAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetListingRevisionAttachmentRequest) String() string
func (request GetListingRevisionAttachmentRequest) 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
GetListingRevisionAttachmentResponse wrapper for the GetListingRevisionAttachment operation
type GetListingRevisionAttachmentResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionAttachment instance
ListingRevisionAttachment `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 (response GetListingRevisionAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetListingRevisionAttachmentResponse) String() string
GetListingRevisionIconContentRequest wrapper for the GetListingRevisionIconContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionIconContent.go.html to see an example of how to use GetListingRevisionIconContentRequest.
type GetListingRevisionIconContentRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetListingRevisionIconContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetListingRevisionIconContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetListingRevisionIconContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetListingRevisionIconContentRequest) String() string
func (request GetListingRevisionIconContentRequest) 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
GetListingRevisionIconContentResponse wrapper for the GetListingRevisionIconContent operation
type GetListingRevisionIconContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response GetListingRevisionIconContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetListingRevisionIconContentResponse) String() string
GetListingRevisionNoteRequest wrapper for the GetListingRevisionNote operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionNote.go.html to see an example of how to use GetListingRevisionNoteRequest.
type GetListingRevisionNoteRequest struct {
// Unique listing revision note identifier.
ListingRevisionNoteId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionNoteId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetListingRevisionNoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetListingRevisionNoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetListingRevisionNoteRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetListingRevisionNoteRequest) String() string
func (request GetListingRevisionNoteRequest) 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
GetListingRevisionNoteResponse wrapper for the GetListingRevisionNote operation
type GetListingRevisionNoteResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionNote instance
ListingRevisionNote `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 (response GetListingRevisionNoteResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetListingRevisionNoteResponse) String() string
GetListingRevisionPackageRequest wrapper for the GetListingRevisionPackage operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionPackage.go.html to see an example of how to use GetListingRevisionPackageRequest.
type GetListingRevisionPackageRequest struct {
// Unique listing revision package identifier.
ListingRevisionPackageId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionPackageId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetListingRevisionPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetListingRevisionPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetListingRevisionPackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetListingRevisionPackageRequest) String() string
func (request GetListingRevisionPackageRequest) 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
GetListingRevisionPackageResponse wrapper for the GetListingRevisionPackage operation
type GetListingRevisionPackageResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionPackage instance
ListingRevisionPackage `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 (response GetListingRevisionPackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetListingRevisionPackageResponse) String() string
GetListingRevisionRequest wrapper for the GetListingRevision operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevision.go.html to see an example of how to use GetListingRevisionRequest.
type GetListingRevisionRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetListingRevisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetListingRevisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetListingRevisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetListingRevisionRequest) String() string
func (request GetListingRevisionRequest) 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
GetListingRevisionResponse wrapper for the GetListingRevision operation
type GetListingRevisionResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevision instance
ListingRevision `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 (response GetListingRevisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetListingRevisionResponse) String() string
GetMarketRequest wrapper for the GetMarket operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetMarket.go.html to see an example of how to use GetMarketRequest.
type GetMarketRequest struct {
// Market Code
MarketCode *string `mandatory:"true" contributesTo:"path" name:"marketCode"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetMarketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMarketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMarketRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMarketRequest) String() string
func (request GetMarketRequest) 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
GetMarketResponse wrapper for the GetMarket operation
type GetMarketResponse struct {
// The underlying http response
RawResponse *http.Response
// The Market instance
Market `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 (response GetMarketResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMarketResponse) String() string
GetProductRequest wrapper for the GetProduct operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetProduct.go.html to see an example of how to use GetProductRequest.
type GetProductRequest struct {
// Product Code
ProductCode *string `mandatory:"true" contributesTo:"path" name:"productCode"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetProductRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetProductRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProductRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProductRequest) String() string
func (request GetProductRequest) 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
GetProductResponse wrapper for the GetProduct operation
type GetProductResponse struct {
// The underlying http response
RawResponse *http.Response
// The Product instance
Product `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 (response GetProductResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProductResponse) String() string
GetPublisherRequest wrapper for the GetPublisher operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetPublisher.go.html to see an example of how to use GetPublisherRequest.
type GetPublisherRequest struct {
// Publisher OCID
PublisherId *string `mandatory:"true" contributesTo:"path" name:"publisherId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetPublisherRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPublisherRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPublisherRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPublisherRequest) String() string
func (request GetPublisherRequest) 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
GetPublisherResponse wrapper for the GetPublisher operation
type GetPublisherResponse struct {
// The underlying http response
RawResponse *http.Response
// The Publisher instance
Publisher `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 (response GetPublisherResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPublisherResponse) String() string
GetSupportDocContentRequest wrapper for the GetSupportDocContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetSupportDocContent.go.html to see an example of how to use GetSupportDocContentRequest.
type GetSupportDocContentRequest struct {
// SupportDoc Code
SupportDocCode *string `mandatory:"true" contributesTo:"path" name:"supportDocCode"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetSupportDocContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSupportDocContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSupportDocContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSupportDocContentRequest) String() string
func (request GetSupportDocContentRequest) 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
GetSupportDocContentResponse wrapper for the GetSupportDocContent operation
type GetSupportDocContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response GetSupportDocContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSupportDocContentResponse) String() string
GetSupportDocRequest wrapper for the GetSupportDoc operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetSupportDoc.go.html to see an example of how to use GetSupportDocRequest.
type GetSupportDocRequest struct {
// SupportDoc Code
SupportDocCode *string `mandatory:"true" contributesTo:"path" name:"supportDocCode"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetSupportDocRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSupportDocRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSupportDocRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSupportDocRequest) String() string
func (request GetSupportDocRequest) 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
GetSupportDocResponse wrapper for the GetSupportDoc operation
type GetSupportDocResponse struct {
// The underlying http response
RawResponse *http.Response
// The SupportDoc instance
SupportDoc `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 (response GetSupportDocResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSupportDocResponse) String() string
GetTermRequest wrapper for the GetTerm operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetTerm.go.html to see an example of how to use GetTermRequest.
type GetTermRequest struct {
// term OCID
TermId *string `mandatory:"true" contributesTo:"path" name:"termId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetTermRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTermRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTermRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTermRequest) String() string
func (request GetTermRequest) 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
GetTermResponse wrapper for the GetTerm operation
type GetTermResponse struct {
// The underlying http response
RawResponse *http.Response
// The Term instance
Term `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 (response GetTermResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTermResponse) String() string
GetTermVersionContentRequest wrapper for the GetTermVersionContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetTermVersionContent.go.html to see an example of how to use GetTermVersionContentRequest.
type GetTermVersionContentRequest struct {
// term version OCID
TermVersionId *string `mandatory:"true" contributesTo:"path" name:"termVersionId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetTermVersionContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTermVersionContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTermVersionContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTermVersionContentRequest) String() string
func (request GetTermVersionContentRequest) 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
GetTermVersionContentResponse wrapper for the GetTermVersionContent operation
type GetTermVersionContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// 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 (response GetTermVersionContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTermVersionContentResponse) String() string
GetTermVersionRequest wrapper for the GetTermVersion operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetTermVersion.go.html to see an example of how to use GetTermVersionRequest.
type GetTermVersionRequest struct {
// term version OCID
TermVersionId *string `mandatory:"true" contributesTo:"path" name:"termVersionId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetTermVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTermVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTermVersionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTermVersionRequest) String() string
func (request GetTermVersionRequest) 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
GetTermVersionResponse wrapper for the GetTermVersion operation
type GetTermVersionResponse struct {
// The underlying http response
RawResponse *http.Response
// The TermVersion instance
TermVersion `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 (response GetTermVersionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTermVersionResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The WorkRequest instance
WorkRequest `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"`
// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
RetryAfter *int `presentIn:"header" name:"retry-after"`
}
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
HelmChartImageDetails Helmchart image details.
type HelmChartImageDetails struct {
// source registry url of the helmchart image.
SourceRegistryUrl *string `mandatory:"true" json:"sourceRegistryUrl"`
// image validation status.
ValidationStatus ValidationStatusEnum `mandatory:"true" json:"validationStatus"`
// image publication status
PublicationStatus PublicationStatusEnum `mandatory:"true" json:"publicationStatus"`
// The source registry OCID of the helmchart image.
SourceRegistryId *string `mandatory:"false" json:"sourceRegistryId"`
// The supported versions of Kubernetes
SupportedKubernetesVersions []string `mandatory:"false" json:"supportedKubernetesVersions"`
// image validation failure errors
ValidationError *string `mandatory:"false" json:"validationError"`
// image validation failure errors
PublicationError *string `mandatory:"false" json:"publicationError"`
}
func (m HelmChartImageDetails) String() string
func (m HelmChartImageDetails) 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
HelmChartPackage A package for container image listings.
type HelmChartPackage struct {
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The unique identifier for the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"true" json:"artifactId"`
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// The version for the package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"true" json:"isDefault"`
// The date and time this listing revision 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:"true" json:"timeCreated"`
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID for the listing revision package in Marketplace Publisher.
Id *string `mandatory:"false" json:"id"`
// The description of this package.
Description *string `mandatory:"false" json:"description"`
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current state for the listing revision package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the listing revision package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
}
func (m HelmChartPackage) GetAreSecurityUpgradesProvided() *bool
GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided
func (m HelmChartPackage) GetArtifactId() *string
GetArtifactId returns ArtifactId
func (m HelmChartPackage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m HelmChartPackage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m HelmChartPackage) GetDescription() *string
GetDescription returns Description
func (m HelmChartPackage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m HelmChartPackage) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m HelmChartPackage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m HelmChartPackage) GetId() *string
GetId returns Id
func (m HelmChartPackage) GetIsDefault() *bool
GetIsDefault returns IsDefault
func (m HelmChartPackage) GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m HelmChartPackage) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m HelmChartPackage) GetPackageVersion() *string
GetPackageVersion returns PackageVersion
func (m HelmChartPackage) GetStatus() ListingRevisionPackageStatusEnum
GetStatus returns Status
func (m HelmChartPackage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m HelmChartPackage) GetTermId() *string
GetTermId returns TermId
func (m HelmChartPackage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m HelmChartPackage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m HelmChartPackage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HelmChartPackage) String() string
func (m HelmChartPackage) 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
HybridPricingPlan Hybrid SaaS pricing plan with a base fee and dimension-based overage billing.
type HybridPricingPlan struct {
// List of pricing rates provider by publisher.
Rates []PricingRate `mandatory:"true" json:"rates"`
// The plan name.
Name *string `mandatory:"true" json:"name"`
// The plan description.
PlanDescription *string `mandatory:"true" json:"planDescription"`
// The usage dimensions that define included usage and overage billing for this plan.
Dimensions []UsageDimension `mandatory:"true" json:"dimensions"`
// Unique identifier of the pricing plan.
PricingPlanKey *string `mandatory:"false" json:"pricingPlanKey"`
// Additional metadata key/value pairs for the hybrid pricing.
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// The plan billing frequency.
BillingFrequency HybridPricingPlanBillingFrequencyEnum `mandatory:"true" json:"billingFrequency"`
// The plan duration.
PlanDuration HybridPricingPlanPlanDurationEnum `mandatory:"false" json:"planDuration,omitempty"`
}
func (m HybridPricingPlan) GetRates() []PricingRate
GetRates returns Rates
func (m HybridPricingPlan) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HybridPricingPlan) String() string
func (m HybridPricingPlan) 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
HybridPricingPlanBillingFrequencyEnum Enum with underlying type: string
type HybridPricingPlanBillingFrequencyEnum string
Set of constants representing the allowable values for HybridPricingPlanBillingFrequencyEnum
const (
HybridPricingPlanBillingFrequencyMonthly HybridPricingPlanBillingFrequencyEnum = "MONTHLY"
HybridPricingPlanBillingFrequencyQuarterly HybridPricingPlanBillingFrequencyEnum = "QUARTERLY"
HybridPricingPlanBillingFrequencySemiAnnual HybridPricingPlanBillingFrequencyEnum = "SEMI_ANNUAL"
HybridPricingPlanBillingFrequencyAnnual HybridPricingPlanBillingFrequencyEnum = "ANNUAL"
HybridPricingPlanBillingFrequencyBiennial HybridPricingPlanBillingFrequencyEnum = "BIENNIAL"
HybridPricingPlanBillingFrequencyTriennial HybridPricingPlanBillingFrequencyEnum = "TRIENNIAL"
)
func GetHybridPricingPlanBillingFrequencyEnumValues() []HybridPricingPlanBillingFrequencyEnum
GetHybridPricingPlanBillingFrequencyEnumValues Enumerates the set of values for HybridPricingPlanBillingFrequencyEnum
func GetMappingHybridPricingPlanBillingFrequencyEnum(val string) (HybridPricingPlanBillingFrequencyEnum, bool)
GetMappingHybridPricingPlanBillingFrequencyEnum performs case Insensitive comparison on enum value and return the desired enum
HybridPricingPlanPlanDurationEnum Enum with underlying type: string
type HybridPricingPlanPlanDurationEnum string
Set of constants representing the allowable values for HybridPricingPlanPlanDurationEnum
const (
HybridPricingPlanPlanDurationMonthly HybridPricingPlanPlanDurationEnum = "MONTHLY"
HybridPricingPlanPlanDurationQuarterly HybridPricingPlanPlanDurationEnum = "QUARTERLY"
HybridPricingPlanPlanDurationSemiAnnual HybridPricingPlanPlanDurationEnum = "SEMI_ANNUAL"
HybridPricingPlanPlanDurationAnnual HybridPricingPlanPlanDurationEnum = "ANNUAL"
HybridPricingPlanPlanDurationBiennial HybridPricingPlanPlanDurationEnum = "BIENNIAL"
HybridPricingPlanPlanDurationTriennial HybridPricingPlanPlanDurationEnum = "TRIENNIAL"
)
func GetHybridPricingPlanPlanDurationEnumValues() []HybridPricingPlanPlanDurationEnum
GetHybridPricingPlanPlanDurationEnumValues Enumerates the set of values for HybridPricingPlanPlanDurationEnum
func GetMappingHybridPricingPlanPlanDurationEnum(val string) (HybridPricingPlanPlanDurationEnum, bool)
GetMappingHybridPricingPlanPlanDurationEnum performs case Insensitive comparison on enum value and return the desired enum
ImageMemoryConstraints For a flexible image and shape, the amount of memory supported for instances that use this image.
type ImageMemoryConstraints struct {
// The minimum amount of memory, in gigabytes.
MinInGBs *int `mandatory:"false" json:"minInGBs"`
// The maximum amount of memory, in gigabytes.
MaxInGBs *int `mandatory:"false" json:"maxInGBs"`
}
func (m ImageMemoryConstraints) String() string
func (m ImageMemoryConstraints) 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
ImageOcpuConstraints OCPU options for an image and shape.
type ImageOcpuConstraints struct {
// The minimum number of OCPUs supported for this image and shape.
Min *int `mandatory:"false" json:"min"`
// The maximum number of OCPUs supported for this image and shape.
Max *int `mandatory:"false" json:"max"`
}
func (m ImageOcpuConstraints) String() string
func (m ImageOcpuConstraints) 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
ImageShapeCompatibility Shape configuration details
type ImageShapeCompatibility struct {
// Name of the shape.
Shape *string `mandatory:"true" json:"shape"`
MemoryConstraints *ImageMemoryConstraints `mandatory:"false" json:"memoryConstraints"`
OcpuConstraints *ImageOcpuConstraints `mandatory:"false" json:"ocpuConstraints"`
}
func (m ImageShapeCompatibility) String() string
func (m ImageShapeCompatibility) 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
KubernetesImageArtifact Kubernetes HelmChart Image artifact details.
type KubernetesImageArtifact struct {
// Unique OCID identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// A display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
HelmChart *HelmChartImageDetails `mandatory:"true" json:"helmChart"`
// Status notes for the Artifact.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// List of container image artifact unique identifiers included in the helm chart.
ContainerImageArtifactIds []string `mandatory:"false" json:"containerImageArtifactIds"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m KubernetesImageArtifact) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m KubernetesImageArtifact) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m KubernetesImageArtifact) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m KubernetesImageArtifact) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m KubernetesImageArtifact) GetId() *string
GetId returns Id
func (m KubernetesImageArtifact) GetLifecycleState() ArtifactLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m KubernetesImageArtifact) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m KubernetesImageArtifact) GetStatus() ArtifactStatusEnum
GetStatus returns Status
func (m KubernetesImageArtifact) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m KubernetesImageArtifact) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m KubernetesImageArtifact) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m KubernetesImageArtifact) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m KubernetesImageArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m KubernetesImageArtifact) String() string
func (m KubernetesImageArtifact) 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
LanguageItem The model for a language item within an array of filter values.
type LanguageItem struct {
// The name of the item.
Name *string `mandatory:"true" json:"name"`
// A code assigned to the item.
Code *string `mandatory:"true" json:"code"`
}
func (m LanguageItem) String() string
func (m LanguageItem) 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
Lead Details of Lead
type Lead struct {
// Unique OCID identifier for the lead.
Id *string `mandatory:"true" json:"id"`
// The OCID for the listing.
ListingId *string `mandatory:"true" json:"listingId"`
// The Name for the listing.
ListingName *string `mandatory:"true" json:"listingName"`
// The OCID for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The state for the listing.
LifecycleState LeadLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the listing was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
AdditionalInfo *AdditionalInfo `mandatory:"false" json:"additionalInfo"`
}
func (m Lead) String() string
func (m Lead) 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
LeadCollection The model for the collection of Marketplace Publisher Lead.
type LeadCollection struct {
// List of Lead summary.
Items []LeadSummary `mandatory:"true" json:"items"`
}
func (m LeadCollection) String() string
func (m LeadCollection) 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
LeadGenListingRevision Listing revision details for lead gen listings
type LeadGenListingRevision struct {
// Unique OCID identifier for the listing revision in Marketplace Publisher.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// The name for the listing revision.
DisplayName *string `mandatory:"true" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// The time the listing revision was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the listing revision was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// List of Products subscribed by listing.
Products []ListingProduct `mandatory:"true" json:"products"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The revision number for the listing revision. This is an internal attribute
RevisionNumber *string `mandatory:"false" json:"revisionNumber"`
// The tagline of the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
Banner *ListingRevisionBannerAttachment `mandatory:"false" json:"banner"`
// Status notes for the listing revision.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Additional metadata key/value pairs for the listing revision summary.
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// System requirements for the listing revision.
SystemRequirements *string `mandatory:"false" json:"systemRequirements"`
// Url to demo of the listing
DemoUrl *string `mandatory:"false" json:"demoUrl"`
// Url to training resources of the listing
SelfPacedTrainingUrl *string `mandatory:"false" json:"selfPacedTrainingUrl"`
// OCIDs of service listings attached to lead gen listing
RecommendedServiceProviderListingIds []string `mandatory:"false" json:"recommendedServiceProviderListingIds"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
DownloadInfo *DownloadInfo `mandatory:"false" json:"downloadInfo"`
// Pricing details for lead gen listing
PricingPlans *string `mandatory:"false" json:"pricingPlans"`
// The current status for the Listing revision.
Status ListingRevisionStatusEnum `mandatory:"true" json:"status"`
// The current state of the listing revision.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The listing's package type. Populated from the listing.
PackageType PackageTypeEnum `mandatory:"false" json:"packageType,omitempty"`
// The pricing model for the listing revision.
PricingType OciListingRevisionPricingTypeEnum `mandatory:"true" json:"pricingType"`
}
func (m LeadGenListingRevision) GetBanner() *ListingRevisionBannerAttachment
GetBanner returns Banner
func (m LeadGenListingRevision) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m LeadGenListingRevision) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m LeadGenListingRevision) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m LeadGenListingRevision) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m LeadGenListingRevision) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m LeadGenListingRevision) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m LeadGenListingRevision) GetHeadline() *string
GetHeadline returns Headline
func (m LeadGenListingRevision) GetIcon() *ListingRevisionIconAttachment
GetIcon returns Icon
func (m LeadGenListingRevision) GetId() *string
GetId returns Id
func (m LeadGenListingRevision) GetKeywords() *string
GetKeywords returns Keywords
func (m LeadGenListingRevision) GetLifecycleState() ListingRevisionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m LeadGenListingRevision) GetListingId() *string
GetListingId returns ListingId
func (m LeadGenListingRevision) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m LeadGenListingRevision) GetPackageType() PackageTypeEnum
GetPackageType returns PackageType
func (m LeadGenListingRevision) GetRevisionNumber() *string
GetRevisionNumber returns RevisionNumber
func (m LeadGenListingRevision) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m LeadGenListingRevision) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m LeadGenListingRevision) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m LeadGenListingRevision) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m LeadGenListingRevision) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m LeadGenListingRevision) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m LeadGenListingRevision) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m LeadGenListingRevision) GetTagline() *string
GetTagline returns Tagline
func (m LeadGenListingRevision) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m LeadGenListingRevision) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m LeadGenListingRevision) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m LeadGenListingRevision) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LeadGenListingRevision) String() string
func (m LeadGenListingRevision) 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
LeadLifecycleStateEnum Enum with underlying type: string
type LeadLifecycleStateEnum string
Set of constants representing the allowable values for LeadLifecycleStateEnum
const (
LeadLifecycleStateActive LeadLifecycleStateEnum = "ACTIVE"
LeadLifecycleStateDeleted LeadLifecycleStateEnum = "DELETED"
)
func GetLeadLifecycleStateEnumValues() []LeadLifecycleStateEnum
GetLeadLifecycleStateEnumValues Enumerates the set of values for LeadLifecycleStateEnum
func GetMappingLeadLifecycleStateEnum(val string) (LeadLifecycleStateEnum, bool)
GetMappingLeadLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
LeadSummary A placeholder for list of leads
type LeadSummary struct {
// Unique OCID identifier for the listing.
Id *string `mandatory:"false" json:"id"`
// The unique identifier for the listing.
ListingId *string `mandatory:"false" json:"listingId"`
// The name of the listing.
ListingName *string `mandatory:"false" json:"listingName"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The state for the listing.
LifecycleState LeadLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// The date and time the listing was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
AdditionalInfo *AdditionalInfo `mandatory:"false" json:"additionalInfo"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m LeadSummary) String() string
func (m LeadSummary) 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
ListAdminArtifactsArtifactTypeEnum Enum with underlying type: string
type ListAdminArtifactsArtifactTypeEnum string
Set of constants representing the allowable values for ListAdminArtifactsArtifactTypeEnum
const (
ListAdminArtifactsArtifactTypeContainerImage ListAdminArtifactsArtifactTypeEnum = "CONTAINER_IMAGE"
ListAdminArtifactsArtifactTypeHelmChart ListAdminArtifactsArtifactTypeEnum = "HELM_CHART"
ListAdminArtifactsArtifactTypeMachineImage ListAdminArtifactsArtifactTypeEnum = "MACHINE_IMAGE"
ListAdminArtifactsArtifactTypeStack ListAdminArtifactsArtifactTypeEnum = "STACK"
)
func GetListAdminArtifactsArtifactTypeEnumValues() []ListAdminArtifactsArtifactTypeEnum
GetListAdminArtifactsArtifactTypeEnumValues Enumerates the set of values for ListAdminArtifactsArtifactTypeEnum
func GetMappingListAdminArtifactsArtifactTypeEnum(val string) (ListAdminArtifactsArtifactTypeEnum, bool)
GetMappingListAdminArtifactsArtifactTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminArtifactsRequest wrapper for the ListAdminArtifacts operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminArtifacts.go.html to see an example of how to use ListAdminArtifactsRequest.
type ListAdminArtifactsRequest struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Unique publisher identifier.
PublisherId *string `mandatory:"false" contributesTo:"query" name:"publisherId"`
// A filter to return only artifacts with specific type.
ArtifactType ListAdminArtifactsArtifactTypeEnum `mandatory:"false" contributesTo:"query" name:"artifactType" omitEmpty:"true"`
// A filter to return only artifacts with their lifecycleState matches the given lifecycleState.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only artifacts with specific status.
Status ArtifactStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListAdminArtifactsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort admin artifacts by. The default order for timeCreated and timeUpdated is descending.
// The default order for displayName is ascending.
SortBy ListAdminArtifactsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListAdminArtifactsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAdminArtifactsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAdminArtifactsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAdminArtifactsRequest) String() string
func (request ListAdminArtifactsRequest) 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
ListAdminArtifactsResponse wrapper for the ListAdminArtifacts operation
type ListAdminArtifactsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AdminArtifactCollection instances
AdminArtifactCollection `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 (response ListAdminArtifactsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAdminArtifactsResponse) String() string
ListAdminArtifactsSortByEnum Enum with underlying type: string
type ListAdminArtifactsSortByEnum string
Set of constants representing the allowable values for ListAdminArtifactsSortByEnum
const (
ListAdminArtifactsSortByTimecreated ListAdminArtifactsSortByEnum = "timeCreated"
ListAdminArtifactsSortByTimeupdated ListAdminArtifactsSortByEnum = "timeUpdated"
ListAdminArtifactsSortByDisplayname ListAdminArtifactsSortByEnum = "displayName"
)
func GetListAdminArtifactsSortByEnumValues() []ListAdminArtifactsSortByEnum
GetListAdminArtifactsSortByEnumValues Enumerates the set of values for ListAdminArtifactsSortByEnum
func GetMappingListAdminArtifactsSortByEnum(val string) (ListAdminArtifactsSortByEnum, bool)
GetMappingListAdminArtifactsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminArtifactsSortOrderEnum Enum with underlying type: string
type ListAdminArtifactsSortOrderEnum string
Set of constants representing the allowable values for ListAdminArtifactsSortOrderEnum
const (
ListAdminArtifactsSortOrderAsc ListAdminArtifactsSortOrderEnum = "ASC"
ListAdminArtifactsSortOrderDesc ListAdminArtifactsSortOrderEnum = "DESC"
)
func GetListAdminArtifactsSortOrderEnumValues() []ListAdminArtifactsSortOrderEnum
GetListAdminArtifactsSortOrderEnumValues Enumerates the set of values for ListAdminArtifactsSortOrderEnum
func GetMappingListAdminArtifactsSortOrderEnum(val string) (ListAdminArtifactsSortOrderEnum, bool)
GetMappingListAdminArtifactsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminListingRevisionAttachmentsRequest wrapper for the ListAdminListingRevisionAttachments operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminListingRevisionAttachments.go.html to see an example of how to use ListAdminListingRevisionAttachmentsRequest.
type ListAdminListingRevisionAttachmentsRequest struct {
// OCID of the listing revision.
ListingRevisionId *string `mandatory:"true" contributesTo:"query" name:"listingRevisionId"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only attachments their lifecycleState matches the given lifecycleState.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListAdminListingRevisionAttachmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListAdminListingRevisionAttachmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListAdminListingRevisionAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAdminListingRevisionAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAdminListingRevisionAttachmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAdminListingRevisionAttachmentsRequest) String() string
func (request ListAdminListingRevisionAttachmentsRequest) 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
ListAdminListingRevisionAttachmentsResponse wrapper for the ListAdminListingRevisionAttachments operation
type ListAdminListingRevisionAttachmentsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AdminListingRevisionAttachmentCollection instances
AdminListingRevisionAttachmentCollection `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 (response ListAdminListingRevisionAttachmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAdminListingRevisionAttachmentsResponse) String() string
ListAdminListingRevisionAttachmentsSortByEnum Enum with underlying type: string
type ListAdminListingRevisionAttachmentsSortByEnum string
Set of constants representing the allowable values for ListAdminListingRevisionAttachmentsSortByEnum
const (
ListAdminListingRevisionAttachmentsSortByTimecreated ListAdminListingRevisionAttachmentsSortByEnum = "timeCreated"
ListAdminListingRevisionAttachmentsSortByDisplayname ListAdminListingRevisionAttachmentsSortByEnum = "displayName"
)
func GetListAdminListingRevisionAttachmentsSortByEnumValues() []ListAdminListingRevisionAttachmentsSortByEnum
GetListAdminListingRevisionAttachmentsSortByEnumValues Enumerates the set of values for ListAdminListingRevisionAttachmentsSortByEnum
func GetMappingListAdminListingRevisionAttachmentsSortByEnum(val string) (ListAdminListingRevisionAttachmentsSortByEnum, bool)
GetMappingListAdminListingRevisionAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminListingRevisionAttachmentsSortOrderEnum Enum with underlying type: string
type ListAdminListingRevisionAttachmentsSortOrderEnum string
Set of constants representing the allowable values for ListAdminListingRevisionAttachmentsSortOrderEnum
const (
ListAdminListingRevisionAttachmentsSortOrderAsc ListAdminListingRevisionAttachmentsSortOrderEnum = "ASC"
ListAdminListingRevisionAttachmentsSortOrderDesc ListAdminListingRevisionAttachmentsSortOrderEnum = "DESC"
)
func GetListAdminListingRevisionAttachmentsSortOrderEnumValues() []ListAdminListingRevisionAttachmentsSortOrderEnum
GetListAdminListingRevisionAttachmentsSortOrderEnumValues Enumerates the set of values for ListAdminListingRevisionAttachmentsSortOrderEnum
func GetMappingListAdminListingRevisionAttachmentsSortOrderEnum(val string) (ListAdminListingRevisionAttachmentsSortOrderEnum, bool)
GetMappingListAdminListingRevisionAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminListingRevisionPackagesRequest wrapper for the ListAdminListingRevisionPackages operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminListingRevisionPackages.go.html to see an example of how to use ListAdminListingRevisionPackagesRequest.
type ListAdminListingRevisionPackagesRequest struct {
// OCID of the listing revision.
ListingRevisionId *string `mandatory:"true" contributesTo:"query" name:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only packages their lifecycleState matches the given lifecycleState.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListAdminListingRevisionPackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListAdminListingRevisionPackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListAdminListingRevisionPackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAdminListingRevisionPackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAdminListingRevisionPackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAdminListingRevisionPackagesRequest) String() string
func (request ListAdminListingRevisionPackagesRequest) 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
ListAdminListingRevisionPackagesResponse wrapper for the ListAdminListingRevisionPackages operation
type ListAdminListingRevisionPackagesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AdminListingRevisionPackageCollection instances
AdminListingRevisionPackageCollection `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 (response ListAdminListingRevisionPackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAdminListingRevisionPackagesResponse) String() string
ListAdminListingRevisionPackagesSortByEnum Enum with underlying type: string
type ListAdminListingRevisionPackagesSortByEnum string
Set of constants representing the allowable values for ListAdminListingRevisionPackagesSortByEnum
const (
ListAdminListingRevisionPackagesSortByTimecreated ListAdminListingRevisionPackagesSortByEnum = "timeCreated"
ListAdminListingRevisionPackagesSortByDisplayname ListAdminListingRevisionPackagesSortByEnum = "displayName"
)
func GetListAdminListingRevisionPackagesSortByEnumValues() []ListAdminListingRevisionPackagesSortByEnum
GetListAdminListingRevisionPackagesSortByEnumValues Enumerates the set of values for ListAdminListingRevisionPackagesSortByEnum
func GetMappingListAdminListingRevisionPackagesSortByEnum(val string) (ListAdminListingRevisionPackagesSortByEnum, bool)
GetMappingListAdminListingRevisionPackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminListingRevisionPackagesSortOrderEnum Enum with underlying type: string
type ListAdminListingRevisionPackagesSortOrderEnum string
Set of constants representing the allowable values for ListAdminListingRevisionPackagesSortOrderEnum
const (
ListAdminListingRevisionPackagesSortOrderAsc ListAdminListingRevisionPackagesSortOrderEnum = "ASC"
ListAdminListingRevisionPackagesSortOrderDesc ListAdminListingRevisionPackagesSortOrderEnum = "DESC"
)
func GetListAdminListingRevisionPackagesSortOrderEnumValues() []ListAdminListingRevisionPackagesSortOrderEnum
GetListAdminListingRevisionPackagesSortOrderEnumValues Enumerates the set of values for ListAdminListingRevisionPackagesSortOrderEnum
func GetMappingListAdminListingRevisionPackagesSortOrderEnum(val string) (ListAdminListingRevisionPackagesSortOrderEnum, bool)
GetMappingListAdminListingRevisionPackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminListingRevisionsListingTypeEnum Enum with underlying type: string
type ListAdminListingRevisionsListingTypeEnum string
Set of constants representing the allowable values for ListAdminListingRevisionsListingTypeEnum
const (
ListAdminListingRevisionsListingTypeOciApplication ListAdminListingRevisionsListingTypeEnum = "OCI_APPLICATION"
ListAdminListingRevisionsListingTypeLeadGeneration ListAdminListingRevisionsListingTypeEnum = "LEAD_GENERATION"
ListAdminListingRevisionsListingTypeService ListAdminListingRevisionsListingTypeEnum = "SERVICE"
)
func GetListAdminListingRevisionsListingTypeEnumValues() []ListAdminListingRevisionsListingTypeEnum
GetListAdminListingRevisionsListingTypeEnumValues Enumerates the set of values for ListAdminListingRevisionsListingTypeEnum
func GetMappingListAdminListingRevisionsListingTypeEnum(val string) (ListAdminListingRevisionsListingTypeEnum, bool)
GetMappingListAdminListingRevisionsListingTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminListingRevisionsRequest wrapper for the ListAdminListingRevisions operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminListingRevisions.go.html to see an example of how to use ListAdminListingRevisionsRequest.
type ListAdminListingRevisionsRequest struct {
// listing OCID
ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// A filter to return listings based on their type
ListingType ListAdminListingRevisionsListingTypeEnum `mandatory:"false" contributesTo:"query" name:"listingType" omitEmpty:"true"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// Unique publisher identifier.
PublisherId *string `mandatory:"false" contributesTo:"query" name:"publisherId"`
// A filter to return only listing revisions their lifecycleState matches the given lifecycleState.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only listing revisions their status matches the given listing revision status.
ListingRevisionStatus ListingRevisionStatusEnum `mandatory:"false" contributesTo:"query" name:"listingRevisionStatus" omitEmpty:"true"`
// Comma-separated listing revision status values used to filter OpenSearch admin listing revision results.
StatusCsv *string `mandatory:"false" contributesTo:"query" name:"statusCsv"`
// Product value used to filter OpenSearch admin listing revision results.
Product *string `mandatory:"false" contributesTo:"query" name:"product"`
// Filters data created after the specified date.
TimeCreatedAfter *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedAfter"`
// Filters data updated after the specified date.
TimeUpdatedAfter *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUpdatedAfter"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListAdminListingRevisionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for timeUpdated is descending. Default order for displayName is ascending.
SortBy ListAdminListingRevisionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Optional pricing type filter for listing admin listing revisions. This filter is only applied when dataSource is opensearch.
PricingType *string `mandatory:"false" contributesTo:"query" name:"pricingType"`
// Optional private offer enabled filter for listing admin listing revisions. This filter is only applied when dataSource is opensearch.
IsPrivateOfferEnabled *bool `mandatory:"false" contributesTo:"query" name:"isPrivateOfferEnabled"`
// Optional source for listing admin listing revisions. Use opensearch to read from OpenSearch.
DataSource *string `mandatory:"false" contributesTo:"query" name:"dataSource"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListAdminListingRevisionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAdminListingRevisionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAdminListingRevisionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAdminListingRevisionsRequest) String() string
func (request ListAdminListingRevisionsRequest) 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
ListAdminListingRevisionsResponse wrapper for the ListAdminListingRevisions operation
type ListAdminListingRevisionsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AdminListingRevisionCollection instances
AdminListingRevisionCollection `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 (response ListAdminListingRevisionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAdminListingRevisionsResponse) String() string
ListAdminListingRevisionsSortByEnum Enum with underlying type: string
type ListAdminListingRevisionsSortByEnum string
Set of constants representing the allowable values for ListAdminListingRevisionsSortByEnum
const (
ListAdminListingRevisionsSortByTimecreated ListAdminListingRevisionsSortByEnum = "timeCreated"
ListAdminListingRevisionsSortByTimeupdated ListAdminListingRevisionsSortByEnum = "timeUpdated"
ListAdminListingRevisionsSortByDisplayname ListAdminListingRevisionsSortByEnum = "displayName"
)
func GetListAdminListingRevisionsSortByEnumValues() []ListAdminListingRevisionsSortByEnum
GetListAdminListingRevisionsSortByEnumValues Enumerates the set of values for ListAdminListingRevisionsSortByEnum
func GetMappingListAdminListingRevisionsSortByEnum(val string) (ListAdminListingRevisionsSortByEnum, bool)
GetMappingListAdminListingRevisionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminListingRevisionsSortOrderEnum Enum with underlying type: string
type ListAdminListingRevisionsSortOrderEnum string
Set of constants representing the allowable values for ListAdminListingRevisionsSortOrderEnum
const (
ListAdminListingRevisionsSortOrderAsc ListAdminListingRevisionsSortOrderEnum = "ASC"
ListAdminListingRevisionsSortOrderDesc ListAdminListingRevisionsSortOrderEnum = "DESC"
)
func GetListAdminListingRevisionsSortOrderEnumValues() []ListAdminListingRevisionsSortOrderEnum
GetListAdminListingRevisionsSortOrderEnumValues Enumerates the set of values for ListAdminListingRevisionsSortOrderEnum
func GetMappingListAdminListingRevisionsSortOrderEnum(val string) (ListAdminListingRevisionsSortOrderEnum, bool)
GetMappingListAdminListingRevisionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminPublisherSkusRequest wrapper for the ListAdminPublisherSkus operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminPublisherSkus.go.html to see an example of how to use ListAdminPublisherSkusRequest.
type ListAdminPublisherSkusRequest struct {
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// 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 (request ListAdminPublisherSkusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAdminPublisherSkusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAdminPublisherSkusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAdminPublisherSkusRequest) String() string
func (request ListAdminPublisherSkusRequest) 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
ListAdminPublisherSkusResponse wrapper for the ListAdminPublisherSkus operation
type ListAdminPublisherSkusResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AdminPublisherSkuCollection instances
AdminPublisherSkuCollection `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 (response ListAdminPublisherSkusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAdminPublisherSkusResponse) String() string
ListAdminTermVersionsRequest wrapper for the ListAdminTermVersions operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminTermVersions.go.html to see an example of how to use ListAdminTermVersionsRequest.
type ListAdminTermVersionsRequest struct {
// term OCID
TermId *string `mandatory:"true" contributesTo:"query" name:"termId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListAdminTermVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListAdminTermVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// 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 (request ListAdminTermVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAdminTermVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAdminTermVersionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAdminTermVersionsRequest) String() string
func (request ListAdminTermVersionsRequest) 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
ListAdminTermVersionsResponse wrapper for the ListAdminTermVersions operation
type ListAdminTermVersionsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AdminTermVersionCollection instances
AdminTermVersionCollection `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 (response ListAdminTermVersionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAdminTermVersionsResponse) String() string
ListAdminTermVersionsSortByEnum Enum with underlying type: string
type ListAdminTermVersionsSortByEnum string
Set of constants representing the allowable values for ListAdminTermVersionsSortByEnum
const (
ListAdminTermVersionsSortByTimecreated ListAdminTermVersionsSortByEnum = "timeCreated"
ListAdminTermVersionsSortByDisplayname ListAdminTermVersionsSortByEnum = "displayName"
)
func GetListAdminTermVersionsSortByEnumValues() []ListAdminTermVersionsSortByEnum
GetListAdminTermVersionsSortByEnumValues Enumerates the set of values for ListAdminTermVersionsSortByEnum
func GetMappingListAdminTermVersionsSortByEnum(val string) (ListAdminTermVersionsSortByEnum, bool)
GetMappingListAdminTermVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminTermVersionsSortOrderEnum Enum with underlying type: string
type ListAdminTermVersionsSortOrderEnum string
Set of constants representing the allowable values for ListAdminTermVersionsSortOrderEnum
const (
ListAdminTermVersionsSortOrderAsc ListAdminTermVersionsSortOrderEnum = "ASC"
ListAdminTermVersionsSortOrderDesc ListAdminTermVersionsSortOrderEnum = "DESC"
)
func GetListAdminTermVersionsSortOrderEnumValues() []ListAdminTermVersionsSortOrderEnum
GetListAdminTermVersionsSortOrderEnumValues Enumerates the set of values for ListAdminTermVersionsSortOrderEnum
func GetMappingListAdminTermVersionsSortOrderEnum(val string) (ListAdminTermVersionsSortOrderEnum, bool)
GetMappingListAdminTermVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminTermsRequest wrapper for the ListAdminTerms operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminTerms.go.html to see an example of how to use ListAdminTermsRequest.
type ListAdminTermsRequest struct {
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListAdminTermsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListAdminTermsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// 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 (request ListAdminTermsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAdminTermsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAdminTermsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAdminTermsRequest) String() string
func (request ListAdminTermsRequest) 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
ListAdminTermsResponse wrapper for the ListAdminTerms operation
type ListAdminTermsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AdminTermCollection instances
AdminTermCollection `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 (response ListAdminTermsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAdminTermsResponse) String() string
ListAdminTermsSortByEnum Enum with underlying type: string
type ListAdminTermsSortByEnum string
Set of constants representing the allowable values for ListAdminTermsSortByEnum
const (
ListAdminTermsSortByTimecreated ListAdminTermsSortByEnum = "timeCreated"
ListAdminTermsSortByDisplayname ListAdminTermsSortByEnum = "displayName"
)
func GetListAdminTermsSortByEnumValues() []ListAdminTermsSortByEnum
GetListAdminTermsSortByEnumValues Enumerates the set of values for ListAdminTermsSortByEnum
func GetMappingListAdminTermsSortByEnum(val string) (ListAdminTermsSortByEnum, bool)
GetMappingListAdminTermsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminTermsSortOrderEnum Enum with underlying type: string
type ListAdminTermsSortOrderEnum string
Set of constants representing the allowable values for ListAdminTermsSortOrderEnum
const (
ListAdminTermsSortOrderAsc ListAdminTermsSortOrderEnum = "ASC"
ListAdminTermsSortOrderDesc ListAdminTermsSortOrderEnum = "DESC"
)
func GetListAdminTermsSortOrderEnumValues() []ListAdminTermsSortOrderEnum
GetListAdminTermsSortOrderEnumValues Enumerates the set of values for ListAdminTermsSortOrderEnum
func GetMappingListAdminTermsSortOrderEnum(val string) (ListAdminTermsSortOrderEnum, bool)
GetMappingListAdminTermsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminWorkRequestsRequest wrapper for the ListAdminWorkRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminWorkRequests.go.html to see an example of how to use ListAdminWorkRequestsRequest.
type ListAdminWorkRequestsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The ID of the asynchronous work request.
WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`
// A filter to return only resources their lifecycleState matches the given OperationStatus.
Status ListAdminWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// The ID of the resource affected by the work request.
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListAdminWorkRequestsSortOrderEnum `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 ListAdminWorkRequestsSortByEnum `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 (request ListAdminWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAdminWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAdminWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAdminWorkRequestsRequest) String() string
func (request ListAdminWorkRequestsRequest) 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
ListAdminWorkRequestsResponse wrapper for the ListAdminWorkRequests operation
type ListAdminWorkRequestsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AdminWorkRequestSummaryCollection instances
AdminWorkRequestSummaryCollection `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 (response ListAdminWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAdminWorkRequestsResponse) String() string
ListAdminWorkRequestsSortByEnum Enum with underlying type: string
type ListAdminWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListAdminWorkRequestsSortByEnum
const (
ListAdminWorkRequestsSortByTimeaccepted ListAdminWorkRequestsSortByEnum = "timeAccepted"
)
func GetListAdminWorkRequestsSortByEnumValues() []ListAdminWorkRequestsSortByEnum
GetListAdminWorkRequestsSortByEnumValues Enumerates the set of values for ListAdminWorkRequestsSortByEnum
func GetMappingListAdminWorkRequestsSortByEnum(val string) (ListAdminWorkRequestsSortByEnum, bool)
GetMappingListAdminWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminWorkRequestsSortOrderEnum Enum with underlying type: string
type ListAdminWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListAdminWorkRequestsSortOrderEnum
const (
ListAdminWorkRequestsSortOrderAsc ListAdminWorkRequestsSortOrderEnum = "ASC"
ListAdminWorkRequestsSortOrderDesc ListAdminWorkRequestsSortOrderEnum = "DESC"
)
func GetListAdminWorkRequestsSortOrderEnumValues() []ListAdminWorkRequestsSortOrderEnum
GetListAdminWorkRequestsSortOrderEnumValues Enumerates the set of values for ListAdminWorkRequestsSortOrderEnum
func GetMappingListAdminWorkRequestsSortOrderEnum(val string) (ListAdminWorkRequestsSortOrderEnum, bool)
GetMappingListAdminWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAdminWorkRequestsStatusEnum Enum with underlying type: string
type ListAdminWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListAdminWorkRequestsStatusEnum
const (
ListAdminWorkRequestsStatusAccepted ListAdminWorkRequestsStatusEnum = "ACCEPTED"
ListAdminWorkRequestsStatusInProgress ListAdminWorkRequestsStatusEnum = "IN_PROGRESS"
ListAdminWorkRequestsStatusWaiting ListAdminWorkRequestsStatusEnum = "WAITING"
ListAdminWorkRequestsStatusNeedsAttention ListAdminWorkRequestsStatusEnum = "NEEDS_ATTENTION"
ListAdminWorkRequestsStatusFailed ListAdminWorkRequestsStatusEnum = "FAILED"
ListAdminWorkRequestsStatusSucceeded ListAdminWorkRequestsStatusEnum = "SUCCEEDED"
ListAdminWorkRequestsStatusCanceling ListAdminWorkRequestsStatusEnum = "CANCELING"
ListAdminWorkRequestsStatusCanceled ListAdminWorkRequestsStatusEnum = "CANCELED"
)
func GetListAdminWorkRequestsStatusEnumValues() []ListAdminWorkRequestsStatusEnum
GetListAdminWorkRequestsStatusEnumValues Enumerates the set of values for ListAdminWorkRequestsStatusEnum
func GetMappingListAdminWorkRequestsStatusEnum(val string) (ListAdminWorkRequestsStatusEnum, bool)
GetMappingListAdminWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListArtifactsRequest wrapper for the ListArtifacts operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListArtifacts.go.html to see an example of how to use ListArtifactsRequest.
type ListArtifactsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return only artifacts with their lifecycleState matches the given lifecycleState.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only artifacts with specific status.
Status ArtifactStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListArtifactsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListArtifactsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListArtifactsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListArtifactsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListArtifactsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListArtifactsRequest) String() string
func (request ListArtifactsRequest) 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
ListArtifactsResponse wrapper for the ListArtifacts operation
type ListArtifactsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ArtifactCollection instances
ArtifactCollection `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 (response ListArtifactsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListArtifactsResponse) String() string
ListArtifactsSortByEnum Enum with underlying type: string
type ListArtifactsSortByEnum string
Set of constants representing the allowable values for ListArtifactsSortByEnum
const (
ListArtifactsSortByTimecreated ListArtifactsSortByEnum = "timeCreated"
ListArtifactsSortByDisplayname ListArtifactsSortByEnum = "displayName"
)
func GetListArtifactsSortByEnumValues() []ListArtifactsSortByEnum
GetListArtifactsSortByEnumValues Enumerates the set of values for ListArtifactsSortByEnum
func GetMappingListArtifactsSortByEnum(val string) (ListArtifactsSortByEnum, bool)
GetMappingListArtifactsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListArtifactsSortOrderEnum Enum with underlying type: string
type ListArtifactsSortOrderEnum string
Set of constants representing the allowable values for ListArtifactsSortOrderEnum
const (
ListArtifactsSortOrderAsc ListArtifactsSortOrderEnum = "ASC"
ListArtifactsSortOrderDesc ListArtifactsSortOrderEnum = "DESC"
)
func GetListArtifactsSortOrderEnumValues() []ListArtifactsSortOrderEnum
GetListArtifactsSortOrderEnumValues Enumerates the set of values for ListArtifactsSortOrderEnum
func GetMappingListArtifactsSortOrderEnum(val string) (ListArtifactsSortOrderEnum, bool)
GetMappingListArtifactsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailableServicesRequest wrapper for the ListAvailableServices operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAvailableServices.go.html to see an example of how to use ListAvailableServicesRequest.
type ListAvailableServicesRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListAvailableServicesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListAvailableServicesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListAvailableServicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAvailableServicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailableServicesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailableServicesRequest) String() string
func (request ListAvailableServicesRequest) 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
ListAvailableServicesResponse wrapper for the ListAvailableServices operation
type ListAvailableServicesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AvailableServiceCollection instances
AvailableServiceCollection `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 (response ListAvailableServicesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailableServicesResponse) String() string
ListAvailableServicesSortByEnum Enum with underlying type: string
type ListAvailableServicesSortByEnum string
Set of constants representing the allowable values for ListAvailableServicesSortByEnum
const (
ListAvailableServicesSortByTimecreated ListAvailableServicesSortByEnum = "timeCreated"
ListAvailableServicesSortByDisplayname ListAvailableServicesSortByEnum = "displayName"
)
func GetListAvailableServicesSortByEnumValues() []ListAvailableServicesSortByEnum
GetListAvailableServicesSortByEnumValues Enumerates the set of values for ListAvailableServicesSortByEnum
func GetMappingListAvailableServicesSortByEnum(val string) (ListAvailableServicesSortByEnum, bool)
GetMappingListAvailableServicesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailableServicesSortOrderEnum Enum with underlying type: string
type ListAvailableServicesSortOrderEnum string
Set of constants representing the allowable values for ListAvailableServicesSortOrderEnum
const (
ListAvailableServicesSortOrderAsc ListAvailableServicesSortOrderEnum = "ASC"
ListAvailableServicesSortOrderDesc ListAvailableServicesSortOrderEnum = "DESC"
)
func GetListAvailableServicesSortOrderEnumValues() []ListAvailableServicesSortOrderEnum
GetListAvailableServicesSortOrderEnumValues Enumerates the set of values for ListAvailableServicesSortOrderEnum
func GetMappingListAvailableServicesSortOrderEnum(val string) (ListAvailableServicesSortOrderEnum, bool)
GetMappingListAvailableServicesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListCategoriesRequest wrapper for the ListCategories operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListCategories.go.html to see an example of how to use ListCategoriesRequest.
type ListCategoriesRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// product code to filter
ProductCode *string `mandatory:"false" contributesTo:"query" name:"productCode"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListCategoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListCategoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// 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 (request ListCategoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListCategoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListCategoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListCategoriesRequest) String() string
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
ListCategoriesResponse wrapper for the ListCategories operation
type ListCategoriesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of CategoryCollection instances
CategoryCollection `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 (response ListCategoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListCategoriesResponse) String() string
ListCategoriesSortByEnum Enum with underlying type: string
type ListCategoriesSortByEnum string
Set of constants representing the allowable values for ListCategoriesSortByEnum
const (
ListCategoriesSortByTimecreated ListCategoriesSortByEnum = "timeCreated"
ListCategoriesSortByDisplayname ListCategoriesSortByEnum = "displayName"
)
func GetListCategoriesSortByEnumValues() []ListCategoriesSortByEnum
GetListCategoriesSortByEnumValues Enumerates the set of values for ListCategoriesSortByEnum
func GetMappingListCategoriesSortByEnum(val string) (ListCategoriesSortByEnum, bool)
GetMappingListCategoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListCategoriesSortOrderEnum Enum with underlying type: string
type ListCategoriesSortOrderEnum string
Set of constants representing the allowable values for ListCategoriesSortOrderEnum
const (
ListCategoriesSortOrderAsc ListCategoriesSortOrderEnum = "ASC"
ListCategoriesSortOrderDesc ListCategoriesSortOrderEnum = "DESC"
)
func GetListCategoriesSortOrderEnumValues() []ListCategoriesSortOrderEnum
GetListCategoriesSortOrderEnumValues Enumerates the set of values for ListCategoriesSortOrderEnum
func GetMappingListCategoriesSortOrderEnum(val string) (ListCategoriesSortOrderEnum, bool)
GetMappingListCategoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListCustomerInstanceReportExportsRequest wrapper for the ListCustomerInstanceReportExports operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListCustomerInstanceReportExports.go.html to see an example of how to use ListCustomerInstanceReportExportsRequest.
type ListCustomerInstanceReportExportsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListCustomerInstanceReportExportsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for fileName is ascending.
SortBy ListCustomerInstanceReportExportsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// Listing OCID to query resource against.
ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`
// A filter to return only report records that match the instance status.
Status ListCustomerInstanceReportExportsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// A filter to return only report records that match the instance shape.
Shape *string `mandatory:"false" contributesTo:"query" name:"shape"`
// A filter to return only report records that match the instance region.
Region *string `mandatory:"false" contributesTo:"query" name:"region"`
// A filter to return only report records that match the instance realm.
Realm *string `mandatory:"false" contributesTo:"query" name:"realm"`
// A filter to return only report records that match the tenant administrator domain.
TenantAdminDomain *string `mandatory:"false" contributesTo:"query" name:"tenantAdminDomain"`
// A filter to return only report records that match the package version.
PackageVersion *string `mandatory:"false" contributesTo:"query" name:"packageVersion"`
// A filter to return only report records that match the instance OCID.
InstanceOcid *string `mandatory:"false" contributesTo:"query" name:"instanceOcid"`
// The inclusive earliest instance creation time, in RFC 3339 format.
TimeInstanceCreationFromDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstanceCreationFromDate"`
// The inclusive latest instance creation time, in RFC 3339 format.
TimeInstanceCreationToDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstanceCreationToDate"`
// The inclusive earliest instance termination time, in RFC 3339 format.
TimeInstanceTerminationFromDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstanceTerminationFromDate"`
// The inclusive latest instance termination time, in RFC 3339 format.
TimeInstanceTerminationToDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstanceTerminationToDate"`
// 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 (request ListCustomerInstanceReportExportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListCustomerInstanceReportExportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListCustomerInstanceReportExportsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListCustomerInstanceReportExportsRequest) String() string
func (request ListCustomerInstanceReportExportsRequest) 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
ListCustomerInstanceReportExportsResponse wrapper for the ListCustomerInstanceReportExports operation
type ListCustomerInstanceReportExportsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of CustomerInstanceReportExportCollection instances
CustomerInstanceReportExportCollection `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 (response ListCustomerInstanceReportExportsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListCustomerInstanceReportExportsResponse) String() string
ListCustomerInstanceReportExportsSortByEnum Enum with underlying type: string
type ListCustomerInstanceReportExportsSortByEnum string
Set of constants representing the allowable values for ListCustomerInstanceReportExportsSortByEnum
const (
ListCustomerInstanceReportExportsSortByTimecreated ListCustomerInstanceReportExportsSortByEnum = "timeCreated"
ListCustomerInstanceReportExportsSortByFilename ListCustomerInstanceReportExportsSortByEnum = "fileName"
)
func GetListCustomerInstanceReportExportsSortByEnumValues() []ListCustomerInstanceReportExportsSortByEnum
GetListCustomerInstanceReportExportsSortByEnumValues Enumerates the set of values for ListCustomerInstanceReportExportsSortByEnum
func GetMappingListCustomerInstanceReportExportsSortByEnum(val string) (ListCustomerInstanceReportExportsSortByEnum, bool)
GetMappingListCustomerInstanceReportExportsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListCustomerInstanceReportExportsSortOrderEnum Enum with underlying type: string
type ListCustomerInstanceReportExportsSortOrderEnum string
Set of constants representing the allowable values for ListCustomerInstanceReportExportsSortOrderEnum
const (
ListCustomerInstanceReportExportsSortOrderAsc ListCustomerInstanceReportExportsSortOrderEnum = "ASC"
ListCustomerInstanceReportExportsSortOrderDesc ListCustomerInstanceReportExportsSortOrderEnum = "DESC"
)
func GetListCustomerInstanceReportExportsSortOrderEnumValues() []ListCustomerInstanceReportExportsSortOrderEnum
GetListCustomerInstanceReportExportsSortOrderEnumValues Enumerates the set of values for ListCustomerInstanceReportExportsSortOrderEnum
func GetMappingListCustomerInstanceReportExportsSortOrderEnum(val string) (ListCustomerInstanceReportExportsSortOrderEnum, bool)
GetMappingListCustomerInstanceReportExportsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListCustomerInstanceReportExportsStatusEnum Enum with underlying type: string
type ListCustomerInstanceReportExportsStatusEnum string
Set of constants representing the allowable values for ListCustomerInstanceReportExportsStatusEnum
const (
ListCustomerInstanceReportExportsStatusProvisioning ListCustomerInstanceReportExportsStatusEnum = "PROVISIONING"
ListCustomerInstanceReportExportsStatusRunning ListCustomerInstanceReportExportsStatusEnum = "RUNNING"
ListCustomerInstanceReportExportsStatusStopped ListCustomerInstanceReportExportsStatusEnum = "STOPPED"
ListCustomerInstanceReportExportsStatusTerminating ListCustomerInstanceReportExportsStatusEnum = "TERMINATING"
ListCustomerInstanceReportExportsStatusTerminated ListCustomerInstanceReportExportsStatusEnum = "TERMINATED"
ListCustomerInstanceReportExportsStatusDisabled ListCustomerInstanceReportExportsStatusEnum = "DISABLED"
ListCustomerInstanceReportExportsStatusStarting ListCustomerInstanceReportExportsStatusEnum = "STARTING"
ListCustomerInstanceReportExportsStatusStopping ListCustomerInstanceReportExportsStatusEnum = "STOPPING"
ListCustomerInstanceReportExportsStatusSnapshotting ListCustomerInstanceReportExportsStatusEnum = "SNAPSHOTTING"
)
func GetListCustomerInstanceReportExportsStatusEnumValues() []ListCustomerInstanceReportExportsStatusEnum
GetListCustomerInstanceReportExportsStatusEnumValues Enumerates the set of values for ListCustomerInstanceReportExportsStatusEnum
func GetMappingListCustomerInstanceReportExportsStatusEnum(val string) (ListCustomerInstanceReportExportsStatusEnum, bool)
GetMappingListCustomerInstanceReportExportsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListCustomerInstanceReportRecordsRequest wrapper for the ListCustomerInstanceReportRecords operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListCustomerInstanceReportRecords.go.html to see an example of how to use ListCustomerInstanceReportRecordsRequest.
type ListCustomerInstanceReportRecordsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListCustomerInstanceReportRecordsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for instance_id is ascending.
SortBy ListCustomerInstanceReportRecordsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// Listing OCID to query resource against.
ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`
// A filter to return only report records that match the instance status.
Status ListCustomerInstanceReportRecordsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// A filter to return only report records that match the instance shape.
Shape *string `mandatory:"false" contributesTo:"query" name:"shape"`
// A filter to return only report records that match the instance region.
Region *string `mandatory:"false" contributesTo:"query" name:"region"`
// A filter to return only report records that match the instance realm.
Realm *string `mandatory:"false" contributesTo:"query" name:"realm"`
// A filter to return only report records that match the tenant administrator domain.
TenantAdminDomain *string `mandatory:"false" contributesTo:"query" name:"tenantAdminDomain"`
// A filter to return only report records that match the package version.
PackageVersion *string `mandatory:"false" contributesTo:"query" name:"packageVersion"`
// A filter to return only report records that match the instance OCID.
InstanceOcid *string `mandatory:"false" contributesTo:"query" name:"instanceOcid"`
// The inclusive earliest instance creation time, in RFC 3339 format.
TimeInstanceCreationFromDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstanceCreationFromDate"`
// The inclusive latest instance creation time, in RFC 3339 format.
TimeInstanceCreationToDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstanceCreationToDate"`
// The inclusive earliest instance termination time, in RFC 3339 format.
TimeInstanceTerminationFromDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstanceTerminationFromDate"`
// The inclusive latest instance termination time, in RFC 3339 format.
TimeInstanceTerminationToDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstanceTerminationToDate"`
// 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 (request ListCustomerInstanceReportRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListCustomerInstanceReportRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListCustomerInstanceReportRecordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListCustomerInstanceReportRecordsRequest) String() string
func (request ListCustomerInstanceReportRecordsRequest) 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
ListCustomerInstanceReportRecordsResponse wrapper for the ListCustomerInstanceReportRecords operation
type ListCustomerInstanceReportRecordsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of CustomerInstanceReportRecordCollection instances
CustomerInstanceReportRecordCollection `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 (response ListCustomerInstanceReportRecordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListCustomerInstanceReportRecordsResponse) String() string
ListCustomerInstanceReportRecordsSortByEnum Enum with underlying type: string
type ListCustomerInstanceReportRecordsSortByEnum string
Set of constants representing the allowable values for ListCustomerInstanceReportRecordsSortByEnum
const (
ListCustomerInstanceReportRecordsSortByInstanceId ListCustomerInstanceReportRecordsSortByEnum = "INSTANCE_ID"
)
func GetListCustomerInstanceReportRecordsSortByEnumValues() []ListCustomerInstanceReportRecordsSortByEnum
GetListCustomerInstanceReportRecordsSortByEnumValues Enumerates the set of values for ListCustomerInstanceReportRecordsSortByEnum
func GetMappingListCustomerInstanceReportRecordsSortByEnum(val string) (ListCustomerInstanceReportRecordsSortByEnum, bool)
GetMappingListCustomerInstanceReportRecordsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListCustomerInstanceReportRecordsSortOrderEnum Enum with underlying type: string
type ListCustomerInstanceReportRecordsSortOrderEnum string
Set of constants representing the allowable values for ListCustomerInstanceReportRecordsSortOrderEnum
const (
ListCustomerInstanceReportRecordsSortOrderAsc ListCustomerInstanceReportRecordsSortOrderEnum = "ASC"
ListCustomerInstanceReportRecordsSortOrderDesc ListCustomerInstanceReportRecordsSortOrderEnum = "DESC"
)
func GetListCustomerInstanceReportRecordsSortOrderEnumValues() []ListCustomerInstanceReportRecordsSortOrderEnum
GetListCustomerInstanceReportRecordsSortOrderEnumValues Enumerates the set of values for ListCustomerInstanceReportRecordsSortOrderEnum
func GetMappingListCustomerInstanceReportRecordsSortOrderEnum(val string) (ListCustomerInstanceReportRecordsSortOrderEnum, bool)
GetMappingListCustomerInstanceReportRecordsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListCustomerInstanceReportRecordsStatusEnum Enum with underlying type: string
type ListCustomerInstanceReportRecordsStatusEnum string
Set of constants representing the allowable values for ListCustomerInstanceReportRecordsStatusEnum
const (
ListCustomerInstanceReportRecordsStatusProvisioning ListCustomerInstanceReportRecordsStatusEnum = "PROVISIONING"
ListCustomerInstanceReportRecordsStatusRunning ListCustomerInstanceReportRecordsStatusEnum = "RUNNING"
ListCustomerInstanceReportRecordsStatusStopped ListCustomerInstanceReportRecordsStatusEnum = "STOPPED"
ListCustomerInstanceReportRecordsStatusTerminating ListCustomerInstanceReportRecordsStatusEnum = "TERMINATING"
ListCustomerInstanceReportRecordsStatusTerminated ListCustomerInstanceReportRecordsStatusEnum = "TERMINATED"
ListCustomerInstanceReportRecordsStatusDisabled ListCustomerInstanceReportRecordsStatusEnum = "DISABLED"
ListCustomerInstanceReportRecordsStatusStarting ListCustomerInstanceReportRecordsStatusEnum = "STARTING"
ListCustomerInstanceReportRecordsStatusStopping ListCustomerInstanceReportRecordsStatusEnum = "STOPPING"
ListCustomerInstanceReportRecordsStatusSnapshotting ListCustomerInstanceReportRecordsStatusEnum = "SNAPSHOTTING"
)
func GetListCustomerInstanceReportRecordsStatusEnumValues() []ListCustomerInstanceReportRecordsStatusEnum
GetListCustomerInstanceReportRecordsStatusEnumValues Enumerates the set of values for ListCustomerInstanceReportRecordsStatusEnum
func GetMappingListCustomerInstanceReportRecordsStatusEnum(val string) (ListCustomerInstanceReportRecordsStatusEnum, bool)
GetMappingListCustomerInstanceReportRecordsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListDisbursementReportRecordsDateRangeEnum Enum with underlying type: string
type ListDisbursementReportRecordsDateRangeEnum string
Set of constants representing the allowable values for ListDisbursementReportRecordsDateRangeEnum
const (
ListDisbursementReportRecordsDateRangeLastMonth ListDisbursementReportRecordsDateRangeEnum = "LAST_MONTH"
ListDisbursementReportRecordsDateRangeLastThreeMonths ListDisbursementReportRecordsDateRangeEnum = "LAST_THREE_MONTHS"
ListDisbursementReportRecordsDateRangeLastSixMonths ListDisbursementReportRecordsDateRangeEnum = "LAST_SIX_MONTHS"
ListDisbursementReportRecordsDateRangeLastTwelveMonths ListDisbursementReportRecordsDateRangeEnum = "LAST_TWELVE_MONTHS"
ListDisbursementReportRecordsDateRangeLastEighteenMonths ListDisbursementReportRecordsDateRangeEnum = "LAST_EIGHTEEN_MONTHS"
ListDisbursementReportRecordsDateRangeAllTime ListDisbursementReportRecordsDateRangeEnum = "ALL_TIME"
)
func GetListDisbursementReportRecordsDateRangeEnumValues() []ListDisbursementReportRecordsDateRangeEnum
GetListDisbursementReportRecordsDateRangeEnumValues Enumerates the set of values for ListDisbursementReportRecordsDateRangeEnum
func GetMappingListDisbursementReportRecordsDateRangeEnum(val string) (ListDisbursementReportRecordsDateRangeEnum, bool)
GetMappingListDisbursementReportRecordsDateRangeEnum performs case Insensitive comparison on enum value and return the desired enum
ListDisbursementReportRecordsRequest wrapper for the ListDisbursementReportRecords operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListDisbursementReportRecords.go.html to see an example of how to use ListDisbursementReportRecordsRequest.
type ListDisbursementReportRecordsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The date range of the report
DateRange ListDisbursementReportRecordsDateRangeEnum `mandatory:"true" contributesTo:"query" name:"dateRange" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListDisbursementReportRecordsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListDisbursementReportRecordsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// 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 (request ListDisbursementReportRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDisbursementReportRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDisbursementReportRecordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDisbursementReportRecordsRequest) String() string
func (request ListDisbursementReportRecordsRequest) 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
ListDisbursementReportRecordsResponse wrapper for the ListDisbursementReportRecords operation
type ListDisbursementReportRecordsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DisbursementReportRecordCollection instances
DisbursementReportRecordCollection `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 (response ListDisbursementReportRecordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDisbursementReportRecordsResponse) String() string
ListDisbursementReportRecordsSortByEnum Enum with underlying type: string
type ListDisbursementReportRecordsSortByEnum string
Set of constants representing the allowable values for ListDisbursementReportRecordsSortByEnum
const (
ListDisbursementReportRecordsSortByTimecreated ListDisbursementReportRecordsSortByEnum = "timeCreated"
ListDisbursementReportRecordsSortByDisplayname ListDisbursementReportRecordsSortByEnum = "displayName"
)
func GetListDisbursementReportRecordsSortByEnumValues() []ListDisbursementReportRecordsSortByEnum
GetListDisbursementReportRecordsSortByEnumValues Enumerates the set of values for ListDisbursementReportRecordsSortByEnum
func GetMappingListDisbursementReportRecordsSortByEnum(val string) (ListDisbursementReportRecordsSortByEnum, bool)
GetMappingListDisbursementReportRecordsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDisbursementReportRecordsSortOrderEnum Enum with underlying type: string
type ListDisbursementReportRecordsSortOrderEnum string
Set of constants representing the allowable values for ListDisbursementReportRecordsSortOrderEnum
const (
ListDisbursementReportRecordsSortOrderAsc ListDisbursementReportRecordsSortOrderEnum = "ASC"
ListDisbursementReportRecordsSortOrderDesc ListDisbursementReportRecordsSortOrderEnum = "DESC"
)
func GetListDisbursementReportRecordsSortOrderEnumValues() []ListDisbursementReportRecordsSortOrderEnum
GetListDisbursementReportRecordsSortOrderEnumValues Enumerates the set of values for ListDisbursementReportRecordsSortOrderEnum
func GetMappingListDisbursementReportRecordsSortOrderEnum(val string) (ListDisbursementReportRecordsSortOrderEnum, bool)
GetMappingListDisbursementReportRecordsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListLeadsRequest wrapper for the ListLeads operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListLeads.go.html to see an example of how to use ListLeadsRequest.
type ListLeadsRequest struct {
// The ID of the compartment in which to list leads.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Listing OCID to query resource against.
ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListLeadsSortOrderEnum `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 ListLeadsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListLeadsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListLeadsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLeadsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLeadsRequest) String() string
func (request ListLeadsRequest) 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
ListLeadsResponse wrapper for the ListLeads operation
type ListLeadsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of LeadCollection instances
LeadCollection `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 (response ListLeadsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLeadsResponse) String() string
ListLeadsSortByEnum Enum with underlying type: string
type ListLeadsSortByEnum string
Set of constants representing the allowable values for ListLeadsSortByEnum
const (
ListLeadsSortByTimecreated ListLeadsSortByEnum = "timeCreated"
)
func GetListLeadsSortByEnumValues() []ListLeadsSortByEnum
GetListLeadsSortByEnumValues Enumerates the set of values for ListLeadsSortByEnum
func GetMappingListLeadsSortByEnum(val string) (ListLeadsSortByEnum, bool)
GetMappingListLeadsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListLeadsSortOrderEnum Enum with underlying type: string
type ListLeadsSortOrderEnum string
Set of constants representing the allowable values for ListLeadsSortOrderEnum
const (
ListLeadsSortOrderAsc ListLeadsSortOrderEnum = "ASC"
ListLeadsSortOrderDesc ListLeadsSortOrderEnum = "DESC"
)
func GetListLeadsSortOrderEnumValues() []ListLeadsSortOrderEnum
GetListLeadsSortOrderEnumValues Enumerates the set of values for ListLeadsSortOrderEnum
func GetMappingListLeadsSortOrderEnum(val string) (ListLeadsSortOrderEnum, bool)
GetMappingListLeadsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingRevisionAttachmentsRequest wrapper for the ListListingRevisionAttachments operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisionAttachments.go.html to see an example of how to use ListListingRevisionAttachmentsRequest.
type ListListingRevisionAttachmentsRequest struct {
// OCID of the listing revision.
ListingRevisionId *string `mandatory:"true" contributesTo:"query" name:"listingRevisionId"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only attachments their lifecycleState matches the given lifecycleState.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListListingRevisionAttachmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListListingRevisionAttachmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListListingRevisionAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListListingRevisionAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListListingRevisionAttachmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListListingRevisionAttachmentsRequest) String() string
func (request ListListingRevisionAttachmentsRequest) 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
ListListingRevisionAttachmentsResponse wrapper for the ListListingRevisionAttachments operation
type ListListingRevisionAttachmentsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ListingRevisionAttachmentCollection instances
ListingRevisionAttachmentCollection `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 (response ListListingRevisionAttachmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListListingRevisionAttachmentsResponse) String() string
ListListingRevisionAttachmentsSortByEnum Enum with underlying type: string
type ListListingRevisionAttachmentsSortByEnum string
Set of constants representing the allowable values for ListListingRevisionAttachmentsSortByEnum
const (
ListListingRevisionAttachmentsSortByTimecreated ListListingRevisionAttachmentsSortByEnum = "timeCreated"
ListListingRevisionAttachmentsSortByDisplayname ListListingRevisionAttachmentsSortByEnum = "displayName"
)
func GetListListingRevisionAttachmentsSortByEnumValues() []ListListingRevisionAttachmentsSortByEnum
GetListListingRevisionAttachmentsSortByEnumValues Enumerates the set of values for ListListingRevisionAttachmentsSortByEnum
func GetMappingListListingRevisionAttachmentsSortByEnum(val string) (ListListingRevisionAttachmentsSortByEnum, bool)
GetMappingListListingRevisionAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingRevisionAttachmentsSortOrderEnum Enum with underlying type: string
type ListListingRevisionAttachmentsSortOrderEnum string
Set of constants representing the allowable values for ListListingRevisionAttachmentsSortOrderEnum
const (
ListListingRevisionAttachmentsSortOrderAsc ListListingRevisionAttachmentsSortOrderEnum = "ASC"
ListListingRevisionAttachmentsSortOrderDesc ListListingRevisionAttachmentsSortOrderEnum = "DESC"
)
func GetListListingRevisionAttachmentsSortOrderEnumValues() []ListListingRevisionAttachmentsSortOrderEnum
GetListListingRevisionAttachmentsSortOrderEnumValues Enumerates the set of values for ListListingRevisionAttachmentsSortOrderEnum
func GetMappingListListingRevisionAttachmentsSortOrderEnum(val string) (ListListingRevisionAttachmentsSortOrderEnum, bool)
GetMappingListListingRevisionAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingRevisionNotesRequest wrapper for the ListListingRevisionNotes operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisionNotes.go.html to see an example of how to use ListListingRevisionNotesRequest.
type ListListingRevisionNotesRequest struct {
// OCID of the listing revision.
ListingRevisionId *string `mandatory:"true" contributesTo:"query" name:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListListingRevisionNotesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListListingRevisionNotesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListListingRevisionNotesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListListingRevisionNotesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListListingRevisionNotesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListListingRevisionNotesRequest) String() string
func (request ListListingRevisionNotesRequest) 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
ListListingRevisionNotesResponse wrapper for the ListListingRevisionNotes operation
type ListListingRevisionNotesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ListingRevisionNoteCollection instances
ListingRevisionNoteCollection `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 (response ListListingRevisionNotesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListListingRevisionNotesResponse) String() string
ListListingRevisionNotesSortByEnum Enum with underlying type: string
type ListListingRevisionNotesSortByEnum string
Set of constants representing the allowable values for ListListingRevisionNotesSortByEnum
const (
ListListingRevisionNotesSortByTimecreated ListListingRevisionNotesSortByEnum = "timeCreated"
ListListingRevisionNotesSortByDisplayname ListListingRevisionNotesSortByEnum = "displayName"
)
func GetListListingRevisionNotesSortByEnumValues() []ListListingRevisionNotesSortByEnum
GetListListingRevisionNotesSortByEnumValues Enumerates the set of values for ListListingRevisionNotesSortByEnum
func GetMappingListListingRevisionNotesSortByEnum(val string) (ListListingRevisionNotesSortByEnum, bool)
GetMappingListListingRevisionNotesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingRevisionNotesSortOrderEnum Enum with underlying type: string
type ListListingRevisionNotesSortOrderEnum string
Set of constants representing the allowable values for ListListingRevisionNotesSortOrderEnum
const (
ListListingRevisionNotesSortOrderAsc ListListingRevisionNotesSortOrderEnum = "ASC"
ListListingRevisionNotesSortOrderDesc ListListingRevisionNotesSortOrderEnum = "DESC"
)
func GetListListingRevisionNotesSortOrderEnumValues() []ListListingRevisionNotesSortOrderEnum
GetListListingRevisionNotesSortOrderEnumValues Enumerates the set of values for ListListingRevisionNotesSortOrderEnum
func GetMappingListListingRevisionNotesSortOrderEnum(val string) (ListListingRevisionNotesSortOrderEnum, bool)
GetMappingListListingRevisionNotesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingRevisionPackagesRequest wrapper for the ListListingRevisionPackages operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisionPackages.go.html to see an example of how to use ListListingRevisionPackagesRequest.
type ListListingRevisionPackagesRequest struct {
// OCID of the listing revision.
ListingRevisionId *string `mandatory:"true" contributesTo:"query" name:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only packages their lifecycleState matches the given lifecycleState.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListListingRevisionPackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListListingRevisionPackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListListingRevisionPackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListListingRevisionPackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListListingRevisionPackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListListingRevisionPackagesRequest) String() string
func (request ListListingRevisionPackagesRequest) 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
ListListingRevisionPackagesResponse wrapper for the ListListingRevisionPackages operation
type ListListingRevisionPackagesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ListingRevisionPackageCollection instances
ListingRevisionPackageCollection `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 (response ListListingRevisionPackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListListingRevisionPackagesResponse) String() string
ListListingRevisionPackagesSortByEnum Enum with underlying type: string
type ListListingRevisionPackagesSortByEnum string
Set of constants representing the allowable values for ListListingRevisionPackagesSortByEnum
const (
ListListingRevisionPackagesSortByTimecreated ListListingRevisionPackagesSortByEnum = "timeCreated"
ListListingRevisionPackagesSortByDisplayname ListListingRevisionPackagesSortByEnum = "displayName"
)
func GetListListingRevisionPackagesSortByEnumValues() []ListListingRevisionPackagesSortByEnum
GetListListingRevisionPackagesSortByEnumValues Enumerates the set of values for ListListingRevisionPackagesSortByEnum
func GetMappingListListingRevisionPackagesSortByEnum(val string) (ListListingRevisionPackagesSortByEnum, bool)
GetMappingListListingRevisionPackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingRevisionPackagesSortOrderEnum Enum with underlying type: string
type ListListingRevisionPackagesSortOrderEnum string
Set of constants representing the allowable values for ListListingRevisionPackagesSortOrderEnum
const (
ListListingRevisionPackagesSortOrderAsc ListListingRevisionPackagesSortOrderEnum = "ASC"
ListListingRevisionPackagesSortOrderDesc ListListingRevisionPackagesSortOrderEnum = "DESC"
)
func GetListListingRevisionPackagesSortOrderEnumValues() []ListListingRevisionPackagesSortOrderEnum
GetListListingRevisionPackagesSortOrderEnumValues Enumerates the set of values for ListListingRevisionPackagesSortOrderEnum
func GetMappingListListingRevisionPackagesSortOrderEnum(val string) (ListListingRevisionPackagesSortOrderEnum, bool)
GetMappingListListingRevisionPackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingRevisionsRequest wrapper for the ListListingRevisions operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisions.go.html to see an example of how to use ListListingRevisionsRequest.
type ListListingRevisionsRequest struct {
// listing OCID
ListingId *string `mandatory:"true" contributesTo:"query" name:"listingId"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only listing revisions their lifecycleState matches the given lifecycleState.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// A filter to return only listing revisions their status matches the given listing revision status.
ListingRevisionStatus ListingRevisionStatusEnum `mandatory:"false" contributesTo:"query" name:"listingRevisionStatus" omitEmpty:"true"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListListingRevisionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListListingRevisionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListListingRevisionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListListingRevisionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListListingRevisionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListListingRevisionsRequest) String() string
func (request ListListingRevisionsRequest) 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
ListListingRevisionsResponse wrapper for the ListListingRevisions operation
type ListListingRevisionsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ListingRevisionCollection instances
ListingRevisionCollection `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 (response ListListingRevisionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListListingRevisionsResponse) String() string
ListListingRevisionsSortByEnum Enum with underlying type: string
type ListListingRevisionsSortByEnum string
Set of constants representing the allowable values for ListListingRevisionsSortByEnum
const (
ListListingRevisionsSortByTimecreated ListListingRevisionsSortByEnum = "timeCreated"
ListListingRevisionsSortByDisplayname ListListingRevisionsSortByEnum = "displayName"
)
func GetListListingRevisionsSortByEnumValues() []ListListingRevisionsSortByEnum
GetListListingRevisionsSortByEnumValues Enumerates the set of values for ListListingRevisionsSortByEnum
func GetMappingListListingRevisionsSortByEnum(val string) (ListListingRevisionsSortByEnum, bool)
GetMappingListListingRevisionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingRevisionsSortOrderEnum Enum with underlying type: string
type ListListingRevisionsSortOrderEnum string
Set of constants representing the allowable values for ListListingRevisionsSortOrderEnum
const (
ListListingRevisionsSortOrderAsc ListListingRevisionsSortOrderEnum = "ASC"
ListListingRevisionsSortOrderDesc ListListingRevisionsSortOrderEnum = "DESC"
)
func GetListListingRevisionsSortOrderEnumValues() []ListListingRevisionsSortOrderEnum
GetListListingRevisionsSortOrderEnumValues Enumerates the set of values for ListListingRevisionsSortOrderEnum
func GetMappingListListingRevisionsSortOrderEnum(val string) (ListListingRevisionsSortOrderEnum, bool)
GetMappingListListingRevisionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingsListingTypeEnum Enum with underlying type: string
type ListListingsListingTypeEnum string
Set of constants representing the allowable values for ListListingsListingTypeEnum
const (
ListListingsListingTypeOciApplication ListListingsListingTypeEnum = "OCI_APPLICATION"
ListListingsListingTypeLeadGeneration ListListingsListingTypeEnum = "LEAD_GENERATION"
ListListingsListingTypeService ListListingsListingTypeEnum = "SERVICE"
)
func GetListListingsListingTypeEnumValues() []ListListingsListingTypeEnum
GetListListingsListingTypeEnumValues Enumerates the set of values for ListListingsListingTypeEnum
func GetMappingListListingsListingTypeEnum(val string) (ListListingsListingTypeEnum, bool)
GetMappingListListingsListingTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListListingsRequest wrapper for the ListListings operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListings.go.html to see an example of how to use ListListingsRequest.
type ListListingsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// A filter to return only listings their lifecycleState matches the given lifecycleState.
LifecycleState ListingLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return listings based on their type
ListingType ListListingsListingTypeEnum `mandatory:"false" contributesTo:"query" name:"listingType" omitEmpty:"true"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListListingsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListListingsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListListingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListListingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListListingsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListListingsRequest) String() string
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
ListListingsResponse wrapper for the ListListings operation
type ListListingsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ListingCollection instances
ListingCollection `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 (response ListListingsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListListingsResponse) String() string
ListListingsSortByEnum Enum with underlying type: string
type ListListingsSortByEnum string
Set of constants representing the allowable values for ListListingsSortByEnum
const (
ListListingsSortByTimecreated ListListingsSortByEnum = "timeCreated"
ListListingsSortByDisplayname ListListingsSortByEnum = "displayName"
)
func GetListListingsSortByEnumValues() []ListListingsSortByEnum
GetListListingsSortByEnumValues Enumerates the set of values for ListListingsSortByEnum
func GetMappingListListingsSortByEnum(val string) (ListListingsSortByEnum, bool)
GetMappingListListingsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListListingsSortOrderEnum
GetListListingsSortOrderEnumValues Enumerates the set of values for ListListingsSortOrderEnum
func GetMappingListListingsSortOrderEnum(val string) (ListListingsSortOrderEnum, bool)
GetMappingListListingsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMarketsRequest wrapper for the ListMarkets operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListMarkets.go.html to see an example of how to use ListMarketsRequest.
type ListMarketsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListMarketsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListMarketsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// Listing OCID to query resource against.
ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`
// 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 (request ListMarketsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMarketsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMarketsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMarketsRequest) String() string
func (request ListMarketsRequest) 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
ListMarketsResponse wrapper for the ListMarkets operation
type ListMarketsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of MarketCollection instances
MarketCollection `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 (response ListMarketsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMarketsResponse) String() string
ListMarketsSortByEnum Enum with underlying type: string
type ListMarketsSortByEnum string
Set of constants representing the allowable values for ListMarketsSortByEnum
const (
ListMarketsSortByTimecreated ListMarketsSortByEnum = "timeCreated"
ListMarketsSortByDisplayname ListMarketsSortByEnum = "displayName"
)
func GetListMarketsSortByEnumValues() []ListMarketsSortByEnum
GetListMarketsSortByEnumValues Enumerates the set of values for ListMarketsSortByEnum
func GetMappingListMarketsSortByEnum(val string) (ListMarketsSortByEnum, bool)
GetMappingListMarketsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMarketsSortOrderEnum Enum with underlying type: string
type ListMarketsSortOrderEnum string
Set of constants representing the allowable values for ListMarketsSortOrderEnum
const (
ListMarketsSortOrderAsc ListMarketsSortOrderEnum = "ASC"
ListMarketsSortOrderDesc ListMarketsSortOrderEnum = "DESC"
)
func GetListMarketsSortOrderEnumValues() []ListMarketsSortOrderEnum
GetListMarketsSortOrderEnumValues Enumerates the set of values for ListMarketsSortOrderEnum
func GetMappingListMarketsSortOrderEnum(val string) (ListMarketsSortOrderEnum, bool)
GetMappingListMarketsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProductsRequest wrapper for the ListProducts operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListProducts.go.html to see an example of how to use ListProductsRequest.
type ListProductsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListProductsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListProductsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Product Group
ProductGroup *string `mandatory:"false" contributesTo:"query" name:"productGroup"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// 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 (request ListProductsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProductsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProductsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProductsRequest) String() string
func (request ListProductsRequest) 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
ListProductsResponse wrapper for the ListProducts operation
type ListProductsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ProductCollection instances
ProductCollection `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 (response ListProductsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProductsResponse) String() string
ListProductsSortByEnum Enum with underlying type: string
type ListProductsSortByEnum string
Set of constants representing the allowable values for ListProductsSortByEnum
const (
ListProductsSortByTimecreated ListProductsSortByEnum = "timeCreated"
ListProductsSortByDisplayname ListProductsSortByEnum = "displayName"
)
func GetListProductsSortByEnumValues() []ListProductsSortByEnum
GetListProductsSortByEnumValues Enumerates the set of values for ListProductsSortByEnum
func GetMappingListProductsSortByEnum(val string) (ListProductsSortByEnum, bool)
GetMappingListProductsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProductsSortOrderEnum Enum with underlying type: string
type ListProductsSortOrderEnum string
Set of constants representing the allowable values for ListProductsSortOrderEnum
const (
ListProductsSortOrderAsc ListProductsSortOrderEnum = "ASC"
ListProductsSortOrderDesc ListProductsSortOrderEnum = "DESC"
)
func GetListProductsSortOrderEnumValues() []ListProductsSortOrderEnum
GetListProductsSortOrderEnumValues Enumerates the set of values for ListProductsSortOrderEnum
func GetMappingListProductsSortOrderEnum(val string) (ListProductsSortOrderEnum, bool)
GetMappingListProductsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListPublishersRequest wrapper for the ListPublishers operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListPublishers.go.html to see an example of how to use ListPublishersRequest.
type ListPublishersRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListPublishersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListPublishersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// 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 (request ListPublishersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListPublishersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPublishersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPublishersRequest) String() string
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
ListPublishersResponse wrapper for the ListPublishers operation
type ListPublishersResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of PublisherCollection instances
PublisherCollection `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 (response ListPublishersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPublishersResponse) String() string
ListPublishersSortByEnum Enum with underlying type: string
type ListPublishersSortByEnum string
Set of constants representing the allowable values for ListPublishersSortByEnum
const (
ListPublishersSortByTimecreated ListPublishersSortByEnum = "timeCreated"
ListPublishersSortByDisplayname ListPublishersSortByEnum = "displayName"
)
func GetListPublishersSortByEnumValues() []ListPublishersSortByEnum
GetListPublishersSortByEnumValues Enumerates the set of values for ListPublishersSortByEnum
func GetMappingListPublishersSortByEnum(val string) (ListPublishersSortByEnum, bool)
GetMappingListPublishersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListPublishersSortOrderEnum Enum with underlying type: string
type ListPublishersSortOrderEnum string
Set of constants representing the allowable values for ListPublishersSortOrderEnum
const (
ListPublishersSortOrderAsc ListPublishersSortOrderEnum = "ASC"
ListPublishersSortOrderDesc ListPublishersSortOrderEnum = "DESC"
)
func GetListPublishersSortOrderEnumValues() []ListPublishersSortOrderEnum
GetListPublishersSortOrderEnumValues Enumerates the set of values for ListPublishersSortOrderEnum
func GetMappingListPublishersSortOrderEnum(val string) (ListPublishersSortOrderEnum, bool)
GetMappingListPublishersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSupportDocsRequest wrapper for the ListSupportDocs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListSupportDocs.go.html to see an example of how to use ListSupportDocsRequest.
type ListSupportDocsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListSupportDocsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListSupportDocsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// SupportDoc Group
SupportDocGroup *string `mandatory:"false" contributesTo:"query" name:"supportDocGroup"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// 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 (request ListSupportDocsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSupportDocsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSupportDocsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSupportDocsRequest) String() string
func (request ListSupportDocsRequest) 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
ListSupportDocsResponse wrapper for the ListSupportDocs operation
type ListSupportDocsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SupportDocCollection instances
SupportDocCollection `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 (response ListSupportDocsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSupportDocsResponse) String() string
ListSupportDocsSortByEnum Enum with underlying type: string
type ListSupportDocsSortByEnum string
Set of constants representing the allowable values for ListSupportDocsSortByEnum
const (
ListSupportDocsSortByTimecreated ListSupportDocsSortByEnum = "timeCreated"
ListSupportDocsSortByDisplayname ListSupportDocsSortByEnum = "displayName"
)
func GetListSupportDocsSortByEnumValues() []ListSupportDocsSortByEnum
GetListSupportDocsSortByEnumValues Enumerates the set of values for ListSupportDocsSortByEnum
func GetMappingListSupportDocsSortByEnum(val string) (ListSupportDocsSortByEnum, bool)
GetMappingListSupportDocsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSupportDocsSortOrderEnum Enum with underlying type: string
type ListSupportDocsSortOrderEnum string
Set of constants representing the allowable values for ListSupportDocsSortOrderEnum
const (
ListSupportDocsSortOrderAsc ListSupportDocsSortOrderEnum = "ASC"
ListSupportDocsSortOrderDesc ListSupportDocsSortOrderEnum = "DESC"
)
func GetListSupportDocsSortOrderEnumValues() []ListSupportDocsSortOrderEnum
GetListSupportDocsSortOrderEnumValues Enumerates the set of values for ListSupportDocsSortOrderEnum
func GetMappingListSupportDocsSortOrderEnum(val string) (ListSupportDocsSortOrderEnum, bool)
GetMappingListSupportDocsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSupportedCurrenciesRequest wrapper for the ListSupportedCurrencies operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListSupportedCurrencies.go.html to see an example of how to use ListSupportedCurrenciesRequest.
type ListSupportedCurrenciesRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListSupportedCurrenciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListSupportedCurrenciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListSupportedCurrenciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSupportedCurrenciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSupportedCurrenciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSupportedCurrenciesRequest) String() string
func (request ListSupportedCurrenciesRequest) 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
ListSupportedCurrenciesResponse wrapper for the ListSupportedCurrencies operation
type ListSupportedCurrenciesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SupportedCurrencyCollection instances
SupportedCurrencyCollection `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 (response ListSupportedCurrenciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSupportedCurrenciesResponse) String() string
ListSupportedCurrenciesSortByEnum Enum with underlying type: string
type ListSupportedCurrenciesSortByEnum string
Set of constants representing the allowable values for ListSupportedCurrenciesSortByEnum
const (
ListSupportedCurrenciesSortByTimecreated ListSupportedCurrenciesSortByEnum = "timeCreated"
ListSupportedCurrenciesSortByDisplayname ListSupportedCurrenciesSortByEnum = "displayName"
)
func GetListSupportedCurrenciesSortByEnumValues() []ListSupportedCurrenciesSortByEnum
GetListSupportedCurrenciesSortByEnumValues Enumerates the set of values for ListSupportedCurrenciesSortByEnum
func GetMappingListSupportedCurrenciesSortByEnum(val string) (ListSupportedCurrenciesSortByEnum, bool)
GetMappingListSupportedCurrenciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSupportedCurrenciesSortOrderEnum Enum with underlying type: string
type ListSupportedCurrenciesSortOrderEnum string
Set of constants representing the allowable values for ListSupportedCurrenciesSortOrderEnum
const (
ListSupportedCurrenciesSortOrderAsc ListSupportedCurrenciesSortOrderEnum = "ASC"
ListSupportedCurrenciesSortOrderDesc ListSupportedCurrenciesSortOrderEnum = "DESC"
)
func GetListSupportedCurrenciesSortOrderEnumValues() []ListSupportedCurrenciesSortOrderEnum
GetListSupportedCurrenciesSortOrderEnumValues Enumerates the set of values for ListSupportedCurrenciesSortOrderEnum
func GetMappingListSupportedCurrenciesSortOrderEnum(val string) (ListSupportedCurrenciesSortOrderEnum, bool)
GetMappingListSupportedCurrenciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSupportedShapesRequest wrapper for the ListSupportedShapes operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListSupportedShapes.go.html to see an example of how to use ListSupportedShapesRequest.
type ListSupportedShapesRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListSupportedShapesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListSupportedShapesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// 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 (request ListSupportedShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSupportedShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSupportedShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSupportedShapesRequest) String() string
func (request ListSupportedShapesRequest) 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
ListSupportedShapesResponse wrapper for the ListSupportedShapes operation
type ListSupportedShapesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SupportedShapeCollection instances
SupportedShapeCollection `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 (response ListSupportedShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSupportedShapesResponse) String() string
ListSupportedShapesSortByEnum Enum with underlying type: string
type ListSupportedShapesSortByEnum string
Set of constants representing the allowable values for ListSupportedShapesSortByEnum
const (
ListSupportedShapesSortByTimecreated ListSupportedShapesSortByEnum = "timeCreated"
ListSupportedShapesSortByDisplayname ListSupportedShapesSortByEnum = "displayName"
)
func GetListSupportedShapesSortByEnumValues() []ListSupportedShapesSortByEnum
GetListSupportedShapesSortByEnumValues Enumerates the set of values for ListSupportedShapesSortByEnum
func GetMappingListSupportedShapesSortByEnum(val string) (ListSupportedShapesSortByEnum, bool)
GetMappingListSupportedShapesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSupportedShapesSortOrderEnum Enum with underlying type: string
type ListSupportedShapesSortOrderEnum string
Set of constants representing the allowable values for ListSupportedShapesSortOrderEnum
const (
ListSupportedShapesSortOrderAsc ListSupportedShapesSortOrderEnum = "ASC"
ListSupportedShapesSortOrderDesc ListSupportedShapesSortOrderEnum = "DESC"
)
func GetListSupportedShapesSortOrderEnumValues() []ListSupportedShapesSortOrderEnum
GetListSupportedShapesSortOrderEnumValues Enumerates the set of values for ListSupportedShapesSortOrderEnum
func GetMappingListSupportedShapesSortOrderEnum(val string) (ListSupportedShapesSortOrderEnum, bool)
GetMappingListSupportedShapesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTermVersionsRequest wrapper for the ListTermVersions operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListTermVersions.go.html to see an example of how to use ListTermVersionsRequest.
type ListTermVersionsRequest struct {
// term OCID
TermId *string `mandatory:"true" contributesTo:"query" name:"termId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListTermVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListTermVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire display name given.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// 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 (request ListTermVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTermVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTermVersionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTermVersionsRequest) String() string
func (request ListTermVersionsRequest) 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
ListTermVersionsResponse wrapper for the ListTermVersions operation
type ListTermVersionsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of TermVersionCollection instances
TermVersionCollection `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 (response ListTermVersionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTermVersionsResponse) String() string
ListTermVersionsSortByEnum Enum with underlying type: string
type ListTermVersionsSortByEnum string
Set of constants representing the allowable values for ListTermVersionsSortByEnum
const (
ListTermVersionsSortByTimecreated ListTermVersionsSortByEnum = "timeCreated"
ListTermVersionsSortByDisplayname ListTermVersionsSortByEnum = "displayName"
)
func GetListTermVersionsSortByEnumValues() []ListTermVersionsSortByEnum
GetListTermVersionsSortByEnumValues Enumerates the set of values for ListTermVersionsSortByEnum
func GetMappingListTermVersionsSortByEnum(val string) (ListTermVersionsSortByEnum, bool)
GetMappingListTermVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTermVersionsSortOrderEnum Enum with underlying type: string
type ListTermVersionsSortOrderEnum string
Set of constants representing the allowable values for ListTermVersionsSortOrderEnum
const (
ListTermVersionsSortOrderAsc ListTermVersionsSortOrderEnum = "ASC"
ListTermVersionsSortOrderDesc ListTermVersionsSortOrderEnum = "DESC"
)
func GetListTermVersionsSortOrderEnumValues() []ListTermVersionsSortOrderEnum
GetListTermVersionsSortOrderEnumValues Enumerates the set of values for ListTermVersionsSortOrderEnum
func GetMappingListTermVersionsSortOrderEnum(val string) (ListTermVersionsSortOrderEnum, bool)
GetMappingListTermVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTermsRequest wrapper for the ListTerms operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListTerms.go.html to see an example of how to use ListTermsRequest.
type ListTermsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListTermsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
SortBy ListTermsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the entire name given.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// 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 (request ListTermsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTermsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTermsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTermsRequest) String() string
func (request ListTermsRequest) 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
ListTermsResponse wrapper for the ListTerms operation
type ListTermsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of TermCollection instances
TermCollection `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 (response ListTermsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTermsResponse) String() string
ListTermsSortByEnum Enum with underlying type: string
type ListTermsSortByEnum string
Set of constants representing the allowable values for ListTermsSortByEnum
const (
ListTermsSortByTimecreated ListTermsSortByEnum = "timeCreated"
ListTermsSortByDisplayname ListTermsSortByEnum = "displayName"
)
func GetListTermsSortByEnumValues() []ListTermsSortByEnum
GetListTermsSortByEnumValues Enumerates the set of values for ListTermsSortByEnum
func GetMappingListTermsSortByEnum(val string) (ListTermsSortByEnum, bool)
GetMappingListTermsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTermsSortOrderEnum Enum with underlying type: string
type ListTermsSortOrderEnum string
Set of constants representing the allowable values for ListTermsSortOrderEnum
const (
ListTermsSortOrderAsc ListTermsSortOrderEnum = "ASC"
ListTermsSortOrderDesc ListTermsSortOrderEnum = "DESC"
)
func GetListTermsSortOrderEnumValues() []ListTermsSortOrderEnum
GetListTermsSortOrderEnumValues Enumerates the set of values for ListTermsSortOrderEnum
func GetMappingListTermsSortOrderEnum(val string) (ListTermsSortOrderEnum, bool)
GetMappingListTermsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestErrorCollection instances
WorkRequestErrorCollection `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 (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const (
ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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
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 (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const (
ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The ID of the asynchronous work request.
WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`
// A filter to return only resources their lifecycleState matches the given OperationStatus.
Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// The ID of the resource affected by the work request.
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The maximum number of items to return.
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"`
// 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 (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestSummaryCollection instances
WorkRequestSummaryCollection `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 (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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"
ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING"
ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED"
ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED"
ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING"
ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED"
)
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
Listing The model for the Marketplace Publisher listing.
type Listing struct {
// Unique OCID identifier for the listing.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The listing type for the listing.
ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`
// Name for the listing.
Name *string `mandatory:"true" json:"name"`
// The package type for the listing.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// The date and time the listing was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the listing was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Additional metadata key/value pairs for the listing summary.
// For example:
// `{"listingRevisionStatus": "Published","listingRevision": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// The current state of the Listing.
LifecycleState ListingLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m Listing) String() string
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
ListingCollection Results of listing search. Contains Listing items.
type ListingCollection struct {
// List of listing summary.
Items []ListingSummary `mandatory:"true" json:"items"`
}
func (m ListingCollection) String() string
func (m ListingCollection) 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
ListingLifecycleStateEnum Enum with underlying type: string
type ListingLifecycleStateEnum string
Set of constants representing the allowable values for ListingLifecycleStateEnum
const (
ListingLifecycleStateCreating ListingLifecycleStateEnum = "CREATING"
ListingLifecycleStateUpdating ListingLifecycleStateEnum = "UPDATING"
ListingLifecycleStateActive ListingLifecycleStateEnum = "ACTIVE"
ListingLifecycleStateInactive ListingLifecycleStateEnum = "INACTIVE"
ListingLifecycleStateDeleting ListingLifecycleStateEnum = "DELETING"
ListingLifecycleStateDeleted ListingLifecycleStateEnum = "DELETED"
ListingLifecycleStateFailed ListingLifecycleStateEnum = "FAILED"
)
func GetListingLifecycleStateEnumValues() []ListingLifecycleStateEnum
GetListingLifecycleStateEnumValues Enumerates the set of values for ListingLifecycleStateEnum
func GetMappingListingLifecycleStateEnum(val string) (ListingLifecycleStateEnum, bool)
GetMappingListingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListingMeter A listing meter information attached by marketplace admin.
type ListingMeter struct {
// The meter name, ex - MP_BOBO_AP.
Name *string `mandatory:"true" json:"name"`
// rate allocation, these are calculated based on rate information at parent part/sku and listing revision.
RateAllocation *float32 `mandatory:"true" json:"rateAllocation"`
// Additional metadata key/value pairs for the listing meter.
// For example:
// `{"pausedOnInstanceStop": "True","coreSuffixMeter": "_VMWARE", "minimumBillingPeriodInHours": "755", "weight": "1.0" }`
ExtendedMetadata map[string]string `mandatory:"true" json:"extendedMetadata"`
}
func (m ListingMeter) String() string
func (m ListingMeter) 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
ListingPart A listing SKUs and meter information attached by marketplace admin.
type ListingPart struct {
// The SKU/part name.
Sku *string `mandatory:"true" json:"sku"`
// The part's metric.
MetricType MetricTypeEnum `mandatory:"true" json:"metricType"`
// rate allocation, these are calculated based on rate information at listing revision.
RateAllocation *float32 `mandatory:"true" json:"rateAllocation"`
// Identifies whether part has Gov SKU.
HasGovSku *bool `mandatory:"true" json:"hasGovSku"`
// List of meters associated with the part.
Meters []ListingMeter `mandatory:"true" json:"meters"`
// Unique identifier of the pricing plan.
PricingPlanKey *string `mandatory:"false" json:"pricingPlanKey"`
// The billing model for SaaS paid listing parts.
BillingModel ListingPartBillingModelEnum `mandatory:"false" json:"billingModel,omitempty"`
}
func (m ListingPart) String() string
func (m ListingPart) 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
ListingPartBillingModelEnum Enum with underlying type: string
type ListingPartBillingModelEnum string
Set of constants representing the allowable values for ListingPartBillingModelEnum
const (
ListingPartBillingModelFlatRate ListingPartBillingModelEnum = "FLAT_RATE"
ListingPartBillingModelUsageBased ListingPartBillingModelEnum = "USAGE_BASED"
)
func GetListingPartBillingModelEnumValues() []ListingPartBillingModelEnum
GetListingPartBillingModelEnumValues Enumerates the set of values for ListingPartBillingModelEnum
func GetMappingListingPartBillingModelEnum(val string) (ListingPartBillingModelEnum, bool)
GetMappingListingPartBillingModelEnum performs case Insensitive comparison on enum value and return the desired enum
ListingProduct Products associated with listing.
type ListingProduct struct {
// Product Code
Code *string `mandatory:"true" json:"code"`
// List of category codes within a Product which are applicable to the listing revision.
Categories []string `mandatory:"true" json:"categories"`
// Custom filter for the product
AdditionalFilters []ListingProductAdditionalFilter `mandatory:"false" json:"additionalFilters"`
}
func (m ListingProduct) String() string
func (m ListingProduct) 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
ListingProductAdditionalFilter Additional filters attached to a product of listing
type ListingProductAdditionalFilter struct {
// filter code for the product
FilterCode *string `mandatory:"false" json:"filterCode"`
// additional properties attached to a filter
FilterProperties []string `mandatory:"false" json:"filterProperties"`
}
func (m ListingProductAdditionalFilter) String() string
func (m ListingProductAdditionalFilter) 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
ListingRevision The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
type ListingRevision interface {
// Unique OCID identifier for the listing revision in Marketplace Publisher.
GetId() *string
// The unique identifier for the listing this revision belongs to.
GetListingId() *string
// The name for the listing revision.
GetDisplayName() *string
// Single line introduction for the listing revision.
GetHeadline() *string
// The time the listing revision was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the listing revision was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// The current status for the Listing revision.
GetStatus() ListingRevisionStatusEnum
// The current state of the listing revision.
GetLifecycleState() ListingRevisionLifecycleStateEnum
// The unique identifier for the compartment.
GetCompartmentId() *string
// The revision number for the listing revision. This is an internal attribute
GetRevisionNumber() *string
// The tagline of the listing revision.
GetTagline() *string
// Keywords associated with the listing revision.
GetKeywords() *string
// A short description for the listing revision.
GetShortDescription() *string
// Usage information for the listing revision.
GetUsageInformation() *string
// A long description for the listing revision.
GetLongDescription() *string
GetContentLanguage() *LanguageItem
// Languages supported by the publisher for the listing revision.
GetSupportedlanguages() []LanguageItem
// Contact information to use to get support from the publisher for the listing revision.
GetSupportContacts() []SupportContact
// Links to support resources for the listing revision.
GetSupportLinks() []NamedLink
GetIcon() *ListingRevisionIconAttachment
GetBanner() *ListingRevisionBannerAttachment
// Status notes for the listing revision.
GetStatusNotes() *string
// The listing's package type. Populated from the listing.
GetPackageType() PackageTypeEnum
// Additional metadata key/value pairs for the listing revision summary.
GetExtendedMetadata() map[string]string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
}
ListingRevisionAttachment A attachment for the listing revision. User can provide an external URL/upload a file
type ListingRevisionAttachment interface {
// Unique OCID identifier for the listing revision attachment.
GetId() *string
// The unique identifier for the compartment.
GetCompartmentId() *string
// The unique identifier of the listing revision that the specified attachment belongs to.
GetListingRevisionId() *string
// Name of the listing revision attachment.
GetDisplayName() *string
// The current state of the attachment.
GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
// The time the attachment was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the attachment was updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
// Description of the listing revision attachment.
GetDescription() *string
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
GetSourceType() ListingRevisionAttachmentSourceTypeEnum
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
}
ListingRevisionAttachmentAttachmentTypeEnum Enum with underlying type: string
type ListingRevisionAttachmentAttachmentTypeEnum string
Set of constants representing the allowable values for ListingRevisionAttachmentAttachmentTypeEnum
const (
ListingRevisionAttachmentAttachmentTypeRelatedDocument ListingRevisionAttachmentAttachmentTypeEnum = "RELATED_DOCUMENT"
ListingRevisionAttachmentAttachmentTypeScreenshot ListingRevisionAttachmentAttachmentTypeEnum = "SCREENSHOT"
ListingRevisionAttachmentAttachmentTypeVideo ListingRevisionAttachmentAttachmentTypeEnum = "VIDEO"
ListingRevisionAttachmentAttachmentTypeReviewSupportDocument ListingRevisionAttachmentAttachmentTypeEnum = "REVIEW_SUPPORT_DOCUMENT"
ListingRevisionAttachmentAttachmentTypeCustomerSuccess ListingRevisionAttachmentAttachmentTypeEnum = "CUSTOMER_SUCCESS"
ListingRevisionAttachmentAttachmentTypeSupportedServices ListingRevisionAttachmentAttachmentTypeEnum = "SUPPORTED_SERVICES"
)
func GetListingRevisionAttachmentAttachmentTypeEnumValues() []ListingRevisionAttachmentAttachmentTypeEnum
GetListingRevisionAttachmentAttachmentTypeEnumValues Enumerates the set of values for ListingRevisionAttachmentAttachmentTypeEnum
func GetMappingListingRevisionAttachmentAttachmentTypeEnum(val string) (ListingRevisionAttachmentAttachmentTypeEnum, bool)
GetMappingListingRevisionAttachmentAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionAttachmentCollection Results of the listing attachments search. Contains attachment items.
type ListingRevisionAttachmentCollection struct {
// List of attachment summary.
Items []ListingRevisionAttachmentSummary `mandatory:"true" json:"items"`
}
func (m ListingRevisionAttachmentCollection) String() string
func (m ListingRevisionAttachmentCollection) 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
ListingRevisionAttachmentLifecycleStateEnum Enum with underlying type: string
type ListingRevisionAttachmentLifecycleStateEnum string
Set of constants representing the allowable values for ListingRevisionAttachmentLifecycleStateEnum
const (
ListingRevisionAttachmentLifecycleStateActive ListingRevisionAttachmentLifecycleStateEnum = "ACTIVE"
ListingRevisionAttachmentLifecycleStateInactive ListingRevisionAttachmentLifecycleStateEnum = "INACTIVE"
ListingRevisionAttachmentLifecycleStateDeleted ListingRevisionAttachmentLifecycleStateEnum = "DELETED"
)
func GetListingRevisionAttachmentLifecycleStateEnumValues() []ListingRevisionAttachmentLifecycleStateEnum
GetListingRevisionAttachmentLifecycleStateEnumValues Enumerates the set of values for ListingRevisionAttachmentLifecycleStateEnum
func GetMappingListingRevisionAttachmentLifecycleStateEnum(val string) (ListingRevisionAttachmentLifecycleStateEnum, bool)
GetMappingListingRevisionAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionAttachmentSourceTypeEnum Enum with underlying type: string
type ListingRevisionAttachmentSourceTypeEnum string
Set of constants representing the allowable values for ListingRevisionAttachmentSourceTypeEnum
const (
ListingRevisionAttachmentSourceTypeExternal ListingRevisionAttachmentSourceTypeEnum = "EXTERNAL"
ListingRevisionAttachmentSourceTypeInternal ListingRevisionAttachmentSourceTypeEnum = "INTERNAL"
)
func GetListingRevisionAttachmentSourceTypeEnumValues() []ListingRevisionAttachmentSourceTypeEnum
GetListingRevisionAttachmentSourceTypeEnumValues Enumerates the set of values for ListingRevisionAttachmentSourceTypeEnum
func GetMappingListingRevisionAttachmentSourceTypeEnum(val string) (ListingRevisionAttachmentSourceTypeEnum, bool)
GetMappingListingRevisionAttachmentSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionAttachmentSummary The model for a summary of a listing revision related attachments.
type ListingRevisionAttachmentSummary struct {
// The OCID of the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The ID of the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name of the specified document.
DisplayName *string `mandatory:"true" json:"displayName"`
// The specified attachment type.
AttachmentType ListingRevisionAttachmentAttachmentTypeEnum `mandatory:"true" json:"attachmentType"`
// The URL of the specified attachment.
ContentUrl *string `mandatory:"true" json:"contentUrl"`
// The date and time the related document was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the related document was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The specified attachment type is Internal or External.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// Possible lifecycle states.
DocumentCategory ListingRevisionAttachmentSummaryDocumentCategoryEnum `mandatory:"false" json:"documentCategory,omitempty"`
// The MIME type of the screenshot.
MimeType *string `mandatory:"false" json:"mimeType"`
// The current state of the document.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m ListingRevisionAttachmentSummary) String() string
func (m ListingRevisionAttachmentSummary) 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
ListingRevisionAttachmentSummaryDocumentCategoryEnum Enum with underlying type: string
type ListingRevisionAttachmentSummaryDocumentCategoryEnum string
Set of constants representing the allowable values for ListingRevisionAttachmentSummaryDocumentCategoryEnum
const (
ListingRevisionAttachmentSummaryDocumentCategoryCaseStudies ListingRevisionAttachmentSummaryDocumentCategoryEnum = "CASE_STUDIES"
ListingRevisionAttachmentSummaryDocumentCategoryCustomizationGuides ListingRevisionAttachmentSummaryDocumentCategoryEnum = "CUSTOMIZATION_GUIDES"
ListingRevisionAttachmentSummaryDocumentCategoryDataSheets ListingRevisionAttachmentSummaryDocumentCategoryEnum = "DATA_SHEETS"
ListingRevisionAttachmentSummaryDocumentCategoryPressRelease ListingRevisionAttachmentSummaryDocumentCategoryEnum = "PRESS_RELEASE"
ListingRevisionAttachmentSummaryDocumentCategoryProductDocumentation ListingRevisionAttachmentSummaryDocumentCategoryEnum = "PRODUCT_DOCUMENTATION"
ListingRevisionAttachmentSummaryDocumentCategoryUserGuides ListingRevisionAttachmentSummaryDocumentCategoryEnum = "USER_GUIDES"
ListingRevisionAttachmentSummaryDocumentCategoryWebinars ListingRevisionAttachmentSummaryDocumentCategoryEnum = "WEBINARS"
ListingRevisionAttachmentSummaryDocumentCategoryWhitepapers ListingRevisionAttachmentSummaryDocumentCategoryEnum = "WHITEPAPERS"
)
func GetListingRevisionAttachmentSummaryDocumentCategoryEnumValues() []ListingRevisionAttachmentSummaryDocumentCategoryEnum
GetListingRevisionAttachmentSummaryDocumentCategoryEnumValues Enumerates the set of values for ListingRevisionAttachmentSummaryDocumentCategoryEnum
func GetMappingListingRevisionAttachmentSummaryDocumentCategoryEnum(val string) (ListingRevisionAttachmentSummaryDocumentCategoryEnum, bool)
GetMappingListingRevisionAttachmentSummaryDocumentCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionBannerAttachment Banner uploaded by the Publisher to be attached to the listing revision.
type ListingRevisionBannerAttachment struct {
// The content URL of the uploaded data.
ContentUrl *string `mandatory:"true" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"true" json:"mimeType"`
// The name of uploaded banner.
Name *string `mandatory:"false" json:"name"`
}
func (m ListingRevisionBannerAttachment) String() string
func (m ListingRevisionBannerAttachment) 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
ListingRevisionCollection Results of listing revision search. Contains Listing revision items.
type ListingRevisionCollection struct {
// List of listing revision summary.
Items []ListingRevisionSummary `mandatory:"true" json:"items"`
}
func (m ListingRevisionCollection) String() string
func (m ListingRevisionCollection) 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
ListingRevisionIconAttachment An attachment uploaded by the Publisher to be attached to the listing revision.
type ListingRevisionIconAttachment struct {
// The content URL of the uploaded data.
ContentUrl *string `mandatory:"true" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"true" json:"mimeType"`
}
func (m ListingRevisionIconAttachment) String() string
func (m ListingRevisionIconAttachment) 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
ListingRevisionLifecycleStateEnum Enum with underlying type: string
type ListingRevisionLifecycleStateEnum string
Set of constants representing the allowable values for ListingRevisionLifecycleStateEnum
const (
ListingRevisionLifecycleStateCreating ListingRevisionLifecycleStateEnum = "CREATING"
ListingRevisionLifecycleStateUpdating ListingRevisionLifecycleStateEnum = "UPDATING"
ListingRevisionLifecycleStateActive ListingRevisionLifecycleStateEnum = "ACTIVE"
ListingRevisionLifecycleStateDeleting ListingRevisionLifecycleStateEnum = "DELETING"
ListingRevisionLifecycleStateDeleted ListingRevisionLifecycleStateEnum = "DELETED"
ListingRevisionLifecycleStateFailed ListingRevisionLifecycleStateEnum = "FAILED"
)
func GetListingRevisionLifecycleStateEnumValues() []ListingRevisionLifecycleStateEnum
GetListingRevisionLifecycleStateEnumValues Enumerates the set of values for ListingRevisionLifecycleStateEnum
func GetMappingListingRevisionLifecycleStateEnum(val string) (ListingRevisionLifecycleStateEnum, bool)
GetMappingListingRevisionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionNote The model for the listing revision notes.
type ListingRevisionNote struct {
// The OCID of the listing revision note.
Id *string `mandatory:"true" json:"id"`
// The unique identifier of the listing revision that the specified note belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// type of the note.
NoteSource ListingRevisionNoteNoteSourceEnum `mandatory:"true" json:"noteSource"`
// Notes provided for the listing revision.
NoteDetails *string `mandatory:"true" json:"noteDetails"`
// The date and time the listing revision note was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the listing revision note was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Email address of the administrator who created the note, if available.
AdminEmail *string `mandatory:"false" json:"adminEmail"`
// The current state of the listing revision note.
LifecycleState ListingRevisionNoteLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m ListingRevisionNote) String() string
func (m ListingRevisionNote) 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
ListingRevisionNoteCollection Results of note search. Contains listing revision note items.
type ListingRevisionNoteCollection struct {
// List of note summary.
Items []ListingRevisionNoteSummary `mandatory:"true" json:"items"`
}
func (m ListingRevisionNoteCollection) String() string
func (m ListingRevisionNoteCollection) 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
ListingRevisionNoteLifecycleStateEnum Enum with underlying type: string
type ListingRevisionNoteLifecycleStateEnum string
Set of constants representing the allowable values for ListingRevisionNoteLifecycleStateEnum
const (
ListingRevisionNoteLifecycleStateActive ListingRevisionNoteLifecycleStateEnum = "ACTIVE"
ListingRevisionNoteLifecycleStateDeleted ListingRevisionNoteLifecycleStateEnum = "DELETED"
)
func GetListingRevisionNoteLifecycleStateEnumValues() []ListingRevisionNoteLifecycleStateEnum
GetListingRevisionNoteLifecycleStateEnumValues Enumerates the set of values for ListingRevisionNoteLifecycleStateEnum
func GetMappingListingRevisionNoteLifecycleStateEnum(val string) (ListingRevisionNoteLifecycleStateEnum, bool)
GetMappingListingRevisionNoteLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionNoteNoteSourceEnum Enum with underlying type: string
type ListingRevisionNoteNoteSourceEnum string
Set of constants representing the allowable values for ListingRevisionNoteNoteSourceEnum
const (
ListingRevisionNoteNoteSourcePublisher ListingRevisionNoteNoteSourceEnum = "PUBLISHER"
ListingRevisionNoteNoteSourceAdministrator ListingRevisionNoteNoteSourceEnum = "ADMINISTRATOR"
)
func GetListingRevisionNoteNoteSourceEnumValues() []ListingRevisionNoteNoteSourceEnum
GetListingRevisionNoteNoteSourceEnumValues Enumerates the set of values for ListingRevisionNoteNoteSourceEnum
func GetMappingListingRevisionNoteNoteSourceEnum(val string) (ListingRevisionNoteNoteSourceEnum, bool)
GetMappingListingRevisionNoteNoteSourceEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionNoteSummary The model for a summary of a listing revision notes.
type ListingRevisionNoteSummary struct {
// The OCID of the listing revision note.
Id *string `mandatory:"true" json:"id"`
// The unique identifier of the listing revision that the specified note belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// type of the note.
NoteSource ListingRevisionNoteNoteSourceEnum `mandatory:"true" json:"noteSource"`
// Notes provided for the listing revision.
NoteDetails *string `mandatory:"true" json:"noteDetails"`
// The date and time the listing revision note was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the listing revision note was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Email address of the administrator who created the note, if available.
AdminEmail *string `mandatory:"false" json:"adminEmail"`
// The current state of the note.
LifecycleState ListingRevisionNoteLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m ListingRevisionNoteSummary) String() string
func (m ListingRevisionNoteSummary) 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
ListingRevisionPackage A base object for all types of listing revision packages.
type ListingRevisionPackage interface {
// The name of the listing revision package.
GetDisplayName() *string
// The unique identifier for the listing revision.
GetListingRevisionId() *string
// The unique identifier for the compartment.
GetCompartmentId() *string
// The unique identifier for the artifact.
GetArtifactId() *string
// The unique identifier for the term.
GetTermId() *string
// The version for the package.
GetPackageVersion() *string
// The current state for the listing revision package.
GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
// The current status for the listing revision package.
GetStatus() ListingRevisionPackageStatusEnum
// Identifies whether security upgrades will be provided for this package.
GetAreSecurityUpgradesProvided() *bool
// Identifies that this will be default package for the listing revision.
GetIsDefault() *bool
// The date and time this listing revision 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
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
GetTimeUpdated() *common.SDKTime
// The OCID for the listing revision package in Marketplace Publisher.
GetId() *string
// The description of this package.
GetDescription() *string
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
GetExtendedMetadata() map[string]string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
}
ListingRevisionPackageCollection Results of package search. Contains Package items.
type ListingRevisionPackageCollection struct {
// List of package summary.
Items []ListingRevisionPackageSummary `mandatory:"true" json:"items"`
}
func (m ListingRevisionPackageCollection) String() string
func (m ListingRevisionPackageCollection) 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
ListingRevisionPackageLifecycleStateEnum Enum with underlying type: string
type ListingRevisionPackageLifecycleStateEnum string
Set of constants representing the allowable values for ListingRevisionPackageLifecycleStateEnum
const (
ListingRevisionPackageLifecycleStateCreating ListingRevisionPackageLifecycleStateEnum = "CREATING"
ListingRevisionPackageLifecycleStateUpdating ListingRevisionPackageLifecycleStateEnum = "UPDATING"
ListingRevisionPackageLifecycleStateActive ListingRevisionPackageLifecycleStateEnum = "ACTIVE"
ListingRevisionPackageLifecycleStateInactive ListingRevisionPackageLifecycleStateEnum = "INACTIVE"
ListingRevisionPackageLifecycleStateDeleting ListingRevisionPackageLifecycleStateEnum = "DELETING"
ListingRevisionPackageLifecycleStateDeleted ListingRevisionPackageLifecycleStateEnum = "DELETED"
ListingRevisionPackageLifecycleStateFailed ListingRevisionPackageLifecycleStateEnum = "FAILED"
)
func GetListingRevisionPackageLifecycleStateEnumValues() []ListingRevisionPackageLifecycleStateEnum
GetListingRevisionPackageLifecycleStateEnumValues Enumerates the set of values for ListingRevisionPackageLifecycleStateEnum
func GetMappingListingRevisionPackageLifecycleStateEnum(val string) (ListingRevisionPackageLifecycleStateEnum, bool)
GetMappingListingRevisionPackageLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionPackageStatusEnum Enum with underlying type: string
type ListingRevisionPackageStatusEnum string
Set of constants representing the allowable values for ListingRevisionPackageStatusEnum
const (
ListingRevisionPackageStatusNew ListingRevisionPackageStatusEnum = "NEW"
ListingRevisionPackageStatusPublishInProgress ListingRevisionPackageStatusEnum = "PUBLISH_IN_PROGRESS"
ListingRevisionPackageStatusUnpublishInProgress ListingRevisionPackageStatusEnum = "UNPUBLISH_IN_PROGRESS"
ListingRevisionPackageStatusPublishFailed ListingRevisionPackageStatusEnum = "PUBLISH_FAILED"
ListingRevisionPackageStatusPublished ListingRevisionPackageStatusEnum = "PUBLISHED"
ListingRevisionPackageStatusPublishedAsPrivate ListingRevisionPackageStatusEnum = "PUBLISHED_AS_PRIVATE"
ListingRevisionPackageStatusUnpublished ListingRevisionPackageStatusEnum = "UNPUBLISHED"
)
func GetListingRevisionPackageStatusEnumValues() []ListingRevisionPackageStatusEnum
GetListingRevisionPackageStatusEnumValues Enumerates the set of values for ListingRevisionPackageStatusEnum
func GetMappingListingRevisionPackageStatusEnum(val string) (ListingRevisionPackageStatusEnum, bool)
GetMappingListingRevisionPackageStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionPackageSummary The model for a summary of a package.
type ListingRevisionPackageSummary struct {
// The ID of the listing revision package.
Id *string `mandatory:"true" json:"id"`
// The ID of the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The version of the specified package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// The specified package's type.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// The current state of the Package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status of the package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
// The date and time the publication package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the publication package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2022-09-24T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m ListingRevisionPackageSummary) String() string
func (m ListingRevisionPackageSummary) 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
ListingRevisionStatusEnum Enum with underlying type: string
type ListingRevisionStatusEnum string
Set of constants representing the allowable values for ListingRevisionStatusEnum
const (
ListingRevisionStatusNew ListingRevisionStatusEnum = "NEW"
ListingRevisionStatusPendingReview ListingRevisionStatusEnum = "PENDING_REVIEW"
ListingRevisionStatusReviewInProgress ListingRevisionStatusEnum = "REVIEW_IN_PROGRESS"
ListingRevisionStatusRejected ListingRevisionStatusEnum = "REJECTED"
ListingRevisionStatusApproved ListingRevisionStatusEnum = "APPROVED"
ListingRevisionStatusPublishInProgress ListingRevisionStatusEnum = "PUBLISH_IN_PROGRESS"
ListingRevisionStatusPublishFailed ListingRevisionStatusEnum = "PUBLISH_FAILED"
ListingRevisionStatusPublished ListingRevisionStatusEnum = "PUBLISHED"
ListingRevisionStatusPublishAsPrivateFailed ListingRevisionStatusEnum = "PUBLISH_AS_PRIVATE_FAILED"
ListingRevisionStatusPublishedAsPrivate ListingRevisionStatusEnum = "PUBLISHED_AS_PRIVATE"
ListingRevisionStatusPublishAsPrivateInProgress ListingRevisionStatusEnum = "PUBLISH_AS_PRIVATE_IN_PROGRESS"
ListingRevisionStatusUnpublishInProgress ListingRevisionStatusEnum = "UNPUBLISH_IN_PROGRESS"
ListingRevisionStatusUnpublished ListingRevisionStatusEnum = "UNPUBLISHED"
)
func GetListingRevisionStatusEnumValues() []ListingRevisionStatusEnum
GetListingRevisionStatusEnumValues Enumerates the set of values for ListingRevisionStatusEnum
func GetMappingListingRevisionStatusEnum(val string) (ListingRevisionStatusEnum, bool)
GetMappingListingRevisionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListingRevisionSummary The model for a summary of an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
type ListingRevisionSummary struct {
// The OCID for the listing revision in Marketplace Publisher.
Id *string `mandatory:"true" json:"id"`
// The OCID for the listing in Marketplace Publisher.
ListingId *string `mandatory:"true" json:"listingId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The listing's type. Populated from the listing.
ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`
// The name of the listing revision.
DisplayName *string `mandatory:"true" json:"displayName"`
// The current status of the listing revision.
Status ListingRevisionStatusEnum `mandatory:"true" json:"status"`
// The current state of the Listing.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The listing's package type.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// The date and time the listing revision was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the listing revision was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// A short description of the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// The tagline of the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m ListingRevisionSummary) String() string
func (m ListingRevisionSummary) 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
ListingSummary The model for a summary of the publisher listing.
type ListingSummary struct {
// The unique OCID of the listing.
Id *string `mandatory:"true" json:"id"`
// The unique identifier of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The listing type of the Listing.
ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`
// The name of the listing.
Name *string `mandatory:"true" json:"name"`
// The current state for the Listing.
LifecycleState ListingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The package type for the listing.
PackageType PackageTypeEnum `mandatory:"true" json:"packageType"`
// The date and time the listing was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the listing was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2023-03-27T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m ListingSummary) String() string
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
ListingTypeEnum Enum with underlying type: string
type ListingTypeEnum string
Set of constants representing the allowable values for ListingTypeEnum
const (
ListingTypeOciApplication ListingTypeEnum = "OCI_APPLICATION"
ListingTypeLeadGeneration ListingTypeEnum = "LEAD_GENERATION"
ListingTypeService ListingTypeEnum = "SERVICE"
)
func GetListingTypeEnumValues() []ListingTypeEnum
GetListingTypeEnumValues Enumerates the set of values for ListingTypeEnum
func GetMappingListingTypeEnum(val string) (ListingTypeEnum, bool)
GetMappingListingTypeEnum performs case Insensitive comparison on enum value and return the desired enum
MachineImageArtifact Machine Image artifact details.
type MachineImageArtifact struct {
// Unique OCID identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// A display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
MachineImage *MachineImageDetails `mandatory:"true" json:"machineImage"`
// Status notes for the Artifact.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m MachineImageArtifact) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MachineImageArtifact) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MachineImageArtifact) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m MachineImageArtifact) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MachineImageArtifact) GetId() *string
GetId returns Id
func (m MachineImageArtifact) GetLifecycleState() ArtifactLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MachineImageArtifact) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m MachineImageArtifact) GetStatus() ArtifactStatusEnum
GetStatus returns Status
func (m MachineImageArtifact) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m MachineImageArtifact) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MachineImageArtifact) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MachineImageArtifact) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MachineImageArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MachineImageArtifact) String() string
func (m MachineImageArtifact) 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
MachineImageDetails Machine image details.
type MachineImageDetails struct {
// The source image ocid of the machine image.
SourceImageId *string `mandatory:"true" json:"sourceImageId"`
// Identified if customer can take a snapshot of instance running on the machine image.
IsSnapshotAllowed *bool `mandatory:"true" json:"isSnapshotAllowed"`
// List of shape configurations supported by the image.
ImageShapeCompatibilityEntries []ImageShapeCompatibility `mandatory:"true" json:"imageShapeCompatibilityEntries"`
// Image validation status.
ValidationStatus ValidationStatusEnum `mandatory:"true" json:"validationStatus"`
// The username for machine image.
Username *string `mandatory:"false" json:"username"`
// Description of image validation errors.
ValidationError *string `mandatory:"false" json:"validationError"`
}
func (m MachineImageDetails) String() string
func (m MachineImageDetails) 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
MachineImagePackage A package for machine image listings.
type MachineImagePackage struct {
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The unique identifier for the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"true" json:"artifactId"`
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// The version for the package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"true" json:"isDefault"`
// The date and time this listing revision 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:"true" json:"timeCreated"`
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID for the listing revision package in Marketplace Publisher.
Id *string `mandatory:"false" json:"id"`
// The description of this package.
Description *string `mandatory:"false" json:"description"`
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
MachineImageDetails *MachineImagePackageDetails `mandatory:"false" json:"machineImageDetails"`
// The current state for the listing revision package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the listing revision package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
}
func (m MachineImagePackage) GetAreSecurityUpgradesProvided() *bool
GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided
func (m MachineImagePackage) GetArtifactId() *string
GetArtifactId returns ArtifactId
func (m MachineImagePackage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MachineImagePackage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MachineImagePackage) GetDescription() *string
GetDescription returns Description
func (m MachineImagePackage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m MachineImagePackage) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m MachineImagePackage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MachineImagePackage) GetId() *string
GetId returns Id
func (m MachineImagePackage) GetIsDefault() *bool
GetIsDefault returns IsDefault
func (m MachineImagePackage) GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MachineImagePackage) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m MachineImagePackage) GetPackageVersion() *string
GetPackageVersion returns PackageVersion
func (m MachineImagePackage) GetStatus() ListingRevisionPackageStatusEnum
GetStatus returns Status
func (m MachineImagePackage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MachineImagePackage) GetTermId() *string
GetTermId returns TermId
func (m MachineImagePackage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MachineImagePackage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MachineImagePackage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MachineImagePackage) String() string
func (m MachineImagePackage) 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
MachineImagePackageDetails Replicated Machine Image package information.
type MachineImagePackageDetails struct {
// Replicated Image OCID.
ComputeImageId *string `mandatory:"false" json:"computeImageId"`
// Replicated Images App Catalog Listing OCID.
ComputeAppCatalogId *string `mandatory:"false" json:"computeAppCatalogId"`
// Replicated Images Package version.
ComputePackageVersion *string `mandatory:"false" json:"computePackageVersion"`
}
func (m MachineImagePackageDetails) String() string
func (m MachineImagePackageDetails) 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
MarkListingRevisionPackageAsDefaultRequest wrapper for the MarkListingRevisionPackageAsDefault operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/MarkListingRevisionPackageAsDefault.go.html to see an example of how to use MarkListingRevisionPackageAsDefaultRequest.
type MarkListingRevisionPackageAsDefaultRequest struct {
// Unique listing revision package identifier.
ListingRevisionPackageId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionPackageId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request MarkListingRevisionPackageAsDefaultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request MarkListingRevisionPackageAsDefaultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request MarkListingRevisionPackageAsDefaultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request MarkListingRevisionPackageAsDefaultRequest) String() string
func (request MarkListingRevisionPackageAsDefaultRequest) 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
MarkListingRevisionPackageAsDefaultResponse wrapper for the MarkListingRevisionPackageAsDefault operation
type MarkListingRevisionPackageAsDefaultResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response MarkListingRevisionPackageAsDefaultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response MarkListingRevisionPackageAsDefaultResponse) String() string
Market The model for the market details.
type Market struct {
// The name of the market.
Name *string `mandatory:"true" json:"name"`
// The code of the market.
Code *string `mandatory:"true" json:"code"`
// The category code of the market.
CategoryCode *string `mandatory:"true" json:"categoryCode"`
// bill to countries for the market.
BillToCountries []string `mandatory:"true" json:"billToCountries"`
// The current state for the market.
LifecycleState MarketLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the market was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the market was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The realm code of the market.
RealmCode *string `mandatory:"false" json:"realmCode"`
}
func (m Market) String() string
func (m Market) 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
MarketCollection Results of a market search. Contains the market items.
type MarketCollection struct {
// List of market summary.
Items []MarketSummary `mandatory:"true" json:"items"`
}
func (m MarketCollection) String() string
func (m MarketCollection) 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
MarketLifecycleStateEnum Enum with underlying type: string
type MarketLifecycleStateEnum string
Set of constants representing the allowable values for MarketLifecycleStateEnum
const (
MarketLifecycleStateActive MarketLifecycleStateEnum = "ACTIVE"
MarketLifecycleStateInactive MarketLifecycleStateEnum = "INACTIVE"
)
func GetMappingMarketLifecycleStateEnum(val string) (MarketLifecycleStateEnum, bool)
GetMappingMarketLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMarketLifecycleStateEnumValues() []MarketLifecycleStateEnum
GetMarketLifecycleStateEnumValues Enumerates the set of values for MarketLifecycleStateEnum
MarketSummary The model for the market metadata.
type MarketSummary struct {
// The name of the product.
Name *string `mandatory:"true" json:"name"`
// The code of the product.
Code *string `mandatory:"true" json:"code"`
// The category code for the market.
CategoryCode *string `mandatory:"true" json:"categoryCode"`
// bill to countries for the market.
BillToCountries []string `mandatory:"true" json:"billToCountries"`
// The current state for the market.
LifecycleState MarketLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the market was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the market was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}
func (m MarketSummary) String() string
func (m MarketSummary) 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
MarketplaceAdministratorClient a client for MarketplaceAdministrator
type MarketplaceAdministratorClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewMarketplaceAdministratorClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MarketplaceAdministratorClient, err error)
NewMarketplaceAdministratorClientWithConfigurationProvider Creates a new default MarketplaceAdministrator client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewMarketplaceAdministratorClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MarketplaceAdministratorClient, err error)
NewMarketplaceAdministratorClientWithOboToken Creates a new default MarketplaceAdministrator 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 (client MarketplaceAdministratorClient) ChangeListingRevisionStatusToNew(ctx context.Context, request ChangeListingRevisionStatusToNewRequest) (response ChangeListingRevisionStatusToNewResponse, err error)
ChangeListingRevisionStatusToNew Change the Listing Revision status to New
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeListingRevisionStatusToNew.go.html to see an example of how to use ChangeListingRevisionStatusToNew API. A default retry strategy applies to this operation ChangeListingRevisionStatusToNew()
func (client *MarketplaceAdministratorClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client MarketplaceAdministratorClient) CreateMarket(ctx context.Context, request CreateMarketRequest) (response CreateMarketResponse, err error)
CreateMarket Creates a new Market.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateMarket.go.html to see an example of how to use CreateMarket API. A default retry strategy applies to this operation CreateMarket()
func (client MarketplaceAdministratorClient) GetAdminArtifact(ctx context.Context, request GetAdminArtifactRequest) (response GetAdminArtifactResponse, err error)
GetAdminArtifact Gets the specified artifact's information.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminArtifact.go.html to see an example of how to use GetAdminArtifact API. A default retry strategy applies to this operation GetAdminArtifact()
func (client MarketplaceAdministratorClient) GetAdminListing(ctx context.Context, request GetAdminListingRequest) (response GetAdminListingResponse, err error)
GetAdminListing Returns details of the Listing.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminListing.go.html to see an example of how to use GetAdminListing API. A default retry strategy applies to this operation GetAdminListing()
func (client MarketplaceAdministratorClient) GetAdminListingRevision(ctx context.Context, request GetAdminListingRevisionRequest) (response GetAdminListingRevisionResponse, err error)
GetAdminListingRevision Returns details of the Listing revision.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminListingRevision.go.html to see an example of how to use GetAdminListingRevision API. A default retry strategy applies to this operation GetAdminListingRevision()
func (client MarketplaceAdministratorClient) GetAdminListingRevisionAttachment(ctx context.Context, request GetAdminListingRevisionAttachmentRequest) (response GetAdminListingRevisionAttachmentResponse, err error)
GetAdminListingRevisionAttachment Get the details of the specified listing revision attachment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminListingRevisionAttachment.go.html to see an example of how to use GetAdminListingRevisionAttachment API. A default retry strategy applies to this operation GetAdminListingRevisionAttachment()
func (client MarketplaceAdministratorClient) GetAdminListingRevisionPackage(ctx context.Context, request GetAdminListingRevisionPackageRequest) (response GetAdminListingRevisionPackageResponse, err error)
GetAdminListingRevisionPackage Get the details of the specified version of a package.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminListingRevisionPackage.go.html to see an example of how to use GetAdminListingRevisionPackage API. A default retry strategy applies to this operation GetAdminListingRevisionPackage()
func (client MarketplaceAdministratorClient) GetAdminTerm(ctx context.Context, request GetAdminTermRequest) (response GetAdminTermResponse, err error)
GetAdminTerm Gets a Term by identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminTerm.go.html to see an example of how to use GetAdminTerm API. A default retry strategy applies to this operation GetAdminTerm()
func (client MarketplaceAdministratorClient) GetAdminTermVersion(ctx context.Context, request GetAdminTermVersionRequest) (response GetAdminTermVersionResponse, err error)
GetAdminTermVersion Gets a Term Version by the identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetAdminTermVersion.go.html to see an example of how to use GetAdminTermVersion API. A default retry strategy applies to this operation GetAdminTermVersion()
func (client MarketplaceAdministratorClient) ListAdminArtifacts(ctx context.Context, request ListAdminArtifactsRequest) (response ListAdminArtifactsResponse, err error)
ListAdminArtifacts Lists the artifacts in your compartment. You must specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminArtifacts.go.html to see an example of how to use ListAdminArtifacts API. A default retry strategy applies to this operation ListAdminArtifacts()
func (client MarketplaceAdministratorClient) ListAdminListingRevisionAttachments(ctx context.Context, request ListAdminListingRevisionAttachmentsRequest) (response ListAdminListingRevisionAttachmentsResponse, err error)
ListAdminListingRevisionAttachments Gets the list of attachments for a listing revision
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminListingRevisionAttachments.go.html to see an example of how to use ListAdminListingRevisionAttachments API. A default retry strategy applies to this operation ListAdminListingRevisionAttachments()
func (client MarketplaceAdministratorClient) ListAdminListingRevisionPackages(ctx context.Context, request ListAdminListingRevisionPackagesRequest) (response ListAdminListingRevisionPackagesResponse, err error)
ListAdminListingRevisionPackages Gets the list of packages for a listing revision.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminListingRevisionPackages.go.html to see an example of how to use ListAdminListingRevisionPackages API. A default retry strategy applies to this operation ListAdminListingRevisionPackages()
func (client MarketplaceAdministratorClient) ListAdminListingRevisions(ctx context.Context, request ListAdminListingRevisionsRequest) (response ListAdminListingRevisionsResponse, err error)
ListAdminListingRevisions Returns a list of all the Listing revisions.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminListingRevisions.go.html to see an example of how to use ListAdminListingRevisions API. A default retry strategy applies to this operation ListAdminListingRevisions()
func (client MarketplaceAdministratorClient) ListAdminPublisherSkus(ctx context.Context, request ListAdminPublisherSkusRequest) (response ListAdminPublisherSkusResponse, err error)
ListAdminPublisherSkus Retrieve a list of publisher SKUs
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminPublisherSkus.go.html to see an example of how to use ListAdminPublisherSkus API. A default retry strategy applies to this operation ListAdminPublisherSkus()
func (client MarketplaceAdministratorClient) ListAdminTermVersions(ctx context.Context, request ListAdminTermVersionsRequest) (response ListAdminTermVersionsResponse, err error)
ListAdminTermVersions Returns a list of the publisher term versions.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminTermVersions.go.html to see an example of how to use ListAdminTermVersions API. A default retry strategy applies to this operation ListAdminTermVersions()
func (client MarketplaceAdministratorClient) ListAdminTerms(ctx context.Context, request ListAdminTermsRequest) (response ListAdminTermsResponse, err error)
ListAdminTerms Returns a list of the publisher terms.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminTerms.go.html to see an example of how to use ListAdminTerms API. A default retry strategy applies to this operation ListAdminTerms()
func (client MarketplaceAdministratorClient) ListAdminWorkRequests(ctx context.Context, request ListAdminWorkRequestsRequest) (response ListAdminWorkRequestsResponse, err error)
ListAdminWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAdminWorkRequests.go.html to see an example of how to use ListAdminWorkRequests API. A default retry strategy applies to this operation ListAdminWorkRequests()
func (client *MarketplaceAdministratorClient) SetRegion(region string)
SetRegion overrides the region of this client.
MarketplacePublisherClient a client for MarketplacePublisher
type MarketplacePublisherClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewMarketplacePublisherClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MarketplacePublisherClient, err error)
NewMarketplacePublisherClientWithConfigurationProvider Creates a new default MarketplacePublisher client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewMarketplacePublisherClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MarketplacePublisherClient, err error)
NewMarketplacePublisherClientWithOboToken Creates a new default MarketplacePublisher 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 (client MarketplacePublisherClient) ActivateTermVersion(ctx context.Context, request ActivateTermVersionRequest) (response ActivateTermVersionResponse, err error)
ActivateTermVersion Mark the Term Version identified by the id as active
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ActivateTermVersion.go.html to see an example of how to use ActivateTermVersion API. A default retry strategy applies to this operation ActivateTermVersion()
func (client MarketplacePublisherClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (client MarketplacePublisherClient) CascadingDeleteListing(ctx context.Context, request CascadingDeleteListingRequest) (response CascadingDeleteListingResponse, err error)
CascadingDeleteListing Cascade delete the listing and its subresources.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CascadingDeleteListing.go.html to see an example of how to use CascadingDeleteListing API. A default retry strategy applies to this operation CascadingDeleteListing()
func (client MarketplacePublisherClient) CascadingDeleteListingRevision(ctx context.Context, request CascadingDeleteListingRevisionRequest) (response CascadingDeleteListingRevisionResponse, err error)
CascadingDeleteListingRevision Cascade delete listing revision and its subresources.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CascadingDeleteListingRevision.go.html to see an example of how to use CascadingDeleteListingRevision API. A default retry strategy applies to this operation CascadingDeleteListingRevision()
func (client MarketplacePublisherClient) ChangeArtifactCompartment(ctx context.Context, request ChangeArtifactCompartmentRequest) (response ChangeArtifactCompartmentResponse, err error)
ChangeArtifactCompartment Moves the specified artifact to the specified compartment within the same tenancy.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeArtifactCompartment.go.html to see an example of how to use ChangeArtifactCompartment API. A default retry strategy applies to this operation ChangeArtifactCompartment()
func (client MarketplacePublisherClient) ChangeListingCompartment(ctx context.Context, request ChangeListingCompartmentRequest) (response ChangeListingCompartmentResponse, err error)
ChangeListingCompartment Moves a listing from one compartment to another
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeListingCompartment.go.html to see an example of how to use ChangeListingCompartment API. A default retry strategy applies to this operation ChangeListingCompartment()
func (client MarketplacePublisherClient) ChangeListingRevisionToNewStatus(ctx context.Context, request ChangeListingRevisionToNewStatusRequest) (response ChangeListingRevisionToNewStatusResponse, err error)
ChangeListingRevisionToNewStatus Updates the Listing Revision to New status
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeListingRevisionToNewStatus.go.html to see an example of how to use ChangeListingRevisionToNewStatus API. A default retry strategy applies to this operation ChangeListingRevisionToNewStatus()
func (client MarketplacePublisherClient) ChangeTermCompartment(ctx context.Context, request ChangeTermCompartmentRequest) (response ChangeTermCompartmentResponse, err error)
ChangeTermCompartment Moves a term from one compartment to another
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeTermCompartment.go.html to see an example of how to use ChangeTermCompartment API. A default retry strategy applies to this operation ChangeTermCompartment()
func (client MarketplacePublisherClient) CloneListingRevision(ctx context.Context, request CloneListingRevisionRequest) (response CloneListingRevisionResponse, err error)
CloneListingRevision Clone the published/withdrawn Listing Revision identified by the identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CloneListingRevision.go.html to see an example of how to use CloneListingRevision API. A default retry strategy applies to this operation CloneListingRevision()
func (client *MarketplacePublisherClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client MarketplacePublisherClient) CreateArtifact(ctx context.Context, request CreateArtifactRequest) (response CreateArtifactResponse, err error)
CreateArtifact Creates a new artifact in your compartment. You must specify your compartment ID in the request object. You must also specify a *name* for the artifact(although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateArtifact.. You must also specify a *artifactType* for the artifact. Allowed values are CONTAINER_IMAGE and HELM_CHART You must also provide the container or helm chart registry details for the corresponding images. Oracle container registry details (Registry/Concepts/registryoverview.htm). After you send your request, the new object's `status` will temporarily be IN_PROGRESS and `lifecycleState` will be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE and the status has changed to ‘AVAILABLE’ for the new Artifact.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateArtifact.go.html to see an example of how to use CreateArtifact API. A default retry strategy applies to this operation CreateArtifact()
func (client MarketplacePublisherClient) CreateListing(ctx context.Context, request CreateListingRequest) (response CreateListingResponse, err error)
CreateListing Creates a new listing in your compartment. You must specify your compartment ID in the request object. You must also specify a *name* for the listing and cannot be updated later. You must also specify a *packageType* for the listing. Allowed values are CONTAINER_IMAGE, HELM_CHART, COMPUTE_IMAGE, TERRAFORM_STACK and SAAS After you send your request, the new object's `lifecycleState` will be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListing.go.html to see an example of how to use CreateListing API. A default retry strategy applies to this operation CreateListing()
func (client MarketplacePublisherClient) CreateListingRevision(ctx context.Context, request CreateListingRevisionRequest) (response CreateListingRevisionResponse, err error)
CreateListingRevision Creates a new Listing Revision.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevision.go.html to see an example of how to use CreateListingRevision API. A default retry strategy applies to this operation CreateListingRevision()
func (client MarketplacePublisherClient) CreateListingRevisionAttachment(ctx context.Context, request CreateListingRevisionAttachmentRequest) (response CreateListingRevisionAttachmentResponse, err error)
CreateListingRevisionAttachment Creates a new listing revision attachment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevisionAttachment.go.html to see an example of how to use CreateListingRevisionAttachment API. A default retry strategy applies to this operation CreateListingRevisionAttachment()
func (client MarketplacePublisherClient) CreateListingRevisionNote(ctx context.Context, request CreateListingRevisionNoteRequest) (response CreateListingRevisionNoteResponse, err error)
CreateListingRevisionNote Creates a new Listing Revision Note.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevisionNote.go.html to see an example of how to use CreateListingRevisionNote API. A default retry strategy applies to this operation CreateListingRevisionNote()
func (client MarketplacePublisherClient) CreateListingRevisionPackage(ctx context.Context, request CreateListingRevisionPackageRequest) (response CreateListingRevisionPackageResponse, err error)
CreateListingRevisionPackage Creates a new Listing Revision Package.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevisionPackage.go.html to see an example of how to use CreateListingRevisionPackage API. A default retry strategy applies to this operation CreateListingRevisionPackage()
func (client MarketplacePublisherClient) CreatePublisher(ctx context.Context, request CreatePublisherRequest) (response CreatePublisherResponse, err error)
CreatePublisher Creates a new publisher
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreatePublisher.go.html to see an example of how to use CreatePublisher API. A default retry strategy applies to this operation CreatePublisher()
func (client MarketplacePublisherClient) CreateTerm(ctx context.Context, request CreateTermRequest) (response CreateTermResponse, err error)
CreateTerm Creates a new Term.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateTerm.go.html to see an example of how to use CreateTerm API. A default retry strategy applies to this operation CreateTerm()
func (client MarketplacePublisherClient) CreateTermVersion(ctx context.Context, request CreateTermVersionRequest) (response CreateTermVersionResponse, err error)
CreateTermVersion Creates a new Term Version.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateTermVersion.go.html to see an example of how to use CreateTermVersion API. A default retry strategy applies to this operation CreateTermVersion()
func (client MarketplacePublisherClient) DeleteArtifact(ctx context.Context, request DeleteArtifactRequest) (response DeleteArtifactResponse, err error)
DeleteArtifact Deletes the specified artifact.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteArtifact.go.html to see an example of how to use DeleteArtifact API. A default retry strategy applies to this operation DeleteArtifact()
func (client MarketplacePublisherClient) DeleteCustomerInstanceReportExport(ctx context.Context, request DeleteCustomerInstanceReportExportRequest) (response DeleteCustomerInstanceReportExportResponse, err error)
DeleteCustomerInstanceReportExport Deletes a generated Customer Instance Report export.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteCustomerInstanceReportExport.go.html to see an example of how to use DeleteCustomerInstanceReportExport API. A default retry strategy applies to this operation DeleteCustomerInstanceReportExport()
func (client MarketplacePublisherClient) DeleteListing(ctx context.Context, request DeleteListingRequest) (response DeleteListingResponse, err error)
DeleteListing Deletes a listing by the identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListing.go.html to see an example of how to use DeleteListing API. A default retry strategy applies to this operation DeleteListing()
func (client MarketplacePublisherClient) DeleteListingRevision(ctx context.Context, request DeleteListingRevisionRequest) (response DeleteListingRevisionResponse, err error)
DeleteListingRevision Deletes a listing by the identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevision.go.html to see an example of how to use DeleteListingRevision API. A default retry strategy applies to this operation DeleteListingRevision()
func (client MarketplacePublisherClient) DeleteListingRevisionAttachment(ctx context.Context, request DeleteListingRevisionAttachmentRequest) (response DeleteListingRevisionAttachmentResponse, err error)
DeleteListingRevisionAttachment Deletes a listing revision attachment by the identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevisionAttachment.go.html to see an example of how to use DeleteListingRevisionAttachment API. A default retry strategy applies to this operation DeleteListingRevisionAttachment()
func (client MarketplacePublisherClient) DeleteListingRevisionNote(ctx context.Context, request DeleteListingRevisionNoteRequest) (response DeleteListingRevisionNoteResponse, err error)
DeleteListingRevisionNote Deletes a listing revision note by the identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevisionNote.go.html to see an example of how to use DeleteListingRevisionNote API. A default retry strategy applies to this operation DeleteListingRevisionNote()
func (client MarketplacePublisherClient) DeleteListingRevisionPackage(ctx context.Context, request DeleteListingRevisionPackageRequest) (response DeleteListingRevisionPackageResponse, err error)
DeleteListingRevisionPackage Deletes a listing revision package by the identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevisionPackage.go.html to see an example of how to use DeleteListingRevisionPackage API. A default retry strategy applies to this operation DeleteListingRevisionPackage()
func (client MarketplacePublisherClient) DeleteTerm(ctx context.Context, request DeleteTermRequest) (response DeleteTermResponse, err error)
DeleteTerm Deletes a Term by the identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteTerm.go.html to see an example of how to use DeleteTerm API. A default retry strategy applies to this operation DeleteTerm()
func (client MarketplacePublisherClient) DeleteTermVersion(ctx context.Context, request DeleteTermVersionRequest) (response DeleteTermVersionResponse, err error)
DeleteTermVersion Deletes a Term by the identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteTermVersion.go.html to see an example of how to use DeleteTermVersion API. A default retry strategy applies to this operation DeleteTermVersion()
func (client MarketplacePublisherClient) GenerateCustomerInstanceReportExport(ctx context.Context, request GenerateCustomerInstanceReportExportRequest) (response GenerateCustomerInstanceReportExportResponse, err error)
GenerateCustomerInstanceReportExport Generates a new asynchronous Customer Instance Report export for the selected filters.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GenerateCustomerInstanceReportExport.go.html to see an example of how to use GenerateCustomerInstanceReportExport API. A default retry strategy applies to this operation GenerateCustomerInstanceReportExport()
func (client MarketplacePublisherClient) GetArtifact(ctx context.Context, request GetArtifactRequest) (response GetArtifactResponse, err error)
GetArtifact Gets the specified artifact's information.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetArtifact.go.html to see an example of how to use GetArtifact API. A default retry strategy applies to this operation GetArtifact()
func (client MarketplacePublisherClient) GetCategory(ctx context.Context, request GetCategoryRequest) (response GetCategoryResponse, err error)
GetCategory Gets the specified category's information.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetCategory.go.html to see an example of how to use GetCategory API. A default retry strategy applies to this operation GetCategory()
func (client MarketplacePublisherClient) GetCustomerInstanceReportExport(ctx context.Context, request GetCustomerInstanceReportExportRequest) (response GetCustomerInstanceReportExportResponse, err error)
GetCustomerInstanceReportExport Gets details for a specific Customer Instance Report export.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetCustomerInstanceReportExport.go.html to see an example of how to use GetCustomerInstanceReportExport API. A default retry strategy applies to this operation GetCustomerInstanceReportExport()
func (client MarketplacePublisherClient) GetCustomerInstanceReportExportContent(ctx context.Context, request GetCustomerInstanceReportExportContentRequest) (response GetCustomerInstanceReportExportContentResponse, err error)
GetCustomerInstanceReportExportContent Downloads the generated Customer Instance Report CSV for the specified export.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetCustomerInstanceReportExportContent.go.html to see an example of how to use GetCustomerInstanceReportExportContent API. A default retry strategy applies to this operation GetCustomerInstanceReportExportContent()
func (client MarketplacePublisherClient) GetLead(ctx context.Context, request GetLeadRequest) (response GetLeadResponse, err error)
GetLead Gets the details for a lead.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetLead.go.html to see an example of how to use GetLead API. A default retry strategy applies to this operation GetLead()
func (client MarketplacePublisherClient) GetListing(ctx context.Context, request GetListingRequest) (response GetListingResponse, err error)
GetListing Gets the details for a listing.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListing.go.html to see an example of how to use GetListing API. A default retry strategy applies to this operation GetListing()
func (client MarketplacePublisherClient) GetListingRevision(ctx context.Context, request GetListingRevisionRequest) (response GetListingRevisionResponse, err error)
GetListingRevision Gets the details for a listing revision.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevision.go.html to see an example of how to use GetListingRevision API. A default retry strategy applies to this operation GetListingRevision()
func (client MarketplacePublisherClient) GetListingRevisionAttachment(ctx context.Context, request GetListingRevisionAttachmentRequest) (response GetListingRevisionAttachmentResponse, err error)
GetListingRevisionAttachment Get the details of the specified listing revision attachment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionAttachment.go.html to see an example of how to use GetListingRevisionAttachment API. A default retry strategy applies to this operation GetListingRevisionAttachment()
func (client MarketplacePublisherClient) GetListingRevisionAttachmentContent(ctx context.Context, request GetListingRevisionAttachmentContentRequest) (response GetListingRevisionAttachmentContentResponse, err error)
GetListingRevisionAttachmentContent Get the attachment content by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionAttachmentContent.go.html to see an example of how to use GetListingRevisionAttachmentContent API. A default retry strategy applies to this operation GetListingRevisionAttachmentContent()
func (client MarketplacePublisherClient) GetListingRevisionIconContent(ctx context.Context, request GetListingRevisionIconContentRequest) (response GetListingRevisionIconContentResponse, err error)
GetListingRevisionIconContent Gets the content for a listing revision icon.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionIconContent.go.html to see an example of how to use GetListingRevisionIconContent API. A default retry strategy applies to this operation GetListingRevisionIconContent()
func (client MarketplacePublisherClient) GetListingRevisionNote(ctx context.Context, request GetListingRevisionNoteRequest) (response GetListingRevisionNoteResponse, err error)
GetListingRevisionNote Get note details by the identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionNote.go.html to see an example of how to use GetListingRevisionNote API. A default retry strategy applies to this operation GetListingRevisionNote()
func (client MarketplacePublisherClient) GetListingRevisionPackage(ctx context.Context, request GetListingRevisionPackageRequest) (response GetListingRevisionPackageResponse, err error)
GetListingRevisionPackage Get the details of the specified version of a package.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionPackage.go.html to see an example of how to use GetListingRevisionPackage API. A default retry strategy applies to this operation GetListingRevisionPackage()
func (client MarketplacePublisherClient) GetMarket(ctx context.Context, request GetMarketRequest) (response GetMarketResponse, err error)
GetMarket Gets the specified market's information.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetMarket.go.html to see an example of how to use GetMarket API. A default retry strategy applies to this operation GetMarket()
func (client MarketplacePublisherClient) GetProduct(ctx context.Context, request GetProductRequest) (response GetProductResponse, err error)
GetProduct Gets a Product by code identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetProduct.go.html to see an example of how to use GetProduct API. A default retry strategy applies to this operation GetProduct()
func (client MarketplacePublisherClient) GetPublisher(ctx context.Context, request GetPublisherRequest) (response GetPublisherResponse, err error)
GetPublisher Gets a Publisher by identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetPublisher.go.html to see an example of how to use GetPublisher API. A default retry strategy applies to this operation GetPublisher()
func (client MarketplacePublisherClient) GetSupportDoc(ctx context.Context, request GetSupportDocRequest) (response GetSupportDocResponse, err error)
GetSupportDoc Gets a SupportDoc by code identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetSupportDoc.go.html to see an example of how to use GetSupportDoc API. A default retry strategy applies to this operation GetSupportDoc()
func (client MarketplacePublisherClient) GetSupportDocContent(ctx context.Context, request GetSupportDocContentRequest) (response GetSupportDocContentResponse, err error)
GetSupportDocContent Gets a Support Doc content by supportDocCode
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetSupportDocContent.go.html to see an example of how to use GetSupportDocContent API. A default retry strategy applies to this operation GetSupportDocContent()
func (client MarketplacePublisherClient) GetTerm(ctx context.Context, request GetTermRequest) (response GetTermResponse, err error)
GetTerm Gets a Term by identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetTerm.go.html to see an example of how to use GetTerm API. A default retry strategy applies to this operation GetTerm()
func (client MarketplacePublisherClient) GetTermVersion(ctx context.Context, request GetTermVersionRequest) (response GetTermVersionResponse, err error)
GetTermVersion Gets a Term Version by the identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetTermVersion.go.html to see an example of how to use GetTermVersion API. A default retry strategy applies to this operation GetTermVersion()
func (client MarketplacePublisherClient) GetTermVersionContent(ctx context.Context, request GetTermVersionContentRequest) (response GetTermVersionContentResponse, err error)
GetTermVersionContent Gets a Term Version content by the identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetTermVersionContent.go.html to see an example of how to use GetTermVersionContent API. A default retry strategy applies to this operation GetTermVersionContent()
func (client MarketplacePublisherClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets details of the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client MarketplacePublisherClient) ListArtifacts(ctx context.Context, request ListArtifactsRequest) (response ListArtifactsResponse, err error)
ListArtifacts Lists the artifacts in your compartment. You must specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListArtifacts.go.html to see an example of how to use ListArtifacts API. A default retry strategy applies to this operation ListArtifacts()
func (client MarketplacePublisherClient) ListAvailableServices(ctx context.Context, request ListAvailableServicesRequest) (response ListAvailableServicesResponse, err error)
ListAvailableServices List all published service listing revisions
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListAvailableServices.go.html to see an example of how to use ListAvailableServices API. A default retry strategy applies to this operation ListAvailableServices()
func (client MarketplacePublisherClient) ListCategories(ctx context.Context, request ListCategoriesRequest) (response ListCategoriesResponse, err error)
ListCategories Lists the categories in your compartment. You must specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListCategories.go.html to see an example of how to use ListCategories API. A default retry strategy applies to this operation ListCategories()
func (client MarketplacePublisherClient) ListCustomerInstanceReportExports(ctx context.Context, request ListCustomerInstanceReportExportsRequest) (response ListCustomerInstanceReportExportsResponse, err error)
ListCustomerInstanceReportExports Lists existing Customer Instance Report exports for the caller.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListCustomerInstanceReportExports.go.html to see an example of how to use ListCustomerInstanceReportExports API. A default retry strategy applies to this operation ListCustomerInstanceReportExports()
func (client MarketplacePublisherClient) ListCustomerInstanceReportRecords(ctx context.Context, request ListCustomerInstanceReportRecordsRequest) (response ListCustomerInstanceReportRecordsResponse, err error)
ListCustomerInstanceReportRecords List customer instance report records
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListCustomerInstanceReportRecords.go.html to see an example of how to use ListCustomerInstanceReportRecords API. A default retry strategy applies to this operation ListCustomerInstanceReportRecords()
func (client MarketplacePublisherClient) ListDisbursementReportRecords(ctx context.Context, request ListDisbursementReportRecordsRequest) (response ListDisbursementReportRecordsResponse, err error)
ListDisbursementReportRecords List disbursement report records
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListDisbursementReportRecords.go.html to see an example of how to use ListDisbursementReportRecords API. A default retry strategy applies to this operation ListDisbursementReportRecords()
func (client MarketplacePublisherClient) ListLeads(ctx context.Context, request ListLeadsRequest) (response ListLeadsResponse, err error)
ListLeads Lists the leads in your compartment that belong to a listing. You must specify your listing's OCID as the value for the listing ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListLeads.go.html to see an example of how to use ListLeads API. A default retry strategy applies to this operation ListLeads()
func (client MarketplacePublisherClient) ListListingRevisionAttachments(ctx context.Context, request ListListingRevisionAttachmentsRequest) (response ListListingRevisionAttachmentsResponse, err error)
ListListingRevisionAttachments Gets the list of attachments for a listing revision in a compartment
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisionAttachments.go.html to see an example of how to use ListListingRevisionAttachments API. A default retry strategy applies to this operation ListListingRevisionAttachments()
func (client MarketplacePublisherClient) ListListingRevisionNotes(ctx context.Context, request ListListingRevisionNotesRequest) (response ListListingRevisionNotesResponse, err error)
ListListingRevisionNotes Gets the list of notes for a listing revision.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisionNotes.go.html to see an example of how to use ListListingRevisionNotes API. A default retry strategy applies to this operation ListListingRevisionNotes()
func (client MarketplacePublisherClient) ListListingRevisionPackages(ctx context.Context, request ListListingRevisionPackagesRequest) (response ListListingRevisionPackagesResponse, err error)
ListListingRevisionPackages Gets the list of packages for a listing revision.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisionPackages.go.html to see an example of how to use ListListingRevisionPackages API. A default retry strategy applies to this operation ListListingRevisionPackages()
func (client MarketplacePublisherClient) ListListingRevisions(ctx context.Context, request ListListingRevisionsRequest) (response ListListingRevisionsResponse, err error)
ListListingRevisions Lists the list of listing revisions for a specific listing ID, compartment ID or listing revision status. You can specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisions.go.html to see an example of how to use ListListingRevisions API. A default retry strategy applies to this operation ListListingRevisions()
func (client MarketplacePublisherClient) ListListings(ctx context.Context, request ListListingsRequest) (response ListListingsResponse, err error)
ListListings Lists the listings in your compartment. You must specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListings.go.html to see an example of how to use ListListings API. A default retry strategy applies to this operation ListListings()
func (client MarketplacePublisherClient) ListMarkets(ctx context.Context, request ListMarketsRequest) (response ListMarketsResponse, err error)
ListMarkets Lists the markets in your compartment. You must specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListMarkets.go.html to see an example of how to use ListMarkets API. A default retry strategy applies to this operation ListMarkets()
func (client MarketplacePublisherClient) ListProducts(ctx context.Context, request ListProductsRequest) (response ListProductsResponse, err error)
ListProducts Lists the products in your compartment. You must specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListProducts.go.html to see an example of how to use ListProducts API. A default retry strategy applies to this operation ListProducts()
func (client MarketplacePublisherClient) ListPublishers(ctx context.Context, request ListPublishersRequest) (response ListPublishersResponse, err error)
ListPublishers Returns a list of publishers.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListPublishers.go.html to see an example of how to use ListPublishers API. A default retry strategy applies to this operation ListPublishers()
func (client MarketplacePublisherClient) ListSupportDocs(ctx context.Context, request ListSupportDocsRequest) (response ListSupportDocsResponse, err error)
ListSupportDocs Lists the supportDocs in your compartment. You must specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListSupportDocs.go.html to see an example of how to use ListSupportDocs API. A default retry strategy applies to this operation ListSupportDocs()
func (client MarketplacePublisherClient) ListSupportedCurrencies(ctx context.Context, request ListSupportedCurrenciesRequest) (response ListSupportedCurrenciesResponse, err error)
ListSupportedCurrencies Lists the currencies supported by the Marketplace Publisher Service. You must specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListSupportedCurrencies.go.html to see an example of how to use ListSupportedCurrencies API. A default retry strategy applies to this operation ListSupportedCurrencies()
func (client MarketplacePublisherClient) ListSupportedShapes(ctx context.Context, request ListSupportedShapesRequest) (response ListSupportedShapesResponse, err error)
ListSupportedShapes Lists the shapes available to select from.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListSupportedShapes.go.html to see an example of how to use ListSupportedShapes API. A default retry strategy applies to this operation ListSupportedShapes()
func (client MarketplacePublisherClient) ListTermVersions(ctx context.Context, request ListTermVersionsRequest) (response ListTermVersionsResponse, err error)
ListTermVersions Returns a list of the publisher term versions.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListTermVersions.go.html to see an example of how to use ListTermVersions API. A default retry strategy applies to this operation ListTermVersions()
func (client MarketplacePublisherClient) ListTerms(ctx context.Context, request ListTermsRequest) (response ListTermsResponse, err error)
ListTerms Returns a list of the publisher terms.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListTerms.go.html to see an example of how to use ListTerms API. A default retry strategy applies to this operation ListTerms()
func (client MarketplacePublisherClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Returns a (paginated) list of errors for the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client MarketplacePublisherClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Returns a (paginated) list of logs for the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client MarketplacePublisherClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client MarketplacePublisherClient) MarkListingRevisionPackageAsDefault(ctx context.Context, request MarkListingRevisionPackageAsDefaultRequest) (response MarkListingRevisionPackageAsDefaultResponse, err error)
MarkListingRevisionPackageAsDefault Mark the Listing Revision Package identified by the id and package version as default
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/MarkListingRevisionPackageAsDefault.go.html to see an example of how to use MarkListingRevisionPackageAsDefault API. A default retry strategy applies to this operation MarkListingRevisionPackageAsDefault()
func (client MarketplacePublisherClient) PublishListingRevision(ctx context.Context, request PublishListingRevisionRequest) (response PublishListingRevisionResponse, err error)
PublishListingRevision Publish the Listing revision identified by Identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/PublishListingRevision.go.html to see an example of how to use PublishListingRevision API. A default retry strategy applies to this operation PublishListingRevision()
func (client MarketplacePublisherClient) PublishListingRevisionAsPrivate(ctx context.Context, request PublishListingRevisionAsPrivateRequest) (response PublishListingRevisionAsPrivateResponse, err error)
PublishListingRevisionAsPrivate Updates the Listing Revision to PublishAsPrivate
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/PublishListingRevisionAsPrivate.go.html to see an example of how to use PublishListingRevisionAsPrivate API. A default retry strategy applies to this operation PublishListingRevisionAsPrivate()
func (client MarketplacePublisherClient) PublishListingRevisionPackage(ctx context.Context, request PublishListingRevisionPackageRequest) (response PublishListingRevisionPackageResponse, err error)
PublishListingRevisionPackage Updates the Listing Revision Package to publish status
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/PublishListingRevisionPackage.go.html to see an example of how to use PublishListingRevisionPackage API. A default retry strategy applies to this operation PublishListingRevisionPackage()
func (client *MarketplacePublisherClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client MarketplacePublisherClient) SubmitListingRevisionForReview(ctx context.Context, request SubmitListingRevisionForReviewRequest) (response SubmitListingRevisionForReviewResponse, err error)
SubmitListingRevisionForReview Update the Listing Revision identified by the id for review
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/SubmitListingRevisionForReview.go.html to see an example of how to use SubmitListingRevisionForReview API. A default retry strategy applies to this operation SubmitListingRevisionForReview()
func (client MarketplacePublisherClient) UnPublishListingRevisionPackage(ctx context.Context, request UnPublishListingRevisionPackageRequest) (response UnPublishListingRevisionPackageResponse, err error)
UnPublishListingRevisionPackage Updates the Listing Revision Package to Unpublish status
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UnPublishListingRevisionPackage.go.html to see an example of how to use UnPublishListingRevisionPackage API. A default retry strategy applies to this operation UnPublishListingRevisionPackage()
func (client MarketplacePublisherClient) UpdateArtifact(ctx context.Context, request UpdateArtifactRequest) (response UpdateArtifactResponse, err error)
UpdateArtifact Updates the specified artifact identified by the id.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateArtifact.go.html to see an example of how to use UpdateArtifact API. A default retry strategy applies to this operation UpdateArtifact()
func (client MarketplacePublisherClient) UpdateListing(ctx context.Context, request UpdateListingRequest) (response UpdateListingResponse, err error)
UpdateListing Updates the specified Listing identified by the id.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListing.go.html to see an example of how to use UpdateListing API. A default retry strategy applies to this operation UpdateListing()
func (client MarketplacePublisherClient) UpdateListingRevision(ctx context.Context, request UpdateListingRevisionRequest) (response UpdateListingRevisionResponse, err error)
UpdateListingRevision Updates the Listing Revision
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevision.go.html to see an example of how to use UpdateListingRevision API. A default retry strategy applies to this operation UpdateListingRevision()
func (client MarketplacePublisherClient) UpdateListingRevisionAttachment(ctx context.Context, request UpdateListingRevisionAttachmentRequest) (response UpdateListingRevisionAttachmentResponse, err error)
UpdateListingRevisionAttachment Updates the Listing Revision Attachment
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionAttachment.go.html to see an example of how to use UpdateListingRevisionAttachment API. A default retry strategy applies to this operation UpdateListingRevisionAttachment()
func (client MarketplacePublisherClient) UpdateListingRevisionAttachmentContent(ctx context.Context, request UpdateListingRevisionAttachmentContentRequest) (response UpdateListingRevisionAttachmentContentResponse, err error)
UpdateListingRevisionAttachmentContent Update a file to listing revision attachment
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionAttachmentContent.go.html to see an example of how to use UpdateListingRevisionAttachmentContent API. A default retry strategy applies to this operation UpdateListingRevisionAttachmentContent()
func (client MarketplacePublisherClient) UpdateListingRevisionBannerContent(ctx context.Context, request UpdateListingRevisionBannerContentRequest) (response UpdateListingRevisionBannerContentResponse, err error)
UpdateListingRevisionBannerContent Updates the Listing Revision
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionBannerContent.go.html to see an example of how to use UpdateListingRevisionBannerContent API. A default retry strategy applies to this operation UpdateListingRevisionBannerContent()
func (client MarketplacePublisherClient) UpdateListingRevisionIconContent(ctx context.Context, request UpdateListingRevisionIconContentRequest) (response UpdateListingRevisionIconContentResponse, err error)
UpdateListingRevisionIconContent Updates the Listing Revision
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionIconContent.go.html to see an example of how to use UpdateListingRevisionIconContent API. A default retry strategy applies to this operation UpdateListingRevisionIconContent()
func (client MarketplacePublisherClient) UpdateListingRevisionNote(ctx context.Context, request UpdateListingRevisionNoteRequest) (response UpdateListingRevisionNoteResponse, err error)
UpdateListingRevisionNote Updates the Listing Revision Note tag data
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionNote.go.html to see an example of how to use UpdateListingRevisionNote API. A default retry strategy applies to this operation UpdateListingRevisionNote()
func (client MarketplacePublisherClient) UpdateListingRevisionPackage(ctx context.Context, request UpdateListingRevisionPackageRequest) (response UpdateListingRevisionPackageResponse, err error)
UpdateListingRevisionPackage Updates the Listing Revision Package.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionPackage.go.html to see an example of how to use UpdateListingRevisionPackage API. A default retry strategy applies to this operation UpdateListingRevisionPackage()
func (client MarketplacePublisherClient) UpdateTerm(ctx context.Context, request UpdateTermRequest) (response UpdateTermResponse, err error)
UpdateTerm Updates the Term
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateTerm.go.html to see an example of how to use UpdateTerm API. A default retry strategy applies to this operation UpdateTerm()
func (client MarketplacePublisherClient) UpdateTermVersion(ctx context.Context, request UpdateTermVersionRequest) (response UpdateTermVersionResponse, err error)
UpdateTermVersion Updates the Term Version
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateTermVersion.go.html to see an example of how to use UpdateTermVersion API. A default retry strategy applies to this operation UpdateTermVersion()
func (client MarketplacePublisherClient) UpdateTermVersionContent(ctx context.Context, request UpdateTermVersionContentRequest) (response UpdateTermVersionContentResponse, err error)
UpdateTermVersionContent Updates the Term Version attachment
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateTermVersionContent.go.html to see an example of how to use UpdateTermVersionContent API. A default retry strategy applies to this operation UpdateTermVersionContent()
func (client MarketplacePublisherClient) ValidateAndPublishArtifact(ctx context.Context, request ValidateAndPublishArtifactRequest) (response ValidateAndPublishArtifactResponse, err error)
ValidateAndPublishArtifact Validate and publish artifact.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ValidateAndPublishArtifact.go.html to see an example of how to use ValidateAndPublishArtifact API. A default retry strategy applies to this operation ValidateAndPublishArtifact()
func (client MarketplacePublisherClient) WithdrawListingRevision(ctx context.Context, request WithdrawListingRevisionRequest) (response WithdrawListingRevisionResponse, err error)
WithdrawListingRevision Update the Listing Revision identified by the id as Withdraw/UnPublished.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/WithdrawListingRevision.go.html to see an example of how to use WithdrawListingRevision API. A default retry strategy applies to this operation WithdrawListingRevision()
MeteredPricingPlan Metered pricing plan.
type MeteredPricingPlan struct {
// List of pricing rates provider by publisher.
Rates []PricingRate `mandatory:"true" json:"rates"`
// Additional metadata key/value pairs for the metering pricing.
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// The listing's pricing plan name.
Name MeteredPricingPlanNameEnum `mandatory:"true" json:"name"`
}
func (m MeteredPricingPlan) GetRates() []PricingRate
GetRates returns Rates
func (m MeteredPricingPlan) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MeteredPricingPlan) String() string
func (m MeteredPricingPlan) 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
MeteredPricingPlanNameEnum Enum with underlying type: string
type MeteredPricingPlanNameEnum string
Set of constants representing the allowable values for MeteredPricingPlanNameEnum
const (
MeteredPricingPlanNameInstance MeteredPricingPlanNameEnum = "PER_INSTANCE"
MeteredPricingPlanNameOcpuMinBillingHrs MeteredPricingPlanNameEnum = "PER_OCPU_MIN_BILLING_HRS"
MeteredPricingPlanNameOcpuLinear MeteredPricingPlanNameEnum = "PER_OCPU_LINEAR"
MeteredPricingPlanNameInstanceMonthlyInclusive MeteredPricingPlanNameEnum = "PER_INSTANCE_MONTHLY_INCLUSIVE"
)
func GetMappingMeteredPricingPlanNameEnum(val string) (MeteredPricingPlanNameEnum, bool)
GetMappingMeteredPricingPlanNameEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMeteredPricingPlanNameEnumValues() []MeteredPricingPlanNameEnum
GetMeteredPricingPlanNameEnumValues Enumerates the set of values for MeteredPricingPlanNameEnum
MetricTypeEnum Enum with underlying type: string
type MetricTypeEnum string
Set of constants representing the allowable values for MetricTypeEnum
const (
MetricTypeOcpuHours MetricTypeEnum = "OCPU_HOURS"
MetricTypeInstanceHours MetricTypeEnum = "INSTANCE_HOURS"
MetricTypeCoreHours MetricTypeEnum = "CORE_HOURS"
MetricTypeAmount MetricTypeEnum = "AMOUNT"
MetricTypeEach MetricTypeEnum = "EACH"
)
func GetMappingMetricTypeEnum(val string) (MetricTypeEnum, bool)
GetMappingMetricTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetricTypeEnumValues() []MetricTypeEnum
GetMetricTypeEnumValues Enumerates the set of values for MetricTypeEnum
NamedLink A link to a resource on the internet.
type NamedLink struct {
// Text that describes the resource.
Name *string `mandatory:"true" json:"name"`
// The URL of the resource.
Url *string `mandatory:"true" json:"url"`
}
func (m NamedLink) String() string
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
OciListingRevision Listing revision details for listings
type OciListingRevision struct {
// Unique OCID identifier for the listing revision in Marketplace Publisher.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// The name for the listing revision.
DisplayName *string `mandatory:"true" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// The time the listing revision was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the listing revision was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// List of products subscribed by listing.
Products []ListingProduct `mandatory:"true" json:"products"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The revision number for the listing revision. This is an internal attribute
RevisionNumber *string `mandatory:"false" json:"revisionNumber"`
// The tagline of the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
Banner *ListingRevisionBannerAttachment `mandatory:"false" json:"banner"`
// Status notes for the listing revision.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Additional metadata key/value pairs for the listing revision summary.
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// System requirements for the listing revision.
SystemRequirements *string `mandatory:"false" json:"systemRequirements"`
// The url provided by partner for the registration of subscription.
PartnerRegistrationUrl *string `mandatory:"false" json:"partnerRegistrationUrl"`
// The unique id of the term attached to the listing.
TermId *string `mandatory:"false" json:"termId"`
// List of Pricing Plans provided by publisher.
PricingPlans []PricingPlan `mandatory:"false" json:"pricingPlans"`
// Listing availability and Pricing Policy statement.
AvailabilityAndPricingPolicy *string `mandatory:"false" json:"availabilityAndPricingPolicy"`
// Allowed tenancies provided when a listing revision is published as private.
AllowedTenancies []string `mandatory:"false" json:"allowedTenancies"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
// OCIDs of service listings attached to lead gen listing
RecommendedServiceProviderListingIds []string `mandatory:"false" json:"recommendedServiceProviderListingIds"`
// Identifies whether publisher allows internal tenancy launches for the listing revision.
AreInternalTenancyLaunchAllowed *bool `mandatory:"false" json:"areInternalTenancyLaunchAllowed"`
// Is this listing rover exportable
IsRoverExportable *bool `mandatory:"false" json:"isRoverExportable"`
// Url to demo of the listing
DemoUrl *string `mandatory:"false" json:"demoUrl"`
// Url to training resources of the listing
SelfPacedTrainingUrl *string `mandatory:"false" json:"selfPacedTrainingUrl"`
// The pricing model for the listing revision.
PricingType OciListingRevisionPricingTypeEnum `mandatory:"true" json:"pricingType"`
// The current status for the Listing revision.
Status ListingRevisionStatusEnum `mandatory:"true" json:"status"`
// The current state of the listing revision.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The listing's package type. Populated from the listing.
PackageType PackageTypeEnum `mandatory:"false" json:"packageType,omitempty"`
}
func (m OciListingRevision) GetBanner() *ListingRevisionBannerAttachment
GetBanner returns Banner
func (m OciListingRevision) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OciListingRevision) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m OciListingRevision) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OciListingRevision) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OciListingRevision) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m OciListingRevision) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OciListingRevision) GetHeadline() *string
GetHeadline returns Headline
func (m OciListingRevision) GetIcon() *ListingRevisionIconAttachment
GetIcon returns Icon
func (m OciListingRevision) GetId() *string
GetId returns Id
func (m OciListingRevision) GetKeywords() *string
GetKeywords returns Keywords
func (m OciListingRevision) GetLifecycleState() ListingRevisionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OciListingRevision) GetListingId() *string
GetListingId returns ListingId
func (m OciListingRevision) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m OciListingRevision) GetPackageType() PackageTypeEnum
GetPackageType returns PackageType
func (m OciListingRevision) GetRevisionNumber() *string
GetRevisionNumber returns RevisionNumber
func (m OciListingRevision) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m OciListingRevision) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m OciListingRevision) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m OciListingRevision) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m OciListingRevision) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m OciListingRevision) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m OciListingRevision) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OciListingRevision) GetTagline() *string
GetTagline returns Tagline
func (m OciListingRevision) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OciListingRevision) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OciListingRevision) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m OciListingRevision) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OciListingRevision) String() string
func (m *OciListingRevision) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OciListingRevision) 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
OciListingRevisionPricingTypeEnum Enum with underlying type: string
type OciListingRevisionPricingTypeEnum string
Set of constants representing the allowable values for OciListingRevisionPricingTypeEnum
const (
OciListingRevisionPricingTypeFree OciListingRevisionPricingTypeEnum = "FREE"
OciListingRevisionPricingTypeByol OciListingRevisionPricingTypeEnum = "BYOL"
OciListingRevisionPricingTypePaygo OciListingRevisionPricingTypeEnum = "PAYGO"
)
func GetMappingOciListingRevisionPricingTypeEnum(val string) (OciListingRevisionPricingTypeEnum, bool)
GetMappingOciListingRevisionPricingTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOciListingRevisionPricingTypeEnumValues() []OciListingRevisionPricingTypeEnum
GetOciListingRevisionPricingTypeEnumValues Enumerates the set of values for OciListingRevisionPricingTypeEnum
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"
OperationStatusWaiting OperationStatusEnum = "WAITING"
OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
OperationStatusFailed OperationStatusEnum = "FAILED"
OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED"
OperationStatusCanceling OperationStatusEnum = "CANCELING"
OperationStatusCanceled OperationStatusEnum = "CANCELED"
)
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const (
OperationTypeCreateOffer OperationTypeEnum = "CREATE_OFFER"
OperationTypeUpdateOffer OperationTypeEnum = "UPDATE_OFFER"
OperationTypeDeleteOffer OperationTypeEnum = "DELETE_OFFER"
OperationTypeMoveOffer OperationTypeEnum = "MOVE_OFFER"
OperationTypeDeleteOfferAttachment OperationTypeEnum = "DELETE_OFFER_ATTACHMENT"
OperationTypeUpdateOfferQuote OperationTypeEnum = "UPDATE_OFFER_QUOTE"
OperationTypeCreateOfferQuote OperationTypeEnum = "CREATE_OFFER_QUOTE"
OperationTypeCreateOfferQuoteAttachment OperationTypeEnum = "CREATE_OFFER_QUOTE_ATTACHMENT"
OperationTypeCreateCustomerInstanceReportExport OperationTypeEnum = "CREATE_CUSTOMER_INSTANCE_REPORT_EXPORT"
OperationTypePublishListingRevisionPackage OperationTypeEnum = "PUBLISH_LISTING_REVISION_PACKAGE"
OperationTypeUnpublishListingRevisionPackage OperationTypeEnum = "UNPUBLISH_LISTING_REVISION_PACKAGE"
OperationTypePublishListingRevision OperationTypeEnum = "PUBLISH_LISTING_REVISION"
OperationTypePublishListingRevisionAsPrivate OperationTypeEnum = "PUBLISH_LISTING_REVISION_AS_PRIVATE"
OperationTypeWithdrawListingRevision OperationTypeEnum = "WITHDRAW_LISTING_REVISION"
OperationTypeCloneListingRevision OperationTypeEnum = "CLONE_LISTING_REVISION"
OperationTypeCascadingDeleteListing OperationTypeEnum = "CASCADING_DELETE_LISTING"
OperationTypeCascadingDeleteListingRevision OperationTypeEnum = "CASCADING_DELETE_LISTING_REVISION"
OperationTypeMarkAsDefaultListingRevisionPackage OperationTypeEnum = "MARK_AS_DEFAULT_LISTING_REVISION_PACKAGE"
OperationTypeChangeListingCompartment OperationTypeEnum = "CHANGE_LISTING_COMPARTMENT"
OperationTypeCreateArtifact OperationTypeEnum = "CREATE_ARTIFACT"
OperationTypeValidateAndPublishArtifact OperationTypeEnum = "VALIDATE_AND_PUBLISH_ARTIFACT"
OperationTypeChangeArtifactCompartment OperationTypeEnum = "CHANGE_ARTIFACT_COMPARTMENT"
OperationTypeChangeTermCompartment OperationTypeEnum = "CHANGE_TERM_COMPARTMENT"
OperationTypeDeleteArtifact OperationTypeEnum = "DELETE_ARTIFACT"
OperationTypeUpdateArtifact OperationTypeEnum = "UPDATE_ARTIFACT"
OperationTypeRealmBuild OperationTypeEnum = "REALM_BUILD"
OperationTypeUpdateListingRevisionMetadata OperationTypeEnum = "UPDATE_LISTING_REVISION_METADATA"
)
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
OpnMembership OPN membership information
type OpnMembership struct {
// OPN membership start date. An RFC3339 formatted datetime string
TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`
// OPN membership end date. An RFC3339 formatted datetime string
TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`
// OPN status
OpnStatus AdminOpnPartnerSummaryMembershipStatusEnum `mandatory:"false" json:"opnStatus,omitempty"`
// OPN Number number
OpnNumber *string `mandatory:"false" json:"opnNumber"`
// OPN membership type
OpnMembershipType *string `mandatory:"false" json:"opnMembershipType"`
}
func (m OpnMembership) String() string
func (m OpnMembership) 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
PackageTypeEnum Enum with underlying type: string
type PackageTypeEnum string
Set of constants representing the allowable values for PackageTypeEnum
const (
PackageTypeContainerImage PackageTypeEnum = "CONTAINER_IMAGE"
PackageTypeHelmChart PackageTypeEnum = "HELM_CHART"
PackageTypeMachineImage PackageTypeEnum = "MACHINE_IMAGE"
PackageTypeStack PackageTypeEnum = "STACK"
PackageTypeNone PackageTypeEnum = "NONE"
)
func GetMappingPackageTypeEnum(val string) (PackageTypeEnum, bool)
GetMappingPackageTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPackageTypeEnumValues() []PackageTypeEnum
GetPackageTypeEnumValues Enumerates the set of values for PackageTypeEnum
PartnerPortalOptions Partner Portal Options.
type PartnerPortalOptions struct {
// Enable Oracle Cloud Marketplace Publisher Agreement validity check for partner before listing is published.
IsEnablePublisherAgreementCheckBeforeListingPublish *bool `mandatory:"false" json:"isEnablePublisherAgreementCheckBeforeListingPublish"`
// Enable OPN membership status check for partner before listing is published.
IsEnableOpnMembershipStatusCheckBeforeListingPublish *bool `mandatory:"false" json:"isEnableOpnMembershipStatusCheckBeforeListingPublish"`
// Enable the Reports feature for this Partner.
IsEnableReports *bool `mandatory:"false" json:"isEnableReports"`
// Enable the private listing feature for this Partner.
IsEnablePrivateListing *bool `mandatory:"false" json:"isEnablePrivateListing"`
// Enable Auto-publish on listing submit for this partner for Lead generation listings.
IsEnableAutoPublishOnSubmitForLeadGenListings *bool `mandatory:"false" json:"isEnableAutoPublishOnSubmitForLeadGenListings"`
// Disable Auto-publish option visibility for listing submit flow. Defaults to false when unset.
IsDisableAutoPublishOnSubmit *bool `mandatory:"false" json:"isDisableAutoPublishOnSubmit"`
// Enable Auto approval options for new listings - Include OCI Application listings with Image artifact.
IsEnableAutoApprovalForImageArtifactNewAppListings *bool `mandatory:"false" json:"isEnableAutoApprovalForImageArtifactNewAppListings"`
// Enable Auto approval options for new listings - Include OCI Application listings with Terraform artifact.
IsEnableAutoApprovalForTerraformArtifactNewAppListings *bool `mandatory:"false" json:"isEnableAutoApprovalForTerraformArtifactNewAppListings"`
// Enable Auto approval options for new listings - Include OCI Paid Application listings.
IsEnableAutoApprovalForNewPaidAppListings *bool `mandatory:"false" json:"isEnableAutoApprovalForNewPaidAppListings"`
// Enable Auto approval options for new listings - Include Lead generation listings.
IsEnableAutoApprovalForNewLeadGenListings *bool `mandatory:"false" json:"isEnableAutoApprovalForNewLeadGenListings"`
// Disable Auto approval options for versioned listings - Include OCI Application listings with Image artifact.
IsDisableAutoApprovalForImageArtifactVersionedAppListings *bool `mandatory:"false" json:"isDisableAutoApprovalForImageArtifactVersionedAppListings"`
// Disable Auto approval options for versioned listings - Include OCI Application listings with Terraform artifact.
IsDisableAutoApprovalForTerraformArtifactVersionedAppListings *bool `mandatory:"false" json:"isDisableAutoApprovalForTerraformArtifactVersionedAppListings"`
// Disable Auto approval options for versioned listings - Include OCI Application listings with Container artifact.
IsDisableAutoApprovalForContainerArtifactVersionedAppListings *bool `mandatory:"false" json:"isDisableAutoApprovalForContainerArtifactVersionedAppListings"`
// Disable Auto approval options for versioned listings - Include OCI Application listings with Helm chart artifact.
IsDisableAutoApprovalForHelmChartVersionedAppListings *bool `mandatory:"false" json:"isDisableAutoApprovalForHelmChartVersionedAppListings"`
// Enable Auto approval options for versioned listings - Include Service listings.
IsEnableAutoApprovalForServiceVersionedListings *bool `mandatory:"false" json:"isEnableAutoApprovalForServiceVersionedListings"`
// Enable Auto approval options for versioned listings - Include Fusion AiAgent listings.
IsEnableAutoApprovalForFusionAiAgentVersionedListings *bool `mandatory:"false" json:"isEnableAutoApprovalForFusionAiAgentVersionedListings"`
// Enable Auto approval options for versioned listings - Include Lead generation listings.
IsEnableAutoApprovalForLeadGenVersionedListings *bool `mandatory:"false" json:"isEnableAutoApprovalForLeadGenVersionedListings"`
// Disable Auto approval options for versioned listings - Include SaaS listings.
IsDisableAutoApprovalForSaaSVersionedListings *bool `mandatory:"false" json:"isDisableAutoApprovalForSaaSVersionedListings"`
// Disable Auto approval options for versioned listings - Include Paid App listings.
IsDisableAutoApprovalForPaidAppVersionedListings *bool `mandatory:"false" json:"isDisableAutoApprovalForPaidAppVersionedListings"`
}
func (m PartnerPortalOptions) String() string
func (m PartnerPortalOptions) 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
PricingPlan A pricing plan provided by the Publisher.
type PricingPlan interface {
// List of pricing rates provider by publisher.
GetRates() []PricingRate
}
PricingPlanPlanTypeEnum Enum with underlying type: string
type PricingPlanPlanTypeEnum string
Set of constants representing the allowable values for PricingPlanPlanTypeEnum
const (
PricingPlanPlanTypeMetered PricingPlanPlanTypeEnum = "METERED"
PricingPlanPlanTypeFixed PricingPlanPlanTypeEnum = "FIXED"
PricingPlanPlanTypeUsageBased PricingPlanPlanTypeEnum = "USAGE_BASED"
PricingPlanPlanTypeHybrid PricingPlanPlanTypeEnum = "HYBRID"
)
func GetMappingPricingPlanPlanTypeEnum(val string) (PricingPlanPlanTypeEnum, bool)
GetMappingPricingPlanPlanTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPricingPlanPlanTypeEnumValues() []PricingPlanPlanTypeEnum
GetPricingPlanPlanTypeEnumValues Enumerates the set of values for PricingPlanPlanTypeEnum
PricingRate A pricing plan rate provided by the Publisher.
type PricingRate struct {
// The currency supported, in the format specified by ISO-4217
BillingCurrency *string `mandatory:"true" json:"billingCurrency"`
// Tha amount for the currency type.
Rate *float32 `mandatory:"true" json:"rate"`
}
func (m PricingRate) String() string
func (m PricingRate) 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
PrivateOfferAccountDetails Private Offer account details.
type PrivateOfferAccountDetails struct {
// Meter name
Meter *string `mandatory:"false" json:"meter"`
// SKU name
Sku *string `mandatory:"false" json:"sku"`
}
func (m PrivateOfferAccountDetails) String() string
func (m PrivateOfferAccountDetails) 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
Product The model for the product details.
type Product struct {
// The name for the product.
Name *string `mandatory:"true" json:"name"`
// The code for the product.
Code *string `mandatory:"true" json:"code"`
// The product group for the product.
ProductGroup *string `mandatory:"true" json:"productGroup"`
// The current state for the product.
LifecycleState ProductLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the product was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the product was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Additional filter properties for product
AdditionalFilters []AdditionalFilter `mandatory:"false" json:"additionalFilters"`
}
func (m Product) String() string
func (m Product) 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
ProductCollection Results of a product search. Contains the product items.
type ProductCollection struct {
// List of product summary.
Items []ProductSummary `mandatory:"true" json:"items"`
}
func (m ProductCollection) String() string
func (m ProductCollection) 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
ProductLifecycleStateEnum Enum with underlying type: string
type ProductLifecycleStateEnum string
Set of constants representing the allowable values for ProductLifecycleStateEnum
const (
ProductLifecycleStateActive ProductLifecycleStateEnum = "ACTIVE"
ProductLifecycleStateInactive ProductLifecycleStateEnum = "INACTIVE"
)
func GetMappingProductLifecycleStateEnum(val string) (ProductLifecycleStateEnum, bool)
GetMappingProductLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProductLifecycleStateEnumValues() []ProductLifecycleStateEnum
GetProductLifecycleStateEnumValues Enumerates the set of values for ProductLifecycleStateEnum
ProductSummary The model for the product metadata.
type ProductSummary struct {
// The name for the product.
Name *string `mandatory:"true" json:"name"`
// The current state for the product.
LifecycleState ProductLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the product was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the product was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The code for the product.
Code *string `mandatory:"false" json:"code"`
// The product group for the product.
ProductGroup *string `mandatory:"false" json:"productGroup"`
// Additional filter properties for product
AdditionalFilters []AdditionalFilter `mandatory:"false" json:"additionalFilters"`
}
func (m ProductSummary) String() string
func (m ProductSummary) 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
PublicationStatusEnum Enum with underlying type: string
type PublicationStatusEnum string
Set of constants representing the allowable values for PublicationStatusEnum
const (
PublicationStatusPublicationInProgress PublicationStatusEnum = "PUBLICATION_IN_PROGRESS"
PublicationStatusPublicationCompleted PublicationStatusEnum = "PUBLICATION_COMPLETED"
PublicationStatusPublicationFailed PublicationStatusEnum = "PUBLICATION_FAILED"
)
func GetMappingPublicationStatusEnum(val string) (PublicationStatusEnum, bool)
GetMappingPublicationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPublicationStatusEnumValues() []PublicationStatusEnum
GetPublicationStatusEnumValues Enumerates the set of values for PublicationStatusEnum
PublishListingRevisionAsPrivateDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher publish as private listing revision.
type PublishListingRevisionAsPrivateDetails struct {
// Allowed tenancies provided when a listing is published as private.
AllowedTenancies []string `mandatory:"false" json:"allowedTenancies"`
}
func (m PublishListingRevisionAsPrivateDetails) String() string
func (m PublishListingRevisionAsPrivateDetails) 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
PublishListingRevisionAsPrivateRequest wrapper for the PublishListingRevisionAsPrivate operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/PublishListingRevisionAsPrivate.go.html to see an example of how to use PublishListingRevisionAsPrivateRequest.
type PublishListingRevisionAsPrivateRequest struct {
// The listing revision publish as private information to be updated.
PublishListingRevisionAsPrivateDetails `contributesTo:"body"`
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request PublishListingRevisionAsPrivateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PublishListingRevisionAsPrivateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PublishListingRevisionAsPrivateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PublishListingRevisionAsPrivateRequest) String() string
func (request PublishListingRevisionAsPrivateRequest) 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
PublishListingRevisionAsPrivateResponse wrapper for the PublishListingRevisionAsPrivate operation
type PublishListingRevisionAsPrivateResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response PublishListingRevisionAsPrivateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PublishListingRevisionAsPrivateResponse) String() string
PublishListingRevisionPackageRequest wrapper for the PublishListingRevisionPackage operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/PublishListingRevisionPackage.go.html to see an example of how to use PublishListingRevisionPackageRequest.
type PublishListingRevisionPackageRequest struct {
// Unique listing revision package identifier.
ListingRevisionPackageId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionPackageId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request PublishListingRevisionPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PublishListingRevisionPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PublishListingRevisionPackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PublishListingRevisionPackageRequest) String() string
func (request PublishListingRevisionPackageRequest) 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
PublishListingRevisionPackageResponse wrapper for the PublishListingRevisionPackage operation
type PublishListingRevisionPackageResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response PublishListingRevisionPackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PublishListingRevisionPackageResponse) String() string
PublishListingRevisionRequest wrapper for the PublishListingRevision operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/PublishListingRevision.go.html to see an example of how to use PublishListingRevisionRequest.
type PublishListingRevisionRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request PublishListingRevisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PublishListingRevisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PublishListingRevisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PublishListingRevisionRequest) String() string
func (request PublishListingRevisionRequest) 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
PublishListingRevisionResponse wrapper for the PublishListingRevision operation
type PublishListingRevisionResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response PublishListingRevisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PublishListingRevisionResponse) String() string
Publisher The model for a publisher details.
type Publisher struct {
// Unique OCID identifier for the publisher.
Id *string `mandatory:"true" json:"id"`
// The root compartment of the Publisher.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The namespace for the publisher registry to persist artifacts.
RegistryNamespace *string `mandatory:"true" json:"registryNamespace"`
// The name of the publisher.
DisplayName *string `mandatory:"true" json:"displayName"`
// The public email address of the publisher for customers.
ContactEmail *string `mandatory:"true" json:"contactEmail"`
// The phone number of the publisher in E.164 format.
ContactPhone *string `mandatory:"true" json:"contactPhone"`
// publisher type.
PublisherType PublisherPublisherTypeEnum `mandatory:"true" json:"publisherType"`
// The time the publisher was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the publisher was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// publisher status.
PublisherStatus PublisherStatusEnum `mandatory:"true" json:"publisherStatus"`
// Unique legacy service identifier for the publisher.
LegacyId *string `mandatory:"false" json:"legacyId"`
// A description of the publisher.
Description *string `mandatory:"false" json:"description"`
// The year the publisher's company or organization was founded.
YearFounded *int64 `mandatory:"false" json:"yearFounded"`
// The publisher's website.
WebsiteUrl *string `mandatory:"false" json:"websiteUrl"`
// The address of the publisher's headquarters.
HqAddress *string `mandatory:"false" json:"hqAddress"`
Logo *UploadData `mandatory:"false" json:"logo"`
// Publisher's Facebook URL
FacebookUrl *string `mandatory:"false" json:"facebookUrl"`
// Publisher's Twitter URL
TwitterUrl *string `mandatory:"false" json:"twitterUrl"`
// Publisher's LinkedIn URL
LinkedinUrl *string `mandatory:"false" json:"linkedinUrl"`
// Email address of the publisher.
Email *string `mandatory:"false" json:"email"`
// The business phone number of the publisher.
BusinessPhoneNumber *string `mandatory:"false" json:"businessPhoneNumber"`
// Count of employees in publisher's company
EmployeeCount *int64 `mandatory:"false" json:"employeeCount"`
// A description of the publisher solutions.
SolutionDescription *string `mandatory:"false" json:"solutionDescription"`
// OPN membership number of the publisher
OpnNumber *string `mandatory:"false" json:"opnNumber"`
// Country in which partner company resides
Country *string `mandatory:"false" json:"country"`
// City in which partner company resides
City *string `mandatory:"false" json:"city"`
// State in which partner company resides
State *string `mandatory:"false" json:"state"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The private email address of the publisher product team.
NotificationEmail *string `mandatory:"false" json:"notificationEmail"`
// Oracle Cloud Marketplace agreement status
EnrollmentStatus *string `mandatory:"false" json:"enrollmentStatus"`
OpnMembership *OpnMembership `mandatory:"false" json:"opnMembership"`
PrivateOfferAccountDetails *PrivateOfferAccountDetails `mandatory:"false" json:"privateOfferAccountDetails"`
// Whether automatic FX conversion is enabled for the publisher.
IsFxEnabled *bool `mandatory:"false" json:"isFxEnabled"`
}
func (m Publisher) String() string
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
PublisherCollection Results of a publisher search. Contains Publisher items.
type PublisherCollection struct {
// List of publisher summary.
Items []PublisherSummary `mandatory:"true" json:"items"`
}
func (m PublisherCollection) String() string
func (m PublisherCollection) 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
PublisherPublisherTypeEnum Enum with underlying type: string
type PublisherPublisherTypeEnum string
Set of constants representing the allowable values for PublisherPublisherTypeEnum
const (
PublisherPublisherTypeInternal PublisherPublisherTypeEnum = "INTERNAL"
PublisherPublisherTypeExternal PublisherPublisherTypeEnum = "EXTERNAL"
)
func GetMappingPublisherPublisherTypeEnum(val string) (PublisherPublisherTypeEnum, bool)
GetMappingPublisherPublisherTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPublisherPublisherTypeEnumValues() []PublisherPublisherTypeEnum
GetPublisherPublisherTypeEnumValues Enumerates the set of values for PublisherPublisherTypeEnum
PublisherStatusEnum Enum with underlying type: string
type PublisherStatusEnum string
Set of constants representing the allowable values for PublisherStatusEnum
const (
PublisherStatusNew PublisherStatusEnum = "NEW"
PublisherStatusApproved PublisherStatusEnum = "APPROVED"
PublisherStatusSuspended PublisherStatusEnum = "SUSPENDED"
PublisherStatusRemoved PublisherStatusEnum = "REMOVED"
PublisherStatusRejected PublisherStatusEnum = "REJECTED"
PublisherStatusContacted PublisherStatusEnum = "CONTACTED"
)
func GetMappingPublisherStatusEnum(val string) (PublisherStatusEnum, bool)
GetMappingPublisherStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPublisherStatusEnumValues() []PublisherStatusEnum
GetPublisherStatusEnumValues Enumerates the set of values for PublisherStatusEnum
PublisherSummary The model for a publisher.
type PublisherSummary struct {
// Unique OCID identifier for the publisher.
Id *string `mandatory:"true" json:"id"`
// The root compartment of the Publisher.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The namespace for the publisher registry to persist artifacts.
RegistryNamespace *string `mandatory:"true" json:"registryNamespace"`
// The name of the publisher.
DisplayName *string `mandatory:"true" json:"displayName"`
// The public email address of the publisher for customers.
ContactEmail *string `mandatory:"true" json:"contactEmail"`
// The phone number of the publisher in E.164 format.
ContactPhone *string `mandatory:"true" json:"contactPhone"`
// publisher type.
PublisherType PublisherSummaryPublisherTypeEnum `mandatory:"true" json:"publisherType"`
// The time the publisher was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the publisher was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Unique legacy service identifier for the publisher.
LegacyId *string `mandatory:"false" json:"legacyId"`
// A description of the publisher.
Description *string `mandatory:"false" json:"description"`
// The year the publisher's company or organization was founded.
YearFounded *int64 `mandatory:"false" json:"yearFounded"`
// The publisher's website.
WebsiteUrl *string `mandatory:"false" json:"websiteUrl"`
// The address of the publisher's headquarters.
HqAddress *string `mandatory:"false" json:"hqAddress"`
Logo *UploadData `mandatory:"false" json:"logo"`
// Publisher's Facebook URL
FacebookUrl *string `mandatory:"false" json:"facebookUrl"`
// Publisher's Twitter URL
TwitterUrl *string `mandatory:"false" json:"twitterUrl"`
// Publisher's LinkedIn URL
LinkedinUrl *string `mandatory:"false" json:"linkedinUrl"`
// Email address of the publisher.
Email *string `mandatory:"false" json:"email"`
// The business phone number of the publisher.
BusinessPhoneNumber *string `mandatory:"false" json:"businessPhoneNumber"`
// Count of employees in publisher's company
EmployeeCount *int64 `mandatory:"false" json:"employeeCount"`
// A description of the publisher solutions.
SolutionDescription *string `mandatory:"false" json:"solutionDescription"`
// OPN membership number of the publisher
OpnNumber *string `mandatory:"false" json:"opnNumber"`
// Country in which partner company resides
Country *string `mandatory:"false" json:"country"`
// City in which partner company resides
City *string `mandatory:"false" json:"city"`
// State in which partner company resides
State *string `mandatory:"false" json:"state"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m PublisherSummary) String() string
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
PublisherSummaryPublisherTypeEnum Enum with underlying type: string
type PublisherSummaryPublisherTypeEnum string
Set of constants representing the allowable values for PublisherSummaryPublisherTypeEnum
const (
PublisherSummaryPublisherTypeInternal PublisherSummaryPublisherTypeEnum = "INTERNAL"
PublisherSummaryPublisherTypeExternal PublisherSummaryPublisherTypeEnum = "EXTERNAL"
)
func GetMappingPublisherSummaryPublisherTypeEnum(val string) (PublisherSummaryPublisherTypeEnum, bool)
GetMappingPublisherSummaryPublisherTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPublisherSummaryPublisherTypeEnumValues() []PublisherSummaryPublisherTypeEnum
GetPublisherSummaryPublisherTypeEnumValues Enumerates the set of values for PublisherSummaryPublisherTypeEnum
RelatedDocumentAttachment Related document attachment for the listing revision.
type RelatedDocumentAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// URL of the uploaded document.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Possible lifecycle states.
DocumentCategory RelatedDocumentAttachmentDocumentCategoryEnum `mandatory:"false" json:"documentCategory,omitempty"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m RelatedDocumentAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m RelatedDocumentAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m RelatedDocumentAttachment) GetDescription() *string
GetDescription returns Description
func (m RelatedDocumentAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m RelatedDocumentAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m RelatedDocumentAttachment) GetId() *string
GetId returns Id
func (m RelatedDocumentAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m RelatedDocumentAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m RelatedDocumentAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m RelatedDocumentAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m RelatedDocumentAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m RelatedDocumentAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m RelatedDocumentAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RelatedDocumentAttachment) String() string
func (m RelatedDocumentAttachment) 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
RelatedDocumentAttachmentDocumentCategoryEnum Enum with underlying type: string
type RelatedDocumentAttachmentDocumentCategoryEnum string
Set of constants representing the allowable values for RelatedDocumentAttachmentDocumentCategoryEnum
const (
RelatedDocumentAttachmentDocumentCategoryCaseStudies RelatedDocumentAttachmentDocumentCategoryEnum = "CASE_STUDIES"
RelatedDocumentAttachmentDocumentCategoryCustomizationGuides RelatedDocumentAttachmentDocumentCategoryEnum = "CUSTOMIZATION_GUIDES"
RelatedDocumentAttachmentDocumentCategoryDataSheets RelatedDocumentAttachmentDocumentCategoryEnum = "DATA_SHEETS"
RelatedDocumentAttachmentDocumentCategoryPressRelease RelatedDocumentAttachmentDocumentCategoryEnum = "PRESS_RELEASE"
RelatedDocumentAttachmentDocumentCategoryProductDocumentation RelatedDocumentAttachmentDocumentCategoryEnum = "PRODUCT_DOCUMENTATION"
RelatedDocumentAttachmentDocumentCategoryUserGuides RelatedDocumentAttachmentDocumentCategoryEnum = "USER_GUIDES"
RelatedDocumentAttachmentDocumentCategoryWebinars RelatedDocumentAttachmentDocumentCategoryEnum = "WEBINARS"
RelatedDocumentAttachmentDocumentCategoryWhitepapers RelatedDocumentAttachmentDocumentCategoryEnum = "WHITEPAPERS"
)
func GetMappingRelatedDocumentAttachmentDocumentCategoryEnum(val string) (RelatedDocumentAttachmentDocumentCategoryEnum, bool)
GetMappingRelatedDocumentAttachmentDocumentCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRelatedDocumentAttachmentDocumentCategoryEnumValues() []RelatedDocumentAttachmentDocumentCategoryEnum
GetRelatedDocumentAttachmentDocumentCategoryEnumValues Enumerates the set of values for RelatedDocumentAttachmentDocumentCategoryEnum
ReviewSupportDocumentAttachment Review document attachment for the listing revision.
type ReviewSupportDocumentAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Name of the review support document
DocumentName *string `mandatory:"true" json:"documentName"`
// Template code for the uploaded document
TemplateCode *string `mandatory:"true" json:"templateCode"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// URL of the uploaded document.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m ReviewSupportDocumentAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ReviewSupportDocumentAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ReviewSupportDocumentAttachment) GetDescription() *string
GetDescription returns Description
func (m ReviewSupportDocumentAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ReviewSupportDocumentAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ReviewSupportDocumentAttachment) GetId() *string
GetId returns Id
func (m ReviewSupportDocumentAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ReviewSupportDocumentAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m ReviewSupportDocumentAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m ReviewSupportDocumentAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ReviewSupportDocumentAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ReviewSupportDocumentAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ReviewSupportDocumentAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ReviewSupportDocumentAttachment) String() string
func (m ReviewSupportDocumentAttachment) 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
SaaSPricingPlan SaaS pricing plan.
type SaaSPricingPlan struct {
// List of pricing rates provider by publisher.
Rates []PricingRate `mandatory:"true" json:"rates"`
// The plan name.
Name *string `mandatory:"true" json:"name"`
// The plan description.
PlanDescription *string `mandatory:"true" json:"planDescription"`
// Unique identifier of the pricing plan.
PricingPlanKey *string `mandatory:"false" json:"pricingPlanKey"`
// Additional metadata key/value pairs for the saas pricing.
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// The plan billing frequency.
BillingFrequency SaaSPricingPlanBillingFrequencyEnum `mandatory:"true" json:"billingFrequency"`
// The plan duration.
PlanDuration SaaSPricingPlanPlanDurationEnum `mandatory:"false" json:"planDuration,omitempty"`
}
func (m SaaSPricingPlan) GetRates() []PricingRate
GetRates returns Rates
func (m SaaSPricingPlan) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SaaSPricingPlan) String() string
func (m SaaSPricingPlan) 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
SaaSPricingPlanBillingFrequencyEnum Enum with underlying type: string
type SaaSPricingPlanBillingFrequencyEnum string
Set of constants representing the allowable values for SaaSPricingPlanBillingFrequencyEnum
const (
SaaSPricingPlanBillingFrequencyMonthly SaaSPricingPlanBillingFrequencyEnum = "MONTHLY"
SaaSPricingPlanBillingFrequencyQuarterly SaaSPricingPlanBillingFrequencyEnum = "QUARTERLY"
SaaSPricingPlanBillingFrequencySemiAnnual SaaSPricingPlanBillingFrequencyEnum = "SEMI_ANNUAL"
SaaSPricingPlanBillingFrequencyAnnual SaaSPricingPlanBillingFrequencyEnum = "ANNUAL"
SaaSPricingPlanBillingFrequencyBiennial SaaSPricingPlanBillingFrequencyEnum = "BIENNIAL"
SaaSPricingPlanBillingFrequencyTriennial SaaSPricingPlanBillingFrequencyEnum = "TRIENNIAL"
)
func GetMappingSaaSPricingPlanBillingFrequencyEnum(val string) (SaaSPricingPlanBillingFrequencyEnum, bool)
GetMappingSaaSPricingPlanBillingFrequencyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSaaSPricingPlanBillingFrequencyEnumValues() []SaaSPricingPlanBillingFrequencyEnum
GetSaaSPricingPlanBillingFrequencyEnumValues Enumerates the set of values for SaaSPricingPlanBillingFrequencyEnum
SaaSPricingPlanPlanDurationEnum Enum with underlying type: string
type SaaSPricingPlanPlanDurationEnum string
Set of constants representing the allowable values for SaaSPricingPlanPlanDurationEnum
const (
SaaSPricingPlanPlanDurationMonthly SaaSPricingPlanPlanDurationEnum = "MONTHLY"
SaaSPricingPlanPlanDurationQuarterly SaaSPricingPlanPlanDurationEnum = "QUARTERLY"
SaaSPricingPlanPlanDurationSemiAnnual SaaSPricingPlanPlanDurationEnum = "SEMI_ANNUAL"
SaaSPricingPlanPlanDurationAnnual SaaSPricingPlanPlanDurationEnum = "ANNUAL"
SaaSPricingPlanPlanDurationBiennial SaaSPricingPlanPlanDurationEnum = "BIENNIAL"
SaaSPricingPlanPlanDurationTriennial SaaSPricingPlanPlanDurationEnum = "TRIENNIAL"
)
func GetMappingSaaSPricingPlanPlanDurationEnum(val string) (SaaSPricingPlanPlanDurationEnum, bool)
GetMappingSaaSPricingPlanPlanDurationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSaaSPricingPlanPlanDurationEnumValues() []SaaSPricingPlanPlanDurationEnum
GetSaaSPricingPlanPlanDurationEnumValues Enumerates the set of values for SaaSPricingPlanPlanDurationEnum
ScreenShotAttachment Screenshot attachment for the listing revision.
type ScreenShotAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// URL of the uploaded document.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m ScreenShotAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ScreenShotAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ScreenShotAttachment) GetDescription() *string
GetDescription returns Description
func (m ScreenShotAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ScreenShotAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ScreenShotAttachment) GetId() *string
GetId returns Id
func (m ScreenShotAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ScreenShotAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m ScreenShotAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m ScreenShotAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ScreenShotAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ScreenShotAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ScreenShotAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ScreenShotAttachment) String() string
func (m ScreenShotAttachment) 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
ServiceListingRevision Listing revision details for service listings
type ServiceListingRevision struct {
// Unique OCID identifier for the listing revision in Marketplace Publisher.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the listing this revision belongs to.
ListingId *string `mandatory:"true" json:"listingId"`
// The name for the listing revision.
DisplayName *string `mandatory:"true" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"true" json:"headline"`
// The time the listing revision was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the listing revision was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// List of product codes subscribed by listing.
ProductCodes []string `mandatory:"true" json:"productCodes"`
// List of industries subscribed by listing.
Industries []string `mandatory:"true" json:"industries"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The revision number for the listing revision. This is an internal attribute
RevisionNumber *string `mandatory:"false" json:"revisionNumber"`
// The tagline of the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated with the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the publisher for the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
Icon *ListingRevisionIconAttachment `mandatory:"false" json:"icon"`
Banner *ListingRevisionBannerAttachment `mandatory:"false" json:"banner"`
// Status notes for the listing revision.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Additional metadata key/value pairs for the listing revision summary.
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Custom text by partner regarding contact information
ContactUs *string `mandatory:"false" json:"contactUs"`
// Number of trained professional per product
TrainedProfessionals []TrainedProfessionals `mandatory:"false" json:"trainedProfessionals"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
// Support details based on geographic location
GeoLocations []GeoLocation `mandatory:"false" json:"geoLocations"`
// The current status for the Listing revision.
Status ListingRevisionStatusEnum `mandatory:"true" json:"status"`
// The current state of the listing revision.
LifecycleState ListingRevisionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The listing's package type. Populated from the listing.
PackageType PackageTypeEnum `mandatory:"false" json:"packageType,omitempty"`
}
func (m ServiceListingRevision) GetBanner() *ListingRevisionBannerAttachment
GetBanner returns Banner
func (m ServiceListingRevision) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ServiceListingRevision) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m ServiceListingRevision) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ServiceListingRevision) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ServiceListingRevision) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m ServiceListingRevision) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ServiceListingRevision) GetHeadline() *string
GetHeadline returns Headline
func (m ServiceListingRevision) GetIcon() *ListingRevisionIconAttachment
GetIcon returns Icon
func (m ServiceListingRevision) GetId() *string
GetId returns Id
func (m ServiceListingRevision) GetKeywords() *string
GetKeywords returns Keywords
func (m ServiceListingRevision) GetLifecycleState() ListingRevisionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ServiceListingRevision) GetListingId() *string
GetListingId returns ListingId
func (m ServiceListingRevision) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m ServiceListingRevision) GetPackageType() PackageTypeEnum
GetPackageType returns PackageType
func (m ServiceListingRevision) GetRevisionNumber() *string
GetRevisionNumber returns RevisionNumber
func (m ServiceListingRevision) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m ServiceListingRevision) GetStatus() ListingRevisionStatusEnum
GetStatus returns Status
func (m ServiceListingRevision) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m ServiceListingRevision) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m ServiceListingRevision) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m ServiceListingRevision) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m ServiceListingRevision) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ServiceListingRevision) GetTagline() *string
GetTagline returns Tagline
func (m ServiceListingRevision) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ServiceListingRevision) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ServiceListingRevision) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m ServiceListingRevision) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ServiceListingRevision) String() string
func (m ServiceListingRevision) 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
ShapeMemoryOptions Options for the the shape memory
type ShapeMemoryOptions struct {
// Minimum Memory configuration in GBs
MinInGBs *float32 `mandatory:"true" json:"minInGBs"`
// Maximum Memory configuration in GBs
MaxInGBs *float32 `mandatory:"true" json:"maxInGBs"`
}
func (m ShapeMemoryOptions) String() string
func (m ShapeMemoryOptions) 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
ShapeOcpuOptions Options for the the shape OCPU
type ShapeOcpuOptions struct {
// Minimum OCPU configuration
Min *float32 `mandatory:"true" json:"min"`
// Maximum OCPU configuration
Max *float32 `mandatory:"true" json:"max"`
}
func (m ShapeOcpuOptions) String() string
func (m ShapeOcpuOptions) 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
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const (
SortOrderAsc SortOrderEnum = "ASC"
SortOrderDesc SortOrderEnum = "DESC"
)
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
StackArtifact Stack artifact details.
type StackArtifact struct {
// Unique OCID identifier for the artifact.
Id *string `mandatory:"true" json:"id"`
// A display name for the artifact.
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the artifact was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The date and time the artifact was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
Stack *StackArtifactDetails `mandatory:"true" json:"stack"`
// Status notes for the Artifact.
StatusNotes *string `mandatory:"false" json:"statusNotes"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current status for the Artifact.
Status ArtifactStatusEnum `mandatory:"true" json:"status"`
// The current state for the Artifact.
LifecycleState ArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m StackArtifact) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m StackArtifact) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m StackArtifact) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m StackArtifact) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m StackArtifact) GetId() *string
GetId returns Id
func (m StackArtifact) GetLifecycleState() ArtifactLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m StackArtifact) GetPublisherId() *string
GetPublisherId returns PublisherId
func (m StackArtifact) GetStatus() ArtifactStatusEnum
GetStatus returns Status
func (m StackArtifact) GetStatusNotes() *string
GetStatusNotes returns StatusNotes
func (m StackArtifact) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m StackArtifact) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m StackArtifact) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m StackArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m StackArtifact) String() string
func (m StackArtifact) 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
StackArtifactDetails Stack details required to create a Stack artifact.
type StackArtifactDetails struct {
// The source stack OCID.
SourceStackId *string `mandatory:"true" json:"sourceStackId"`
// Stack validation status.
ValidationStatus ValidationStatusEnum `mandatory:"true" json:"validationStatus"`
// Image listing OCIDs that are referred in the Stack.
ImageListingIds []string `mandatory:"false" json:"imageListingIds"`
// The description of the stack validation failure errors.
ValidationError *string `mandatory:"false" json:"validationError"`
}
func (m StackArtifactDetails) String() string
func (m StackArtifactDetails) 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
StackPackage A package for container image listings.
type StackPackage struct {
// The name of the listing revision package.
DisplayName *string `mandatory:"true" json:"displayName"`
// The unique identifier for the listing revision.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"true" json:"artifactId"`
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// The version for the package.
PackageVersion *string `mandatory:"true" json:"packageVersion"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"true" json:"areSecurityUpgradesProvided"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"true" json:"isDefault"`
// The date and time this listing revision 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:"true" json:"timeCreated"`
// The date and time this listing revision package was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
// timestamp format.
// Example: `2016-08-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID for the listing revision package in Marketplace Publisher.
Id *string `mandatory:"false" json:"id"`
// The description of this package.
Description *string `mandatory:"false" json:"description"`
// Additional metadata key/value pairs for the listing revision package summary.
// For example:
// `{"partnerListingRevisionPackageStatus": "Published","parentListingRevisionPackageId": "1" }`
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The current state for the listing revision package.
LifecycleState ListingRevisionPackageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The current status for the listing revision package.
Status ListingRevisionPackageStatusEnum `mandatory:"true" json:"status"`
}
func (m StackPackage) GetAreSecurityUpgradesProvided() *bool
GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided
func (m StackPackage) GetArtifactId() *string
GetArtifactId returns ArtifactId
func (m StackPackage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m StackPackage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m StackPackage) GetDescription() *string
GetDescription returns Description
func (m StackPackage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m StackPackage) GetExtendedMetadata() map[string]string
GetExtendedMetadata returns ExtendedMetadata
func (m StackPackage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m StackPackage) GetId() *string
GetId returns Id
func (m StackPackage) GetIsDefault() *bool
GetIsDefault returns IsDefault
func (m StackPackage) GetLifecycleState() ListingRevisionPackageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m StackPackage) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m StackPackage) GetPackageVersion() *string
GetPackageVersion returns PackageVersion
func (m StackPackage) GetStatus() ListingRevisionPackageStatusEnum
GetStatus returns Status
func (m StackPackage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m StackPackage) GetTermId() *string
GetTermId returns TermId
func (m StackPackage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m StackPackage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m StackPackage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m StackPackage) String() string
func (m StackPackage) 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
SubmitListingRevisionForReviewDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher review listing revision.
type SubmitListingRevisionForReviewDetails struct {
// Notes provided for the listing revision.
NoteDetails *string `mandatory:"false" json:"noteDetails"`
// Identifies whether publisher allows internal tenancy launches for the listing revision.
AreInternalTenancyLaunchAllowed *bool `mandatory:"false" json:"areInternalTenancyLaunchAllowed"`
// Identifies whether publisher intends to publish the listing automatically upon approval.
ShouldAutoPublishOnApproval *bool `mandatory:"false" json:"shouldAutoPublishOnApproval"`
}
func (m SubmitListingRevisionForReviewDetails) String() string
func (m SubmitListingRevisionForReviewDetails) 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
SubmitListingRevisionForReviewRequest wrapper for the SubmitListingRevisionForReview operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/SubmitListingRevisionForReview.go.html to see an example of how to use SubmitListingRevisionForReviewRequest.
type SubmitListingRevisionForReviewRequest struct {
// The listing revision review information to be updated.
SubmitListingRevisionForReviewDetails `contributesTo:"body"`
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request SubmitListingRevisionForReviewRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SubmitListingRevisionForReviewRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SubmitListingRevisionForReviewRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SubmitListingRevisionForReviewRequest) String() string
func (request SubmitListingRevisionForReviewRequest) 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
SubmitListingRevisionForReviewResponse wrapper for the SubmitListingRevisionForReview operation
type SubmitListingRevisionForReviewResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevision instance
ListingRevision `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 (response SubmitListingRevisionForReviewResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SubmitListingRevisionForReviewResponse) String() string
SupportContact Contact information to use to get support.
type SupportContact struct {
// The name of the contact.
Name *string `mandatory:"true" 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 (m SupportContact) String() string
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
SupportDoc The model for the supportDoc details.
type SupportDoc struct {
// The name for the supportDoc.
Name *string `mandatory:"true" json:"name"`
// The code for the supportDoc.
Code *string `mandatory:"true" json:"code"`
// The supportDoc group for the supportDoc.
SupportDocGroup *string `mandatory:"true" json:"supportDocGroup"`
// The current state for the supportDoc.
LifecycleState SupportDocLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the supportDoc was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the supportDoc was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The description of the supportDoc.
Description *string `mandatory:"false" json:"description"`
// The URL of the specified attachment.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the attachment.
MimeType *string `mandatory:"false" json:"mimeType"`
// The file name of the attachment.
FileName *string `mandatory:"false" json:"fileName"`
}
func (m SupportDoc) String() string
func (m SupportDoc) 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
SupportDocCollection Results of a supportDoc search. Contains the supportDoc items.
type SupportDocCollection struct {
// List of supportDoc summary.
Items []SupportDocSummary `mandatory:"true" json:"items"`
}
func (m SupportDocCollection) String() string
func (m SupportDocCollection) 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
SupportDocLifecycleStateEnum Enum with underlying type: string
type SupportDocLifecycleStateEnum string
Set of constants representing the allowable values for SupportDocLifecycleStateEnum
const (
SupportDocLifecycleStateActive SupportDocLifecycleStateEnum = "ACTIVE"
SupportDocLifecycleStateInactive SupportDocLifecycleStateEnum = "INACTIVE"
)
func GetMappingSupportDocLifecycleStateEnum(val string) (SupportDocLifecycleStateEnum, bool)
GetMappingSupportDocLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSupportDocLifecycleStateEnumValues() []SupportDocLifecycleStateEnum
GetSupportDocLifecycleStateEnumValues Enumerates the set of values for SupportDocLifecycleStateEnum
SupportDocSummary The model for the supportDoc metadata.
type SupportDocSummary struct {
// The name for the supportDoc.
Name *string `mandatory:"true" json:"name"`
// The code for the supportDoc.
Code *string `mandatory:"true" json:"code"`
// The supportDoc group for the supportDoc.
SupportDocGroup *string `mandatory:"true" json:"supportDocGroup"`
// The current state for the supportDoc.
LifecycleState SupportDocLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the supportDoc was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the product was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}
func (m SupportDocSummary) String() string
func (m SupportDocSummary) 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
SupportedCurrencyCollection Result set consisting of list of currencies supported by the Marketplace Publisher Service.
type SupportedCurrencyCollection struct {
// List of Supported Currencies.
Items []SupportedCurrencySummary `mandatory:"true" json:"items"`
}
func (m SupportedCurrencyCollection) String() string
func (m SupportedCurrencyCollection) 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
SupportedCurrencySummary The model for the currencies supported by the Marketplace Publisher Service.
type SupportedCurrencySummary struct {
// The currency code, in the format specified by ISO-4217.
CurrencyCode *string `mandatory:"true" json:"currencyCode"`
// Oracle exchange rate for the currency in USD.
ExchangeRate *float32 `mandatory:"true" json:"exchangeRate"`
// The current state for the currency.
LifecycleState SupportedCurrencySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m SupportedCurrencySummary) String() string
func (m SupportedCurrencySummary) 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
SupportedCurrencySummaryLifecycleStateEnum Enum with underlying type: string
type SupportedCurrencySummaryLifecycleStateEnum string
Set of constants representing the allowable values for SupportedCurrencySummaryLifecycleStateEnum
const (
SupportedCurrencySummaryLifecycleStateActive SupportedCurrencySummaryLifecycleStateEnum = "ACTIVE"
SupportedCurrencySummaryLifecycleStateInactive SupportedCurrencySummaryLifecycleStateEnum = "INACTIVE"
)
func GetMappingSupportedCurrencySummaryLifecycleStateEnum(val string) (SupportedCurrencySummaryLifecycleStateEnum, bool)
GetMappingSupportedCurrencySummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSupportedCurrencySummaryLifecycleStateEnumValues() []SupportedCurrencySummaryLifecycleStateEnum
GetSupportedCurrencySummaryLifecycleStateEnumValues Enumerates the set of values for SupportedCurrencySummaryLifecycleStateEnum
SupportedServiceAttachment Supported services attachment for the service listing revision.
type SupportedServiceAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Name of the service
ServiceName *string `mandatory:"true" json:"serviceName"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Optional url to service
Url *string `mandatory:"false" json:"url"`
// URL of the uploaded document.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"false" json:"mimeType"`
// Type of service
Type SupportedServiceAttachmentTypeEnum `mandatory:"true" json:"type"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m SupportedServiceAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m SupportedServiceAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m SupportedServiceAttachment) GetDescription() *string
GetDescription returns Description
func (m SupportedServiceAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m SupportedServiceAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m SupportedServiceAttachment) GetId() *string
GetId returns Id
func (m SupportedServiceAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m SupportedServiceAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m SupportedServiceAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m SupportedServiceAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m SupportedServiceAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m SupportedServiceAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m SupportedServiceAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SupportedServiceAttachment) String() string
func (m SupportedServiceAttachment) 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
SupportedServiceAttachmentTypeEnum Enum with underlying type: string
type SupportedServiceAttachmentTypeEnum string
Set of constants representing the allowable values for SupportedServiceAttachmentTypeEnum
const (
SupportedServiceAttachmentTypeImplementationService SupportedServiceAttachmentTypeEnum = "IMPLEMENTATION_SERVICE"
SupportedServiceAttachmentTypeConsultingService SupportedServiceAttachmentTypeEnum = "CONSULTING_SERVICE"
SupportedServiceAttachmentTypeAppDevelopmentService SupportedServiceAttachmentTypeEnum = "APP_DEVELOPMENT_SERVICE"
SupportedServiceAttachmentTypeManagedService SupportedServiceAttachmentTypeEnum = "MANAGED_SERVICE"
SupportedServiceAttachmentTypeOther SupportedServiceAttachmentTypeEnum = "OTHER"
)
func GetMappingSupportedServiceAttachmentTypeEnum(val string) (SupportedServiceAttachmentTypeEnum, bool)
GetMappingSupportedServiceAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSupportedServiceAttachmentTypeEnumValues() []SupportedServiceAttachmentTypeEnum
GetSupportedServiceAttachmentTypeEnumValues Enumerates the set of values for SupportedServiceAttachmentTypeEnum
SupportedShapeCollection The list of shapes that can be used to create a database system.
type SupportedShapeCollection struct {
// List of supported shapes.
Items []SupportedShapeSummary `mandatory:"true" json:"items"`
}
func (m SupportedShapeCollection) String() string
func (m SupportedShapeCollection) 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
SupportedShapeSummary Summary of the database system shape.
type SupportedShapeSummary struct {
// The name of the Compute VM shape.
// Example: `VM.Standard.E4.Flex`
Shape *string `mandatory:"true" json:"shape"`
// Indicates if the shape is a flex shape.
IsFlexible *bool `mandatory:"true" json:"isFlexible"`
OcpuOptions *ShapeOcpuOptions `mandatory:"false" json:"ocpuOptions"`
MemoryOptions *ShapeMemoryOptions `mandatory:"false" json:"memoryOptions"`
}
func (m SupportedShapeSummary) String() string
func (m SupportedShapeSummary) 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
Term Base model object for the term.
type Term struct {
// The name for the term.
Name *string `mandatory:"true" json:"name"`
// Who authored the term. Publisher terms will be defaulted to 'PARTNER'.
Author TermAuthorEnum `mandatory:"true" json:"author"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier for the publisher.
PublisherId *string `mandatory:"true" json:"publisherId"`
// The current state for the Term.
LifecycleState TermLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the term was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the term was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Unique OCID identifier for the term.
Id *string `mandatory:"false" json:"id"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m Term) String() string
func (m Term) 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
TermAuthorEnum Enum with underlying type: string
type TermAuthorEnum string
Set of constants representing the allowable values for TermAuthorEnum
const (
TermAuthorOracle TermAuthorEnum = "ORACLE"
TermAuthorPartner TermAuthorEnum = "PARTNER"
)
func GetMappingTermAuthorEnum(val string) (TermAuthorEnum, bool)
GetMappingTermAuthorEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTermAuthorEnumValues() []TermAuthorEnum
GetTermAuthorEnumValues Enumerates the set of values for TermAuthorEnum
TermCollection Results of the term search. Contains term items.
type TermCollection struct {
// List of the Terms summary.
Items []TermSummary `mandatory:"true" json:"items"`
}
func (m TermCollection) String() string
func (m TermCollection) 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
TermLifecycleStateEnum Enum with underlying type: string
type TermLifecycleStateEnum string
Set of constants representing the allowable values for TermLifecycleStateEnum
const (
TermLifecycleStateActive TermLifecycleStateEnum = "ACTIVE"
TermLifecycleStateInactive TermLifecycleStateEnum = "INACTIVE"
)
func GetMappingTermLifecycleStateEnum(val string) (TermLifecycleStateEnum, bool)
GetMappingTermLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTermLifecycleStateEnumValues() []TermLifecycleStateEnum
GetTermLifecycleStateEnumValues Enumerates the set of values for TermLifecycleStateEnum
TermSummary The model for the term summary.
type TermSummary struct {
// Unique OCID identifier for the term.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name for the term.
Name *string `mandatory:"true" json:"name"`
// Who authored the term. Publisher terms will be defaulted to as 'PARTNER'.
Author TermAuthorEnum `mandatory:"true" json:"author"`
// The current state for the term version.
LifecycleState TermLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the resource was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m TermSummary) String() string
func (m TermSummary) 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
TermVersion Model object for the term version details.
type TermVersion struct {
// The unique identifier for the term.
TermId *string `mandatory:"true" json:"termId"`
// Who authored the term. Publisher terms will be defaulted to 'PARTNER'.
TermAuthor TermAuthorEnum `mandatory:"true" json:"termAuthor"`
// The name for the term version.
DisplayName *string `mandatory:"true" json:"displayName"`
Attachment *TermVersionAttachment `mandatory:"true" json:"attachment"`
// The current status for the term version.
Status TermVersionStatusEnum `mandatory:"true" json:"status"`
// The current state for the term version.
LifecycleState TermVersionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the term version was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the term version was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Unique OCID identifier for the term version.
Id *string `mandatory:"false" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// Who authored the term. Publisher terms will be defaulted to 'PARTNER'.
Author TermAuthorEnum `mandatory:"false" json:"author,omitempty"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m TermVersion) String() string
func (m TermVersion) 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
TermVersionAttachment An attachment uploaded by the Publisher for the term.
type TermVersionAttachment struct {
// The content URL of the uploaded data.
ContentUrl *string `mandatory:"true" json:"contentUrl"`
// The MIME type of the uploaded data.
MimeType *string `mandatory:"true" json:"mimeType"`
}
func (m TermVersionAttachment) String() string
func (m TermVersionAttachment) 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
TermVersionCollection Results of the term version search. Contains term version items.
type TermVersionCollection struct {
// List of the Terms version summary.
Items []TermVersionSummary `mandatory:"true" json:"items"`
}
func (m TermVersionCollection) String() string
func (m TermVersionCollection) 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
TermVersionLifecycleStateEnum Enum with underlying type: string
type TermVersionLifecycleStateEnum string
Set of constants representing the allowable values for TermVersionLifecycleStateEnum
const (
TermVersionLifecycleStateActive TermVersionLifecycleStateEnum = "ACTIVE"
TermVersionLifecycleStateInactive TermVersionLifecycleStateEnum = "INACTIVE"
)
func GetMappingTermVersionLifecycleStateEnum(val string) (TermVersionLifecycleStateEnum, bool)
GetMappingTermVersionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTermVersionLifecycleStateEnumValues() []TermVersionLifecycleStateEnum
GetTermVersionLifecycleStateEnumValues Enumerates the set of values for TermVersionLifecycleStateEnum
TermVersionStatusEnum Enum with underlying type: string
type TermVersionStatusEnum string
Set of constants representing the allowable values for TermVersionStatusEnum
const (
TermVersionStatusAvailable TermVersionStatusEnum = "AVAILABLE"
TermVersionStatusNotAvailable TermVersionStatusEnum = "NOT_AVAILABLE"
TermVersionStatusDeleted TermVersionStatusEnum = "DELETED"
)
func GetMappingTermVersionStatusEnum(val string) (TermVersionStatusEnum, bool)
GetMappingTermVersionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTermVersionStatusEnumValues() []TermVersionStatusEnum
GetTermVersionStatusEnumValues Enumerates the set of values for TermVersionStatusEnum
TermVersionSummary The model for the term version summary.
type TermVersionSummary struct {
// Unique OCID identifier for the term version.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The name for the term version.
DisplayName *string `mandatory:"true" json:"displayName"`
// The current status for the term version.
Status TermVersionStatusEnum `mandatory:"true" json:"status"`
// The current state for the Term version.
LifecycleState TermVersionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The date and time the term version was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the time version was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2022-09-15T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m TermVersionSummary) String() string
func (m TermVersionSummary) 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
TrainedProfessionals Number of trained professional per product
type TrainedProfessionals struct {
// Count of trained professional
ProfessionalsCount *int64 `mandatory:"true" json:"professionalsCount"`
// Product code on which professional is trained on
ProductCode *string `mandatory:"true" json:"productCode"`
}
func (m TrainedProfessionals) String() string
func (m TrainedProfessionals) 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
UnPublishListingRevisionPackageRequest wrapper for the UnPublishListingRevisionPackage operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UnPublishListingRevisionPackage.go.html to see an example of how to use UnPublishListingRevisionPackageRequest.
type UnPublishListingRevisionPackageRequest struct {
// Unique listing revision package identifier.
ListingRevisionPackageId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionPackageId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UnPublishListingRevisionPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UnPublishListingRevisionPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UnPublishListingRevisionPackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UnPublishListingRevisionPackageRequest) String() string
func (request UnPublishListingRevisionPackageRequest) 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
UnPublishListingRevisionPackageResponse wrapper for the UnPublishListingRevisionPackage operation
type UnPublishListingRevisionPackageResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response UnPublishListingRevisionPackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UnPublishListingRevisionPackageResponse) String() string
UpdateAdminArtifactStatusDetails Artifact status change request details
type UpdateAdminArtifactStatusDetails struct {
// The new status for the artifact.
NewStatus *string `mandatory:"true" json:"newStatus"`
}
func (m UpdateAdminArtifactStatusDetails) String() string
func (m UpdateAdminArtifactStatusDetails) 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
UpdateAdminArtifactStatusRequest wrapper for the UpdateAdminArtifactStatus operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateAdminArtifactStatus.go.html to see an example of how to use UpdateAdminArtifactStatusRequest.
type UpdateAdminArtifactStatusRequest struct {
// The artifact status information to be updated.
UpdateAdminArtifactStatusDetails `contributesTo:"body"`
// artifact OCID
ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateAdminArtifactStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateAdminArtifactStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateAdminArtifactStatusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateAdminArtifactStatusRequest) String() string
func (request UpdateAdminArtifactStatusRequest) 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
UpdateAdminArtifactStatusResponse wrapper for the UpdateAdminArtifactStatus operation
type UpdateAdminArtifactStatusResponse struct {
// The underlying http response
RawResponse *http.Response
// The Artifact instance
Artifact `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 (response UpdateAdminArtifactStatusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateAdminArtifactStatusResponse) String() string
UpdateArtifactDetails The model for an Oracle Cloud Infrastructure Marketplace artifact.
type UpdateArtifactDetails interface {
// The unique identifier for the compartment.
GetCompartmentId() *string
// The display name for the artifact.
GetDisplayName() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
}
UpdateArtifactRequest wrapper for the UpdateArtifact operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateArtifact.go.html to see an example of how to use UpdateArtifactRequest.
type UpdateArtifactRequest struct {
// artifact OCID
ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`
// Request object for updating an artifact.
UpdateArtifactDetails `contributesTo:"body"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateArtifactRequest) String() string
func (request UpdateArtifactRequest) 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
UpdateArtifactResponse wrapper for the UpdateArtifact operation
type UpdateArtifactResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response UpdateArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateArtifactResponse) String() string
UpdateContainerImageArtifactDetails Details to update the container image artifact.
type UpdateContainerImageArtifactDetails struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The display name for the artifact.
DisplayName *string `mandatory:"false" json:"displayName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
ContainerImage *UpdateContainerImageDetails `mandatory:"false" json:"containerImage"`
}
func (m UpdateContainerImageArtifactDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m UpdateContainerImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateContainerImageArtifactDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateContainerImageArtifactDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateContainerImageArtifactDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateContainerImageArtifactDetails) String() string
func (m UpdateContainerImageArtifactDetails) 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
UpdateContainerImageDetails Container image details required to update a container artifact.
type UpdateContainerImageDetails struct {
// The source registry OCID of the container image.
SourceRegistryId *string `mandatory:"true" json:"sourceRegistryId"`
// The source registry url of the container image.
SourceRegistryUrl *string `mandatory:"true" json:"sourceRegistryUrl"`
}
func (m UpdateContainerImageDetails) String() string
func (m UpdateContainerImageDetails) 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
UpdateCustomerSuccessAttachment customer success story attachment for the listing revision.
type UpdateCustomerSuccessAttachment struct {
// Name of the customer
CustomerName *string `mandatory:"true" json:"customerName"`
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// The description for the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Optional url to success story
Url *string `mandatory:"false" json:"url"`
// List of product codes for success story
ProductCodes []string `mandatory:"false" json:"productCodes"`
}
func (m UpdateCustomerSuccessAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateCustomerSuccessAttachment) GetDescription() *string
GetDescription returns Description
func (m UpdateCustomerSuccessAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateCustomerSuccessAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateCustomerSuccessAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateCustomerSuccessAttachment) String() string
func (m UpdateCustomerSuccessAttachment) 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
UpdateHelmChartImageDetails Helmchart image details required to update an helmchart artifact.
type UpdateHelmChartImageDetails struct {
// The source registry OCID of the helmchart image.
SourceRegistryId *string `mandatory:"true" json:"sourceRegistryId"`
// The source registry url of the helmchart image.
SourceRegistryUrl *string `mandatory:"true" json:"sourceRegistryUrl"`
// The Supported Versions of Kubernetes
SupportedKubernetesVersions []string `mandatory:"false" json:"supportedKubernetesVersions"`
}
func (m UpdateHelmChartImageDetails) String() string
func (m UpdateHelmChartImageDetails) 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
UpdateKubernetesImageArtifactDetails Details to update the kubernetes image artifact.
type UpdateKubernetesImageArtifactDetails struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The display name for the artifact.
DisplayName *string `mandatory:"false" json:"displayName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
HelmChart *UpdateHelmChartImageDetails `mandatory:"false" json:"helmChart"`
// List of container image artifact unique identifiers included in the helm chart.
ContainerImageArtifactIds []string `mandatory:"false" json:"containerImageArtifactIds"`
}
func (m UpdateKubernetesImageArtifactDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m UpdateKubernetesImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateKubernetesImageArtifactDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateKubernetesImageArtifactDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateKubernetesImageArtifactDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateKubernetesImageArtifactDetails) String() string
func (m UpdateKubernetesImageArtifactDetails) 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
UpdateLeadGenListingRevisionDetails Listing revision update details for listings
type UpdateLeadGenListingRevisionDetails struct {
// The name for the listing revision.
DisplayName *string `mandatory:"false" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"false" json:"headline"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated for the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// System requirements for the listing revision.
SystemRequirements *string `mandatory:"false" json:"systemRequirements"`
// List of Products subscribed by listing.
Products []ListingProduct `mandatory:"false" json:"products"`
// Url to demo of the listing
DemoUrl *string `mandatory:"false" json:"demoUrl"`
// Url to training resources of the listing
SelfPacedTrainingUrl *string `mandatory:"false" json:"selfPacedTrainingUrl"`
// OCIDs of service listings attached to lead gen listing
RecommendedServiceProviderListingIds []string `mandatory:"false" json:"recommendedServiceProviderListingIds"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
DownloadInfo *DownloadInfo `mandatory:"false" json:"downloadInfo"`
// Pricing details for lead gen listing
PricingPlans *string `mandatory:"false" json:"pricingPlans"`
// The pricing model for the listing revision.
PricingType OciListingRevisionPricingTypeEnum `mandatory:"false" json:"pricingType,omitempty"`
}
func (m UpdateLeadGenListingRevisionDetails) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m UpdateLeadGenListingRevisionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateLeadGenListingRevisionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateLeadGenListingRevisionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateLeadGenListingRevisionDetails) GetHeadline() *string
GetHeadline returns Headline
func (m UpdateLeadGenListingRevisionDetails) GetKeywords() *string
GetKeywords returns Keywords
func (m UpdateLeadGenListingRevisionDetails) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m UpdateLeadGenListingRevisionDetails) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m UpdateLeadGenListingRevisionDetails) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m UpdateLeadGenListingRevisionDetails) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m UpdateLeadGenListingRevisionDetails) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m UpdateLeadGenListingRevisionDetails) GetTagline() *string
GetTagline returns Tagline
func (m UpdateLeadGenListingRevisionDetails) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m UpdateLeadGenListingRevisionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateLeadGenListingRevisionDetails) String() string
func (m UpdateLeadGenListingRevisionDetails) 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
UpdateListingDetails Details to update an existing listing.
type UpdateListingDetails struct {
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateListingDetails) String() string
func (m UpdateListingDetails) 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
UpdateListingRequest wrapper for the UpdateListing operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListing.go.html to see an example of how to use UpdateListingRequest.
type UpdateListingRequest struct {
// listing OCID
ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`
// The information to be updated.
UpdateListingDetails `contributesTo:"body"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateListingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateListingRequest) String() string
func (request UpdateListingRequest) 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
UpdateListingResponse wrapper for the UpdateListing operation
type UpdateListingResponse struct {
// The underlying http response
RawResponse *http.Response
// The Listing instance
Listing `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 (response UpdateListingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateListingResponse) String() string
UpdateListingRevisionAttachmentContentRequest wrapper for the UpdateListingRevisionAttachmentContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionAttachmentContent.go.html to see an example of how to use UpdateListingRevisionAttachmentContentRequest.
type UpdateListingRevisionAttachmentContentRequest struct {
// attachment OCID
ListingRevisionAttachmentId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionAttachmentId"`
// The attachment to upload.
UpdateListingRevisionAttachmentContent io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateListingRevisionAttachmentContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateListingRevisionAttachmentContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateListingRevisionAttachmentContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateListingRevisionAttachmentContentRequest) String() string
func (request UpdateListingRevisionAttachmentContentRequest) 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
UpdateListingRevisionAttachmentContentResponse wrapper for the UpdateListingRevisionAttachmentContent operation
type UpdateListingRevisionAttachmentContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionAttachment instance
ListingRevisionAttachment `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 (response UpdateListingRevisionAttachmentContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateListingRevisionAttachmentContentResponse) String() string
UpdateListingRevisionAttachmentDetails Update the attachment for the listing revision.
type UpdateListingRevisionAttachmentDetails interface {
// The name for the listing revision attachment.
GetDisplayName() *string
// The description for the listing revision attachment.
GetDescription() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
}
UpdateListingRevisionAttachmentRequest wrapper for the UpdateListingRevisionAttachment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionAttachment.go.html to see an example of how to use UpdateListingRevisionAttachmentRequest.
type UpdateListingRevisionAttachmentRequest struct {
// attachment OCID
ListingRevisionAttachmentId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionAttachmentId"`
// The attachment to be updated.
UpdateListingRevisionAttachmentDetails `contributesTo:"body"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateListingRevisionAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateListingRevisionAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateListingRevisionAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateListingRevisionAttachmentRequest) String() string
func (request UpdateListingRevisionAttachmentRequest) 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
UpdateListingRevisionAttachmentResponse wrapper for the UpdateListingRevisionAttachment operation
type UpdateListingRevisionAttachmentResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionAttachment instance
ListingRevisionAttachment `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 (response UpdateListingRevisionAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateListingRevisionAttachmentResponse) String() string
UpdateListingRevisionBannerContentRequest wrapper for the UpdateListingRevisionBannerContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionBannerContent.go.html to see an example of how to use UpdateListingRevisionBannerContentRequest.
type UpdateListingRevisionBannerContentRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// banner name
BannerName *string `mandatory:"true" contributesTo:"query" name:"bannerName"`
// The listing revision icon to be updated.
UpdateListingRevisionBannerContent io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateListingRevisionBannerContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateListingRevisionBannerContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateListingRevisionBannerContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateListingRevisionBannerContentRequest) String() string
func (request UpdateListingRevisionBannerContentRequest) 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
UpdateListingRevisionBannerContentResponse wrapper for the UpdateListingRevisionBannerContent operation
type UpdateListingRevisionBannerContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevision instance
ListingRevision `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 (response UpdateListingRevisionBannerContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateListingRevisionBannerContentResponse) String() string
UpdateListingRevisionDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
type UpdateListingRevisionDetails interface {
// The name for the listing revision.
GetDisplayName() *string
// Single line introduction for the listing revision.
GetHeadline() *string
// The tagline for the listing revision.
GetTagline() *string
// Keywords associated for the listing revision.
GetKeywords() *string
// A short description for the listing revision.
GetShortDescription() *string
// Usage information for the listing revision.
GetUsageInformation() *string
// A long description for the listing revision.
GetLongDescription() *string
GetContentLanguage() *LanguageItem
// Languages supported by the listing revision.
GetSupportedlanguages() []LanguageItem
// Contact information to use to get support from the publisher for the listing revision.
GetSupportContacts() []SupportContact
// Links to support resources for the listing revision.
GetSupportLinks() []NamedLink
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
}
UpdateListingRevisionIconContentRequest wrapper for the UpdateListingRevisionIconContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionIconContent.go.html to see an example of how to use UpdateListingRevisionIconContentRequest.
type UpdateListingRevisionIconContentRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// The listing revision icon to be updated.
UpdateListingRevisionIconContent io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateListingRevisionIconContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateListingRevisionIconContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateListingRevisionIconContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateListingRevisionIconContentRequest) String() string
func (request UpdateListingRevisionIconContentRequest) 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
UpdateListingRevisionIconContentResponse wrapper for the UpdateListingRevisionIconContent operation
type UpdateListingRevisionIconContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevision instance
ListingRevision `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 (response UpdateListingRevisionIconContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateListingRevisionIconContentResponse) String() string
UpdateListingRevisionNoteDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
type UpdateListingRevisionNoteDetails struct {
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateListingRevisionNoteDetails) String() string
func (m UpdateListingRevisionNoteDetails) 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
UpdateListingRevisionNoteRequest wrapper for the UpdateListingRevisionNote operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionNote.go.html to see an example of how to use UpdateListingRevisionNoteRequest.
type UpdateListingRevisionNoteRequest struct {
// Unique listing revision note identifier.
ListingRevisionNoteId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionNoteId"`
// The listing revision information to be updated.
UpdateListingRevisionNoteDetails `contributesTo:"body"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateListingRevisionNoteRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateListingRevisionNoteRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateListingRevisionNoteRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateListingRevisionNoteRequest) String() string
func (request UpdateListingRevisionNoteRequest) 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
UpdateListingRevisionNoteResponse wrapper for the UpdateListingRevisionNote operation
type UpdateListingRevisionNoteResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionNote instance
ListingRevisionNote `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 (response UpdateListingRevisionNoteResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateListingRevisionNoteResponse) String() string
UpdateListingRevisionPackageDetails The model for an Oracle Cloud Infrastructure Marketplace Listing revison package.
type UpdateListingRevisionPackageDetails struct {
// The version for the package.
PackageVersion *string `mandatory:"false" json:"packageVersion"`
// The name for the listing revision package.
DisplayName *string `mandatory:"false" json:"displayName"`
// The description for this package.
Description *string `mandatory:"false" json:"description"`
// The unique identifier for the artifact.
ArtifactId *string `mandatory:"false" json:"artifactId"`
// The unique term identifier.
TermId *string `mandatory:"false" json:"termId"`
// Identifies that this will be default package for the listing revision.
IsDefault *bool `mandatory:"false" json:"isDefault"`
// Identifies whether security upgrades will be provided for this package.
AreSecurityUpgradesProvided *bool `mandatory:"false" json:"areSecurityUpgradesProvided"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateListingRevisionPackageDetails) String() string
func (m UpdateListingRevisionPackageDetails) 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
UpdateListingRevisionPackageRequest wrapper for the UpdateListingRevisionPackage operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionPackage.go.html to see an example of how to use UpdateListingRevisionPackageRequest.
type UpdateListingRevisionPackageRequest struct {
// Unique listing revision package identifier.
ListingRevisionPackageId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionPackageId"`
// The information to be updated.
UpdateListingRevisionPackageDetails `contributesTo:"body"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateListingRevisionPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateListingRevisionPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateListingRevisionPackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateListingRevisionPackageRequest) String() string
func (request UpdateListingRevisionPackageRequest) 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
UpdateListingRevisionPackageResponse wrapper for the UpdateListingRevisionPackage operation
type UpdateListingRevisionPackageResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevisionPackage instance
ListingRevisionPackage `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 (response UpdateListingRevisionPackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateListingRevisionPackageResponse) String() string
UpdateListingRevisionRequest wrapper for the UpdateListingRevision operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevision.go.html to see an example of how to use UpdateListingRevisionRequest.
type UpdateListingRevisionRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// The listing revision information to be updated.
UpdateListingRevisionDetails `contributesTo:"body"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateListingRevisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateListingRevisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateListingRevisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateListingRevisionRequest) String() string
func (request UpdateListingRevisionRequest) 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
UpdateListingRevisionResponse wrapper for the UpdateListingRevision operation
type UpdateListingRevisionResponse struct {
// The underlying http response
RawResponse *http.Response
// The ListingRevision instance
ListingRevision `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 (response UpdateListingRevisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateListingRevisionResponse) String() string
UpdateMachineImageArtifactDetails Details to update Machine Image Artifact.
type UpdateMachineImageArtifactDetails struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The display name for the artifact.
DisplayName *string `mandatory:"false" json:"displayName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
MachineImage *UpdateMachineImageDetails `mandatory:"false" json:"machineImage"`
}
func (m UpdateMachineImageArtifactDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m UpdateMachineImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateMachineImageArtifactDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateMachineImageArtifactDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateMachineImageArtifactDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateMachineImageArtifactDetails) String() string
func (m UpdateMachineImageArtifactDetails) 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
UpdateMachineImageDetails Machine image details required to update a Image artifact.
type UpdateMachineImageDetails struct {
// The OCID of source machine image.
SourceImageId *string `mandatory:"false" json:"sourceImageId"`
// The username for machine image.
Username *string `mandatory:"false" json:"username"`
// Identified if customer can take a snapshot of instance running on the machine image.
IsSnapshotAllowed *bool `mandatory:"false" json:"isSnapshotAllowed"`
// List of shape configurations supported by the image.
ImageShapeCompatibilityEntries []ImageShapeCompatibility `mandatory:"false" json:"imageShapeCompatibilityEntries"`
}
func (m UpdateMachineImageDetails) String() string
func (m UpdateMachineImageDetails) 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
UpdateOciListingRevisionDetails Listing revision update details for listings
type UpdateOciListingRevisionDetails struct {
// The name for the listing revision.
DisplayName *string `mandatory:"false" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"false" json:"headline"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated for the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`
// System requirements for the listing revision.
SystemRequirements *string `mandatory:"false" json:"systemRequirements"`
// List of Products subscribed by listing.
Products []ListingProduct `mandatory:"false" json:"products"`
// The url provided by partner for the registration of subscription.
PartnerRegistrationUrl *string `mandatory:"false" json:"partnerRegistrationUrl"`
// The unique id of the term attached to the listing.
TermId *string `mandatory:"false" json:"termId"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
// OCIDs of service listings attached to lead gen listing
RecommendedServiceProviderListingIds []string `mandatory:"false" json:"recommendedServiceProviderListingIds"`
// Listing availability and Pricing Policy statement.
AvailabilityAndPricingPolicy *string `mandatory:"false" json:"availabilityAndPricingPolicy"`
// List of Pricing Plans provider by publisher.
PricingPlans []PricingPlan `mandatory:"false" json:"pricingPlans"`
// Is this listing rover exportable
IsRoverExportable *bool `mandatory:"false" json:"isRoverExportable"`
// Url to demo of the listing
DemoUrl *string `mandatory:"false" json:"demoUrl"`
// Url to training resources of the listing
SelfPacedTrainingUrl *string `mandatory:"false" json:"selfPacedTrainingUrl"`
// The pricing model for the listing revision.
PricingType OciListingRevisionPricingTypeEnum `mandatory:"false" json:"pricingType,omitempty"`
}
func (m UpdateOciListingRevisionDetails) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m UpdateOciListingRevisionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateOciListingRevisionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateOciListingRevisionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateOciListingRevisionDetails) GetHeadline() *string
GetHeadline returns Headline
func (m UpdateOciListingRevisionDetails) GetKeywords() *string
GetKeywords returns Keywords
func (m UpdateOciListingRevisionDetails) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m UpdateOciListingRevisionDetails) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m UpdateOciListingRevisionDetails) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m UpdateOciListingRevisionDetails) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m UpdateOciListingRevisionDetails) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m UpdateOciListingRevisionDetails) GetTagline() *string
GetTagline returns Tagline
func (m UpdateOciListingRevisionDetails) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m UpdateOciListingRevisionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOciListingRevisionDetails) String() string
func (m *UpdateOciListingRevisionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateOciListingRevisionDetails) 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
UpdateRelatedDocumentAttachmentDetails Update Details of the related document attachment.
type UpdateRelatedDocumentAttachmentDetails struct {
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// The description for the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// The document URL of the listing revision attachment.
SourceUrl *string `mandatory:"false" json:"sourceUrl"`
// The document category of the listing revision attachment.
DocumentCategory RelatedDocumentAttachmentDocumentCategoryEnum `mandatory:"false" json:"documentCategory,omitempty"`
}
func (m UpdateRelatedDocumentAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateRelatedDocumentAttachmentDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateRelatedDocumentAttachmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateRelatedDocumentAttachmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateRelatedDocumentAttachmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateRelatedDocumentAttachmentDetails) String() string
func (m UpdateRelatedDocumentAttachmentDetails) 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
UpdateReviewSupportDocumentAttachment Reviewsupport document attachment for the listing revision.
type UpdateReviewSupportDocumentAttachment struct {
// Name of the review support document
DocumentName *string `mandatory:"true" json:"documentName"`
// Type of review support document
TemplateCode *string `mandatory:"true" json:"templateCode"`
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// The description for the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateReviewSupportDocumentAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateReviewSupportDocumentAttachment) GetDescription() *string
GetDescription returns Description
func (m UpdateReviewSupportDocumentAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateReviewSupportDocumentAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateReviewSupportDocumentAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateReviewSupportDocumentAttachment) String() string
func (m UpdateReviewSupportDocumentAttachment) 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
UpdateScreenShotAttachmentDetails Update details of the screenshot attachment.
type UpdateScreenShotAttachmentDetails struct {
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// The description for the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateScreenShotAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateScreenShotAttachmentDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateScreenShotAttachmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateScreenShotAttachmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateScreenShotAttachmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateScreenShotAttachmentDetails) String() string
func (m UpdateScreenShotAttachmentDetails) 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
UpdateServiceListingRevisionDetails Listing revision update details for listings
type UpdateServiceListingRevisionDetails struct {
// The name for the listing revision.
DisplayName *string `mandatory:"false" json:"displayName"`
// Single line introduction for the listing revision.
Headline *string `mandatory:"false" json:"headline"`
// The tagline for the listing revision.
Tagline *string `mandatory:"false" json:"tagline"`
// Keywords associated for the listing revision.
Keywords *string `mandatory:"false" json:"keywords"`
// A short description for the listing revision.
ShortDescription *string `mandatory:"false" json:"shortDescription"`
// Usage information for the listing revision.
UsageInformation *string `mandatory:"false" json:"usageInformation"`
// A long description for the listing revision.
LongDescription *string `mandatory:"false" json:"longDescription"`
ContentLanguage *LanguageItem `mandatory:"false" json:"contentLanguage"`
// Languages supported by the listing revision.
Supportedlanguages []LanguageItem `mandatory:"false" json:"supportedlanguages"`
// Contact information to use to get support from the publisher for the listing revision.
SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`
// Links to support resources for the listing revision.
SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Custom text by partner regarding contact information
ContactUs *string `mandatory:"false" json:"contactUs"`
// List of product codes subscribed by listing.
ProductCodes []string `mandatory:"false" json:"productCodes"`
// List of industries subscribed by listing.
Industries []string `mandatory:"false" json:"industries"`
// Number of trained professional per product
TrainedProfessionals []TrainedProfessionals `mandatory:"false" json:"trainedProfessionals"`
// Custom link to the listing
VanityUrl *string `mandatory:"false" json:"vanityUrl"`
// Support details based on geographic location
GeoLocations []GeoLocation `mandatory:"false" json:"geoLocations"`
}
func (m UpdateServiceListingRevisionDetails) GetContentLanguage() *LanguageItem
GetContentLanguage returns ContentLanguage
func (m UpdateServiceListingRevisionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateServiceListingRevisionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateServiceListingRevisionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateServiceListingRevisionDetails) GetHeadline() *string
GetHeadline returns Headline
func (m UpdateServiceListingRevisionDetails) GetKeywords() *string
GetKeywords returns Keywords
func (m UpdateServiceListingRevisionDetails) GetLongDescription() *string
GetLongDescription returns LongDescription
func (m UpdateServiceListingRevisionDetails) GetShortDescription() *string
GetShortDescription returns ShortDescription
func (m UpdateServiceListingRevisionDetails) GetSupportContacts() []SupportContact
GetSupportContacts returns SupportContacts
func (m UpdateServiceListingRevisionDetails) GetSupportLinks() []NamedLink
GetSupportLinks returns SupportLinks
func (m UpdateServiceListingRevisionDetails) GetSupportedlanguages() []LanguageItem
GetSupportedlanguages returns Supportedlanguages
func (m UpdateServiceListingRevisionDetails) GetTagline() *string
GetTagline returns Tagline
func (m UpdateServiceListingRevisionDetails) GetUsageInformation() *string
GetUsageInformation returns UsageInformation
func (m UpdateServiceListingRevisionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateServiceListingRevisionDetails) String() string
func (m UpdateServiceListingRevisionDetails) 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
UpdateStackArtifactDetails Details to update Stack Artifact.
type UpdateStackArtifactDetails struct {
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The display name for the artifact.
DisplayName *string `mandatory:"false" json:"displayName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Stack *UpdateStackDetails `mandatory:"false" json:"stack"`
}
func (m UpdateStackArtifactDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m UpdateStackArtifactDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateStackArtifactDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateStackArtifactDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateStackArtifactDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateStackArtifactDetails) String() string
func (m UpdateStackArtifactDetails) 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
UpdateStackDetails Stack details required to update a Stack artifact.
type UpdateStackDetails struct {
// The source stack OCID.
SourceStackId *string `mandatory:"false" json:"sourceStackId"`
// Image listing OCIDs that are referred in the Stack.
ImageListingIds []string `mandatory:"false" json:"imageListingIds"`
}
func (m UpdateStackDetails) String() string
func (m UpdateStackDetails) 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
UpdateSupportedServiceAttachment Supported services attachment for the listing revision.
type UpdateSupportedServiceAttachment struct {
// Name of the service
ServiceName *string `mandatory:"true" json:"serviceName"`
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// The description for the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Optional url to service information
Url *string `mandatory:"false" json:"url"`
// Type of service
Type SupportedServiceAttachmentTypeEnum `mandatory:"true" json:"type"`
// The specified attachment type is Internal or External.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
}
func (m UpdateSupportedServiceAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateSupportedServiceAttachment) GetDescription() *string
GetDescription returns Description
func (m UpdateSupportedServiceAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateSupportedServiceAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateSupportedServiceAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateSupportedServiceAttachment) String() string
func (m UpdateSupportedServiceAttachment) 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
UpdateTermDetails Details to update Marketplace Publisher term.
type UpdateTermDetails struct {
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateTermDetails) String() string
func (m UpdateTermDetails) 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
UpdateTermRequest wrapper for the UpdateTerm operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateTerm.go.html to see an example of how to use UpdateTermRequest.
type UpdateTermRequest struct {
// term OCID
TermId *string `mandatory:"true" contributesTo:"path" name:"termId"`
// The information to be updated.
UpdateTermDetails `contributesTo:"body"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateTermRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTermRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTermRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTermRequest) String() string
func (request UpdateTermRequest) 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
UpdateTermResponse wrapper for the UpdateTerm operation
type UpdateTermResponse struct {
// The underlying http response
RawResponse *http.Response
// The Term instance
Term `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 (response UpdateTermResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTermResponse) String() string
UpdateTermVersionContentRequest wrapper for the UpdateTermVersionContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateTermVersionContent.go.html to see an example of how to use UpdateTermVersionContentRequest.
type UpdateTermVersionContentRequest struct {
// term version OCID
TermVersionId *string `mandatory:"true" contributesTo:"path" name:"termVersionId"`
// The term attachment to upload.
UpdateTermVersionContent io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The name of the resource.
DisplayName *string `mandatory:"false" contributesTo:"header" name:"display-name"`
// 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 (request UpdateTermVersionContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTermVersionContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTermVersionContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTermVersionContentRequest) String() string
func (request UpdateTermVersionContentRequest) 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
UpdateTermVersionContentResponse wrapper for the UpdateTermVersionContent operation
type UpdateTermVersionContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The TermVersion instance
TermVersion `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 (response UpdateTermVersionContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTermVersionContentResponse) String() string
UpdateTermVersionDetails Details to update Marketplace Publisher term version.
type UpdateTermVersionDetails struct {
// The name for the term version.
DisplayName *string `mandatory:"false" json:"displayName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateTermVersionDetails) String() string
func (m UpdateTermVersionDetails) 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
UpdateTermVersionRequest wrapper for the UpdateTermVersion operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateTermVersion.go.html to see an example of how to use UpdateTermVersionRequest.
type UpdateTermVersionRequest struct {
// term version OCID
TermVersionId *string `mandatory:"true" contributesTo:"path" name:"termVersionId"`
// Term Version details to be updated.
UpdateTermVersionDetails `contributesTo:"body"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateTermVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTermVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTermVersionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTermVersionRequest) String() string
func (request UpdateTermVersionRequest) 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
UpdateTermVersionResponse wrapper for the UpdateTermVersion operation
type UpdateTermVersionResponse struct {
// The underlying http response
RawResponse *http.Response
// The TermVersion instance
TermVersion `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 (response UpdateTermVersionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTermVersionResponse) String() string
UpdateVideoAttachmentDetails Details of the video attachment.
type UpdateVideoAttachmentDetails struct {
// The name for the listing revision attachment.
DisplayName *string `mandatory:"false" json:"displayName"`
// The description for the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateVideoAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateVideoAttachmentDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateVideoAttachmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateVideoAttachmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateVideoAttachmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateVideoAttachmentDetails) String() string
func (m UpdateVideoAttachmentDetails) 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
UploadData The model for upload data for images and icons.
type UploadData struct {
// The name used to refer to the upload data.
Name *string `mandatory:"false" json:"name"`
// The content URL of the upload data.
ContentUrl *string `mandatory:"false" json:"contentUrl"`
// The MIME type of the upload data.
MimeType *string `mandatory:"false" json:"mimeType"`
}
func (m UploadData) String() string
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
UsageBasedPricingPlan Usage-based SaaS pricing plan where all billing is driven by dimensions.
type UsageBasedPricingPlan struct {
// List of pricing rates provider by publisher.
Rates []PricingRate `mandatory:"true" json:"rates"`
// The plan name.
Name *string `mandatory:"true" json:"name"`
// The plan description.
PlanDescription *string `mandatory:"true" json:"planDescription"`
// The usage dimensions that define billable usage for this plan.
Dimensions []UsageDimension `mandatory:"true" json:"dimensions"`
// Unique identifier of the pricing plan.
PricingPlanKey *string `mandatory:"false" json:"pricingPlanKey"`
// Additional metadata key/value pairs for the usage-based pricing.
ExtendedMetadata map[string]string `mandatory:"false" json:"extendedMetadata"`
// The plan billing frequency.
BillingFrequency UsageBasedPricingPlanBillingFrequencyEnum `mandatory:"true" json:"billingFrequency"`
// The plan duration.
PlanDuration UsageBasedPricingPlanPlanDurationEnum `mandatory:"false" json:"planDuration,omitempty"`
}
func (m UsageBasedPricingPlan) GetRates() []PricingRate
GetRates returns Rates
func (m UsageBasedPricingPlan) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UsageBasedPricingPlan) String() string
func (m UsageBasedPricingPlan) 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
UsageBasedPricingPlanBillingFrequencyEnum Enum with underlying type: string
type UsageBasedPricingPlanBillingFrequencyEnum string
Set of constants representing the allowable values for UsageBasedPricingPlanBillingFrequencyEnum
const (
UsageBasedPricingPlanBillingFrequencyMonthly UsageBasedPricingPlanBillingFrequencyEnum = "MONTHLY"
UsageBasedPricingPlanBillingFrequencyQuarterly UsageBasedPricingPlanBillingFrequencyEnum = "QUARTERLY"
UsageBasedPricingPlanBillingFrequencySemiAnnual UsageBasedPricingPlanBillingFrequencyEnum = "SEMI_ANNUAL"
UsageBasedPricingPlanBillingFrequencyAnnual UsageBasedPricingPlanBillingFrequencyEnum = "ANNUAL"
UsageBasedPricingPlanBillingFrequencyBiennial UsageBasedPricingPlanBillingFrequencyEnum = "BIENNIAL"
UsageBasedPricingPlanBillingFrequencyTriennial UsageBasedPricingPlanBillingFrequencyEnum = "TRIENNIAL"
)
func GetMappingUsageBasedPricingPlanBillingFrequencyEnum(val string) (UsageBasedPricingPlanBillingFrequencyEnum, bool)
GetMappingUsageBasedPricingPlanBillingFrequencyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUsageBasedPricingPlanBillingFrequencyEnumValues() []UsageBasedPricingPlanBillingFrequencyEnum
GetUsageBasedPricingPlanBillingFrequencyEnumValues Enumerates the set of values for UsageBasedPricingPlanBillingFrequencyEnum
UsageBasedPricingPlanPlanDurationEnum Enum with underlying type: string
type UsageBasedPricingPlanPlanDurationEnum string
Set of constants representing the allowable values for UsageBasedPricingPlanPlanDurationEnum
const (
UsageBasedPricingPlanPlanDurationMonthly UsageBasedPricingPlanPlanDurationEnum = "MONTHLY"
UsageBasedPricingPlanPlanDurationQuarterly UsageBasedPricingPlanPlanDurationEnum = "QUARTERLY"
UsageBasedPricingPlanPlanDurationSemiAnnual UsageBasedPricingPlanPlanDurationEnum = "SEMI_ANNUAL"
UsageBasedPricingPlanPlanDurationAnnual UsageBasedPricingPlanPlanDurationEnum = "ANNUAL"
UsageBasedPricingPlanPlanDurationBiennial UsageBasedPricingPlanPlanDurationEnum = "BIENNIAL"
UsageBasedPricingPlanPlanDurationTriennial UsageBasedPricingPlanPlanDurationEnum = "TRIENNIAL"
)
func GetMappingUsageBasedPricingPlanPlanDurationEnum(val string) (UsageBasedPricingPlanPlanDurationEnum, bool)
GetMappingUsageBasedPricingPlanPlanDurationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUsageBasedPricingPlanPlanDurationEnumValues() []UsageBasedPricingPlanPlanDurationEnum
GetUsageBasedPricingPlanPlanDurationEnumValues Enumerates the set of values for UsageBasedPricingPlanPlanDurationEnum
UsageDimension Usage dimension for usage-based or hybrid SaaS pricing.
type UsageDimension struct {
// The dimension name.
DimensionName *string `mandatory:"true" json:"dimensionName"`
// The dimension description.
DimensionDescription *string `mandatory:"true" json:"dimensionDescription"`
// The metric type used to measure usage for the dimension.
MetricType MetricTypeEnum `mandatory:"true" json:"metricType"`
// Billing frequency used for the dimension.
DimensionBillingFrequency UsageDimensionDimensionBillingFrequencyEnum `mandatory:"true" json:"dimensionBillingFrequency"`
// List of pricing rates provider by publisher for the dimension.
Rates []PricingRate `mandatory:"true" json:"rates"`
// Server-generated unique identifier for the usage dimension. If omitted in the request, it is generated automatically.
DimensionKey *string `mandatory:"false" json:"dimensionKey"`
// Included quantity before overage rates apply.
IncludedQuantity *float32 `mandatory:"false" json:"includedQuantity"`
// Additional metadata key/value pairs for the dimension.
AdditionalDetails map[string]string `mandatory:"false" json:"additionalDetails"`
}
func (m UsageDimension) String() string
func (m UsageDimension) 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
UsageDimensionDimensionBillingFrequencyEnum Enum with underlying type: string
type UsageDimensionDimensionBillingFrequencyEnum string
Set of constants representing the allowable values for UsageDimensionDimensionBillingFrequencyEnum
const (
UsageDimensionDimensionBillingFrequencyMonthly UsageDimensionDimensionBillingFrequencyEnum = "MONTHLY"
UsageDimensionDimensionBillingFrequencyQuarterly UsageDimensionDimensionBillingFrequencyEnum = "QUARTERLY"
UsageDimensionDimensionBillingFrequencySemiAnnual UsageDimensionDimensionBillingFrequencyEnum = "SEMI_ANNUAL"
UsageDimensionDimensionBillingFrequencyAnnual UsageDimensionDimensionBillingFrequencyEnum = "ANNUAL"
UsageDimensionDimensionBillingFrequencyBiennial UsageDimensionDimensionBillingFrequencyEnum = "BIENNIAL"
UsageDimensionDimensionBillingFrequencyTriennial UsageDimensionDimensionBillingFrequencyEnum = "TRIENNIAL"
)
func GetMappingUsageDimensionDimensionBillingFrequencyEnum(val string) (UsageDimensionDimensionBillingFrequencyEnum, bool)
GetMappingUsageDimensionDimensionBillingFrequencyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUsageDimensionDimensionBillingFrequencyEnumValues() []UsageDimensionDimensionBillingFrequencyEnum
GetUsageDimensionDimensionBillingFrequencyEnumValues Enumerates the set of values for UsageDimensionDimensionBillingFrequencyEnum
ValidateAndPublishArtifactRequest wrapper for the ValidateAndPublishArtifact operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ValidateAndPublishArtifact.go.html to see an example of how to use ValidateAndPublishArtifactRequest.
type ValidateAndPublishArtifactRequest struct {
// artifact OCID
ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ValidateAndPublishArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ValidateAndPublishArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ValidateAndPublishArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ValidateAndPublishArtifactRequest) String() string
func (request ValidateAndPublishArtifactRequest) 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
ValidateAndPublishArtifactResponse wrapper for the ValidateAndPublishArtifact operation
type ValidateAndPublishArtifactResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ValidateAndPublishArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ValidateAndPublishArtifactResponse) String() string
ValidationStatusEnum Enum with underlying type: string
type ValidationStatusEnum string
Set of constants representing the allowable values for ValidationStatusEnum
const (
ValidationStatusValidationInProgress ValidationStatusEnum = "VALIDATION_IN_PROGRESS"
ValidationStatusValidationFailed ValidationStatusEnum = "VALIDATION_FAILED"
ValidationStatusValidationCompleted ValidationStatusEnum = "VALIDATION_COMPLETED"
)
func GetMappingValidationStatusEnum(val string) (ValidationStatusEnum, bool)
GetMappingValidationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetValidationStatusEnumValues() []ValidationStatusEnum
GetValidationStatusEnumValues Enumerates the set of values for ValidationStatusEnum
VersionDetails A listing version provided by the Publisher.
type VersionDetails struct {
// The version number.
Number *string `mandatory:"true" json:"number"`
// The version description.
Description *string `mandatory:"true" json:"description"`
// The version release date.
ReleaseDate *string `mandatory:"true" json:"releaseDate"`
}
func (m VersionDetails) String() string
func (m VersionDetails) 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
VideoAttachment Video attachment for the listing revision.
type VideoAttachment struct {
// Unique OCID identifier for the listing revision attachment.
Id *string `mandatory:"true" json:"id"`
// The unique identifier for the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The unique identifier of the listing revision that the specified attachment belongs to.
ListingRevisionId *string `mandatory:"true" json:"listingRevisionId"`
// Name of the listing revision attachment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the attachment was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the attachment was updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The URL for the video.
ContentUrl *string `mandatory:"true" json:"contentUrl"`
// Description of the listing revision attachment.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.
SourceType ListingRevisionAttachmentSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
// The current state of the attachment.
LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m VideoAttachment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VideoAttachment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VideoAttachment) GetDescription() *string
GetDescription returns Description
func (m VideoAttachment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VideoAttachment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VideoAttachment) GetId() *string
GetId returns Id
func (m VideoAttachment) GetLifecycleState() ListingRevisionAttachmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VideoAttachment) GetListingRevisionId() *string
GetListingRevisionId returns ListingRevisionId
func (m VideoAttachment) GetSourceType() ListingRevisionAttachmentSourceTypeEnum
GetSourceType returns SourceType
func (m VideoAttachment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VideoAttachment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VideoAttachment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m VideoAttachment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VideoAttachment) String() string
func (m VideoAttachment) 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
WithdrawListingRevisionRequest wrapper for the WithdrawListingRevision operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/WithdrawListingRevision.go.html to see an example of how to use WithdrawListingRevisionRequest.
type WithdrawListingRevisionRequest struct {
// listing revision
ListingRevisionId *string `mandatory:"true" contributesTo:"path" name:"listingRevisionId"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request WithdrawListingRevisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request WithdrawListingRevisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request WithdrawListingRevisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request WithdrawListingRevisionRequest) String() string
func (request WithdrawListingRevisionRequest) 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
WithdrawListingRevisionResponse wrapper for the WithdrawListingRevision operation
type WithdrawListingRevisionResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response WithdrawListingRevisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response WithdrawListingRevisionResponse) String() string
WorkRequest A description of workrequest status
type WorkRequest 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. If the work request affects multiple resources,
// and those resources are not in the same compartment, it is up to the service team to pick the primary
// resource whose compartment should be used
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// 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 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"`
}
func (m WorkRequest) String() string
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
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct {
// A machine-usable code for the error that occured. Error codes are listed on
// (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm)
Code *string `mandatory:"true" json:"code"`
// A human readable description of the issue encountered.
Message *string `mandatory:"true" json:"message"`
// The time the error occured. An RFC3339 formatted datetime string.
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
func (m WorkRequestError) String() string
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
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
type WorkRequestErrorCollection struct {
// List of workRequestError objects.
Items []WorkRequestError `mandatory:"true" json:"items"`
}
func (m WorkRequestErrorCollection) String() string
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
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct {
// Human-readable log message.
Message *string `mandatory:"true" json:"message"`
// The time the log message was written. An RFC3339 formatted datetime string
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
func (m WorkRequestLogEntry) String() string
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
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
type WorkRequestLogEntryCollection struct {
// List of workRequestLogEntries.
Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}
func (m WorkRequestLogEntryCollection) String() string
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
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct {
// The resource type the work request affects.
EntityType *string `mandatory:"true" json:"entityType"`
// The way in which this resource is affected by the work tracked in the work request.
// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
// work is complete for that resource at which point it will transition to CREATED, UPDATED,
// or DELETED, respectively.
ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`
// The identifier of the resource 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 that helps to explain the resource.
Metadata map[string]string `mandatory:"false" json:"metadata"`
}
func (m WorkRequestResource) String() string
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
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
type WorkRequestResourceMetadataKeyEnum string
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
const (
WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
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. If the work request affects multiple resources,
// and those resources are not in the same compartment, it is up to the service team to pick the primary
// resource whose compartment should be used
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// 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 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"`
}
func (m WorkRequestSummary) String() string
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
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
type WorkRequestSummaryCollection struct {
// List of workRequestSummary objects.
Items []WorkRequestSummary `mandatory:"true" json:"items"`
}
func (m WorkRequestSummaryCollection) String() string
func (m WorkRequestSummaryCollection) 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