marketplacepublisher

package
v65.63.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetArtifactLifecycleStateEnumStringValues

func GetArtifactLifecycleStateEnumStringValues() []string

GetArtifactLifecycleStateEnumStringValues Enumerates the set of values in String for ArtifactLifecycleStateEnum

func GetArtifactStatusEnumStringValues

func GetArtifactStatusEnumStringValues() []string

GetArtifactStatusEnumStringValues Enumerates the set of values in String for ArtifactStatusEnum

func GetArtifactTypeEnumEnumStringValues

func GetArtifactTypeEnumEnumStringValues() []string

GetArtifactTypeEnumEnumStringValues Enumerates the set of values in String for ArtifactTypeEnumEnum

func GetCategoryLifecycleStateEnumStringValues

func GetCategoryLifecycleStateEnumStringValues() []string

GetCategoryLifecycleStateEnumStringValues Enumerates the set of values in String for CategoryLifecycleStateEnum

func GetListArtifactsSortByEnumStringValues

func GetListArtifactsSortByEnumStringValues() []string

GetListArtifactsSortByEnumStringValues Enumerates the set of values in String for ListArtifactsSortByEnum

func GetListArtifactsSortOrderEnumStringValues

func GetListArtifactsSortOrderEnumStringValues() []string

GetListArtifactsSortOrderEnumStringValues Enumerates the set of values in String for ListArtifactsSortOrderEnum

func GetListCategoriesSortByEnumStringValues

func GetListCategoriesSortByEnumStringValues() []string

GetListCategoriesSortByEnumStringValues Enumerates the set of values in String for ListCategoriesSortByEnum

func GetListCategoriesSortOrderEnumStringValues

func GetListCategoriesSortOrderEnumStringValues() []string

GetListCategoriesSortOrderEnumStringValues Enumerates the set of values in String for ListCategoriesSortOrderEnum

func GetListListingRevisionAttachmentsSortByEnumStringValues

func GetListListingRevisionAttachmentsSortByEnumStringValues() []string

GetListListingRevisionAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListListingRevisionAttachmentsSortByEnum

func GetListListingRevisionAttachmentsSortOrderEnumStringValues

func GetListListingRevisionAttachmentsSortOrderEnumStringValues() []string

GetListListingRevisionAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListListingRevisionAttachmentsSortOrderEnum

func GetListListingRevisionNotesSortByEnumStringValues

func GetListListingRevisionNotesSortByEnumStringValues() []string

GetListListingRevisionNotesSortByEnumStringValues Enumerates the set of values in String for ListListingRevisionNotesSortByEnum

func GetListListingRevisionNotesSortOrderEnumStringValues

func GetListListingRevisionNotesSortOrderEnumStringValues() []string

GetListListingRevisionNotesSortOrderEnumStringValues Enumerates the set of values in String for ListListingRevisionNotesSortOrderEnum

func GetListListingRevisionPackagesSortByEnumStringValues

func GetListListingRevisionPackagesSortByEnumStringValues() []string

GetListListingRevisionPackagesSortByEnumStringValues Enumerates the set of values in String for ListListingRevisionPackagesSortByEnum

func GetListListingRevisionPackagesSortOrderEnumStringValues

func GetListListingRevisionPackagesSortOrderEnumStringValues() []string

GetListListingRevisionPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListListingRevisionPackagesSortOrderEnum

func GetListListingRevisionsSortByEnumStringValues

func GetListListingRevisionsSortByEnumStringValues() []string

GetListListingRevisionsSortByEnumStringValues Enumerates the set of values in String for ListListingRevisionsSortByEnum

func GetListListingRevisionsSortOrderEnumStringValues

func GetListListingRevisionsSortOrderEnumStringValues() []string

GetListListingRevisionsSortOrderEnumStringValues Enumerates the set of values in String for ListListingRevisionsSortOrderEnum

func GetListListingsSortByEnumStringValues

func GetListListingsSortByEnumStringValues() []string

GetListListingsSortByEnumStringValues Enumerates the set of values in String for ListListingsSortByEnum

func GetListListingsSortOrderEnumStringValues

func GetListListingsSortOrderEnumStringValues() []string

GetListListingsSortOrderEnumStringValues Enumerates the set of values in String for ListListingsSortOrderEnum

func GetListMarketsSortByEnumStringValues

func GetListMarketsSortByEnumStringValues() []string

GetListMarketsSortByEnumStringValues Enumerates the set of values in String for ListMarketsSortByEnum

func GetListMarketsSortOrderEnumStringValues

func GetListMarketsSortOrderEnumStringValues() []string

GetListMarketsSortOrderEnumStringValues Enumerates the set of values in String for ListMarketsSortOrderEnum

func GetListProductsSortByEnumStringValues

func GetListProductsSortByEnumStringValues() []string

GetListProductsSortByEnumStringValues Enumerates the set of values in String for ListProductsSortByEnum

func GetListProductsSortOrderEnumStringValues

func GetListProductsSortOrderEnumStringValues() []string

GetListProductsSortOrderEnumStringValues Enumerates the set of values in String for ListProductsSortOrderEnum

func GetListPublishersSortByEnumStringValues

func GetListPublishersSortByEnumStringValues() []string

GetListPublishersSortByEnumStringValues Enumerates the set of values in String for ListPublishersSortByEnum

func GetListPublishersSortOrderEnumStringValues

func GetListPublishersSortOrderEnumStringValues() []string

GetListPublishersSortOrderEnumStringValues Enumerates the set of values in String for ListPublishersSortOrderEnum

func GetListTermVersionsSortByEnumStringValues

func GetListTermVersionsSortByEnumStringValues() []string

GetListTermVersionsSortByEnumStringValues Enumerates the set of values in String for ListTermVersionsSortByEnum

func GetListTermVersionsSortOrderEnumStringValues

func GetListTermVersionsSortOrderEnumStringValues() []string

GetListTermVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListTermVersionsSortOrderEnum

func GetListTermsSortByEnumStringValues

func GetListTermsSortByEnumStringValues() []string

GetListTermsSortByEnumStringValues Enumerates the set of values in String for ListTermsSortByEnum

func GetListTermsSortOrderEnumStringValues

func GetListTermsSortOrderEnumStringValues() []string

GetListTermsSortOrderEnumStringValues Enumerates the set of values in String for ListTermsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetListingLifecycleStateEnumStringValues

func GetListingLifecycleStateEnumStringValues() []string

GetListingLifecycleStateEnumStringValues Enumerates the set of values in String for ListingLifecycleStateEnum

func GetListingRevisionAttachmentAttachmentTypeEnumStringValues

func GetListingRevisionAttachmentAttachmentTypeEnumStringValues() []string

GetListingRevisionAttachmentAttachmentTypeEnumStringValues Enumerates the set of values in String for ListingRevisionAttachmentAttachmentTypeEnum

func GetListingRevisionAttachmentLifecycleStateEnumStringValues

func GetListingRevisionAttachmentLifecycleStateEnumStringValues() []string

GetListingRevisionAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for ListingRevisionAttachmentLifecycleStateEnum

func GetListingRevisionLifecycleStateEnumStringValues

func GetListingRevisionLifecycleStateEnumStringValues() []string

GetListingRevisionLifecycleStateEnumStringValues Enumerates the set of values in String for ListingRevisionLifecycleStateEnum

func GetListingRevisionNoteLifecycleStateEnumStringValues

func GetListingRevisionNoteLifecycleStateEnumStringValues() []string

GetListingRevisionNoteLifecycleStateEnumStringValues Enumerates the set of values in String for ListingRevisionNoteLifecycleStateEnum

func GetListingRevisionNoteNoteSourceEnumStringValues

func GetListingRevisionNoteNoteSourceEnumStringValues() []string

GetListingRevisionNoteNoteSourceEnumStringValues Enumerates the set of values in String for ListingRevisionNoteNoteSourceEnum

func GetListingRevisionPackageLifecycleStateEnumStringValues

func GetListingRevisionPackageLifecycleStateEnumStringValues() []string

GetListingRevisionPackageLifecycleStateEnumStringValues Enumerates the set of values in String for ListingRevisionPackageLifecycleStateEnum

func GetListingRevisionPackageStatusEnumStringValues

func GetListingRevisionPackageStatusEnumStringValues() []string

GetListingRevisionPackageStatusEnumStringValues Enumerates the set of values in String for ListingRevisionPackageStatusEnum

func GetListingRevisionPricingTypeEnumStringValues

func GetListingRevisionPricingTypeEnumStringValues() []string

GetListingRevisionPricingTypeEnumStringValues Enumerates the set of values in String for ListingRevisionPricingTypeEnum

func GetListingRevisionStatusEnumStringValues

func GetListingRevisionStatusEnumStringValues() []string

GetListingRevisionStatusEnumStringValues Enumerates the set of values in String for ListingRevisionStatusEnum

func GetListingTypeEnumStringValues

func GetListingTypeEnumStringValues() []string

GetListingTypeEnumStringValues Enumerates the set of values in String for ListingTypeEnum

func GetMarketLifecycleStateEnumStringValues

func GetMarketLifecycleStateEnumStringValues() []string

GetMarketLifecycleStateEnumStringValues Enumerates the set of values in String for MarketLifecycleStateEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetOpnMembershipOpnStatusEnumStringValues

func GetOpnMembershipOpnStatusEnumStringValues() []string

GetOpnMembershipOpnStatusEnumStringValues Enumerates the set of values in String for OpnMembershipOpnStatusEnum

func GetPackageTypeEnumStringValues

func GetPackageTypeEnumStringValues() []string

GetPackageTypeEnumStringValues Enumerates the set of values in String for PackageTypeEnum

func GetProductLifecycleStateEnumStringValues

func GetProductLifecycleStateEnumStringValues() []string

GetProductLifecycleStateEnumStringValues Enumerates the set of values in String for ProductLifecycleStateEnum

func GetPublicationStatusEnumStringValues

func GetPublicationStatusEnumStringValues() []string

GetPublicationStatusEnumStringValues Enumerates the set of values in String for PublicationStatusEnum

func GetPublisherPublisherStatusEnumStringValues

func GetPublisherPublisherStatusEnumStringValues() []string

GetPublisherPublisherStatusEnumStringValues Enumerates the set of values in String for PublisherPublisherStatusEnum

func GetPublisherPublisherTypeEnumStringValues

func GetPublisherPublisherTypeEnumStringValues() []string

GetPublisherPublisherTypeEnumStringValues Enumerates the set of values in String for PublisherPublisherTypeEnum

func GetPublisherSummaryPublisherTypeEnumStringValues

func GetPublisherSummaryPublisherTypeEnumStringValues() []string

GetPublisherSummaryPublisherTypeEnumStringValues Enumerates the set of values in String for PublisherSummaryPublisherTypeEnum

func GetRelatedDocumentAttachmentDocumentCategoryEnumStringValues

func GetRelatedDocumentAttachmentDocumentCategoryEnumStringValues() []string

GetRelatedDocumentAttachmentDocumentCategoryEnumStringValues Enumerates the set of values in String for RelatedDocumentAttachmentDocumentCategoryEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetTermAuthorEnumStringValues

func GetTermAuthorEnumStringValues() []string

GetTermAuthorEnumStringValues Enumerates the set of values in String for TermAuthorEnum

func GetTermLifecycleStateEnumStringValues

func GetTermLifecycleStateEnumStringValues() []string

GetTermLifecycleStateEnumStringValues Enumerates the set of values in String for TermLifecycleStateEnum

func GetTermVersionLifecycleStateEnumStringValues

func GetTermVersionLifecycleStateEnumStringValues() []string

GetTermVersionLifecycleStateEnumStringValues Enumerates the set of values in String for TermVersionLifecycleStateEnum

func GetTermVersionStatusEnumStringValues

func GetTermVersionStatusEnumStringValues() []string

GetTermVersionStatusEnumStringValues Enumerates the set of values in String for TermVersionStatusEnum

func GetValidationStatusEnumStringValues

func GetValidationStatusEnumStringValues() []string

GetValidationStatusEnumStringValues Enumerates the set of values in String for ValidationStatusEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

Types

type ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

const (
	ActionTypeCreated    ActionTypeEnum = "CREATED"
	ActionTypeUpdated    ActionTypeEnum = "UPDATED"
	ActionTypeDeleted    ActionTypeEnum = "DELETED"
	ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
	ActionTypeRelated    ActionTypeEnum = "RELATED"
	ActionTypeFailed     ActionTypeEnum = "FAILED"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type 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
}

ActivateTermVersionRequest wrapper for the ActivateTermVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ActivateTermVersion.go.html to see an example of how to use ActivateTermVersionRequest.

func (ActivateTermVersionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ActivateTermVersionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ActivateTermVersionRequest) RetryPolicy

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

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

func (ActivateTermVersionRequest) String

func (request ActivateTermVersionRequest) String() string

func (ActivateTermVersionRequest) ValidateEnumValue

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

type ActivateTermVersionResponse

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

ActivateTermVersionResponse wrapper for the ActivateTermVersion operation

func (ActivateTermVersionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ActivateTermVersionResponse) String

func (response ActivateTermVersionResponse) String() string

type Artifact

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{}
}

Artifact Base model object for the artifacts.

type ArtifactCollection

type ArtifactCollection struct {

	// List of artifact summary.
	Items []ArtifactSummary `mandatory:"true" json:"items"`
}

ArtifactCollection Results of the artifact search. Contains the artifact items.

func (ArtifactCollection) String

func (m ArtifactCollection) String() string

func (ArtifactCollection) ValidateEnumValue

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

type ArtifactLifecycleStateEnum

type ArtifactLifecycleStateEnum string

ArtifactLifecycleStateEnum Enum with underlying type: string

const (
	ArtifactLifecycleStateCreating ArtifactLifecycleStateEnum = "CREATING"
	ArtifactLifecycleStateUpdating ArtifactLifecycleStateEnum = "UPDATING"
	ArtifactLifecycleStateActive   ArtifactLifecycleStateEnum = "ACTIVE"
	ArtifactLifecycleStateDeleting ArtifactLifecycleStateEnum = "DELETING"
	ArtifactLifecycleStateDeleted  ArtifactLifecycleStateEnum = "DELETED"
	ArtifactLifecycleStateFailed   ArtifactLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ArtifactLifecycleStateEnum

func GetArtifactLifecycleStateEnumValues

func GetArtifactLifecycleStateEnumValues() []ArtifactLifecycleStateEnum

GetArtifactLifecycleStateEnumValues Enumerates the set of values for ArtifactLifecycleStateEnum

func GetMappingArtifactLifecycleStateEnum

func GetMappingArtifactLifecycleStateEnum(val string) (ArtifactLifecycleStateEnum, bool)

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

type ArtifactStatusEnum

type ArtifactStatusEnum string

ArtifactStatusEnum Enum with underlying type: string

const (
	ArtifactStatusInProgress  ArtifactStatusEnum = "IN_PROGRESS"
	ArtifactStatusAvailable   ArtifactStatusEnum = "AVAILABLE"
	ArtifactStatusUnavailable ArtifactStatusEnum = "UNAVAILABLE"
)

Set of constants representing the allowable values for ArtifactStatusEnum

func GetArtifactStatusEnumValues

func GetArtifactStatusEnumValues() []ArtifactStatusEnum

GetArtifactStatusEnumValues Enumerates the set of values for ArtifactStatusEnum

func GetMappingArtifactStatusEnum

func GetMappingArtifactStatusEnum(val string) (ArtifactStatusEnum, bool)

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

type ArtifactSummary

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

ArtifactSummary The model for the artifact summary.

func (ArtifactSummary) String

func (m ArtifactSummary) String() string

func (ArtifactSummary) ValidateEnumValue

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

type ArtifactTypeEnumEnum

type ArtifactTypeEnumEnum string

ArtifactTypeEnumEnum Enum with underlying type: string

const (
	ArtifactTypeEnumContainerImage ArtifactTypeEnumEnum = "CONTAINER_IMAGE"
	ArtifactTypeEnumHelmChart      ArtifactTypeEnumEnum = "HELM_CHART"
)

Set of constants representing the allowable values for ArtifactTypeEnumEnum

func GetArtifactTypeEnumEnumValues

func GetArtifactTypeEnumEnumValues() []ArtifactTypeEnumEnum

GetArtifactTypeEnumEnumValues Enumerates the set of values for ArtifactTypeEnumEnum

func GetMappingArtifactTypeEnumEnum

func GetMappingArtifactTypeEnumEnum(val string) (ArtifactTypeEnumEnum, bool)

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

type 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
}

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.

func (CancelWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy

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

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

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

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

type CancelWorkRequestResponse

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

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type 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
}

CascadingDeleteListingRequest wrapper for the CascadingDeleteListing operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CascadingDeleteListing.go.html to see an example of how to use CascadingDeleteListingRequest.

func (CascadingDeleteListingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CascadingDeleteListingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CascadingDeleteListingRequest) RetryPolicy

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

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

func (CascadingDeleteListingRequest) String

func (request CascadingDeleteListingRequest) String() string

func (CascadingDeleteListingRequest) ValidateEnumValue

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

type CascadingDeleteListingResponse

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

CascadingDeleteListingResponse wrapper for the CascadingDeleteListing operation

func (CascadingDeleteListingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CascadingDeleteListingResponse) String

func (response CascadingDeleteListingResponse) String() string

type 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
}

CascadingDeleteListingRevisionRequest wrapper for the CascadingDeleteListingRevision operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CascadingDeleteListingRevision.go.html to see an example of how to use CascadingDeleteListingRevisionRequest.

func (CascadingDeleteListingRevisionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CascadingDeleteListingRevisionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CascadingDeleteListingRevisionRequest) RetryPolicy

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

func (CascadingDeleteListingRevisionRequest) String

func (CascadingDeleteListingRevisionRequest) ValidateEnumValue

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

type CascadingDeleteListingRevisionResponse

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

CascadingDeleteListingRevisionResponse wrapper for the CascadingDeleteListingRevision operation

func (CascadingDeleteListingRevisionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CascadingDeleteListingRevisionResponse) String

type Category

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

Category The model for the category details.

func (Category) String

func (m Category) String() string

func (Category) ValidateEnumValue

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

type CategoryCollection

type CategoryCollection struct {

	// List of category summary.
	Items []CategorySummary `mandatory:"true" json:"items"`
}

CategoryCollection Results of a category search. Contains the category items.

func (CategoryCollection) String

func (m CategoryCollection) String() string

func (CategoryCollection) ValidateEnumValue

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

type CategoryLifecycleStateEnum

type CategoryLifecycleStateEnum string

CategoryLifecycleStateEnum Enum with underlying type: string

const (
	CategoryLifecycleStateActive   CategoryLifecycleStateEnum = "ACTIVE"
	CategoryLifecycleStateInactive CategoryLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for CategoryLifecycleStateEnum

func GetCategoryLifecycleStateEnumValues

func GetCategoryLifecycleStateEnumValues() []CategoryLifecycleStateEnum

GetCategoryLifecycleStateEnumValues Enumerates the set of values for CategoryLifecycleStateEnum

func GetMappingCategoryLifecycleStateEnum

func GetMappingCategoryLifecycleStateEnum(val string) (CategoryLifecycleStateEnum, bool)

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

type CategorySummary

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

CategorySummary The model for the category summary.

func (CategorySummary) String

func (m CategorySummary) String() string

func (CategorySummary) ValidateEnumValue

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

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

type ChangeArtifactCompartmentDetails

type ChangeArtifactCompartmentDetails struct {

	// The unique identifier of the compartment for the artifact.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeArtifactCompartmentDetails Contains details indicating which compartment the artifact should move to.

func (ChangeArtifactCompartmentDetails) String

func (ChangeArtifactCompartmentDetails) ValidateEnumValue

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

type 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
}

ChangeArtifactCompartmentRequest wrapper for the ChangeArtifactCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeArtifactCompartment.go.html to see an example of how to use ChangeArtifactCompartmentRequest.

func (ChangeArtifactCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeArtifactCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeArtifactCompartmentRequest) RetryPolicy

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

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

func (ChangeArtifactCompartmentRequest) String

func (request ChangeArtifactCompartmentRequest) String() string

func (ChangeArtifactCompartmentRequest) ValidateEnumValue

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

type ChangeArtifactCompartmentResponse

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

ChangeArtifactCompartmentResponse wrapper for the ChangeArtifactCompartment operation

func (ChangeArtifactCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeArtifactCompartmentResponse) String

func (response ChangeArtifactCompartmentResponse) String() string

type ChangeListingCompartmentDetails

type ChangeListingCompartmentDetails struct {

	// The id of the compartment which the listing should be moved.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeListingCompartmentDetails Contains details indicating which compartment the listing should move to.

func (ChangeListingCompartmentDetails) String

func (ChangeListingCompartmentDetails) ValidateEnumValue

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

type 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
}

ChangeListingCompartmentRequest wrapper for the ChangeListingCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeListingCompartment.go.html to see an example of how to use ChangeListingCompartmentRequest.

func (ChangeListingCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeListingCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeListingCompartmentRequest) RetryPolicy

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

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

func (ChangeListingCompartmentRequest) String

func (request ChangeListingCompartmentRequest) String() string

func (ChangeListingCompartmentRequest) ValidateEnumValue

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

type ChangeListingCompartmentResponse

type ChangeListingCompartmentResponse 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"`
}

ChangeListingCompartmentResponse wrapper for the ChangeListingCompartment operation

func (ChangeListingCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeListingCompartmentResponse) String

func (response ChangeListingCompartmentResponse) String() string

type 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
}

ChangeListingRevisionToNewStatusRequest wrapper for the ChangeListingRevisionToNewStatus operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeListingRevisionToNewStatus.go.html to see an example of how to use ChangeListingRevisionToNewStatusRequest.

func (ChangeListingRevisionToNewStatusRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeListingRevisionToNewStatusRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeListingRevisionToNewStatusRequest) RetryPolicy

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

func (ChangeListingRevisionToNewStatusRequest) String

func (ChangeListingRevisionToNewStatusRequest) ValidateEnumValue

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

type ChangeListingRevisionToNewStatusResponse

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

ChangeListingRevisionToNewStatusResponse wrapper for the ChangeListingRevisionToNewStatus operation

func (ChangeListingRevisionToNewStatusResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeListingRevisionToNewStatusResponse) String

type ChangeTermCompartmentDetails

type ChangeTermCompartmentDetails struct {

	// The id of the compartment which the term should be moved.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeTermCompartmentDetails Contains details indicating which compartment the term should move to

func (ChangeTermCompartmentDetails) String

func (ChangeTermCompartmentDetails) ValidateEnumValue

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

type 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
}

ChangeTermCompartmentRequest wrapper for the ChangeTermCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ChangeTermCompartment.go.html to see an example of how to use ChangeTermCompartmentRequest.

func (ChangeTermCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeTermCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeTermCompartmentRequest) RetryPolicy

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

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

func (ChangeTermCompartmentRequest) String

func (request ChangeTermCompartmentRequest) String() string

func (ChangeTermCompartmentRequest) ValidateEnumValue

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

type ChangeTermCompartmentResponse

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

ChangeTermCompartmentResponse wrapper for the ChangeTermCompartment operation

func (ChangeTermCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeTermCompartmentResponse) String

func (response ChangeTermCompartmentResponse) String() string

type 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
}

CloneListingRevisionRequest wrapper for the CloneListingRevision operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CloneListingRevision.go.html to see an example of how to use CloneListingRevisionRequest.

func (CloneListingRevisionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CloneListingRevisionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CloneListingRevisionRequest) RetryPolicy

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

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

func (CloneListingRevisionRequest) String

func (request CloneListingRevisionRequest) String() string

func (CloneListingRevisionRequest) ValidateEnumValue

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

type CloneListingRevisionResponse

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

CloneListingRevisionResponse wrapper for the CloneListingRevision operation

func (CloneListingRevisionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CloneListingRevisionResponse) String

func (response CloneListingRevisionResponse) String() string

type ContainerImageArtifact

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

ContainerImageArtifact Container Image artifact details.

func (ContainerImageArtifact) GetCompartmentId

func (m ContainerImageArtifact) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ContainerImageArtifact) GetDefinedTags

func (m ContainerImageArtifact) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ContainerImageArtifact) GetDisplayName

func (m ContainerImageArtifact) GetDisplayName() *string

GetDisplayName returns DisplayName

func (ContainerImageArtifact) GetFreeformTags

func (m ContainerImageArtifact) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (ContainerImageArtifact) GetId

func (m ContainerImageArtifact) GetId() *string

GetId returns Id

func (ContainerImageArtifact) GetLifecycleState

func (m ContainerImageArtifact) GetLifecycleState() ArtifactLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (ContainerImageArtifact) GetPublisherId

func (m ContainerImageArtifact) GetPublisherId() *string

GetPublisherId returns PublisherId

func (ContainerImageArtifact) GetStatus

GetStatus returns Status

func (ContainerImageArtifact) GetStatusNotes

func (m ContainerImageArtifact) GetStatusNotes() *string

GetStatusNotes returns StatusNotes

func (ContainerImageArtifact) GetSystemTags

func (m ContainerImageArtifact) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (ContainerImageArtifact) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (ContainerImageArtifact) GetTimeUpdated

func (m ContainerImageArtifact) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ContainerImageArtifact) MarshalJSON

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

MarshalJSON marshals to json representation

func (ContainerImageArtifact) String

func (m ContainerImageArtifact) String() string

func (ContainerImageArtifact) ValidateEnumValue

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

type ContainerImageDetails

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

ContainerImageDetails Container Image details.

func (ContainerImageDetails) String

func (m ContainerImageDetails) String() string

func (ContainerImageDetails) ValidateEnumValue

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

type ContainerPackage

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

ContainerPackage A package for container image listings.

func (ContainerPackage) GetAreSecurityUpgradesProvided

func (m ContainerPackage) GetAreSecurityUpgradesProvided() *bool

GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided

func (ContainerPackage) GetArtifactId

func (m ContainerPackage) GetArtifactId() *string

GetArtifactId returns ArtifactId

func (ContainerPackage) GetCompartmentId

func (m ContainerPackage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ContainerPackage) GetDefinedTags

func (m ContainerPackage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ContainerPackage) GetDescription

func (m ContainerPackage) GetDescription() *string

GetDescription returns Description

func (ContainerPackage) GetDisplayName

func (m ContainerPackage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (ContainerPackage) GetExtendedMetadata

func (m ContainerPackage) GetExtendedMetadata() map[string]string

GetExtendedMetadata returns ExtendedMetadata

func (ContainerPackage) GetFreeformTags

func (m ContainerPackage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (ContainerPackage) GetId

func (m ContainerPackage) GetId() *string

GetId returns Id

func (ContainerPackage) GetIsDefault

func (m ContainerPackage) GetIsDefault() *bool

GetIsDefault returns IsDefault

func (ContainerPackage) GetLifecycleState

GetLifecycleState returns LifecycleState

func (ContainerPackage) GetListingRevisionId

func (m ContainerPackage) GetListingRevisionId() *string

GetListingRevisionId returns ListingRevisionId

func (ContainerPackage) GetPackageVersion

func (m ContainerPackage) GetPackageVersion() *string

GetPackageVersion returns PackageVersion

func (ContainerPackage) GetStatus

GetStatus returns Status

func (ContainerPackage) GetSystemTags

func (m ContainerPackage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (ContainerPackage) GetTermId

func (m ContainerPackage) GetTermId() *string

GetTermId returns TermId

func (ContainerPackage) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (ContainerPackage) GetTimeUpdated

func (m ContainerPackage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ContainerPackage) MarshalJSON

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

MarshalJSON marshals to json representation

func (ContainerPackage) String

func (m ContainerPackage) String() string

func (ContainerPackage) ValidateEnumValue

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

type CreateArtifactDetails

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{}
}

CreateArtifactDetails Common Details to create Marketplace Publisher artifact.

type 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
}

CreateArtifactRequest wrapper for the CreateArtifact operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateArtifact.go.html to see an example of how to use CreateArtifactRequest.

func (CreateArtifactRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateArtifactRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateArtifactRequest) RetryPolicy

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

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

func (CreateArtifactRequest) String

func (request CreateArtifactRequest) String() string

func (CreateArtifactRequest) ValidateEnumValue

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

type CreateArtifactResponse

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

CreateArtifactResponse wrapper for the CreateArtifact operation

func (CreateArtifactResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateArtifactResponse) String

func (response CreateArtifactResponse) String() string

type CreateContainerImageArtifactDetails

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

CreateContainerImageArtifactDetails Details to create a new container image artifact.

func (CreateContainerImageArtifactDetails) GetCompartmentId

func (m CreateContainerImageArtifactDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateContainerImageArtifactDetails) GetDefinedTags

func (m CreateContainerImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateContainerImageArtifactDetails) GetDisplayName

func (m CreateContainerImageArtifactDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateContainerImageArtifactDetails) GetFreeformTags

func (m CreateContainerImageArtifactDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateContainerImageArtifactDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateContainerImageArtifactDetails) String

func (CreateContainerImageArtifactDetails) ValidateEnumValue

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

type CreateContainerImageDetails

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

CreateContainerImageDetails Container image details required to create a container artifact.

func (CreateContainerImageDetails) String

func (CreateContainerImageDetails) ValidateEnumValue

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

type CreateHelmChartImageDetails

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

CreateHelmChartImageDetails Helmchart image details required to create an helmchart artifact.

func (CreateHelmChartImageDetails) String

func (CreateHelmChartImageDetails) ValidateEnumValue

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

type CreateKubernetesImageArtifactDetails

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

CreateKubernetesImageArtifactDetails Details to create a new helm chart image artifact.

func (CreateKubernetesImageArtifactDetails) GetCompartmentId

func (m CreateKubernetesImageArtifactDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateKubernetesImageArtifactDetails) GetDefinedTags

func (m CreateKubernetesImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateKubernetesImageArtifactDetails) GetDisplayName

func (m CreateKubernetesImageArtifactDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateKubernetesImageArtifactDetails) GetFreeformTags

func (m CreateKubernetesImageArtifactDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateKubernetesImageArtifactDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateKubernetesImageArtifactDetails) String

func (CreateKubernetesImageArtifactDetails) ValidateEnumValue

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

type CreateListingDetails

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

CreateListingDetails Details to create a new listing.

func (CreateListingDetails) String

func (m CreateListingDetails) String() string

func (CreateListingDetails) ValidateEnumValue

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

type 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
}

CreateListingRequest wrapper for the CreateListing operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListing.go.html to see an example of how to use CreateListingRequest.

func (CreateListingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateListingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateListingRequest) RetryPolicy

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

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

func (CreateListingRequest) String

func (request CreateListingRequest) String() string

func (CreateListingRequest) ValidateEnumValue

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

type CreateListingResponse

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

CreateListingResponse wrapper for the CreateListing operation

func (CreateListingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateListingResponse) String

func (response CreateListingResponse) String() string

type CreateListingRevisionAttachmentDetails

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{}
}

CreateListingRevisionAttachmentDetails Attachment uploaded by the publisher for the listing revision.

type 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
}

CreateListingRevisionAttachmentRequest wrapper for the CreateListingRevisionAttachment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevisionAttachment.go.html to see an example of how to use CreateListingRevisionAttachmentRequest.

func (CreateListingRevisionAttachmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateListingRevisionAttachmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateListingRevisionAttachmentRequest) RetryPolicy

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

func (CreateListingRevisionAttachmentRequest) String

func (CreateListingRevisionAttachmentRequest) ValidateEnumValue

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

type CreateListingRevisionAttachmentResponse

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

CreateListingRevisionAttachmentResponse wrapper for the CreateListingRevisionAttachment operation

func (CreateListingRevisionAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateListingRevisionAttachmentResponse) String

type CreateListingRevisionDetails

type CreateListingRevisionDetails 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"`

	// The categories for the listing revision.
	Categories []string `mandatory:"true" json:"categories"`

	// The pricing model for the listing revision.
	PricingType ListingRevisionPricingTypeEnum `mandatory:"true" json:"pricingType"`

	// The name for the listing revision.
	DisplayName *string `mandatory:"false" json:"displayName"`

	VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`

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

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

	// The markets supported by the listing revision.
	Markets []string `mandatory:"false" json:"markets"`

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

	// The current status of the Listing revision.
	Status ListingRevisionStatusEnum `mandatory:"false" json:"status,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"`
}

CreateListingRevisionDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.

func (CreateListingRevisionDetails) String

func (CreateListingRevisionDetails) ValidateEnumValue

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

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

type CreateListingRevisionNoteDetails

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

CreateListingRevisionNoteDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision note.

func (CreateListingRevisionNoteDetails) String

func (CreateListingRevisionNoteDetails) ValidateEnumValue

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

type 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
}

CreateListingRevisionNoteRequest wrapper for the CreateListingRevisionNote operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevisionNote.go.html to see an example of how to use CreateListingRevisionNoteRequest.

func (CreateListingRevisionNoteRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateListingRevisionNoteRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateListingRevisionNoteRequest) RetryPolicy

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

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

func (CreateListingRevisionNoteRequest) String

func (request CreateListingRevisionNoteRequest) String() string

func (CreateListingRevisionNoteRequest) ValidateEnumValue

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

type CreateListingRevisionNoteResponse

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

CreateListingRevisionNoteResponse wrapper for the CreateListingRevisionNote operation

func (CreateListingRevisionNoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateListingRevisionNoteResponse) String

func (response CreateListingRevisionNoteResponse) String() string

type CreateListingRevisionPackageDetails

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

CreateListingRevisionPackageDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision package.

func (CreateListingRevisionPackageDetails) String

func (CreateListingRevisionPackageDetails) ValidateEnumValue

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

type 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
}

CreateListingRevisionPackageRequest wrapper for the CreateListingRevisionPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevisionPackage.go.html to see an example of how to use CreateListingRevisionPackageRequest.

func (CreateListingRevisionPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateListingRevisionPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateListingRevisionPackageRequest) RetryPolicy

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

func (CreateListingRevisionPackageRequest) String

func (CreateListingRevisionPackageRequest) ValidateEnumValue

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

type CreateListingRevisionPackageResponse

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

CreateListingRevisionPackageResponse wrapper for the CreateListingRevisionPackage operation

func (CreateListingRevisionPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateListingRevisionPackageResponse) String

func (response CreateListingRevisionPackageResponse) String() string

type 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
}

CreateListingRevisionRequest wrapper for the CreateListingRevision operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateListingRevision.go.html to see an example of how to use CreateListingRevisionRequest.

func (CreateListingRevisionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateListingRevisionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateListingRevisionRequest) RetryPolicy

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

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

func (CreateListingRevisionRequest) String

func (request CreateListingRevisionRequest) String() string

func (CreateListingRevisionRequest) ValidateEnumValue

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

type CreateListingRevisionResponse

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

CreateListingRevisionResponse wrapper for the CreateListingRevision operation

func (CreateListingRevisionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateListingRevisionResponse) String

func (response CreateListingRevisionResponse) String() string

type CreateRelatedDocumentAttachmentDetails

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 category of the listing revision attachment.
	DocumentCategory RelatedDocumentAttachmentDocumentCategoryEnum `mandatory:"true" json:"documentCategory"`
}

CreateRelatedDocumentAttachmentDetails Create Details of the related document attachment.

func (CreateRelatedDocumentAttachmentDetails) GetDefinedTags

func (m CreateRelatedDocumentAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateRelatedDocumentAttachmentDetails) GetDescription

func (m CreateRelatedDocumentAttachmentDetails) GetDescription() *string

GetDescription returns Description

func (CreateRelatedDocumentAttachmentDetails) GetDisplayName

func (m CreateRelatedDocumentAttachmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateRelatedDocumentAttachmentDetails) GetFreeformTags

func (m CreateRelatedDocumentAttachmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateRelatedDocumentAttachmentDetails) GetListingRevisionId

func (m CreateRelatedDocumentAttachmentDetails) GetListingRevisionId() *string

GetListingRevisionId returns ListingRevisionId

func (CreateRelatedDocumentAttachmentDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateRelatedDocumentAttachmentDetails) String

func (CreateRelatedDocumentAttachmentDetails) ValidateEnumValue

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

type CreateScreenShotAttachmentDetails

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

CreateScreenShotAttachmentDetails Create Details of the screenshot attachment.

func (CreateScreenShotAttachmentDetails) GetDefinedTags

func (m CreateScreenShotAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateScreenShotAttachmentDetails) GetDescription

func (m CreateScreenShotAttachmentDetails) GetDescription() *string

GetDescription returns Description

func (CreateScreenShotAttachmentDetails) GetDisplayName

func (m CreateScreenShotAttachmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateScreenShotAttachmentDetails) GetFreeformTags

func (m CreateScreenShotAttachmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateScreenShotAttachmentDetails) GetListingRevisionId

func (m CreateScreenShotAttachmentDetails) GetListingRevisionId() *string

GetListingRevisionId returns ListingRevisionId

func (CreateScreenShotAttachmentDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateScreenShotAttachmentDetails) String

func (CreateScreenShotAttachmentDetails) ValidateEnumValue

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

type CreateTermDetails

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

CreateTermDetails Details to create Marketplace Publisher term.

func (CreateTermDetails) String

func (m CreateTermDetails) String() string

func (CreateTermDetails) ValidateEnumValue

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

type 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
}

CreateTermRequest wrapper for the CreateTerm operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateTerm.go.html to see an example of how to use CreateTermRequest.

func (CreateTermRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTermRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTermRequest) RetryPolicy

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

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

func (CreateTermRequest) String

func (request CreateTermRequest) String() string

func (CreateTermRequest) ValidateEnumValue

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

type CreateTermResponse

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

CreateTermResponse wrapper for the CreateTerm operation

func (CreateTermResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTermResponse) String

func (response CreateTermResponse) String() string

type 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
}

CreateTermVersionRequest wrapper for the CreateTermVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/CreateTermVersion.go.html to see an example of how to use CreateTermVersionRequest.

func (CreateTermVersionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTermVersionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTermVersionRequest) RetryPolicy

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

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

func (CreateTermVersionRequest) String

func (request CreateTermVersionRequest) String() string

func (CreateTermVersionRequest) ValidateEnumValue

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

type CreateTermVersionResponse

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

CreateTermVersionResponse wrapper for the CreateTermVersion operation

func (CreateTermVersionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTermVersionResponse) String

func (response CreateTermVersionResponse) String() string

type CreateVideoAttachmentDetails

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

CreateVideoAttachmentDetails Create Details of the video attachment.

func (CreateVideoAttachmentDetails) GetDefinedTags

func (m CreateVideoAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateVideoAttachmentDetails) GetDescription

func (m CreateVideoAttachmentDetails) GetDescription() *string

GetDescription returns Description

func (CreateVideoAttachmentDetails) GetDisplayName

func (m CreateVideoAttachmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateVideoAttachmentDetails) GetFreeformTags

func (m CreateVideoAttachmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateVideoAttachmentDetails) GetListingRevisionId

func (m CreateVideoAttachmentDetails) GetListingRevisionId() *string

GetListingRevisionId returns ListingRevisionId

func (CreateVideoAttachmentDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateVideoAttachmentDetails) String

func (CreateVideoAttachmentDetails) ValidateEnumValue

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

type CreateVideoDetails

type CreateVideoDetails struct {

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

CreateVideoDetails A link to a video on the internet.

func (CreateVideoDetails) String

func (m CreateVideoDetails) String() string

func (CreateVideoDetails) ValidateEnumValue

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

type 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
}

DeleteArtifactRequest wrapper for the DeleteArtifact operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteArtifact.go.html to see an example of how to use DeleteArtifactRequest.

func (DeleteArtifactRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteArtifactRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteArtifactRequest) RetryPolicy

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

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

func (DeleteArtifactRequest) String

func (request DeleteArtifactRequest) String() string

func (DeleteArtifactRequest) ValidateEnumValue

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

type DeleteArtifactResponse

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

DeleteArtifactResponse wrapper for the DeleteArtifact operation

func (DeleteArtifactResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteArtifactResponse) String

func (response DeleteArtifactResponse) String() string

type 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
}

DeleteListingRequest wrapper for the DeleteListing operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListing.go.html to see an example of how to use DeleteListingRequest.

func (DeleteListingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteListingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteListingRequest) RetryPolicy

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

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

func (DeleteListingRequest) String

func (request DeleteListingRequest) String() string

func (DeleteListingRequest) ValidateEnumValue

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

type DeleteListingResponse

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

DeleteListingResponse wrapper for the DeleteListing operation

func (DeleteListingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteListingResponse) String

func (response DeleteListingResponse) String() string

type 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
}

DeleteListingRevisionAttachmentRequest wrapper for the DeleteListingRevisionAttachment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevisionAttachment.go.html to see an example of how to use DeleteListingRevisionAttachmentRequest.

func (DeleteListingRevisionAttachmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteListingRevisionAttachmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteListingRevisionAttachmentRequest) RetryPolicy

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

func (DeleteListingRevisionAttachmentRequest) String

func (DeleteListingRevisionAttachmentRequest) ValidateEnumValue

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

type DeleteListingRevisionAttachmentResponse

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

DeleteListingRevisionAttachmentResponse wrapper for the DeleteListingRevisionAttachment operation

func (DeleteListingRevisionAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteListingRevisionAttachmentResponse) String

type 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
}

DeleteListingRevisionNoteRequest wrapper for the DeleteListingRevisionNote operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevisionNote.go.html to see an example of how to use DeleteListingRevisionNoteRequest.

func (DeleteListingRevisionNoteRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteListingRevisionNoteRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteListingRevisionNoteRequest) RetryPolicy

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

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

func (DeleteListingRevisionNoteRequest) String

func (request DeleteListingRevisionNoteRequest) String() string

func (DeleteListingRevisionNoteRequest) ValidateEnumValue

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

type DeleteListingRevisionNoteResponse

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

DeleteListingRevisionNoteResponse wrapper for the DeleteListingRevisionNote operation

func (DeleteListingRevisionNoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteListingRevisionNoteResponse) String

func (response DeleteListingRevisionNoteResponse) String() string

type 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
}

DeleteListingRevisionPackageRequest wrapper for the DeleteListingRevisionPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevisionPackage.go.html to see an example of how to use DeleteListingRevisionPackageRequest.

func (DeleteListingRevisionPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteListingRevisionPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteListingRevisionPackageRequest) RetryPolicy

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

func (DeleteListingRevisionPackageRequest) String

func (DeleteListingRevisionPackageRequest) ValidateEnumValue

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

type DeleteListingRevisionPackageResponse

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

DeleteListingRevisionPackageResponse wrapper for the DeleteListingRevisionPackage operation

func (DeleteListingRevisionPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteListingRevisionPackageResponse) String

func (response DeleteListingRevisionPackageResponse) String() string

type 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
}

DeleteListingRevisionRequest wrapper for the DeleteListingRevision operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteListingRevision.go.html to see an example of how to use DeleteListingRevisionRequest.

func (DeleteListingRevisionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteListingRevisionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteListingRevisionRequest) RetryPolicy

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

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

func (DeleteListingRevisionRequest) String

func (request DeleteListingRevisionRequest) String() string

func (DeleteListingRevisionRequest) ValidateEnumValue

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

type DeleteListingRevisionResponse

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

DeleteListingRevisionResponse wrapper for the DeleteListingRevision operation

func (DeleteListingRevisionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteListingRevisionResponse) String

func (response DeleteListingRevisionResponse) String() string

type 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
}

DeleteTermRequest wrapper for the DeleteTerm operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteTerm.go.html to see an example of how to use DeleteTermRequest.

func (DeleteTermRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteTermRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteTermRequest) RetryPolicy

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

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

func (DeleteTermRequest) String

func (request DeleteTermRequest) String() string

func (DeleteTermRequest) ValidateEnumValue

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

type DeleteTermResponse

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

DeleteTermResponse wrapper for the DeleteTerm operation

func (DeleteTermResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTermResponse) String

func (response DeleteTermResponse) String() string

type 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
}

DeleteTermVersionRequest wrapper for the DeleteTermVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/DeleteTermVersion.go.html to see an example of how to use DeleteTermVersionRequest.

func (DeleteTermVersionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteTermVersionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteTermVersionRequest) RetryPolicy

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

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

func (DeleteTermVersionRequest) String

func (request DeleteTermVersionRequest) String() string

func (DeleteTermVersionRequest) ValidateEnumValue

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

type DeleteTermVersionResponse

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

DeleteTermVersionResponse wrapper for the DeleteTermVersion operation

func (DeleteTermVersionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTermVersionResponse) String

func (response DeleteTermVersionResponse) String() string

type 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
}

GetArtifactRequest wrapper for the GetArtifact operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetArtifact.go.html to see an example of how to use GetArtifactRequest.

func (GetArtifactRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetArtifactRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetArtifactRequest) RetryPolicy

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

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

func (GetArtifactRequest) String

func (request GetArtifactRequest) String() string

func (GetArtifactRequest) ValidateEnumValue

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

type GetArtifactResponse

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

GetArtifactResponse wrapper for the GetArtifact operation

func (GetArtifactResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetArtifactResponse) String

func (response GetArtifactResponse) String() string

type 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
}

GetCategoryRequest wrapper for the GetCategory operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetCategory.go.html to see an example of how to use GetCategoryRequest.

func (GetCategoryRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetCategoryRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetCategoryRequest) RetryPolicy

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

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

func (GetCategoryRequest) String

func (request GetCategoryRequest) String() string

func (GetCategoryRequest) ValidateEnumValue

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

type GetCategoryResponse

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

GetCategoryResponse wrapper for the GetCategory operation

func (GetCategoryResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCategoryResponse) String

func (response GetCategoryResponse) String() string

type 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
}

GetListingRequest wrapper for the GetListing operation

See also

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

func (GetListingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetListingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetListingRequest) RetryPolicy

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

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

func (GetListingRequest) String

func (request GetListingRequest) String() string

func (GetListingRequest) ValidateEnumValue

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

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

type GetListingResponse

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

GetListingResponse wrapper for the GetListing operation

func (GetListingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetListingResponse) String

func (response GetListingResponse) String() string

type 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
}

GetListingRevisionAttachmentRequest wrapper for the GetListingRevisionAttachment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionAttachment.go.html to see an example of how to use GetListingRevisionAttachmentRequest.

func (GetListingRevisionAttachmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetListingRevisionAttachmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetListingRevisionAttachmentRequest) RetryPolicy

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

func (GetListingRevisionAttachmentRequest) String

func (GetListingRevisionAttachmentRequest) ValidateEnumValue

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

type GetListingRevisionAttachmentResponse

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

GetListingRevisionAttachmentResponse wrapper for the GetListingRevisionAttachment operation

func (GetListingRevisionAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetListingRevisionAttachmentResponse) String

func (response GetListingRevisionAttachmentResponse) String() string

type 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
}

GetListingRevisionNoteRequest wrapper for the GetListingRevisionNote operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionNote.go.html to see an example of how to use GetListingRevisionNoteRequest.

func (GetListingRevisionNoteRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetListingRevisionNoteRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetListingRevisionNoteRequest) RetryPolicy

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

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

func (GetListingRevisionNoteRequest) String

func (request GetListingRevisionNoteRequest) String() string

func (GetListingRevisionNoteRequest) ValidateEnumValue

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

type GetListingRevisionNoteResponse

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

GetListingRevisionNoteResponse wrapper for the GetListingRevisionNote operation

func (GetListingRevisionNoteResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetListingRevisionNoteResponse) String

func (response GetListingRevisionNoteResponse) String() string

type 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
}

GetListingRevisionPackageRequest wrapper for the GetListingRevisionPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevisionPackage.go.html to see an example of how to use GetListingRevisionPackageRequest.

func (GetListingRevisionPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetListingRevisionPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetListingRevisionPackageRequest) RetryPolicy

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

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

func (GetListingRevisionPackageRequest) String

func (request GetListingRevisionPackageRequest) String() string

func (GetListingRevisionPackageRequest) ValidateEnumValue

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

type GetListingRevisionPackageResponse

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

GetListingRevisionPackageResponse wrapper for the GetListingRevisionPackage operation

func (GetListingRevisionPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetListingRevisionPackageResponse) String

func (response GetListingRevisionPackageResponse) String() string

type 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
}

GetListingRevisionRequest wrapper for the GetListingRevision operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetListingRevision.go.html to see an example of how to use GetListingRevisionRequest.

func (GetListingRevisionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetListingRevisionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetListingRevisionRequest) RetryPolicy

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

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

func (GetListingRevisionRequest) String

func (request GetListingRevisionRequest) String() string

func (GetListingRevisionRequest) ValidateEnumValue

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

type GetListingRevisionResponse

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

GetListingRevisionResponse wrapper for the GetListingRevision operation

func (GetListingRevisionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetListingRevisionResponse) String

func (response GetListingRevisionResponse) String() string

type 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
}

GetMarketRequest wrapper for the GetMarket operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetMarket.go.html to see an example of how to use GetMarketRequest.

func (GetMarketRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetMarketRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetMarketRequest) RetryPolicy

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

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

func (GetMarketRequest) String

func (request GetMarketRequest) String() string

func (GetMarketRequest) ValidateEnumValue

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

type GetMarketResponse

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

GetMarketResponse wrapper for the GetMarket operation

func (GetMarketResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMarketResponse) String

func (response GetMarketResponse) String() string

type 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
}

GetProductRequest wrapper for the GetProduct operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetProduct.go.html to see an example of how to use GetProductRequest.

func (GetProductRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetProductRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetProductRequest) RetryPolicy

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

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

func (GetProductRequest) String

func (request GetProductRequest) String() string

func (GetProductRequest) ValidateEnumValue

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

type GetProductResponse

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

GetProductResponse wrapper for the GetProduct operation

func (GetProductResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetProductResponse) String

func (response GetProductResponse) String() string

type 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
}

GetPublisherRequest wrapper for the GetPublisher operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetPublisher.go.html to see an example of how to use GetPublisherRequest.

func (GetPublisherRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetPublisherRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetPublisherRequest) RetryPolicy

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

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

func (GetPublisherRequest) String

func (request GetPublisherRequest) String() string

func (GetPublisherRequest) ValidateEnumValue

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

type GetPublisherResponse

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

GetPublisherResponse wrapper for the GetPublisher operation

func (GetPublisherResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetPublisherResponse) String

func (response GetPublisherResponse) String() string

type 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
}

GetTermRequest wrapper for the GetTerm operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetTerm.go.html to see an example of how to use GetTermRequest.

func (GetTermRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetTermRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTermRequest) RetryPolicy

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

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

func (GetTermRequest) String

func (request GetTermRequest) String() string

func (GetTermRequest) ValidateEnumValue

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

type GetTermResponse

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

GetTermResponse wrapper for the GetTerm operation

func (GetTermResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTermResponse) String

func (response GetTermResponse) String() string

type 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
}

GetTermVersionRequest wrapper for the GetTermVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/GetTermVersion.go.html to see an example of how to use GetTermVersionRequest.

func (GetTermVersionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetTermVersionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTermVersionRequest) RetryPolicy

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

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

func (GetTermVersionRequest) String

func (request GetTermVersionRequest) String() string

func (GetTermVersionRequest) ValidateEnumValue

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

type GetTermVersionResponse

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

GetTermVersionResponse wrapper for the GetTermVersion operation

func (GetTermVersionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTermVersionResponse) String

func (response GetTermVersionResponse) String() string

type 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
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HelmChartImageDetails

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

HelmChartImageDetails Helmchart image details.

func (HelmChartImageDetails) String

func (m HelmChartImageDetails) String() string

func (HelmChartImageDetails) ValidateEnumValue

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

type HelmChartPackage

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

HelmChartPackage A package for container image listings.

func (HelmChartPackage) GetAreSecurityUpgradesProvided

func (m HelmChartPackage) GetAreSecurityUpgradesProvided() *bool

GetAreSecurityUpgradesProvided returns AreSecurityUpgradesProvided

func (HelmChartPackage) GetArtifactId

func (m HelmChartPackage) GetArtifactId() *string

GetArtifactId returns ArtifactId

func (HelmChartPackage) GetCompartmentId

func (m HelmChartPackage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (HelmChartPackage) GetDefinedTags

func (m HelmChartPackage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (HelmChartPackage) GetDescription

func (m HelmChartPackage) GetDescription() *string

GetDescription returns Description

func (HelmChartPackage) GetDisplayName

func (m HelmChartPackage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (HelmChartPackage) GetExtendedMetadata

func (m HelmChartPackage) GetExtendedMetadata() map[string]string

GetExtendedMetadata returns ExtendedMetadata

func (HelmChartPackage) GetFreeformTags

func (m HelmChartPackage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (HelmChartPackage) GetId

func (m HelmChartPackage) GetId() *string

GetId returns Id

func (HelmChartPackage) GetIsDefault

func (m HelmChartPackage) GetIsDefault() *bool

GetIsDefault returns IsDefault

func (HelmChartPackage) GetLifecycleState

GetLifecycleState returns LifecycleState

func (HelmChartPackage) GetListingRevisionId

func (m HelmChartPackage) GetListingRevisionId() *string

GetListingRevisionId returns ListingRevisionId

func (HelmChartPackage) GetPackageVersion

func (m HelmChartPackage) GetPackageVersion() *string

GetPackageVersion returns PackageVersion

func (HelmChartPackage) GetStatus

GetStatus returns Status

func (HelmChartPackage) GetSystemTags

func (m HelmChartPackage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (HelmChartPackage) GetTermId

func (m HelmChartPackage) GetTermId() *string

GetTermId returns TermId

func (HelmChartPackage) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (HelmChartPackage) GetTimeUpdated

func (m HelmChartPackage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (HelmChartPackage) MarshalJSON

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

MarshalJSON marshals to json representation

func (HelmChartPackage) String

func (m HelmChartPackage) String() string

func (HelmChartPackage) ValidateEnumValue

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

type KubernetesImageArtifact

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

KubernetesImageArtifact Kubernetes HelmChart Image artifact details.

func (KubernetesImageArtifact) GetCompartmentId

func (m KubernetesImageArtifact) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (KubernetesImageArtifact) GetDefinedTags

func (m KubernetesImageArtifact) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (KubernetesImageArtifact) GetDisplayName

func (m KubernetesImageArtifact) GetDisplayName() *string

GetDisplayName returns DisplayName

func (KubernetesImageArtifact) GetFreeformTags

func (m KubernetesImageArtifact) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (KubernetesImageArtifact) GetId

func (m KubernetesImageArtifact) GetId() *string

GetId returns Id

func (KubernetesImageArtifact) GetLifecycleState

GetLifecycleState returns LifecycleState

func (KubernetesImageArtifact) GetPublisherId

func (m KubernetesImageArtifact) GetPublisherId() *string

GetPublisherId returns PublisherId

func (KubernetesImageArtifact) GetStatus

GetStatus returns Status

func (KubernetesImageArtifact) GetStatusNotes

func (m KubernetesImageArtifact) GetStatusNotes() *string

GetStatusNotes returns StatusNotes

func (KubernetesImageArtifact) GetSystemTags

func (m KubernetesImageArtifact) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (KubernetesImageArtifact) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (KubernetesImageArtifact) GetTimeUpdated

func (m KubernetesImageArtifact) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (KubernetesImageArtifact) MarshalJSON

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

MarshalJSON marshals to json representation

func (KubernetesImageArtifact) String

func (m KubernetesImageArtifact) String() string

func (KubernetesImageArtifact) ValidateEnumValue

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

type LanguageItem

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

LanguageItem The model for a language item within an array of filter values.

func (LanguageItem) String

func (m LanguageItem) String() string

func (LanguageItem) ValidateEnumValue

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

type 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
}

ListArtifactsRequest wrapper for the ListArtifacts operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListArtifacts.go.html to see an example of how to use ListArtifactsRequest.

func (ListArtifactsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListArtifactsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListArtifactsRequest) RetryPolicy

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

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

func (ListArtifactsRequest) String

func (request ListArtifactsRequest) String() string

func (ListArtifactsRequest) ValidateEnumValue

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

type ListArtifactsResponse

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

ListArtifactsResponse wrapper for the ListArtifacts operation

func (ListArtifactsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListArtifactsResponse) String

func (response ListArtifactsResponse) String() string

type ListArtifactsSortByEnum

type ListArtifactsSortByEnum string

ListArtifactsSortByEnum Enum with underlying type: string

const (
	ListArtifactsSortByTimecreated ListArtifactsSortByEnum = "timeCreated"
	ListArtifactsSortByDisplayname ListArtifactsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListArtifactsSortByEnum

func GetListArtifactsSortByEnumValues

func GetListArtifactsSortByEnumValues() []ListArtifactsSortByEnum

GetListArtifactsSortByEnumValues Enumerates the set of values for ListArtifactsSortByEnum

func GetMappingListArtifactsSortByEnum

func GetMappingListArtifactsSortByEnum(val string) (ListArtifactsSortByEnum, bool)

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

type ListArtifactsSortOrderEnum

type ListArtifactsSortOrderEnum string

ListArtifactsSortOrderEnum Enum with underlying type: string

const (
	ListArtifactsSortOrderAsc  ListArtifactsSortOrderEnum = "ASC"
	ListArtifactsSortOrderDesc ListArtifactsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListArtifactsSortOrderEnum

func GetListArtifactsSortOrderEnumValues

func GetListArtifactsSortOrderEnumValues() []ListArtifactsSortOrderEnum

GetListArtifactsSortOrderEnumValues Enumerates the set of values for ListArtifactsSortOrderEnum

func GetMappingListArtifactsSortOrderEnum

func GetMappingListArtifactsSortOrderEnum(val string) (ListArtifactsSortOrderEnum, bool)

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

type 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
}

ListCategoriesRequest wrapper for the ListCategories operation

See also

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

func (ListCategoriesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListCategoriesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListCategoriesRequest) RetryPolicy

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

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

func (ListCategoriesRequest) String

func (request ListCategoriesRequest) String() string

func (ListCategoriesRequest) ValidateEnumValue

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

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

type ListCategoriesResponse

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

ListCategoriesResponse wrapper for the ListCategories operation

func (ListCategoriesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCategoriesResponse) String

func (response ListCategoriesResponse) String() string

type ListCategoriesSortByEnum

type ListCategoriesSortByEnum string

ListCategoriesSortByEnum Enum with underlying type: string

const (
	ListCategoriesSortByTimecreated ListCategoriesSortByEnum = "timeCreated"
	ListCategoriesSortByDisplayname ListCategoriesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListCategoriesSortByEnum

func GetListCategoriesSortByEnumValues

func GetListCategoriesSortByEnumValues() []ListCategoriesSortByEnum

GetListCategoriesSortByEnumValues Enumerates the set of values for ListCategoriesSortByEnum

func GetMappingListCategoriesSortByEnum

func GetMappingListCategoriesSortByEnum(val string) (ListCategoriesSortByEnum, bool)

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

type ListCategoriesSortOrderEnum

type ListCategoriesSortOrderEnum string

ListCategoriesSortOrderEnum Enum with underlying type: string

const (
	ListCategoriesSortOrderAsc  ListCategoriesSortOrderEnum = "ASC"
	ListCategoriesSortOrderDesc ListCategoriesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCategoriesSortOrderEnum

func GetListCategoriesSortOrderEnumValues

func GetListCategoriesSortOrderEnumValues() []ListCategoriesSortOrderEnum

GetListCategoriesSortOrderEnumValues Enumerates the set of values for ListCategoriesSortOrderEnum

func GetMappingListCategoriesSortOrderEnum

func GetMappingListCategoriesSortOrderEnum(val string) (ListCategoriesSortOrderEnum, bool)

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

type 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
}

ListListingRevisionAttachmentsRequest wrapper for the ListListingRevisionAttachments operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisionAttachments.go.html to see an example of how to use ListListingRevisionAttachmentsRequest.

func (ListListingRevisionAttachmentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListListingRevisionAttachmentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListListingRevisionAttachmentsRequest) RetryPolicy

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

func (ListListingRevisionAttachmentsRequest) String

func (ListListingRevisionAttachmentsRequest) ValidateEnumValue

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

type ListListingRevisionAttachmentsResponse

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

ListListingRevisionAttachmentsResponse wrapper for the ListListingRevisionAttachments operation

func (ListListingRevisionAttachmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListListingRevisionAttachmentsResponse) String

type ListListingRevisionAttachmentsSortByEnum

type ListListingRevisionAttachmentsSortByEnum string

ListListingRevisionAttachmentsSortByEnum Enum with underlying type: string

const (
	ListListingRevisionAttachmentsSortByTimecreated ListListingRevisionAttachmentsSortByEnum = "timeCreated"
	ListListingRevisionAttachmentsSortByDisplayname ListListingRevisionAttachmentsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListListingRevisionAttachmentsSortByEnum

func GetListListingRevisionAttachmentsSortByEnumValues

func GetListListingRevisionAttachmentsSortByEnumValues() []ListListingRevisionAttachmentsSortByEnum

GetListListingRevisionAttachmentsSortByEnumValues Enumerates the set of values for ListListingRevisionAttachmentsSortByEnum

func GetMappingListListingRevisionAttachmentsSortByEnum

func GetMappingListListingRevisionAttachmentsSortByEnum(val string) (ListListingRevisionAttachmentsSortByEnum, bool)

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

type ListListingRevisionAttachmentsSortOrderEnum

type ListListingRevisionAttachmentsSortOrderEnum string

ListListingRevisionAttachmentsSortOrderEnum Enum with underlying type: string

const (
	ListListingRevisionAttachmentsSortOrderAsc  ListListingRevisionAttachmentsSortOrderEnum = "ASC"
	ListListingRevisionAttachmentsSortOrderDesc ListListingRevisionAttachmentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListListingRevisionAttachmentsSortOrderEnum

func GetListListingRevisionAttachmentsSortOrderEnumValues

func GetListListingRevisionAttachmentsSortOrderEnumValues() []ListListingRevisionAttachmentsSortOrderEnum

GetListListingRevisionAttachmentsSortOrderEnumValues Enumerates the set of values for ListListingRevisionAttachmentsSortOrderEnum

func GetMappingListListingRevisionAttachmentsSortOrderEnum

func GetMappingListListingRevisionAttachmentsSortOrderEnum(val string) (ListListingRevisionAttachmentsSortOrderEnum, bool)

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

type 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
}

ListListingRevisionNotesRequest wrapper for the ListListingRevisionNotes operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisionNotes.go.html to see an example of how to use ListListingRevisionNotesRequest.

func (ListListingRevisionNotesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListListingRevisionNotesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListListingRevisionNotesRequest) RetryPolicy

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

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

func (ListListingRevisionNotesRequest) String

func (request ListListingRevisionNotesRequest) String() string

func (ListListingRevisionNotesRequest) ValidateEnumValue

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

type ListListingRevisionNotesResponse

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

ListListingRevisionNotesResponse wrapper for the ListListingRevisionNotes operation

func (ListListingRevisionNotesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListListingRevisionNotesResponse) String

func (response ListListingRevisionNotesResponse) String() string

type ListListingRevisionNotesSortByEnum

type ListListingRevisionNotesSortByEnum string

ListListingRevisionNotesSortByEnum Enum with underlying type: string

const (
	ListListingRevisionNotesSortByTimecreated ListListingRevisionNotesSortByEnum = "timeCreated"
	ListListingRevisionNotesSortByDisplayname ListListingRevisionNotesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListListingRevisionNotesSortByEnum

func GetListListingRevisionNotesSortByEnumValues

func GetListListingRevisionNotesSortByEnumValues() []ListListingRevisionNotesSortByEnum

GetListListingRevisionNotesSortByEnumValues Enumerates the set of values for ListListingRevisionNotesSortByEnum

func GetMappingListListingRevisionNotesSortByEnum

func GetMappingListListingRevisionNotesSortByEnum(val string) (ListListingRevisionNotesSortByEnum, bool)

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

type ListListingRevisionNotesSortOrderEnum

type ListListingRevisionNotesSortOrderEnum string

ListListingRevisionNotesSortOrderEnum Enum with underlying type: string

const (
	ListListingRevisionNotesSortOrderAsc  ListListingRevisionNotesSortOrderEnum = "ASC"
	ListListingRevisionNotesSortOrderDesc ListListingRevisionNotesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListListingRevisionNotesSortOrderEnum

func GetListListingRevisionNotesSortOrderEnumValues

func GetListListingRevisionNotesSortOrderEnumValues() []ListListingRevisionNotesSortOrderEnum

GetListListingRevisionNotesSortOrderEnumValues Enumerates the set of values for ListListingRevisionNotesSortOrderEnum

func GetMappingListListingRevisionNotesSortOrderEnum

func GetMappingListListingRevisionNotesSortOrderEnum(val string) (ListListingRevisionNotesSortOrderEnum, bool)

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

type 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
}

ListListingRevisionPackagesRequest wrapper for the ListListingRevisionPackages operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisionPackages.go.html to see an example of how to use ListListingRevisionPackagesRequest.

func (ListListingRevisionPackagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListListingRevisionPackagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListListingRevisionPackagesRequest) RetryPolicy

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

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

func (ListListingRevisionPackagesRequest) String

func (request ListListingRevisionPackagesRequest) String() string

func (ListListingRevisionPackagesRequest) ValidateEnumValue

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

type ListListingRevisionPackagesResponse

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

ListListingRevisionPackagesResponse wrapper for the ListListingRevisionPackages operation

func (ListListingRevisionPackagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListListingRevisionPackagesResponse) String

func (response ListListingRevisionPackagesResponse) String() string

type ListListingRevisionPackagesSortByEnum

type ListListingRevisionPackagesSortByEnum string

ListListingRevisionPackagesSortByEnum Enum with underlying type: string

const (
	ListListingRevisionPackagesSortByTimecreated ListListingRevisionPackagesSortByEnum = "timeCreated"
	ListListingRevisionPackagesSortByDisplayname ListListingRevisionPackagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListListingRevisionPackagesSortByEnum

func GetListListingRevisionPackagesSortByEnumValues

func GetListListingRevisionPackagesSortByEnumValues() []ListListingRevisionPackagesSortByEnum

GetListListingRevisionPackagesSortByEnumValues Enumerates the set of values for ListListingRevisionPackagesSortByEnum

func GetMappingListListingRevisionPackagesSortByEnum

func GetMappingListListingRevisionPackagesSortByEnum(val string) (ListListingRevisionPackagesSortByEnum, bool)

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

type ListListingRevisionPackagesSortOrderEnum

type ListListingRevisionPackagesSortOrderEnum string

ListListingRevisionPackagesSortOrderEnum Enum with underlying type: string

const (
	ListListingRevisionPackagesSortOrderAsc  ListListingRevisionPackagesSortOrderEnum = "ASC"
	ListListingRevisionPackagesSortOrderDesc ListListingRevisionPackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListListingRevisionPackagesSortOrderEnum

func GetListListingRevisionPackagesSortOrderEnumValues

func GetListListingRevisionPackagesSortOrderEnumValues() []ListListingRevisionPackagesSortOrderEnum

GetListListingRevisionPackagesSortOrderEnumValues Enumerates the set of values for ListListingRevisionPackagesSortOrderEnum

func GetMappingListListingRevisionPackagesSortOrderEnum

func GetMappingListListingRevisionPackagesSortOrderEnum(val string) (ListListingRevisionPackagesSortOrderEnum, bool)

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

type 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
}

ListListingRevisionsRequest wrapper for the ListListingRevisions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListListingRevisions.go.html to see an example of how to use ListListingRevisionsRequest.

func (ListListingRevisionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListListingRevisionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListListingRevisionsRequest) RetryPolicy

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

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

func (ListListingRevisionsRequest) String

func (request ListListingRevisionsRequest) String() string

func (ListListingRevisionsRequest) ValidateEnumValue

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

type ListListingRevisionsResponse

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

ListListingRevisionsResponse wrapper for the ListListingRevisions operation

func (ListListingRevisionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListListingRevisionsResponse) String

func (response ListListingRevisionsResponse) String() string

type ListListingRevisionsSortByEnum

type ListListingRevisionsSortByEnum string

ListListingRevisionsSortByEnum Enum with underlying type: string

const (
	ListListingRevisionsSortByTimecreated ListListingRevisionsSortByEnum = "timeCreated"
	ListListingRevisionsSortByDisplayname ListListingRevisionsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListListingRevisionsSortByEnum

func GetListListingRevisionsSortByEnumValues

func GetListListingRevisionsSortByEnumValues() []ListListingRevisionsSortByEnum

GetListListingRevisionsSortByEnumValues Enumerates the set of values for ListListingRevisionsSortByEnum

func GetMappingListListingRevisionsSortByEnum

func GetMappingListListingRevisionsSortByEnum(val string) (ListListingRevisionsSortByEnum, bool)

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

type ListListingRevisionsSortOrderEnum

type ListListingRevisionsSortOrderEnum string

ListListingRevisionsSortOrderEnum Enum with underlying type: string

const (
	ListListingRevisionsSortOrderAsc  ListListingRevisionsSortOrderEnum = "ASC"
	ListListingRevisionsSortOrderDesc ListListingRevisionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListListingRevisionsSortOrderEnum

func GetListListingRevisionsSortOrderEnumValues

func GetListListingRevisionsSortOrderEnumValues() []ListListingRevisionsSortOrderEnum

GetListListingRevisionsSortOrderEnumValues Enumerates the set of values for ListListingRevisionsSortOrderEnum

func GetMappingListListingRevisionsSortOrderEnum

func GetMappingListListingRevisionsSortOrderEnum(val string) (ListListingRevisionsSortOrderEnum, bool)

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

type 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 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
}

ListListingsRequest wrapper for the ListListings operation

See also

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

func (ListListingsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListListingsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListListingsRequest) RetryPolicy

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

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

func (ListListingsRequest) String

func (request ListListingsRequest) String() string

func (ListListingsRequest) ValidateEnumValue

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

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

type ListListingsResponse

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

ListListingsResponse wrapper for the ListListings operation

func (ListListingsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListListingsResponse) String

func (response ListListingsResponse) String() string

type ListListingsSortByEnum

type ListListingsSortByEnum string

ListListingsSortByEnum Enum with underlying type: string

const (
	ListListingsSortByTimecreated ListListingsSortByEnum = "timeCreated"
	ListListingsSortByDisplayname ListListingsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListListingsSortByEnum

func GetListListingsSortByEnumValues

func GetListListingsSortByEnumValues() []ListListingsSortByEnum

GetListListingsSortByEnumValues Enumerates the set of values for ListListingsSortByEnum

func GetMappingListListingsSortByEnum

func GetMappingListListingsSortByEnum(val string) (ListListingsSortByEnum, bool)

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

type ListListingsSortOrderEnum

type ListListingsSortOrderEnum string

ListListingsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListListingsSortOrderEnum

func GetListListingsSortOrderEnumValues

func GetListListingsSortOrderEnumValues() []ListListingsSortOrderEnum

GetListListingsSortOrderEnumValues Enumerates the set of values for ListListingsSortOrderEnum

func GetMappingListListingsSortOrderEnum

func GetMappingListListingsSortOrderEnum(val string) (ListListingsSortOrderEnum, bool)

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

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

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

ListMarketsRequest wrapper for the ListMarkets operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListMarkets.go.html to see an example of how to use ListMarketsRequest.

func (ListMarketsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListMarketsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListMarketsRequest) RetryPolicy

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

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

func (ListMarketsRequest) String

func (request ListMarketsRequest) String() string

func (ListMarketsRequest) ValidateEnumValue

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

type ListMarketsResponse

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

ListMarketsResponse wrapper for the ListMarkets operation

func (ListMarketsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMarketsResponse) String

func (response ListMarketsResponse) String() string

type ListMarketsSortByEnum

type ListMarketsSortByEnum string

ListMarketsSortByEnum Enum with underlying type: string

const (
	ListMarketsSortByTimecreated ListMarketsSortByEnum = "timeCreated"
	ListMarketsSortByDisplayname ListMarketsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListMarketsSortByEnum

func GetListMarketsSortByEnumValues

func GetListMarketsSortByEnumValues() []ListMarketsSortByEnum

GetListMarketsSortByEnumValues Enumerates the set of values for ListMarketsSortByEnum

func GetMappingListMarketsSortByEnum

func GetMappingListMarketsSortByEnum(val string) (ListMarketsSortByEnum, bool)

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

type ListMarketsSortOrderEnum

type ListMarketsSortOrderEnum string

ListMarketsSortOrderEnum Enum with underlying type: string

const (
	ListMarketsSortOrderAsc  ListMarketsSortOrderEnum = "ASC"
	ListMarketsSortOrderDesc ListMarketsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMarketsSortOrderEnum

func GetListMarketsSortOrderEnumValues

func GetListMarketsSortOrderEnumValues() []ListMarketsSortOrderEnum

GetListMarketsSortOrderEnumValues Enumerates the set of values for ListMarketsSortOrderEnum

func GetMappingListMarketsSortOrderEnum

func GetMappingListMarketsSortOrderEnum(val string) (ListMarketsSortOrderEnum, bool)

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

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

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

ListProductsRequest wrapper for the ListProducts operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListProducts.go.html to see an example of how to use ListProductsRequest.

func (ListProductsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListProductsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListProductsRequest) RetryPolicy

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

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

func (ListProductsRequest) String

func (request ListProductsRequest) String() string

func (ListProductsRequest) ValidateEnumValue

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

type ListProductsResponse

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

ListProductsResponse wrapper for the ListProducts operation

func (ListProductsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListProductsResponse) String

func (response ListProductsResponse) String() string

type ListProductsSortByEnum

type ListProductsSortByEnum string

ListProductsSortByEnum Enum with underlying type: string

const (
	ListProductsSortByTimecreated ListProductsSortByEnum = "timeCreated"
	ListProductsSortByDisplayname ListProductsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListProductsSortByEnum

func GetListProductsSortByEnumValues

func GetListProductsSortByEnumValues() []ListProductsSortByEnum

GetListProductsSortByEnumValues Enumerates the set of values for ListProductsSortByEnum

func GetMappingListProductsSortByEnum

func GetMappingListProductsSortByEnum(val string) (ListProductsSortByEnum, bool)

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

type ListProductsSortOrderEnum

type ListProductsSortOrderEnum string

ListProductsSortOrderEnum Enum with underlying type: string

const (
	ListProductsSortOrderAsc  ListProductsSortOrderEnum = "ASC"
	ListProductsSortOrderDesc ListProductsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProductsSortOrderEnum

func GetListProductsSortOrderEnumValues

func GetListProductsSortOrderEnumValues() []ListProductsSortOrderEnum

GetListProductsSortOrderEnumValues Enumerates the set of values for ListProductsSortOrderEnum

func GetMappingListProductsSortOrderEnum

func GetMappingListProductsSortOrderEnum(val string) (ListProductsSortOrderEnum, bool)

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

type 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
}

ListPublishersRequest wrapper for the ListPublishers operation

See also

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

func (ListPublishersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPublishersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPublishersRequest) RetryPolicy

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

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

func (ListPublishersRequest) String

func (request ListPublishersRequest) String() string

func (ListPublishersRequest) ValidateEnumValue

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

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

type ListPublishersResponse

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

ListPublishersResponse wrapper for the ListPublishers operation

func (ListPublishersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPublishersResponse) String

func (response ListPublishersResponse) String() string

type ListPublishersSortByEnum

type ListPublishersSortByEnum string

ListPublishersSortByEnum Enum with underlying type: string

const (
	ListPublishersSortByTimecreated ListPublishersSortByEnum = "timeCreated"
	ListPublishersSortByDisplayname ListPublishersSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListPublishersSortByEnum

func GetListPublishersSortByEnumValues

func GetListPublishersSortByEnumValues() []ListPublishersSortByEnum

GetListPublishersSortByEnumValues Enumerates the set of values for ListPublishersSortByEnum

func GetMappingListPublishersSortByEnum

func GetMappingListPublishersSortByEnum(val string) (ListPublishersSortByEnum, bool)

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

type ListPublishersSortOrderEnum

type ListPublishersSortOrderEnum string

ListPublishersSortOrderEnum Enum with underlying type: string

const (
	ListPublishersSortOrderAsc  ListPublishersSortOrderEnum = "ASC"
	ListPublishersSortOrderDesc ListPublishersSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPublishersSortOrderEnum

func GetListPublishersSortOrderEnumValues

func GetListPublishersSortOrderEnumValues() []ListPublishersSortOrderEnum

GetListPublishersSortOrderEnumValues Enumerates the set of values for ListPublishersSortOrderEnum

func GetMappingListPublishersSortOrderEnum

func GetMappingListPublishersSortOrderEnum(val string) (ListPublishersSortOrderEnum, bool)

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

type 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
}

ListTermVersionsRequest wrapper for the ListTermVersions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListTermVersions.go.html to see an example of how to use ListTermVersionsRequest.

func (ListTermVersionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTermVersionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTermVersionsRequest) RetryPolicy

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

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

func (ListTermVersionsRequest) String

func (request ListTermVersionsRequest) String() string

func (ListTermVersionsRequest) ValidateEnumValue

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

type ListTermVersionsResponse

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

ListTermVersionsResponse wrapper for the ListTermVersions operation

func (ListTermVersionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTermVersionsResponse) String

func (response ListTermVersionsResponse) String() string

type ListTermVersionsSortByEnum

type ListTermVersionsSortByEnum string

ListTermVersionsSortByEnum Enum with underlying type: string

const (
	ListTermVersionsSortByTimecreated ListTermVersionsSortByEnum = "timeCreated"
	ListTermVersionsSortByDisplayname ListTermVersionsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTermVersionsSortByEnum

func GetListTermVersionsSortByEnumValues

func GetListTermVersionsSortByEnumValues() []ListTermVersionsSortByEnum

GetListTermVersionsSortByEnumValues Enumerates the set of values for ListTermVersionsSortByEnum

func GetMappingListTermVersionsSortByEnum

func GetMappingListTermVersionsSortByEnum(val string) (ListTermVersionsSortByEnum, bool)

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

type ListTermVersionsSortOrderEnum

type ListTermVersionsSortOrderEnum string

ListTermVersionsSortOrderEnum Enum with underlying type: string

const (
	ListTermVersionsSortOrderAsc  ListTermVersionsSortOrderEnum = "ASC"
	ListTermVersionsSortOrderDesc ListTermVersionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTermVersionsSortOrderEnum

func GetListTermVersionsSortOrderEnumValues

func GetListTermVersionsSortOrderEnumValues() []ListTermVersionsSortOrderEnum

GetListTermVersionsSortOrderEnumValues Enumerates the set of values for ListTermVersionsSortOrderEnum

func GetMappingListTermVersionsSortOrderEnum

func GetMappingListTermVersionsSortOrderEnum(val string) (ListTermVersionsSortOrderEnum, bool)

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

type 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
}

ListTermsRequest wrapper for the ListTerms operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ListTerms.go.html to see an example of how to use ListTermsRequest.

func (ListTermsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTermsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTermsRequest) RetryPolicy

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

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

func (ListTermsRequest) String

func (request ListTermsRequest) String() string

func (ListTermsRequest) ValidateEnumValue

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

type ListTermsResponse

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

ListTermsResponse wrapper for the ListTerms operation

func (ListTermsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTermsResponse) String

func (response ListTermsResponse) String() string

type ListTermsSortByEnum

type ListTermsSortByEnum string

ListTermsSortByEnum Enum with underlying type: string

const (
	ListTermsSortByTimecreated ListTermsSortByEnum = "timeCreated"
	ListTermsSortByDisplayname ListTermsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTermsSortByEnum

func GetListTermsSortByEnumValues

func GetListTermsSortByEnumValues() []ListTermsSortByEnum

GetListTermsSortByEnumValues Enumerates the set of values for ListTermsSortByEnum

func GetMappingListTermsSortByEnum

func GetMappingListTermsSortByEnum(val string) (ListTermsSortByEnum, bool)

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

type ListTermsSortOrderEnum

type ListTermsSortOrderEnum string

ListTermsSortOrderEnum Enum with underlying type: string

const (
	ListTermsSortOrderAsc  ListTermsSortOrderEnum = "ASC"
	ListTermsSortOrderDesc ListTermsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTermsSortOrderEnum

func GetListTermsSortOrderEnumValues

func GetListTermsSortOrderEnumValues() []ListTermsSortOrderEnum

GetListTermsSortOrderEnumValues Enumerates the set of values for ListTermsSortOrderEnum

func GetMappingListTermsSortOrderEnum

func GetMappingListTermsSortOrderEnum(val string) (ListTermsSortOrderEnum, bool)

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

type 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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type Listing

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

Listing The model for the Marketplace Publisher listing.

func (Listing) String

func (m Listing) String() string

func (Listing) ValidateEnumValue

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

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

type ListingCollection

type ListingCollection struct {

	// List of listing summary.
	Items []ListingSummary `mandatory:"true" json:"items"`
}

ListingCollection Results of listing search. Contains Listing items.

func (ListingCollection) String

func (m ListingCollection) String() string

func (ListingCollection) ValidateEnumValue

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

type ListingLifecycleStateEnum

type ListingLifecycleStateEnum string

ListingLifecycleStateEnum Enum with underlying type: string

const (
	ListingLifecycleStateCreating ListingLifecycleStateEnum = "CREATING"
	ListingLifecycleStateUpdating ListingLifecycleStateEnum = "UPDATING"
	ListingLifecycleStateActive   ListingLifecycleStateEnum = "ACTIVE"
	ListingLifecycleStateInactive ListingLifecycleStateEnum = "INACTIVE"
	ListingLifecycleStateDeleting ListingLifecycleStateEnum = "DELETING"
	ListingLifecycleStateDeleted  ListingLifecycleStateEnum = "DELETED"
	ListingLifecycleStateFailed   ListingLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListingLifecycleStateEnum

func GetListingLifecycleStateEnumValues

func GetListingLifecycleStateEnumValues() []ListingLifecycleStateEnum

GetListingLifecycleStateEnumValues Enumerates the set of values for ListingLifecycleStateEnum

func GetMappingListingLifecycleStateEnum

func GetMappingListingLifecycleStateEnum(val string) (ListingLifecycleStateEnum, bool)

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

type ListingRevision

type ListingRevision 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"`

	// The categories for the listing revsion.
	Categories []string `mandatory:"true" json:"categories"`

	// 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 ListingRevisionPricingTypeEnum `mandatory:"true" json:"pricingType"`

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

	VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`

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

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

	// The markets supported by the listing revision.
	Markets []string `mandatory:"false" json:"markets"`

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

	// Status notes for the listing revision.
	StatusNotes *string `mandatory:"false" json:"statusNotes"`

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

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

ListingRevision The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.

func (ListingRevision) String

func (m ListingRevision) String() string

func (ListingRevision) ValidateEnumValue

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

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

type ListingRevisionAttachment

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

	// 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 ListingRevisionAttachmentAttachmentTypeEnum

type ListingRevisionAttachmentAttachmentTypeEnum string

ListingRevisionAttachmentAttachmentTypeEnum Enum with underlying type: string

const (
	ListingRevisionAttachmentAttachmentTypeRelatedDocument ListingRevisionAttachmentAttachmentTypeEnum = "RELATED_DOCUMENT"
	ListingRevisionAttachmentAttachmentTypeScreenshot      ListingRevisionAttachmentAttachmentTypeEnum = "SCREENSHOT"
	ListingRevisionAttachmentAttachmentTypeVideo           ListingRevisionAttachmentAttachmentTypeEnum = "VIDEO"
)

Set of constants representing the allowable values for ListingRevisionAttachmentAttachmentTypeEnum

func GetListingRevisionAttachmentAttachmentTypeEnumValues

func GetListingRevisionAttachmentAttachmentTypeEnumValues() []ListingRevisionAttachmentAttachmentTypeEnum

GetListingRevisionAttachmentAttachmentTypeEnumValues Enumerates the set of values for ListingRevisionAttachmentAttachmentTypeEnum

func GetMappingListingRevisionAttachmentAttachmentTypeEnum

func GetMappingListingRevisionAttachmentAttachmentTypeEnum(val string) (ListingRevisionAttachmentAttachmentTypeEnum, bool)

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

type ListingRevisionAttachmentCollection

type ListingRevisionAttachmentCollection struct {

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

ListingRevisionAttachmentCollection Results of the listing attachments search. Contains attachment items.

func (ListingRevisionAttachmentCollection) String

func (ListingRevisionAttachmentCollection) ValidateEnumValue

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

type ListingRevisionAttachmentLifecycleStateEnum

type ListingRevisionAttachmentLifecycleStateEnum string

ListingRevisionAttachmentLifecycleStateEnum Enum with underlying type: string

const (
	ListingRevisionAttachmentLifecycleStateActive   ListingRevisionAttachmentLifecycleStateEnum = "ACTIVE"
	ListingRevisionAttachmentLifecycleStateInactive ListingRevisionAttachmentLifecycleStateEnum = "INACTIVE"
	ListingRevisionAttachmentLifecycleStateDeleted  ListingRevisionAttachmentLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListingRevisionAttachmentLifecycleStateEnum

func GetListingRevisionAttachmentLifecycleStateEnumValues

func GetListingRevisionAttachmentLifecycleStateEnumValues() []ListingRevisionAttachmentLifecycleStateEnum

GetListingRevisionAttachmentLifecycleStateEnumValues Enumerates the set of values for ListingRevisionAttachmentLifecycleStateEnum

func GetMappingListingRevisionAttachmentLifecycleStateEnum

func GetMappingListingRevisionAttachmentLifecycleStateEnum(val string) (ListingRevisionAttachmentLifecycleStateEnum, bool)

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

type ListingRevisionAttachmentSummary

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

ListingRevisionAttachmentSummary The model for a summary of a listing revision related attachments.

func (ListingRevisionAttachmentSummary) String

func (ListingRevisionAttachmentSummary) ValidateEnumValue

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

type ListingRevisionCollection

type ListingRevisionCollection struct {

	// List of listing revision summary.
	Items []ListingRevisionSummary `mandatory:"true" json:"items"`
}

ListingRevisionCollection Results of listing revision search. Contains Listing revision items.

func (ListingRevisionCollection) String

func (m ListingRevisionCollection) String() string

func (ListingRevisionCollection) ValidateEnumValue

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

type ListingRevisionIconAttachment

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

ListingRevisionIconAttachment An attachment uploaded by the Publisher to be attached to the listing revision.

func (ListingRevisionIconAttachment) String

func (ListingRevisionIconAttachment) ValidateEnumValue

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

type ListingRevisionLifecycleStateEnum

type ListingRevisionLifecycleStateEnum string

ListingRevisionLifecycleStateEnum Enum with underlying type: string

const (
	ListingRevisionLifecycleStateCreating ListingRevisionLifecycleStateEnum = "CREATING"
	ListingRevisionLifecycleStateUpdating ListingRevisionLifecycleStateEnum = "UPDATING"
	ListingRevisionLifecycleStateActive   ListingRevisionLifecycleStateEnum = "ACTIVE"
	ListingRevisionLifecycleStateDeleting ListingRevisionLifecycleStateEnum = "DELETING"
	ListingRevisionLifecycleStateDeleted  ListingRevisionLifecycleStateEnum = "DELETED"
	ListingRevisionLifecycleStateFailed   ListingRevisionLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListingRevisionLifecycleStateEnum

func GetListingRevisionLifecycleStateEnumValues

func GetListingRevisionLifecycleStateEnumValues() []ListingRevisionLifecycleStateEnum

GetListingRevisionLifecycleStateEnumValues Enumerates the set of values for ListingRevisionLifecycleStateEnum

func GetMappingListingRevisionLifecycleStateEnum

func GetMappingListingRevisionLifecycleStateEnum(val string) (ListingRevisionLifecycleStateEnum, bool)

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

type ListingRevisionNote

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

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

ListingRevisionNote The model for the listing revision notes.

func (ListingRevisionNote) String

func (m ListingRevisionNote) String() string

func (ListingRevisionNote) ValidateEnumValue

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

type ListingRevisionNoteCollection

type ListingRevisionNoteCollection struct {

	// List of note summary.
	Items []ListingRevisionNoteSummary `mandatory:"true" json:"items"`
}

ListingRevisionNoteCollection Results of note search. Contains listing revision note items.

func (ListingRevisionNoteCollection) String

func (ListingRevisionNoteCollection) ValidateEnumValue

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

type ListingRevisionNoteLifecycleStateEnum

type ListingRevisionNoteLifecycleStateEnum string

ListingRevisionNoteLifecycleStateEnum Enum with underlying type: string

const (
	ListingRevisionNoteLifecycleStateActive  ListingRevisionNoteLifecycleStateEnum = "ACTIVE"
	ListingRevisionNoteLifecycleStateDeleted ListingRevisionNoteLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListingRevisionNoteLifecycleStateEnum

func GetListingRevisionNoteLifecycleStateEnumValues

func GetListingRevisionNoteLifecycleStateEnumValues() []ListingRevisionNoteLifecycleStateEnum

GetListingRevisionNoteLifecycleStateEnumValues Enumerates the set of values for ListingRevisionNoteLifecycleStateEnum

func GetMappingListingRevisionNoteLifecycleStateEnum

func GetMappingListingRevisionNoteLifecycleStateEnum(val string) (ListingRevisionNoteLifecycleStateEnum, bool)

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

type ListingRevisionNoteNoteSourceEnum

type ListingRevisionNoteNoteSourceEnum string

ListingRevisionNoteNoteSourceEnum Enum with underlying type: string

const (
	ListingRevisionNoteNoteSourcePublisher     ListingRevisionNoteNoteSourceEnum = "PUBLISHER"
	ListingRevisionNoteNoteSourceAdministrator ListingRevisionNoteNoteSourceEnum = "ADMINISTRATOR"
)

Set of constants representing the allowable values for ListingRevisionNoteNoteSourceEnum

func GetListingRevisionNoteNoteSourceEnumValues

func GetListingRevisionNoteNoteSourceEnumValues() []ListingRevisionNoteNoteSourceEnum

GetListingRevisionNoteNoteSourceEnumValues Enumerates the set of values for ListingRevisionNoteNoteSourceEnum

func GetMappingListingRevisionNoteNoteSourceEnum

func GetMappingListingRevisionNoteNoteSourceEnum(val string) (ListingRevisionNoteNoteSourceEnum, bool)

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

type ListingRevisionNoteSummary

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

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

ListingRevisionNoteSummary The model for a summary of a listing revision notes.

func (ListingRevisionNoteSummary) String

func (ListingRevisionNoteSummary) ValidateEnumValue

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

type ListingRevisionPackage

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{}
}

ListingRevisionPackage A base object for all types of listing revision packages.

type ListingRevisionPackageCollection

type ListingRevisionPackageCollection struct {

	// List of package summary.
	Items []ListingRevisionPackageSummary `mandatory:"true" json:"items"`
}

ListingRevisionPackageCollection Results of package search. Contains Package items.

func (ListingRevisionPackageCollection) String

func (ListingRevisionPackageCollection) ValidateEnumValue

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

type ListingRevisionPackageLifecycleStateEnum

type ListingRevisionPackageLifecycleStateEnum string

ListingRevisionPackageLifecycleStateEnum Enum with underlying type: string

const (
	ListingRevisionPackageLifecycleStateCreating ListingRevisionPackageLifecycleStateEnum = "CREATING"
	ListingRevisionPackageLifecycleStateUpdating ListingRevisionPackageLifecycleStateEnum = "UPDATING"
	ListingRevisionPackageLifecycleStateActive   ListingRevisionPackageLifecycleStateEnum = "ACTIVE"
	ListingRevisionPackageLifecycleStateInactive ListingRevisionPackageLifecycleStateEnum = "INACTIVE"
	ListingRevisionPackageLifecycleStateDeleting ListingRevisionPackageLifecycleStateEnum = "DELETING"
	ListingRevisionPackageLifecycleStateDeleted  ListingRevisionPackageLifecycleStateEnum = "DELETED"
	ListingRevisionPackageLifecycleStateFailed   ListingRevisionPackageLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListingRevisionPackageLifecycleStateEnum

func GetListingRevisionPackageLifecycleStateEnumValues

func GetListingRevisionPackageLifecycleStateEnumValues() []ListingRevisionPackageLifecycleStateEnum

GetListingRevisionPackageLifecycleStateEnumValues Enumerates the set of values for ListingRevisionPackageLifecycleStateEnum

func GetMappingListingRevisionPackageLifecycleStateEnum

func GetMappingListingRevisionPackageLifecycleStateEnum(val string) (ListingRevisionPackageLifecycleStateEnum, bool)

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

type ListingRevisionPackageStatusEnum

type ListingRevisionPackageStatusEnum string

ListingRevisionPackageStatusEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for ListingRevisionPackageStatusEnum

func GetListingRevisionPackageStatusEnumValues

func GetListingRevisionPackageStatusEnumValues() []ListingRevisionPackageStatusEnum

GetListingRevisionPackageStatusEnumValues Enumerates the set of values for ListingRevisionPackageStatusEnum

func GetMappingListingRevisionPackageStatusEnum

func GetMappingListingRevisionPackageStatusEnum(val string) (ListingRevisionPackageStatusEnum, bool)

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

type ListingRevisionPackageSummary

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

ListingRevisionPackageSummary The model for a summary of a package.

func (ListingRevisionPackageSummary) String

func (ListingRevisionPackageSummary) ValidateEnumValue

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

type ListingRevisionPricingTypeEnum

type ListingRevisionPricingTypeEnum string

ListingRevisionPricingTypeEnum Enum with underlying type: string

const (
	ListingRevisionPricingTypeFree  ListingRevisionPricingTypeEnum = "FREE"
	ListingRevisionPricingTypeByol  ListingRevisionPricingTypeEnum = "BYOL"
	ListingRevisionPricingTypePaygo ListingRevisionPricingTypeEnum = "PAYGO"
)

Set of constants representing the allowable values for ListingRevisionPricingTypeEnum

func GetListingRevisionPricingTypeEnumValues

func GetListingRevisionPricingTypeEnumValues() []ListingRevisionPricingTypeEnum

GetListingRevisionPricingTypeEnumValues Enumerates the set of values for ListingRevisionPricingTypeEnum

func GetMappingListingRevisionPricingTypeEnum

func GetMappingListingRevisionPricingTypeEnum(val string) (ListingRevisionPricingTypeEnum, bool)

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

type ListingRevisionStatusEnum

type ListingRevisionStatusEnum string

ListingRevisionStatusEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for ListingRevisionStatusEnum

func GetListingRevisionStatusEnumValues

func GetListingRevisionStatusEnumValues() []ListingRevisionStatusEnum

GetListingRevisionStatusEnumValues Enumerates the set of values for ListingRevisionStatusEnum

func GetMappingListingRevisionStatusEnum

func GetMappingListingRevisionStatusEnum(val string) (ListingRevisionStatusEnum, bool)

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

type ListingRevisionSummary

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

	// Pricing type of the listing.
	PricingType ListingRevisionPricingTypeEnum `mandatory:"true" json:"pricingType"`

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

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

	// The markets where you can deploy the listing.
	Markets []string `mandatory:"false" json:"markets"`

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

ListingRevisionSummary The model for a summary of an Oracle Cloud Infrastructure Marketplace Publisher listing revision.

func (ListingRevisionSummary) String

func (m ListingRevisionSummary) String() string

func (ListingRevisionSummary) ValidateEnumValue

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

type ListingSummary

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

ListingSummary The model for a summary of the publisher listing.

func (ListingSummary) String

func (m ListingSummary) String() string

func (ListingSummary) ValidateEnumValue

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

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

type ListingTypeEnum

type ListingTypeEnum string

ListingTypeEnum Enum with underlying type: string

const (
	ListingTypeOciApplication ListingTypeEnum = "OCI_APPLICATION"
)

Set of constants representing the allowable values for ListingTypeEnum

func GetListingTypeEnumValues

func GetListingTypeEnumValues() []ListingTypeEnum

GetListingTypeEnumValues Enumerates the set of values for ListingTypeEnum

func GetMappingListingTypeEnum

func GetMappingListingTypeEnum(val string) (ListingTypeEnum, bool)

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

type 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
}

MarkListingRevisionPackageAsDefaultRequest wrapper for the MarkListingRevisionPackageAsDefault operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/MarkListingRevisionPackageAsDefault.go.html to see an example of how to use MarkListingRevisionPackageAsDefaultRequest.

func (MarkListingRevisionPackageAsDefaultRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (MarkListingRevisionPackageAsDefaultRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (MarkListingRevisionPackageAsDefaultRequest) RetryPolicy

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

func (MarkListingRevisionPackageAsDefaultRequest) String

func (MarkListingRevisionPackageAsDefaultRequest) ValidateEnumValue

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

type MarkListingRevisionPackageAsDefaultResponse

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

MarkListingRevisionPackageAsDefaultResponse wrapper for the MarkListingRevisionPackageAsDefault operation

func (MarkListingRevisionPackageAsDefaultResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (MarkListingRevisionPackageAsDefaultResponse) String

type Market

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

Market The model for the market details.

func (Market) String

func (m Market) String() string

func (Market) ValidateEnumValue

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

type MarketCollection

type MarketCollection struct {

	// List of market summary.
	Items []MarketSummary `mandatory:"true" json:"items"`
}

MarketCollection Results of a market search. Contains the market items.

func (MarketCollection) String

func (m MarketCollection) String() string

func (MarketCollection) ValidateEnumValue

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

type MarketLifecycleStateEnum

type MarketLifecycleStateEnum string

MarketLifecycleStateEnum Enum with underlying type: string

const (
	MarketLifecycleStateActive   MarketLifecycleStateEnum = "ACTIVE"
	MarketLifecycleStateInactive MarketLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for MarketLifecycleStateEnum

func GetMappingMarketLifecycleStateEnum

func GetMappingMarketLifecycleStateEnum(val string) (MarketLifecycleStateEnum, bool)

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

func GetMarketLifecycleStateEnumValues

func GetMarketLifecycleStateEnumValues() []MarketLifecycleStateEnum

GetMarketLifecycleStateEnumValues Enumerates the set of values for MarketLifecycleStateEnum

type MarketSummary

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

MarketSummary The model for the market metadata.

func (MarketSummary) String

func (m MarketSummary) String() string

func (MarketSummary) ValidateEnumValue

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

type MarketplacePublisherClient

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

MarketplacePublisherClient a client for MarketplacePublisher

func NewMarketplacePublisherClientWithConfigurationProvider

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

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 (MarketplacePublisherClient) ActivateTermVersion

func (client MarketplacePublisherClient) ActivateTermVersion(ctx context.Context, request ActivateTermVersionRequest) (response ActivateTermVersionResponse, err error)

ActivateTermVersion Mark the Term Version identified by the id as active

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CancelWorkRequest

func (client MarketplacePublisherClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancels the work request with the given ID.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CascadingDeleteListing

func (client MarketplacePublisherClient) CascadingDeleteListing(ctx context.Context, request CascadingDeleteListingRequest) (response CascadingDeleteListingResponse, err error)

CascadingDeleteListing Cascade delete the listing and its subresources.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CascadingDeleteListingRevision

func (client MarketplacePublisherClient) CascadingDeleteListingRevision(ctx context.Context, request CascadingDeleteListingRevisionRequest) (response CascadingDeleteListingRevisionResponse, err error)

CascadingDeleteListingRevision Cascade delete listing revision and its subresources.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ChangeArtifactCompartment

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.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ChangeListingCompartment

func (client MarketplacePublisherClient) ChangeListingCompartment(ctx context.Context, request ChangeListingCompartmentRequest) (response ChangeListingCompartmentResponse, err error)

ChangeListingCompartment Moves a listing from one compartment to another

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ChangeListingRevisionToNewStatus

func (client MarketplacePublisherClient) ChangeListingRevisionToNewStatus(ctx context.Context, request ChangeListingRevisionToNewStatusRequest) (response ChangeListingRevisionToNewStatusResponse, err error)

ChangeListingRevisionToNewStatus Updates the Listing Revision to New status

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ChangeTermCompartment

func (client MarketplacePublisherClient) ChangeTermCompartment(ctx context.Context, request ChangeTermCompartmentRequest) (response ChangeTermCompartmentResponse, err error)

ChangeTermCompartment Moves a term from one compartment to another

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CloneListingRevision

func (client MarketplacePublisherClient) CloneListingRevision(ctx context.Context, request CloneListingRevisionRequest) (response CloneListingRevisionResponse, err error)

CloneListingRevision Clone the published/withdrawn Listing Revision identified by the identifier.

See also

Click https://docs.cloud.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 (*MarketplacePublisherClient) ConfigurationProvider

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

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

func (MarketplacePublisherClient) CreateArtifact

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.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CreateListing

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 and HELM_CHART 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.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CreateListingRevision

func (client MarketplacePublisherClient) CreateListingRevision(ctx context.Context, request CreateListingRevisionRequest) (response CreateListingRevisionResponse, err error)

CreateListingRevision Creates a new Listing Revision.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CreateListingRevisionAttachment

func (client MarketplacePublisherClient) CreateListingRevisionAttachment(ctx context.Context, request CreateListingRevisionAttachmentRequest) (response CreateListingRevisionAttachmentResponse, err error)

CreateListingRevisionAttachment Creates a new listing revision attachment.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CreateListingRevisionNote

func (client MarketplacePublisherClient) CreateListingRevisionNote(ctx context.Context, request CreateListingRevisionNoteRequest) (response CreateListingRevisionNoteResponse, err error)

CreateListingRevisionNote Creates a new Listing Revision Note.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CreateListingRevisionPackage

func (client MarketplacePublisherClient) CreateListingRevisionPackage(ctx context.Context, request CreateListingRevisionPackageRequest) (response CreateListingRevisionPackageResponse, err error)

CreateListingRevisionPackage Creates a new Listing Revision Package.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CreateTerm

func (client MarketplacePublisherClient) CreateTerm(ctx context.Context, request CreateTermRequest) (response CreateTermResponse, err error)

CreateTerm Creates a new Term.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) CreateTermVersion

func (client MarketplacePublisherClient) CreateTermVersion(ctx context.Context, request CreateTermVersionRequest) (response CreateTermVersionResponse, err error)

CreateTermVersion Creates a new Term Version.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) DeleteArtifact

func (client MarketplacePublisherClient) DeleteArtifact(ctx context.Context, request DeleteArtifactRequest) (response DeleteArtifactResponse, err error)

DeleteArtifact Deletes the specified artifact.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) DeleteListing

func (client MarketplacePublisherClient) DeleteListing(ctx context.Context, request DeleteListingRequest) (response DeleteListingResponse, err error)

DeleteListing Deletes a listing by the identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) DeleteListingRevision

func (client MarketplacePublisherClient) DeleteListingRevision(ctx context.Context, request DeleteListingRevisionRequest) (response DeleteListingRevisionResponse, err error)

DeleteListingRevision Deletes a listing by the identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) DeleteListingRevisionAttachment

func (client MarketplacePublisherClient) DeleteListingRevisionAttachment(ctx context.Context, request DeleteListingRevisionAttachmentRequest) (response DeleteListingRevisionAttachmentResponse, err error)

DeleteListingRevisionAttachment Deletes a listing revision attachment by the identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) DeleteListingRevisionNote

func (client MarketplacePublisherClient) DeleteListingRevisionNote(ctx context.Context, request DeleteListingRevisionNoteRequest) (response DeleteListingRevisionNoteResponse, err error)

DeleteListingRevisionNote Deletes a listing revision note by the identifier.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) DeleteListingRevisionPackage

func (client MarketplacePublisherClient) DeleteListingRevisionPackage(ctx context.Context, request DeleteListingRevisionPackageRequest) (response DeleteListingRevisionPackageResponse, err error)

DeleteListingRevisionPackage Deletes a listing revision package by the identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) DeleteTerm

func (client MarketplacePublisherClient) DeleteTerm(ctx context.Context, request DeleteTermRequest) (response DeleteTermResponse, err error)

DeleteTerm Deletes a Term by the identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) DeleteTermVersion

func (client MarketplacePublisherClient) DeleteTermVersion(ctx context.Context, request DeleteTermVersionRequest) (response DeleteTermVersionResponse, err error)

DeleteTermVersion Deletes a Term by the identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetArtifact

func (client MarketplacePublisherClient) GetArtifact(ctx context.Context, request GetArtifactRequest) (response GetArtifactResponse, err error)

GetArtifact Gets the specified artifact's information.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetCategory

func (client MarketplacePublisherClient) GetCategory(ctx context.Context, request GetCategoryRequest) (response GetCategoryResponse, err error)

GetCategory Gets the specified category's information.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetListing

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

GetListing Gets the details for a listing.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetListingRevision

func (client MarketplacePublisherClient) GetListingRevision(ctx context.Context, request GetListingRevisionRequest) (response GetListingRevisionResponse, err error)

GetListingRevision Gets the details for a listing revision.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetListingRevisionAttachment

func (client MarketplacePublisherClient) GetListingRevisionAttachment(ctx context.Context, request GetListingRevisionAttachmentRequest) (response GetListingRevisionAttachmentResponse, err error)

GetListingRevisionAttachment Get the details of the specified listing revision attachment.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetListingRevisionNote

func (client MarketplacePublisherClient) GetListingRevisionNote(ctx context.Context, request GetListingRevisionNoteRequest) (response GetListingRevisionNoteResponse, err error)

GetListingRevisionNote Get note details by the identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetListingRevisionPackage

func (client MarketplacePublisherClient) GetListingRevisionPackage(ctx context.Context, request GetListingRevisionPackageRequest) (response GetListingRevisionPackageResponse, err error)

GetListingRevisionPackage Get the details of the specified version of a package.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetMarket

func (client MarketplacePublisherClient) GetMarket(ctx context.Context, request GetMarketRequest) (response GetMarketResponse, err error)

GetMarket Gets the specified market's information.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetProduct

func (client MarketplacePublisherClient) GetProduct(ctx context.Context, request GetProductRequest) (response GetProductResponse, err error)

GetProduct Gets a Product by code identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetPublisher

func (client MarketplacePublisherClient) GetPublisher(ctx context.Context, request GetPublisherRequest) (response GetPublisherResponse, err error)

GetPublisher Gets a Publisher by identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetTerm

func (client MarketplacePublisherClient) GetTerm(ctx context.Context, request GetTermRequest) (response GetTermResponse, err error)

GetTerm Gets a Term by identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetTermVersion

func (client MarketplacePublisherClient) GetTermVersion(ctx context.Context, request GetTermVersionRequest) (response GetTermVersionResponse, err error)

GetTermVersion Gets a Term Version by the identifier

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) GetWorkRequest

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

GetWorkRequest Gets details of the work request with the given ID.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListArtifacts

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).

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListCategories

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).

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListListingRevisionAttachments

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

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListListingRevisionNotes

func (client MarketplacePublisherClient) ListListingRevisionNotes(ctx context.Context, request ListListingRevisionNotesRequest) (response ListListingRevisionNotesResponse, err error)

ListListingRevisionNotes Gets the list of notes for a listing revision.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListListingRevisionPackages

func (client MarketplacePublisherClient) ListListingRevisionPackages(ctx context.Context, request ListListingRevisionPackagesRequest) (response ListListingRevisionPackagesResponse, err error)

ListListingRevisionPackages Gets the list of packages for a listing revision.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListListingRevisions

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).

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListListings

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).

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListMarkets

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).

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListProducts

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).

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListPublishers

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

ListPublishers Returns a list of publishers.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListTermVersions

func (client MarketplacePublisherClient) ListTermVersions(ctx context.Context, request ListTermVersionsRequest) (response ListTermVersionsResponse, err error)

ListTermVersions Returns a list of the publisher term versions.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListTerms

func (client MarketplacePublisherClient) ListTerms(ctx context.Context, request ListTermsRequest) (response ListTermsResponse, err error)

ListTerms Returns a list of the publisher terms.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListWorkRequestErrors

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.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListWorkRequestLogs

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.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) MarkListingRevisionPackageAsDefault

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

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) PublishListingRevision

func (client MarketplacePublisherClient) PublishListingRevision(ctx context.Context, request PublishListingRevisionRequest) (response PublishListingRevisionResponse, err error)

PublishListingRevision Publish the Listing revision identified by Identifier.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) PublishListingRevisionAsPrivate

func (client MarketplacePublisherClient) PublishListingRevisionAsPrivate(ctx context.Context, request PublishListingRevisionAsPrivateRequest) (response PublishListingRevisionAsPrivateResponse, err error)

PublishListingRevisionAsPrivate Updates the Listing Revision to PublishAsPrivate

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) PublishListingRevisionPackage

func (client MarketplacePublisherClient) PublishListingRevisionPackage(ctx context.Context, request PublishListingRevisionPackageRequest) (response PublishListingRevisionPackageResponse, err error)

PublishListingRevisionPackage Updates the Listing Revision Package to publish status

See also

Click https://docs.cloud.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 (*MarketplacePublisherClient) SetRegion

func (client *MarketplacePublisherClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (MarketplacePublisherClient) SubmitListingRevisionForReview

func (client MarketplacePublisherClient) SubmitListingRevisionForReview(ctx context.Context, request SubmitListingRevisionForReviewRequest) (response SubmitListingRevisionForReviewResponse, err error)

SubmitListingRevisionForReview Update the Listing Revision identified by the id for review

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UnPublishListingRevisionPackage

func (client MarketplacePublisherClient) UnPublishListingRevisionPackage(ctx context.Context, request UnPublishListingRevisionPackageRequest) (response UnPublishListingRevisionPackageResponse, err error)

UnPublishListingRevisionPackage Updates the Listing Revision Package to Unpublish status

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateArtifact

func (client MarketplacePublisherClient) UpdateArtifact(ctx context.Context, request UpdateArtifactRequest) (response UpdateArtifactResponse, err error)

UpdateArtifact Updates the specified artifact identified by the id.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateListing

func (client MarketplacePublisherClient) UpdateListing(ctx context.Context, request UpdateListingRequest) (response UpdateListingResponse, err error)

UpdateListing Updates the specified Listing identified by the id.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateListingRevision

func (client MarketplacePublisherClient) UpdateListingRevision(ctx context.Context, request UpdateListingRevisionRequest) (response UpdateListingRevisionResponse, err error)

UpdateListingRevision Updates the Listing Revision

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateListingRevisionAttachment

func (client MarketplacePublisherClient) UpdateListingRevisionAttachment(ctx context.Context, request UpdateListingRevisionAttachmentRequest) (response UpdateListingRevisionAttachmentResponse, err error)

UpdateListingRevisionAttachment Updates the Listing Revision Attachment

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateListingRevisionAttachmentContent

UpdateListingRevisionAttachmentContent Update a file to listing revision attachment

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateListingRevisionIconContent

func (client MarketplacePublisherClient) UpdateListingRevisionIconContent(ctx context.Context, request UpdateListingRevisionIconContentRequest) (response UpdateListingRevisionIconContentResponse, err error)

UpdateListingRevisionIconContent Updates the Listing Revision

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateListingRevisionPackage

func (client MarketplacePublisherClient) UpdateListingRevisionPackage(ctx context.Context, request UpdateListingRevisionPackageRequest) (response UpdateListingRevisionPackageResponse, err error)

UpdateListingRevisionPackage Updates the Listing Revision Package.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateTerm

func (client MarketplacePublisherClient) UpdateTerm(ctx context.Context, request UpdateTermRequest) (response UpdateTermResponse, err error)

UpdateTerm Updates the Term

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateTermVersion

func (client MarketplacePublisherClient) UpdateTermVersion(ctx context.Context, request UpdateTermVersionRequest) (response UpdateTermVersionResponse, err error)

UpdateTermVersion Updates the Term Version

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) UpdateTermVersionContent

func (client MarketplacePublisherClient) UpdateTermVersionContent(ctx context.Context, request UpdateTermVersionContentRequest) (response UpdateTermVersionContentResponse, err error)

UpdateTermVersionContent Updates the Term Version attachment

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) ValidateAndPublishArtifact

func (client MarketplacePublisherClient) ValidateAndPublishArtifact(ctx context.Context, request ValidateAndPublishArtifactRequest) (response ValidateAndPublishArtifactResponse, err error)

ValidateAndPublishArtifact Validate and publish artifact.

See also

Click https://docs.cloud.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 (MarketplacePublisherClient) WithdrawListingRevision

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.

See also

Click https://docs.cloud.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()

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

NamedLink A link to a resource on the internet.

func (NamedLink) String

func (m NamedLink) String() string

func (NamedLink) ValidateEnumValue

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

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

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	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"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type OpnMembership

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 OpnMembershipOpnStatusEnum `mandatory:"false" json:"opnStatus,omitempty"`

	// OPN Number number
	OpnNumber *string `mandatory:"false" json:"opnNumber"`

	// OPN membership type
	OpnMembershipType *string `mandatory:"false" json:"opnMembershipType"`
}

OpnMembership OPN membership information

func (OpnMembership) String

func (m OpnMembership) String() string

func (OpnMembership) ValidateEnumValue

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

type OpnMembershipOpnStatusEnum

type OpnMembershipOpnStatusEnum string

OpnMembershipOpnStatusEnum Enum with underlying type: string

const (
	OpnMembershipOpnStatusActive            OpnMembershipOpnStatusEnum = "ACTIVE"
	OpnMembershipOpnStatusInactive          OpnMembershipOpnStatusEnum = "INACTIVE"
	OpnMembershipOpnStatusRenewalInProgress OpnMembershipOpnStatusEnum = "RENEWAL_IN_PROGRESS"
)

Set of constants representing the allowable values for OpnMembershipOpnStatusEnum

func GetMappingOpnMembershipOpnStatusEnum

func GetMappingOpnMembershipOpnStatusEnum(val string) (OpnMembershipOpnStatusEnum, bool)

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

func GetOpnMembershipOpnStatusEnumValues

func GetOpnMembershipOpnStatusEnumValues() []OpnMembershipOpnStatusEnum

GetOpnMembershipOpnStatusEnumValues Enumerates the set of values for OpnMembershipOpnStatusEnum

type PackageTypeEnum

type PackageTypeEnum string

PackageTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for PackageTypeEnum

func GetMappingPackageTypeEnum

func GetMappingPackageTypeEnum(val string) (PackageTypeEnum, bool)

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

func GetPackageTypeEnumValues

func GetPackageTypeEnumValues() []PackageTypeEnum

GetPackageTypeEnumValues Enumerates the set of values for PackageTypeEnum

type PrivateOfferAccountDetails

type PrivateOfferAccountDetails struct {

	// Meter name
	Meter *string `mandatory:"false" json:"meter"`

	// SKU name
	Sku *string `mandatory:"false" json:"sku"`
}

PrivateOfferAccountDetails Private Offer account details.

func (PrivateOfferAccountDetails) String

func (PrivateOfferAccountDetails) ValidateEnumValue

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

type Product

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

Product The model for the product details.

func (Product) String

func (m Product) String() string

func (Product) ValidateEnumValue

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

type ProductCollection

type ProductCollection struct {

	// List of product summary.
	Items []ProductSummary `mandatory:"true" json:"items"`
}

ProductCollection Results of a product search. Contains the product items.

func (ProductCollection) String

func (m ProductCollection) String() string

func (ProductCollection) ValidateEnumValue

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

type ProductLifecycleStateEnum

type ProductLifecycleStateEnum string

ProductLifecycleStateEnum Enum with underlying type: string

const (
	ProductLifecycleStateActive   ProductLifecycleStateEnum = "ACTIVE"
	ProductLifecycleStateInactive ProductLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ProductLifecycleStateEnum

func GetMappingProductLifecycleStateEnum

func GetMappingProductLifecycleStateEnum(val string) (ProductLifecycleStateEnum, bool)

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

func GetProductLifecycleStateEnumValues

func GetProductLifecycleStateEnumValues() []ProductLifecycleStateEnum

GetProductLifecycleStateEnumValues Enumerates the set of values for ProductLifecycleStateEnum

type ProductSummary

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

ProductSummary The model for the product metadata.

func (ProductSummary) String

func (m ProductSummary) String() string

func (ProductSummary) ValidateEnumValue

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

type PublicationStatusEnum

type PublicationStatusEnum string

PublicationStatusEnum Enum with underlying type: string

const (
	PublicationStatusPublicationInProgress PublicationStatusEnum = "PUBLICATION_IN_PROGRESS"
	PublicationStatusPublicationCompleted  PublicationStatusEnum = "PUBLICATION_COMPLETED"
	PublicationStatusPublicationFailed     PublicationStatusEnum = "PUBLICATION_FAILED"
)

Set of constants representing the allowable values for PublicationStatusEnum

func GetMappingPublicationStatusEnum

func GetMappingPublicationStatusEnum(val string) (PublicationStatusEnum, bool)

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

func GetPublicationStatusEnumValues

func GetPublicationStatusEnumValues() []PublicationStatusEnum

GetPublicationStatusEnumValues Enumerates the set of values for PublicationStatusEnum

type PublishListingRevisionAsPrivateDetails

type PublishListingRevisionAsPrivateDetails struct {

	// Allowed tenancies provided when a listing is published as private.
	AllowedTenancies []string `mandatory:"false" json:"allowedTenancies"`
}

PublishListingRevisionAsPrivateDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher publish as private listing revision.

func (PublishListingRevisionAsPrivateDetails) String

func (PublishListingRevisionAsPrivateDetails) ValidateEnumValue

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

type 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
}

PublishListingRevisionAsPrivateRequest wrapper for the PublishListingRevisionAsPrivate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/PublishListingRevisionAsPrivate.go.html to see an example of how to use PublishListingRevisionAsPrivateRequest.

func (PublishListingRevisionAsPrivateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (PublishListingRevisionAsPrivateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (PublishListingRevisionAsPrivateRequest) RetryPolicy

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

func (PublishListingRevisionAsPrivateRequest) String

func (PublishListingRevisionAsPrivateRequest) ValidateEnumValue

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

type PublishListingRevisionAsPrivateResponse

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

PublishListingRevisionAsPrivateResponse wrapper for the PublishListingRevisionAsPrivate operation

func (PublishListingRevisionAsPrivateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PublishListingRevisionAsPrivateResponse) String

type 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
}

PublishListingRevisionPackageRequest wrapper for the PublishListingRevisionPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/PublishListingRevisionPackage.go.html to see an example of how to use PublishListingRevisionPackageRequest.

func (PublishListingRevisionPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (PublishListingRevisionPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (PublishListingRevisionPackageRequest) RetryPolicy

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

func (PublishListingRevisionPackageRequest) String

func (PublishListingRevisionPackageRequest) ValidateEnumValue

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

type PublishListingRevisionPackageResponse

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

PublishListingRevisionPackageResponse wrapper for the PublishListingRevisionPackage operation

func (PublishListingRevisionPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PublishListingRevisionPackageResponse) String

type 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
}

PublishListingRevisionRequest wrapper for the PublishListingRevision operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/PublishListingRevision.go.html to see an example of how to use PublishListingRevisionRequest.

func (PublishListingRevisionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (PublishListingRevisionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (PublishListingRevisionRequest) RetryPolicy

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

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

func (PublishListingRevisionRequest) String

func (request PublishListingRevisionRequest) String() string

func (PublishListingRevisionRequest) ValidateEnumValue

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

type PublishListingRevisionResponse

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

PublishListingRevisionResponse wrapper for the PublishListingRevision operation

func (PublishListingRevisionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PublishListingRevisionResponse) String

func (response PublishListingRevisionResponse) String() string

type Publisher

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


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

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

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

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

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

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

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

Publisher The model for a publisher details.

func (Publisher) String

func (m Publisher) String() string

func (Publisher) ValidateEnumValue

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

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

type PublisherCollection

type PublisherCollection struct {

	// List of publisher summary.
	Items []PublisherSummary `mandatory:"true" json:"items"`
}

PublisherCollection Results of a publisher search. Contains Publisher items.

func (PublisherCollection) String

func (m PublisherCollection) String() string

func (PublisherCollection) ValidateEnumValue

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

type PublisherPublisherStatusEnum

type PublisherPublisherStatusEnum string

PublisherPublisherStatusEnum Enum with underlying type: string

const (
	PublisherPublisherStatusNew       PublisherPublisherStatusEnum = "NEW"
	PublisherPublisherStatusApproved  PublisherPublisherStatusEnum = "APPROVED"
	PublisherPublisherStatusSuspended PublisherPublisherStatusEnum = "SUSPENDED"
	PublisherPublisherStatusRemoved   PublisherPublisherStatusEnum = "REMOVED"
	PublisherPublisherStatusRejected  PublisherPublisherStatusEnum = "REJECTED"
	PublisherPublisherStatusContacted PublisherPublisherStatusEnum = "CONTACTED"
)

Set of constants representing the allowable values for PublisherPublisherStatusEnum

func GetMappingPublisherPublisherStatusEnum

func GetMappingPublisherPublisherStatusEnum(val string) (PublisherPublisherStatusEnum, bool)

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

func GetPublisherPublisherStatusEnumValues

func GetPublisherPublisherStatusEnumValues() []PublisherPublisherStatusEnum

GetPublisherPublisherStatusEnumValues Enumerates the set of values for PublisherPublisherStatusEnum

type PublisherPublisherTypeEnum

type PublisherPublisherTypeEnum string

PublisherPublisherTypeEnum Enum with underlying type: string

const (
	PublisherPublisherTypeInternal PublisherPublisherTypeEnum = "INTERNAL"
	PublisherPublisherTypeExternal PublisherPublisherTypeEnum = "EXTERNAL"
)

Set of constants representing the allowable values for PublisherPublisherTypeEnum

func GetMappingPublisherPublisherTypeEnum

func GetMappingPublisherPublisherTypeEnum(val string) (PublisherPublisherTypeEnum, bool)

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

func GetPublisherPublisherTypeEnumValues

func GetPublisherPublisherTypeEnumValues() []PublisherPublisherTypeEnum

GetPublisherPublisherTypeEnumValues Enumerates the set of values for PublisherPublisherTypeEnum

type PublisherSummary

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


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

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

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

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

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

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

PublisherSummary The model for a publisher.

func (PublisherSummary) String

func (m PublisherSummary) String() string

func (PublisherSummary) ValidateEnumValue

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

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

type PublisherSummaryPublisherTypeEnum

type PublisherSummaryPublisherTypeEnum string

PublisherSummaryPublisherTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for PublisherSummaryPublisherTypeEnum

func GetMappingPublisherSummaryPublisherTypeEnum

func GetMappingPublisherSummaryPublisherTypeEnum(val string) (PublisherSummaryPublisherTypeEnum, bool)

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

func GetPublisherSummaryPublisherTypeEnumValues

func GetPublisherSummaryPublisherTypeEnumValues() []PublisherSummaryPublisherTypeEnum

GetPublisherSummaryPublisherTypeEnumValues Enumerates the set of values for PublisherSummaryPublisherTypeEnum

type RelatedDocumentAttachment

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

	// The current state of the attachment.
	LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

RelatedDocumentAttachment Related document attachment for the listing revision.

func (RelatedDocumentAttachment) GetCompartmentId

func (m RelatedDocumentAttachment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RelatedDocumentAttachment) GetDefinedTags

func (m RelatedDocumentAttachment) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RelatedDocumentAttachment) GetDescription

func (m RelatedDocumentAttachment) GetDescription() *string

GetDescription returns Description

func (RelatedDocumentAttachment) GetDisplayName

func (m RelatedDocumentAttachment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RelatedDocumentAttachment) GetFreeformTags

func (m RelatedDocumentAttachment) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RelatedDocumentAttachment) GetId

func (m RelatedDocumentAttachment) GetId() *string

GetId returns Id

func (RelatedDocumentAttachment) GetLifecycleState

GetLifecycleState returns LifecycleState

func (RelatedDocumentAttachment) GetListingRevisionId

func (m RelatedDocumentAttachment) GetListingRevisionId() *string

GetListingRevisionId returns ListingRevisionId

func (RelatedDocumentAttachment) GetSystemTags

func (m RelatedDocumentAttachment) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RelatedDocumentAttachment) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (RelatedDocumentAttachment) GetTimeUpdated

func (m RelatedDocumentAttachment) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (RelatedDocumentAttachment) MarshalJSON

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

MarshalJSON marshals to json representation

func (RelatedDocumentAttachment) String

func (m RelatedDocumentAttachment) String() string

func (RelatedDocumentAttachment) ValidateEnumValue

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

type RelatedDocumentAttachmentDocumentCategoryEnum

type RelatedDocumentAttachmentDocumentCategoryEnum string

RelatedDocumentAttachmentDocumentCategoryEnum Enum with underlying type: string

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"
	RelatedDocumentAttachmentDocumentCategoryWebinar              RelatedDocumentAttachmentDocumentCategoryEnum = "WEBINAR"
)

Set of constants representing the allowable values for RelatedDocumentAttachmentDocumentCategoryEnum

func GetMappingRelatedDocumentAttachmentDocumentCategoryEnum

func GetMappingRelatedDocumentAttachmentDocumentCategoryEnum(val string) (RelatedDocumentAttachmentDocumentCategoryEnum, bool)

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

func GetRelatedDocumentAttachmentDocumentCategoryEnumValues

func GetRelatedDocumentAttachmentDocumentCategoryEnumValues() []RelatedDocumentAttachmentDocumentCategoryEnum

GetRelatedDocumentAttachmentDocumentCategoryEnumValues Enumerates the set of values for RelatedDocumentAttachmentDocumentCategoryEnum

type ScreenShotAttachment

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

	// The current state of the attachment.
	LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

ScreenShotAttachment Screenshot attachment for the listing revision.

func (ScreenShotAttachment) GetCompartmentId

func (m ScreenShotAttachment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ScreenShotAttachment) GetDefinedTags

func (m ScreenShotAttachment) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ScreenShotAttachment) GetDescription

func (m ScreenShotAttachment) GetDescription() *string

GetDescription returns Description

func (ScreenShotAttachment) GetDisplayName

func (m ScreenShotAttachment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (ScreenShotAttachment) GetFreeformTags

func (m ScreenShotAttachment) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (ScreenShotAttachment) GetId

func (m ScreenShotAttachment) GetId() *string

GetId returns Id

func (ScreenShotAttachment) GetLifecycleState

GetLifecycleState returns LifecycleState

func (ScreenShotAttachment) GetListingRevisionId

func (m ScreenShotAttachment) GetListingRevisionId() *string

GetListingRevisionId returns ListingRevisionId

func (ScreenShotAttachment) GetSystemTags

func (m ScreenShotAttachment) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (ScreenShotAttachment) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (ScreenShotAttachment) GetTimeUpdated

func (m ScreenShotAttachment) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ScreenShotAttachment) MarshalJSON

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

MarshalJSON marshals to json representation

func (ScreenShotAttachment) String

func (m ScreenShotAttachment) String() string

func (ScreenShotAttachment) ValidateEnumValue

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

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type SubmitListingRevisionForReviewDetails

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

SubmitListingRevisionForReviewDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher review listing revision.

func (SubmitListingRevisionForReviewDetails) String

func (SubmitListingRevisionForReviewDetails) ValidateEnumValue

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

type 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
}

SubmitListingRevisionForReviewRequest wrapper for the SubmitListingRevisionForReview operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/SubmitListingRevisionForReview.go.html to see an example of how to use SubmitListingRevisionForReviewRequest.

func (SubmitListingRevisionForReviewRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (SubmitListingRevisionForReviewRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SubmitListingRevisionForReviewRequest) RetryPolicy

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

func (SubmitListingRevisionForReviewRequest) String

func (SubmitListingRevisionForReviewRequest) ValidateEnumValue

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

type SubmitListingRevisionForReviewResponse

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

SubmitListingRevisionForReviewResponse wrapper for the SubmitListingRevisionForReview operation

func (SubmitListingRevisionForReviewResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SubmitListingRevisionForReviewResponse) String

type SupportContact

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

SupportContact Contact information to use to get support.

func (SupportContact) String

func (m SupportContact) String() string

func (SupportContact) ValidateEnumValue

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

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

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

Term Base model object for the term.

func (Term) String

func (m Term) String() string

func (Term) ValidateEnumValue

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

type TermAuthorEnum

type TermAuthorEnum string

TermAuthorEnum Enum with underlying type: string

const (
	TermAuthorOracle  TermAuthorEnum = "ORACLE"
	TermAuthorPartner TermAuthorEnum = "PARTNER"
)

Set of constants representing the allowable values for TermAuthorEnum

func GetMappingTermAuthorEnum

func GetMappingTermAuthorEnum(val string) (TermAuthorEnum, bool)

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

func GetTermAuthorEnumValues

func GetTermAuthorEnumValues() []TermAuthorEnum

GetTermAuthorEnumValues Enumerates the set of values for TermAuthorEnum

type TermCollection

type TermCollection struct {

	// List of the Terms summary.
	Items []TermSummary `mandatory:"true" json:"items"`
}

TermCollection Results of the term search. Contains term items.

func (TermCollection) String

func (m TermCollection) String() string

func (TermCollection) ValidateEnumValue

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

type TermLifecycleStateEnum

type TermLifecycleStateEnum string

TermLifecycleStateEnum Enum with underlying type: string

const (
	TermLifecycleStateActive   TermLifecycleStateEnum = "ACTIVE"
	TermLifecycleStateInactive TermLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for TermLifecycleStateEnum

func GetMappingTermLifecycleStateEnum

func GetMappingTermLifecycleStateEnum(val string) (TermLifecycleStateEnum, bool)

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

func GetTermLifecycleStateEnumValues

func GetTermLifecycleStateEnumValues() []TermLifecycleStateEnum

GetTermLifecycleStateEnumValues Enumerates the set of values for TermLifecycleStateEnum

type TermSummary

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

TermSummary The model for the term summary.

func (TermSummary) String

func (m TermSummary) String() string

func (TermSummary) ValidateEnumValue

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

type TermVersion

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

TermVersion Model object for the term version details.

func (TermVersion) String

func (m TermVersion) String() string

func (TermVersion) ValidateEnumValue

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

type TermVersionAttachment

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

TermVersionAttachment An attachment uploaded by the Publisher for the term.

func (TermVersionAttachment) String

func (m TermVersionAttachment) String() string

func (TermVersionAttachment) ValidateEnumValue

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

type TermVersionCollection

type TermVersionCollection struct {

	// List of the Terms version summary.
	Items []TermVersionSummary `mandatory:"true" json:"items"`
}

TermVersionCollection Results of the term version search. Contains term version items.

func (TermVersionCollection) String

func (m TermVersionCollection) String() string

func (TermVersionCollection) ValidateEnumValue

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

type TermVersionLifecycleStateEnum

type TermVersionLifecycleStateEnum string

TermVersionLifecycleStateEnum Enum with underlying type: string

const (
	TermVersionLifecycleStateActive   TermVersionLifecycleStateEnum = "ACTIVE"
	TermVersionLifecycleStateInactive TermVersionLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for TermVersionLifecycleStateEnum

func GetMappingTermVersionLifecycleStateEnum

func GetMappingTermVersionLifecycleStateEnum(val string) (TermVersionLifecycleStateEnum, bool)

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

func GetTermVersionLifecycleStateEnumValues

func GetTermVersionLifecycleStateEnumValues() []TermVersionLifecycleStateEnum

GetTermVersionLifecycleStateEnumValues Enumerates the set of values for TermVersionLifecycleStateEnum

type TermVersionStatusEnum

type TermVersionStatusEnum string

TermVersionStatusEnum Enum with underlying type: string

const (
	TermVersionStatusAvailable    TermVersionStatusEnum = "AVAILABLE"
	TermVersionStatusNotAvailable TermVersionStatusEnum = "NOT_AVAILABLE"
	TermVersionStatusDeleted      TermVersionStatusEnum = "DELETED"
)

Set of constants representing the allowable values for TermVersionStatusEnum

func GetMappingTermVersionStatusEnum

func GetMappingTermVersionStatusEnum(val string) (TermVersionStatusEnum, bool)

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

func GetTermVersionStatusEnumValues

func GetTermVersionStatusEnumValues() []TermVersionStatusEnum

GetTermVersionStatusEnumValues Enumerates the set of values for TermVersionStatusEnum

type TermVersionSummary

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

TermVersionSummary The model for the term version summary.

func (TermVersionSummary) String

func (m TermVersionSummary) String() string

func (TermVersionSummary) ValidateEnumValue

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

type 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
}

UnPublishListingRevisionPackageRequest wrapper for the UnPublishListingRevisionPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UnPublishListingRevisionPackage.go.html to see an example of how to use UnPublishListingRevisionPackageRequest.

func (UnPublishListingRevisionPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UnPublishListingRevisionPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UnPublishListingRevisionPackageRequest) RetryPolicy

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

func (UnPublishListingRevisionPackageRequest) String

func (UnPublishListingRevisionPackageRequest) ValidateEnumValue

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

type UnPublishListingRevisionPackageResponse

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

UnPublishListingRevisionPackageResponse wrapper for the UnPublishListingRevisionPackage operation

func (UnPublishListingRevisionPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UnPublishListingRevisionPackageResponse) String

type UpdateArtifactDetails

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{}
}

UpdateArtifactDetails The model for an Oracle Cloud Infrastructure Marketplace artifact.

type 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
}

UpdateArtifactRequest wrapper for the UpdateArtifact operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateArtifact.go.html to see an example of how to use UpdateArtifactRequest.

func (UpdateArtifactRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateArtifactRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateArtifactRequest) RetryPolicy

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

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

func (UpdateArtifactRequest) String

func (request UpdateArtifactRequest) String() string

func (UpdateArtifactRequest) ValidateEnumValue

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

type UpdateArtifactResponse

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

UpdateArtifactResponse wrapper for the UpdateArtifact operation

func (UpdateArtifactResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateArtifactResponse) String

func (response UpdateArtifactResponse) String() string

type UpdateContainerImageArtifactDetails

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

UpdateContainerImageArtifactDetails Details to update the container image artifact.

func (UpdateContainerImageArtifactDetails) GetCompartmentId

func (m UpdateContainerImageArtifactDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (UpdateContainerImageArtifactDetails) GetDefinedTags

func (m UpdateContainerImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateContainerImageArtifactDetails) GetDisplayName

func (m UpdateContainerImageArtifactDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateContainerImageArtifactDetails) GetFreeformTags

func (m UpdateContainerImageArtifactDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateContainerImageArtifactDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateContainerImageArtifactDetails) String

func (UpdateContainerImageArtifactDetails) ValidateEnumValue

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

type UpdateContainerImageDetails

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

UpdateContainerImageDetails Container image details required to update a container artifact.

func (UpdateContainerImageDetails) String

func (UpdateContainerImageDetails) ValidateEnumValue

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

type UpdateHelmChartImageDetails

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

UpdateHelmChartImageDetails Helmchart image details required to update an helmchart artifact.

func (UpdateHelmChartImageDetails) String

func (UpdateHelmChartImageDetails) ValidateEnumValue

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

type UpdateKubernetesImageArtifactDetails

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

UpdateKubernetesImageArtifactDetails Details to update the kubernetes image artifact.

func (UpdateKubernetesImageArtifactDetails) GetCompartmentId

func (m UpdateKubernetesImageArtifactDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (UpdateKubernetesImageArtifactDetails) GetDefinedTags

func (m UpdateKubernetesImageArtifactDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateKubernetesImageArtifactDetails) GetDisplayName

func (m UpdateKubernetesImageArtifactDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateKubernetesImageArtifactDetails) GetFreeformTags

func (m UpdateKubernetesImageArtifactDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateKubernetesImageArtifactDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateKubernetesImageArtifactDetails) String

func (UpdateKubernetesImageArtifactDetails) ValidateEnumValue

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

type UpdateListingDetails

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

UpdateListingDetails Details to update an existing listing.

func (UpdateListingDetails) String

func (m UpdateListingDetails) String() string

func (UpdateListingDetails) ValidateEnumValue

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

type 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
}

UpdateListingRequest wrapper for the UpdateListing operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListing.go.html to see an example of how to use UpdateListingRequest.

func (UpdateListingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateListingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateListingRequest) RetryPolicy

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

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

func (UpdateListingRequest) String

func (request UpdateListingRequest) String() string

func (UpdateListingRequest) ValidateEnumValue

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

type UpdateListingResponse

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

UpdateListingResponse wrapper for the UpdateListing operation

func (UpdateListingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateListingResponse) String

func (response UpdateListingResponse) String() string

type 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
}

UpdateListingRevisionAttachmentContentRequest wrapper for the UpdateListingRevisionAttachmentContent operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionAttachmentContent.go.html to see an example of how to use UpdateListingRevisionAttachmentContentRequest.

func (UpdateListingRevisionAttachmentContentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (UpdateListingRevisionAttachmentContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateListingRevisionAttachmentContentRequest) RetryPolicy

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

func (UpdateListingRevisionAttachmentContentRequest) String

func (UpdateListingRevisionAttachmentContentRequest) ValidateEnumValue

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

type UpdateListingRevisionAttachmentContentResponse

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

UpdateListingRevisionAttachmentContentResponse wrapper for the UpdateListingRevisionAttachmentContent operation

func (UpdateListingRevisionAttachmentContentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (UpdateListingRevisionAttachmentContentResponse) String

type UpdateListingRevisionAttachmentDetails

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{}
}

UpdateListingRevisionAttachmentDetails Update the attachment for the listing revision.

type 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
}

UpdateListingRevisionAttachmentRequest wrapper for the UpdateListingRevisionAttachment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionAttachment.go.html to see an example of how to use UpdateListingRevisionAttachmentRequest.

func (UpdateListingRevisionAttachmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateListingRevisionAttachmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateListingRevisionAttachmentRequest) RetryPolicy

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

func (UpdateListingRevisionAttachmentRequest) String

func (UpdateListingRevisionAttachmentRequest) ValidateEnumValue

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

type UpdateListingRevisionAttachmentResponse

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

UpdateListingRevisionAttachmentResponse wrapper for the UpdateListingRevisionAttachment operation

func (UpdateListingRevisionAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateListingRevisionAttachmentResponse) String

type UpdateListingRevisionDetails

type UpdateListingRevisionDetails struct {

	// The name for the listing revision.
	DisplayName *string `mandatory:"false" json:"displayName"`

	VersionDetails *VersionDetails `mandatory:"false" json:"versionDetails"`

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

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

	// The categories for the listing revision.
	Categories []string `mandatory:"false" json:"categories"`

	// The markets supported by the listing revision.
	Markets []string `mandatory:"false" json:"markets"`

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

	// The pricing model for the listing revision.
	PricingType ListingRevisionPricingTypeEnum `mandatory:"false" json:"pricingType,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"`
}

UpdateListingRevisionDetails The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.

func (UpdateListingRevisionDetails) String

func (UpdateListingRevisionDetails) ValidateEnumValue

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

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

type 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
}

UpdateListingRevisionIconContentRequest wrapper for the UpdateListingRevisionIconContent operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionIconContent.go.html to see an example of how to use UpdateListingRevisionIconContentRequest.

func (UpdateListingRevisionIconContentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateListingRevisionIconContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateListingRevisionIconContentRequest) RetryPolicy

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

func (UpdateListingRevisionIconContentRequest) String

func (UpdateListingRevisionIconContentRequest) ValidateEnumValue

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

type UpdateListingRevisionIconContentResponse

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

UpdateListingRevisionIconContentResponse wrapper for the UpdateListingRevisionIconContent operation

func (UpdateListingRevisionIconContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateListingRevisionIconContentResponse) String

type UpdateListingRevisionPackageDetails

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

UpdateListingRevisionPackageDetails The model for an Oracle Cloud Infrastructure Marketplace Listing revison package.

func (UpdateListingRevisionPackageDetails) String

func (UpdateListingRevisionPackageDetails) ValidateEnumValue

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

type 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
}

UpdateListingRevisionPackageRequest wrapper for the UpdateListingRevisionPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevisionPackage.go.html to see an example of how to use UpdateListingRevisionPackageRequest.

func (UpdateListingRevisionPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateListingRevisionPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateListingRevisionPackageRequest) RetryPolicy

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

func (UpdateListingRevisionPackageRequest) String

func (UpdateListingRevisionPackageRequest) ValidateEnumValue

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

type UpdateListingRevisionPackageResponse

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

UpdateListingRevisionPackageResponse wrapper for the UpdateListingRevisionPackage operation

func (UpdateListingRevisionPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateListingRevisionPackageResponse) String

func (response UpdateListingRevisionPackageResponse) String() string

type 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
}

UpdateListingRevisionRequest wrapper for the UpdateListingRevision operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateListingRevision.go.html to see an example of how to use UpdateListingRevisionRequest.

func (UpdateListingRevisionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateListingRevisionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateListingRevisionRequest) RetryPolicy

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

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

func (UpdateListingRevisionRequest) String

func (request UpdateListingRevisionRequest) String() string

func (UpdateListingRevisionRequest) ValidateEnumValue

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

type UpdateListingRevisionResponse

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

UpdateListingRevisionResponse wrapper for the UpdateListingRevision operation

func (UpdateListingRevisionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateListingRevisionResponse) String

func (response UpdateListingRevisionResponse) String() string

type UpdateRelatedDocumentAttachmentDetails

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 category of the listing revision attachment.
	DocumentCategory RelatedDocumentAttachmentDocumentCategoryEnum `mandatory:"false" json:"documentCategory,omitempty"`
}

UpdateRelatedDocumentAttachmentDetails Update Details of the related document attachment.

func (UpdateRelatedDocumentAttachmentDetails) GetDefinedTags

func (m UpdateRelatedDocumentAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateRelatedDocumentAttachmentDetails) GetDescription

func (m UpdateRelatedDocumentAttachmentDetails) GetDescription() *string

GetDescription returns Description

func (UpdateRelatedDocumentAttachmentDetails) GetDisplayName

func (m UpdateRelatedDocumentAttachmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateRelatedDocumentAttachmentDetails) GetFreeformTags

func (m UpdateRelatedDocumentAttachmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateRelatedDocumentAttachmentDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateRelatedDocumentAttachmentDetails) String

func (UpdateRelatedDocumentAttachmentDetails) ValidateEnumValue

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

type UpdateScreenShotAttachmentDetails

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

UpdateScreenShotAttachmentDetails Update details of the screenshot attachment.

func (UpdateScreenShotAttachmentDetails) GetDefinedTags

func (m UpdateScreenShotAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateScreenShotAttachmentDetails) GetDescription

func (m UpdateScreenShotAttachmentDetails) GetDescription() *string

GetDescription returns Description

func (UpdateScreenShotAttachmentDetails) GetDisplayName

func (m UpdateScreenShotAttachmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateScreenShotAttachmentDetails) GetFreeformTags

func (m UpdateScreenShotAttachmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateScreenShotAttachmentDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateScreenShotAttachmentDetails) String

func (UpdateScreenShotAttachmentDetails) ValidateEnumValue

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

type UpdateTermDetails

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

UpdateTermDetails Details to update Marketplace Publisher term.

func (UpdateTermDetails) String

func (m UpdateTermDetails) String() string

func (UpdateTermDetails) ValidateEnumValue

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

type 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
}

UpdateTermRequest wrapper for the UpdateTerm operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateTerm.go.html to see an example of how to use UpdateTermRequest.

func (UpdateTermRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateTermRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateTermRequest) RetryPolicy

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

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

func (UpdateTermRequest) String

func (request UpdateTermRequest) String() string

func (UpdateTermRequest) ValidateEnumValue

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

type UpdateTermResponse

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

UpdateTermResponse wrapper for the UpdateTerm operation

func (UpdateTermResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTermResponse) String

func (response UpdateTermResponse) String() string

type 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
}

UpdateTermVersionContentRequest wrapper for the UpdateTermVersionContent operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateTermVersionContent.go.html to see an example of how to use UpdateTermVersionContentRequest.

func (UpdateTermVersionContentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateTermVersionContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateTermVersionContentRequest) RetryPolicy

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

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

func (UpdateTermVersionContentRequest) String

func (request UpdateTermVersionContentRequest) String() string

func (UpdateTermVersionContentRequest) ValidateEnumValue

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

type UpdateTermVersionContentResponse

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

UpdateTermVersionContentResponse wrapper for the UpdateTermVersionContent operation

func (UpdateTermVersionContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTermVersionContentResponse) String

func (response UpdateTermVersionContentResponse) String() string

type UpdateTermVersionDetails

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

UpdateTermVersionDetails Details to update Marketplace Publisher term version.

func (UpdateTermVersionDetails) String

func (m UpdateTermVersionDetails) String() string

func (UpdateTermVersionDetails) ValidateEnumValue

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

type 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
}

UpdateTermVersionRequest wrapper for the UpdateTermVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/UpdateTermVersion.go.html to see an example of how to use UpdateTermVersionRequest.

func (UpdateTermVersionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateTermVersionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateTermVersionRequest) RetryPolicy

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

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

func (UpdateTermVersionRequest) String

func (request UpdateTermVersionRequest) String() string

func (UpdateTermVersionRequest) ValidateEnumValue

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

type UpdateTermVersionResponse

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

UpdateTermVersionResponse wrapper for the UpdateTermVersion operation

func (UpdateTermVersionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTermVersionResponse) String

func (response UpdateTermVersionResponse) String() string

type UpdateVideoAttachmentDetails

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

UpdateVideoAttachmentDetails Details of the video attachment.

func (UpdateVideoAttachmentDetails) GetDefinedTags

func (m UpdateVideoAttachmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateVideoAttachmentDetails) GetDescription

func (m UpdateVideoAttachmentDetails) GetDescription() *string

GetDescription returns Description

func (UpdateVideoAttachmentDetails) GetDisplayName

func (m UpdateVideoAttachmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateVideoAttachmentDetails) GetFreeformTags

func (m UpdateVideoAttachmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateVideoAttachmentDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateVideoAttachmentDetails) String

func (UpdateVideoAttachmentDetails) ValidateEnumValue

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

type UploadData

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

UploadData The model for upload data for images and icons.

func (UploadData) String

func (m UploadData) String() string

func (UploadData) ValidateEnumValue

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

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

type 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
}

ValidateAndPublishArtifactRequest wrapper for the ValidateAndPublishArtifact operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/ValidateAndPublishArtifact.go.html to see an example of how to use ValidateAndPublishArtifactRequest.

func (ValidateAndPublishArtifactRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ValidateAndPublishArtifactRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ValidateAndPublishArtifactRequest) RetryPolicy

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

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

func (ValidateAndPublishArtifactRequest) String

func (request ValidateAndPublishArtifactRequest) String() string

func (ValidateAndPublishArtifactRequest) ValidateEnumValue

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

type ValidateAndPublishArtifactResponse

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

ValidateAndPublishArtifactResponse wrapper for the ValidateAndPublishArtifact operation

func (ValidateAndPublishArtifactResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ValidateAndPublishArtifactResponse) String

func (response ValidateAndPublishArtifactResponse) String() string

type ValidationStatusEnum

type ValidationStatusEnum string

ValidationStatusEnum Enum with underlying type: string

const (
	ValidationStatusValidationInProgress ValidationStatusEnum = "VALIDATION_IN_PROGRESS"
	ValidationStatusValidationFailed     ValidationStatusEnum = "VALIDATION_FAILED"
	ValidationStatusValidationCompleted  ValidationStatusEnum = "VALIDATION_COMPLETED"
)

Set of constants representing the allowable values for ValidationStatusEnum

func GetMappingValidationStatusEnum

func GetMappingValidationStatusEnum(val string) (ValidationStatusEnum, bool)

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

func GetValidationStatusEnumValues

func GetValidationStatusEnumValues() []ValidationStatusEnum

GetValidationStatusEnumValues Enumerates the set of values for ValidationStatusEnum

type VersionDetails

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

VersionDetails A listing version provided by the Publisher.

func (VersionDetails) String

func (m VersionDetails) String() string

func (VersionDetails) ValidateEnumValue

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

type VideoAttachment

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

	// The current state of the attachment.
	LifecycleState ListingRevisionAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

VideoAttachment Video attachment for the listing revision.

func (VideoAttachment) GetCompartmentId

func (m VideoAttachment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (VideoAttachment) GetDefinedTags

func (m VideoAttachment) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (VideoAttachment) GetDescription

func (m VideoAttachment) GetDescription() *string

GetDescription returns Description

func (VideoAttachment) GetDisplayName

func (m VideoAttachment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (VideoAttachment) GetFreeformTags

func (m VideoAttachment) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (VideoAttachment) GetId

func (m VideoAttachment) GetId() *string

GetId returns Id

func (VideoAttachment) GetLifecycleState

GetLifecycleState returns LifecycleState

func (VideoAttachment) GetListingRevisionId

func (m VideoAttachment) GetListingRevisionId() *string

GetListingRevisionId returns ListingRevisionId

func (VideoAttachment) GetSystemTags

func (m VideoAttachment) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (VideoAttachment) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (VideoAttachment) GetTimeUpdated

func (m VideoAttachment) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (VideoAttachment) MarshalJSON

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

MarshalJSON marshals to json representation

func (VideoAttachment) String

func (m VideoAttachment) String() string

func (VideoAttachment) ValidateEnumValue

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

type 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
}

WithdrawListingRevisionRequest wrapper for the WithdrawListingRevision operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplacepublisher/WithdrawListingRevision.go.html to see an example of how to use WithdrawListingRevisionRequest.

func (WithdrawListingRevisionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (WithdrawListingRevisionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (WithdrawListingRevisionRequest) RetryPolicy

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

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

func (WithdrawListingRevisionRequest) String

func (request WithdrawListingRevisionRequest) String() string

func (WithdrawListingRevisionRequest) ValidateEnumValue

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

type WithdrawListingRevisionResponse

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

WithdrawListingRevisionResponse wrapper for the WithdrawListingRevision operation

func (WithdrawListingRevisionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (WithdrawListingRevisionResponse) String

func (response WithdrawListingRevisionResponse) String() string

type WorkRequest

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

WorkRequest A description of workrequest status

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed on
	// (https://docs.cloud.oracle.com/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"`
}

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

	// List of workRequestError objects.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

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

WorkRequestLogEntry A log message from the execution of a work request.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// List of workRequestLogEntries.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestResource

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

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestResourceMetadataKeyEnum

type WorkRequestResourceMetadataKeyEnum string

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

const (
	WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

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

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

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

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

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

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

type WorkRequestSummaryCollection

type WorkRequestSummaryCollection struct {

	// List of workRequestSummary objects.
	Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

func (WorkRequestSummaryCollection) String

func (WorkRequestSummaryCollection) ValidateEnumValue

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL