jmsjavadownloads

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: 7 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 GetAggregationSortByEnumStringValues

func GetAggregationSortByEnumStringValues() []string

GetAggregationSortByEnumStringValues Enumerates the set of values in String for AggregationSortByEnum

func GetChecksumTypeEnumStringValues

func GetChecksumTypeEnumStringValues() []string

GetChecksumTypeEnumStringValues Enumerates the set of values in String for ChecksumTypeEnum

func GetDownloadUrlTypeEnumStringValues

func GetDownloadUrlTypeEnumStringValues() []string

GetDownloadUrlTypeEnumStringValues Enumerates the set of values in String for DownloadUrlTypeEnum

func GetGetJavaLicenseLicenseTypeEnumStringValues

func GetGetJavaLicenseLicenseTypeEnumStringValues() []string

GetGetJavaLicenseLicenseTypeEnumStringValues Enumerates the set of values in String for GetJavaLicenseLicenseTypeEnum

func GetJavaDownloadCountAggregationTypeEnumStringValues

func GetJavaDownloadCountAggregationTypeEnumStringValues() []string

GetJavaDownloadCountAggregationTypeEnumStringValues Enumerates the set of values in String for JavaDownloadCountAggregationTypeEnum

func GetJavaDownloadRecordSortByEnumStringValues

func GetJavaDownloadRecordSortByEnumStringValues() []string

GetJavaDownloadRecordSortByEnumStringValues Enumerates the set of values in String for JavaDownloadRecordSortByEnum

func GetJavaDownloadReportFormatEnumStringValues

func GetJavaDownloadReportFormatEnumStringValues() []string

GetJavaDownloadReportFormatEnumStringValues Enumerates the set of values in String for JavaDownloadReportFormatEnum

func GetJavaDownloadReportSortByEnumStringValues

func GetJavaDownloadReportSortByEnumStringValues() []string

GetJavaDownloadReportSortByEnumStringValues Enumerates the set of values in String for JavaDownloadReportSortByEnum

func GetLicenseAcceptanceSortByEnumStringValues

func GetLicenseAcceptanceSortByEnumStringValues() []string

GetLicenseAcceptanceSortByEnumStringValues Enumerates the set of values in String for LicenseAcceptanceSortByEnum

func GetLicenseAcceptanceStatusEnumStringValues

func GetLicenseAcceptanceStatusEnumStringValues() []string

GetLicenseAcceptanceStatusEnumStringValues Enumerates the set of values in String for LicenseAcceptanceStatusEnum

func GetLicenseSortByEnumStringValues

func GetLicenseSortByEnumStringValues() []string

GetLicenseSortByEnumStringValues Enumerates the set of values in String for LicenseSortByEnum

func GetLicenseTypeEnumStringValues

func GetLicenseTypeEnumStringValues() []string

GetLicenseTypeEnumStringValues Enumerates the set of values in String for LicenseTypeEnum

func GetLifecycleStateEnumStringValues

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListJavaDownloadRecordsSortByEnumStringValues

func GetListJavaDownloadRecordsSortByEnumStringValues() []string

GetListJavaDownloadRecordsSortByEnumStringValues Enumerates the set of values in String for ListJavaDownloadRecordsSortByEnum

func GetListJavaDownloadRecordsSortOrderEnumStringValues

func GetListJavaDownloadRecordsSortOrderEnumStringValues() []string

GetListJavaDownloadRecordsSortOrderEnumStringValues Enumerates the set of values in String for ListJavaDownloadRecordsSortOrderEnum

func GetListJavaDownloadReportsLifecycleStateEnumStringValues

func GetListJavaDownloadReportsLifecycleStateEnumStringValues() []string

GetListJavaDownloadReportsLifecycleStateEnumStringValues Enumerates the set of values in String for ListJavaDownloadReportsLifecycleStateEnum

func GetListJavaDownloadReportsSortByEnumStringValues

func GetListJavaDownloadReportsSortByEnumStringValues() []string

GetListJavaDownloadReportsSortByEnumStringValues Enumerates the set of values in String for ListJavaDownloadReportsSortByEnum

func GetListJavaDownloadReportsSortOrderEnumStringValues

func GetListJavaDownloadReportsSortOrderEnumStringValues() []string

GetListJavaDownloadReportsSortOrderEnumStringValues Enumerates the set of values in String for ListJavaDownloadReportsSortOrderEnum

func GetListJavaDownloadTokensLifecycleStateEnumStringValues

func GetListJavaDownloadTokensLifecycleStateEnumStringValues() []string

GetListJavaDownloadTokensLifecycleStateEnumStringValues Enumerates the set of values in String for ListJavaDownloadTokensLifecycleStateEnum

func GetListJavaDownloadTokensSortByEnumStringValues

func GetListJavaDownloadTokensSortByEnumStringValues() []string

GetListJavaDownloadTokensSortByEnumStringValues Enumerates the set of values in String for ListJavaDownloadTokensSortByEnum

func GetListJavaDownloadTokensSortOrderEnumStringValues

func GetListJavaDownloadTokensSortOrderEnumStringValues() []string

GetListJavaDownloadTokensSortOrderEnumStringValues Enumerates the set of values in String for ListJavaDownloadTokensSortOrderEnum

func GetListJavaLicenseAcceptanceRecordsLicenseTypeEnumStringValues

func GetListJavaLicenseAcceptanceRecordsLicenseTypeEnumStringValues() []string

GetListJavaLicenseAcceptanceRecordsLicenseTypeEnumStringValues Enumerates the set of values in String for ListJavaLicenseAcceptanceRecordsLicenseTypeEnum

func GetListJavaLicenseAcceptanceRecordsSortByEnumStringValues

func GetListJavaLicenseAcceptanceRecordsSortByEnumStringValues() []string

GetListJavaLicenseAcceptanceRecordsSortByEnumStringValues Enumerates the set of values in String for ListJavaLicenseAcceptanceRecordsSortByEnum

func GetListJavaLicenseAcceptanceRecordsSortOrderEnumStringValues

func GetListJavaLicenseAcceptanceRecordsSortOrderEnumStringValues() []string

GetListJavaLicenseAcceptanceRecordsSortOrderEnumStringValues Enumerates the set of values in String for ListJavaLicenseAcceptanceRecordsSortOrderEnum

func GetListJavaLicenseAcceptanceRecordsStatusEnumStringValues

func GetListJavaLicenseAcceptanceRecordsStatusEnumStringValues() []string

GetListJavaLicenseAcceptanceRecordsStatusEnumStringValues Enumerates the set of values in String for ListJavaLicenseAcceptanceRecordsStatusEnum

func GetListJavaLicensesLicenseTypeEnumStringValues

func GetListJavaLicensesLicenseTypeEnumStringValues() []string

GetListJavaLicensesLicenseTypeEnumStringValues Enumerates the set of values in String for ListJavaLicensesLicenseTypeEnum

func GetListJavaLicensesSortByEnumStringValues

func GetListJavaLicensesSortByEnumStringValues() []string

GetListJavaLicensesSortByEnumStringValues Enumerates the set of values in String for ListJavaLicensesSortByEnum

func GetListJavaLicensesSortOrderEnumStringValues

func GetListJavaLicensesSortOrderEnumStringValues() []string

GetListJavaLicensesSortOrderEnumStringValues Enumerates the set of values in String for ListJavaLicensesSortOrderEnum

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 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 GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetTokenLifecycleDetailsEnumStringValues

func GetTokenLifecycleDetailsEnumStringValues() []string

GetTokenLifecycleDetailsEnumStringValues Enumerates the set of values in String for TokenLifecycleDetailsEnum

func GetTokenSortByEnumStringValues

func GetTokenSortByEnumStringValues() []string

GetTokenSortByEnumStringValues Enumerates the set of values in String for TokenSortByEnum

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 AggregationSortByEnum

type AggregationSortByEnum string

AggregationSortByEnum Enum with underlying type: string

const (
	AggregationSortByFamilyVersion AggregationSortByEnum = "FAMILY_VERSION"
	AggregationSortByDownloadCount AggregationSortByEnum = "DOWNLOAD_COUNT"
)

Set of constants representing the allowable values for AggregationSortByEnum

func GetAggregationSortByEnumValues

func GetAggregationSortByEnumValues() []AggregationSortByEnum

GetAggregationSortByEnumValues Enumerates the set of values for AggregationSortByEnum

func GetMappingAggregationSortByEnum

func GetMappingAggregationSortByEnum(val string) (AggregationSortByEnum, bool)

GetMappingAggregationSortByEnum 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/jmsjavadownloads/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, 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 ChecksumTypeEnum

type ChecksumTypeEnum string

ChecksumTypeEnum Enum with underlying type: string

const (
	ChecksumTypeSha256 ChecksumTypeEnum = "SHA256"
)

Set of constants representing the allowable values for ChecksumTypeEnum

func GetChecksumTypeEnumValues

func GetChecksumTypeEnumValues() []ChecksumTypeEnum

GetChecksumTypeEnumValues Enumerates the set of values for ChecksumTypeEnum

func GetMappingChecksumTypeEnum

func GetMappingChecksumTypeEnum(val string) (ChecksumTypeEnum, bool)

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

type CreateJavaDownloadReportDetails

type CreateJavaDownloadReportDetails struct {

	// The compartment OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) here should be
	// the tenancy OCID.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The format of the report that is generated.
	Format JavaDownloadReportFormatEnum `mandatory:"true" json:"format"`

	// The start time from when download records have to be included (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

	// The end time until when the download records have to be included (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

	// The property to be used for sorting the reports.
	SortBy JavaDownloadRecordSortByEnum `mandatory:"false" json:"sortBy,omitempty"`

	// The sort order for the reports.
	SortOrder SortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"`
}

CreateJavaDownloadReportDetails Attributes to create a Java download report.

func (CreateJavaDownloadReportDetails) String

func (CreateJavaDownloadReportDetails) ValidateEnumValue

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

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

type CreateJavaDownloadReportRequest

type CreateJavaDownloadReportRequest struct {

	// Details for the new report.
	CreateJavaDownloadReportDetails `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
}

CreateJavaDownloadReportRequest wrapper for the CreateJavaDownloadReport operation

See also

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

func (CreateJavaDownloadReportRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateJavaDownloadReportRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateJavaDownloadReportRequest) RetryPolicy

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

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

func (CreateJavaDownloadReportRequest) String

func (request CreateJavaDownloadReportRequest) String() string

func (CreateJavaDownloadReportRequest) ValidateEnumValue

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

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

type CreateJavaDownloadReportResponse

type CreateJavaDownloadReportResponse 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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateJavaDownloadReportResponse wrapper for the CreateJavaDownloadReport operation

func (CreateJavaDownloadReportResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateJavaDownloadReportResponse) String

func (response CreateJavaDownloadReportResponse) String() string

type CreateJavaDownloadTokenDetails

type CreateJavaDownloadTokenDetails struct {

	// User provided display name of the JavaDownloadToken.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// User provided description of the JavaDownloadToken.
	Description *string `mandatory:"true" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy scoped to the JavaDownloadToken.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Expiry time of the token.
	TimeExpires *common.SDKTime `mandatory:"true" json:"timeExpires"`

	// The Java version associated with the token.
	JavaVersion *string `mandatory:"true" json:"javaVersion"`

	// The license type(s) associated with the JavaDownloadToken.
	LicenseType []LicenseTypeEnum `mandatory:"true" json:"licenseType"`

	// The token default attribute.
	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"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).)
	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"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)).
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateJavaDownloadTokenDetails The attributes to create a new JavaDownloadToken.

func (CreateJavaDownloadTokenDetails) String

func (CreateJavaDownloadTokenDetails) ValidateEnumValue

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

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

type CreateJavaDownloadTokenRequest

type CreateJavaDownloadTokenRequest struct {

	// Details for the new JavaDownloadToken.
	CreateJavaDownloadTokenDetails `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
}

CreateJavaDownloadTokenRequest wrapper for the CreateJavaDownloadToken operation

See also

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

func (CreateJavaDownloadTokenRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateJavaDownloadTokenRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateJavaDownloadTokenRequest) RetryPolicy

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

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

func (CreateJavaDownloadTokenRequest) String

func (request CreateJavaDownloadTokenRequest) String() string

func (CreateJavaDownloadTokenRequest) ValidateEnumValue

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

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

type CreateJavaDownloadTokenResponse

type CreateJavaDownloadTokenResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

	// 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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateJavaDownloadTokenResponse wrapper for the CreateJavaDownloadToken operation

func (CreateJavaDownloadTokenResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateJavaDownloadTokenResponse) String

func (response CreateJavaDownloadTokenResponse) String() string

type CreateJavaLicenseAcceptanceRecordDetails

type CreateJavaLicenseAcceptanceRecordDetails struct {

	// The tenancy OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the user accepting the license.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// License type for the Java version.
	LicenseType LicenseTypeEnum `mandatory:"true" json:"licenseType"`

	// Status of license acceptance.
	LicenseAcceptanceStatus LicenseAcceptanceStatusEnum `mandatory:"true" json:"licenseAcceptanceStatus"`
}

CreateJavaLicenseAcceptanceRecordDetails The attributes to create a new JavaLicenseAcceptanceRecord.

func (CreateJavaLicenseAcceptanceRecordDetails) String

func (CreateJavaLicenseAcceptanceRecordDetails) ValidateEnumValue

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

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

type CreateJavaLicenseAcceptanceRecordRequest

type CreateJavaLicenseAcceptanceRecordRequest struct {

	// Details for the new JavaLicenseAcceptanceRecord.
	CreateJavaLicenseAcceptanceRecordDetails `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
}

CreateJavaLicenseAcceptanceRecordRequest wrapper for the CreateJavaLicenseAcceptanceRecord operation

See also

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

func (CreateJavaLicenseAcceptanceRecordRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (CreateJavaLicenseAcceptanceRecordRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateJavaLicenseAcceptanceRecordRequest) RetryPolicy

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

func (CreateJavaLicenseAcceptanceRecordRequest) String

func (CreateJavaLicenseAcceptanceRecordRequest) ValidateEnumValue

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

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

type CreateJavaLicenseAcceptanceRecordResponse

type CreateJavaLicenseAcceptanceRecordResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, 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"`
}

CreateJavaLicenseAcceptanceRecordResponse wrapper for the CreateJavaLicenseAcceptanceRecord operation

func (CreateJavaLicenseAcceptanceRecordResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateJavaLicenseAcceptanceRecordResponse) String

type DeleteJavaDownloadReportRequest

type DeleteJavaDownloadReportRequest struct {

	// Unique Java download report identifier.
	JavaDownloadReportId *string `mandatory:"true" contributesTo:"path" name:"javaDownloadReportId"`

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

DeleteJavaDownloadReportRequest wrapper for the DeleteJavaDownloadReport operation

See also

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

func (DeleteJavaDownloadReportRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteJavaDownloadReportRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteJavaDownloadReportRequest) RetryPolicy

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

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

func (DeleteJavaDownloadReportRequest) String

func (request DeleteJavaDownloadReportRequest) String() string

func (DeleteJavaDownloadReportRequest) ValidateEnumValue

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

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

type DeleteJavaDownloadReportResponse

type DeleteJavaDownloadReportResponse 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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteJavaDownloadReportResponse wrapper for the DeleteJavaDownloadReport operation

func (DeleteJavaDownloadReportResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteJavaDownloadReportResponse) String

func (response DeleteJavaDownloadReportResponse) String() string

type DeleteJavaDownloadTokenRequest

type DeleteJavaDownloadTokenRequest struct {

	// Unique JavaDownloadToken identifier.
	JavaDownloadTokenId *string `mandatory:"true" contributesTo:"path" name:"javaDownloadTokenId"`

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

DeleteJavaDownloadTokenRequest wrapper for the DeleteJavaDownloadToken operation

See also

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

func (DeleteJavaDownloadTokenRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteJavaDownloadTokenRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteJavaDownloadTokenRequest) RetryPolicy

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

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

func (DeleteJavaDownloadTokenRequest) String

func (request DeleteJavaDownloadTokenRequest) String() string

func (DeleteJavaDownloadTokenRequest) ValidateEnumValue

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

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

type DeleteJavaDownloadTokenResponse

type DeleteJavaDownloadTokenResponse 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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteJavaDownloadTokenResponse wrapper for the DeleteJavaDownloadToken operation

func (DeleteJavaDownloadTokenResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteJavaDownloadTokenResponse) String

func (response DeleteJavaDownloadTokenResponse) String() string

type DeleteJavaLicenseAcceptanceRecordRequest

type DeleteJavaLicenseAcceptanceRecordRequest struct {

	// Unique Java license acceptance record identifier.
	JavaLicenseAcceptanceRecordId *string `mandatory:"true" contributesTo:"path" name:"javaLicenseAcceptanceRecordId"`

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

DeleteJavaLicenseAcceptanceRecordRequest wrapper for the DeleteJavaLicenseAcceptanceRecord operation

See also

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

func (DeleteJavaLicenseAcceptanceRecordRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (DeleteJavaLicenseAcceptanceRecordRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteJavaLicenseAcceptanceRecordRequest) RetryPolicy

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

func (DeleteJavaLicenseAcceptanceRecordRequest) String

func (DeleteJavaLicenseAcceptanceRecordRequest) ValidateEnumValue

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

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

type DeleteJavaLicenseAcceptanceRecordResponse

type DeleteJavaLicenseAcceptanceRecordResponse 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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteJavaLicenseAcceptanceRecordResponse wrapper for the DeleteJavaLicenseAcceptanceRecord operation

func (DeleteJavaLicenseAcceptanceRecordResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteJavaLicenseAcceptanceRecordResponse) String

type DownloadUrl

type DownloadUrl struct {

	// The URL for downloading the artifact.
	DownloadUrl *string `mandatory:"true" json:"downloadUrl"`

	// The type of download URL.
	DownloadUrlType DownloadUrlTypeEnum `mandatory:"true" json:"downloadUrlType"`
}

DownloadUrl Download Url object for the Java artifact.

func (DownloadUrl) String

func (m DownloadUrl) String() string

func (DownloadUrl) ValidateEnumValue

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

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

type DownloadUrlTypeEnum

type DownloadUrlTypeEnum string

DownloadUrlTypeEnum Enum with underlying type: string

const (
	DownloadUrlTypeOss DownloadUrlTypeEnum = "OSS"
	DownloadUrlTypeCdn DownloadUrlTypeEnum = "CDN"
)

Set of constants representing the allowable values for DownloadUrlTypeEnum

func GetDownloadUrlTypeEnumValues

func GetDownloadUrlTypeEnumValues() []DownloadUrlTypeEnum

GetDownloadUrlTypeEnumValues Enumerates the set of values for DownloadUrlTypeEnum

func GetMappingDownloadUrlTypeEnum

func GetMappingDownloadUrlTypeEnum(val string) (DownloadUrlTypeEnum, bool)

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

type GenerateArtifactDownloadUrlDetails

type GenerateArtifactDownloadUrlDetails struct {

	// Unique identifier for the Java runtime artifact.
	ArtifactId *int64 `mandatory:"true" json:"artifactId"`
}

GenerateArtifactDownloadUrlDetails The attributes to generate a DownloadUrl for a Java runtime artifact.

func (GenerateArtifactDownloadUrlDetails) String

func (GenerateArtifactDownloadUrlDetails) ValidateEnumValue

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

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

type GenerateArtifactDownloadUrlRequest

type GenerateArtifactDownloadUrlRequest struct {

	// Details for generating download URL for a Java artifact.
	GenerateArtifactDownloadUrlDetails `contributesTo:"body"`

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

GenerateArtifactDownloadUrlRequest wrapper for the GenerateArtifactDownloadUrl operation

See also

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

func (GenerateArtifactDownloadUrlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GenerateArtifactDownloadUrlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GenerateArtifactDownloadUrlRequest) RetryPolicy

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

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

func (GenerateArtifactDownloadUrlRequest) String

func (request GenerateArtifactDownloadUrlRequest) String() string

func (GenerateArtifactDownloadUrlRequest) ValidateEnumValue

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

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

type GenerateArtifactDownloadUrlResponse

type GenerateArtifactDownloadUrlResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

GenerateArtifactDownloadUrlResponse wrapper for the GenerateArtifactDownloadUrl operation

func (GenerateArtifactDownloadUrlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GenerateArtifactDownloadUrlResponse) String

func (response GenerateArtifactDownloadUrlResponse) String() string

type GetJavaDownloadReportContentRequest

type GetJavaDownloadReportContentRequest struct {

	// Unique Java download report identifier.
	JavaDownloadReportId *string `mandatory:"true" contributesTo:"path" name:"javaDownloadReportId"`

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

GetJavaDownloadReportContentRequest wrapper for the GetJavaDownloadReportContent operation

See also

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

func (GetJavaDownloadReportContentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetJavaDownloadReportContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetJavaDownloadReportContentRequest) RetryPolicy

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

func (GetJavaDownloadReportContentRequest) String

func (GetJavaDownloadReportContentRequest) ValidateEnumValue

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

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

type GetJavaDownloadReportContentResponse

type GetJavaDownloadReportContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetJavaDownloadReportContentResponse wrapper for the GetJavaDownloadReportContent operation

func (GetJavaDownloadReportContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJavaDownloadReportContentResponse) String

func (response GetJavaDownloadReportContentResponse) String() string

type GetJavaDownloadReportRequest

type GetJavaDownloadReportRequest struct {

	// Unique Java download report identifier.
	JavaDownloadReportId *string `mandatory:"true" contributesTo:"path" name:"javaDownloadReportId"`

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

GetJavaDownloadReportRequest wrapper for the GetJavaDownloadReport operation

See also

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

func (GetJavaDownloadReportRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetJavaDownloadReportRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetJavaDownloadReportRequest) RetryPolicy

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

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

func (GetJavaDownloadReportRequest) String

func (request GetJavaDownloadReportRequest) String() string

func (GetJavaDownloadReportRequest) ValidateEnumValue

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

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

type GetJavaDownloadReportResponse

type GetJavaDownloadReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The JavaDownloadReport instance
	JavaDownloadReport `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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetJavaDownloadReportResponse wrapper for the GetJavaDownloadReport operation

func (GetJavaDownloadReportResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJavaDownloadReportResponse) String

func (response GetJavaDownloadReportResponse) String() string

type GetJavaDownloadTokenRequest

type GetJavaDownloadTokenRequest struct {

	// Unique JavaDownloadToken identifier.
	JavaDownloadTokenId *string `mandatory:"true" contributesTo:"path" name:"javaDownloadTokenId"`

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

GetJavaDownloadTokenRequest wrapper for the GetJavaDownloadToken operation

See also

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

func (GetJavaDownloadTokenRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetJavaDownloadTokenRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetJavaDownloadTokenRequest) RetryPolicy

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

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

func (GetJavaDownloadTokenRequest) String

func (request GetJavaDownloadTokenRequest) String() string

func (GetJavaDownloadTokenRequest) ValidateEnumValue

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

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

type GetJavaDownloadTokenResponse

type GetJavaDownloadTokenResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The JavaDownloadToken instance
	JavaDownloadToken `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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetJavaDownloadTokenResponse wrapper for the GetJavaDownloadToken operation

func (GetJavaDownloadTokenResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJavaDownloadTokenResponse) String

func (response GetJavaDownloadTokenResponse) String() string

type GetJavaLicenseAcceptanceRecordRequest

type GetJavaLicenseAcceptanceRecordRequest struct {

	// Unique Java license acceptance record identifier.
	JavaLicenseAcceptanceRecordId *string `mandatory:"true" contributesTo:"path" name:"javaLicenseAcceptanceRecordId"`

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

GetJavaLicenseAcceptanceRecordRequest wrapper for the GetJavaLicenseAcceptanceRecord operation

See also

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

func (GetJavaLicenseAcceptanceRecordRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetJavaLicenseAcceptanceRecordRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetJavaLicenseAcceptanceRecordRequest) RetryPolicy

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

func (GetJavaLicenseAcceptanceRecordRequest) String

func (GetJavaLicenseAcceptanceRecordRequest) ValidateEnumValue

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

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

type GetJavaLicenseAcceptanceRecordResponse

type GetJavaLicenseAcceptanceRecordResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, 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"`
}

GetJavaLicenseAcceptanceRecordResponse wrapper for the GetJavaLicenseAcceptanceRecord operation

func (GetJavaLicenseAcceptanceRecordResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJavaLicenseAcceptanceRecordResponse) String

type GetJavaLicenseLicenseTypeEnum

type GetJavaLicenseLicenseTypeEnum string

GetJavaLicenseLicenseTypeEnum Enum with underlying type: string

const (
	GetJavaLicenseLicenseTypeOtn        GetJavaLicenseLicenseTypeEnum = "OTN"
	GetJavaLicenseLicenseTypeNftc       GetJavaLicenseLicenseTypeEnum = "NFTC"
	GetJavaLicenseLicenseTypeRestricted GetJavaLicenseLicenseTypeEnum = "RESTRICTED"
)

Set of constants representing the allowable values for GetJavaLicenseLicenseTypeEnum

func GetGetJavaLicenseLicenseTypeEnumValues

func GetGetJavaLicenseLicenseTypeEnumValues() []GetJavaLicenseLicenseTypeEnum

GetGetJavaLicenseLicenseTypeEnumValues Enumerates the set of values for GetJavaLicenseLicenseTypeEnum

func GetMappingGetJavaLicenseLicenseTypeEnum

func GetMappingGetJavaLicenseLicenseTypeEnum(val string) (GetJavaLicenseLicenseTypeEnum, bool)

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

type GetJavaLicenseRequest

type GetJavaLicenseRequest struct {

	// Unique Java license type.
	LicenseType GetJavaLicenseLicenseTypeEnum `mandatory:"true" contributesTo:"path" name:"licenseType"`

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

GetJavaLicenseRequest wrapper for the GetJavaLicense operation

See also

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

func (GetJavaLicenseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetJavaLicenseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetJavaLicenseRequest) RetryPolicy

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

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

func (GetJavaLicenseRequest) String

func (request GetJavaLicenseRequest) String() string

func (GetJavaLicenseRequest) ValidateEnumValue

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

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

type GetJavaLicenseResponse

type GetJavaLicenseResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

GetJavaLicenseResponse wrapper for the GetJavaLicense operation

func (GetJavaLicenseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJavaLicenseResponse) String

func (response GetJavaLicenseResponse) 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/jmsjavadownloads/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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// A non-negative integer representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *int64 `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 JavaDownloadClient

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

JavaDownloadClient a client for JavaDownload

func NewJavaDownloadClientWithConfigurationProvider

func NewJavaDownloadClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client JavaDownloadClient, err error)

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

func NewJavaDownloadClientWithOboToken

func NewJavaDownloadClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client JavaDownloadClient, err error)

NewJavaDownloadClientWithOboToken Creates a new default JavaDownload 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 (JavaDownloadClient) CancelWorkRequest

func (client JavaDownloadClient) 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/jmsjavadownloads/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()

func (*JavaDownloadClient) ConfigurationProvider

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

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

func (JavaDownloadClient) CreateJavaDownloadReport

func (client JavaDownloadClient) CreateJavaDownloadReport(ctx context.Context, request CreateJavaDownloadReportRequest) (response CreateJavaDownloadReportResponse, err error)

CreateJavaDownloadReport Create a new report in the specified format containing the download details for the tenancy.

See also

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

func (JavaDownloadClient) CreateJavaDownloadToken

func (client JavaDownloadClient) CreateJavaDownloadToken(ctx context.Context, request CreateJavaDownloadTokenRequest) (response CreateJavaDownloadTokenResponse, err error)

CreateJavaDownloadToken Creates a new JavaDownloadToken in the tenancy with specified attributes.

See also

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

func (JavaDownloadClient) CreateJavaLicenseAcceptanceRecord

func (client JavaDownloadClient) CreateJavaLicenseAcceptanceRecord(ctx context.Context, request CreateJavaLicenseAcceptanceRecordRequest) (response CreateJavaLicenseAcceptanceRecordResponse, err error)

CreateJavaLicenseAcceptanceRecord Creates a Java license acceptance record for the specified license type in a tenancy.

See also

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

func (JavaDownloadClient) DeleteJavaDownloadReport

func (client JavaDownloadClient) DeleteJavaDownloadReport(ctx context.Context, request DeleteJavaDownloadReportRequest) (response DeleteJavaDownloadReportResponse, err error)

DeleteJavaDownloadReport Deletes a JavaDownloadReport resource by identifier.

See also

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

func (JavaDownloadClient) DeleteJavaDownloadToken

func (client JavaDownloadClient) DeleteJavaDownloadToken(ctx context.Context, request DeleteJavaDownloadTokenRequest) (response DeleteJavaDownloadTokenResponse, err error)

DeleteJavaDownloadToken Deletes a JavaDownloadToken resource by identifier.

See also

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

func (JavaDownloadClient) DeleteJavaLicenseAcceptanceRecord

func (client JavaDownloadClient) DeleteJavaLicenseAcceptanceRecord(ctx context.Context, request DeleteJavaLicenseAcceptanceRecordRequest) (response DeleteJavaLicenseAcceptanceRecordResponse, err error)

DeleteJavaLicenseAcceptanceRecord Deletes a Java license acceptance record with the specified identifier.

See also

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

func (JavaDownloadClient) GenerateArtifactDownloadUrl

func (client JavaDownloadClient) GenerateArtifactDownloadUrl(ctx context.Context, request GenerateArtifactDownloadUrlRequest) (response GenerateArtifactDownloadUrlResponse, err error)

GenerateArtifactDownloadUrl Generates a short-lived download URL and returns it in the response payload. The returned URL can then be used for downloading the specific Java runtime artifact. Use the GetJavaRelease API to get information about available artifacts for a specific release. Each such artifact is uniquely identified by an `artifactId`. Refer JavaArtifact for more details.

See also

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

func (JavaDownloadClient) GetJavaDownloadReport

func (client JavaDownloadClient) GetJavaDownloadReport(ctx context.Context, request GetJavaDownloadReportRequest) (response GetJavaDownloadReportResponse, err error)

GetJavaDownloadReport Gets a JavaDownloadReport by the specified identifier.

See also

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

func (JavaDownloadClient) GetJavaDownloadReportContent

func (client JavaDownloadClient) GetJavaDownloadReportContent(ctx context.Context, request GetJavaDownloadReportContentRequest) (response GetJavaDownloadReportContentResponse, err error)

GetJavaDownloadReportContent Retrieve a Java download report with the specified identifier.

See also

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

func (JavaDownloadClient) GetJavaDownloadToken

func (client JavaDownloadClient) GetJavaDownloadToken(ctx context.Context, request GetJavaDownloadTokenRequest) (response GetJavaDownloadTokenResponse, err error)

GetJavaDownloadToken Gets a JavaDownloadToken by identifier

See also

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

func (JavaDownloadClient) GetJavaLicense

func (client JavaDownloadClient) GetJavaLicense(ctx context.Context, request GetJavaLicenseRequest) (response GetJavaLicenseResponse, err error)

GetJavaLicense Return details of the specified Java license type.

See also

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

func (JavaDownloadClient) GetJavaLicenseAcceptanceRecord

func (client JavaDownloadClient) GetJavaLicenseAcceptanceRecord(ctx context.Context, request GetJavaLicenseAcceptanceRecordRequest) (response GetJavaLicenseAcceptanceRecordResponse, err error)

GetJavaLicenseAcceptanceRecord Returns a specific Java license acceptance record in a tenancy.

See also

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

func (JavaDownloadClient) GetWorkRequest

func (client JavaDownloadClient) 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/jmsjavadownloads/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (JavaDownloadClient) ListJavaDownloadRecords

func (client JavaDownloadClient) ListJavaDownloadRecords(ctx context.Context, request ListJavaDownloadRecordsRequest) (response ListJavaDownloadRecordsResponse, err error)

ListJavaDownloadRecords Returns a list of Java download records in a tenancy based on specified parameters. See ListJavaReleases for possible values of `javaFamilyVersion` and `javaReleaseVersion` parameters.

See also

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

func (JavaDownloadClient) ListJavaDownloadReports

func (client JavaDownloadClient) ListJavaDownloadReports(ctx context.Context, request ListJavaDownloadReportsRequest) (response ListJavaDownloadReportsResponse, err error)

ListJavaDownloadReports Returns a list of JavaDownloadReports.

See also

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

func (JavaDownloadClient) ListJavaDownloadTokens

func (client JavaDownloadClient) ListJavaDownloadTokens(ctx context.Context, request ListJavaDownloadTokensRequest) (response ListJavaDownloadTokensResponse, err error)

ListJavaDownloadTokens Returns a list of JavaDownloadTokens.

See also

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

func (JavaDownloadClient) ListJavaLicenseAcceptanceRecords

func (client JavaDownloadClient) ListJavaLicenseAcceptanceRecords(ctx context.Context, request ListJavaLicenseAcceptanceRecordsRequest) (response ListJavaLicenseAcceptanceRecordsResponse, err error)

ListJavaLicenseAcceptanceRecords Returns a list of all the Java license acceptance records in a tenancy.

See also

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

func (JavaDownloadClient) ListJavaLicenses

func (client JavaDownloadClient) ListJavaLicenses(ctx context.Context, request ListJavaLicensesRequest) (response ListJavaLicensesResponse, err error)

ListJavaLicenses Return a list with details of all Java licenses.

See also

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

func (JavaDownloadClient) ListWorkRequestErrors

func (client JavaDownloadClient) 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/jmsjavadownloads/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (JavaDownloadClient) ListWorkRequestLogs

func (client JavaDownloadClient) 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/jmsjavadownloads/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (JavaDownloadClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a tenancy.

See also

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

func (JavaDownloadClient) RequestSummarizedJavaDownloadCounts

func (client JavaDownloadClient) RequestSummarizedJavaDownloadCounts(ctx context.Context, request RequestSummarizedJavaDownloadCountsRequest) (response RequestSummarizedJavaDownloadCountsResponse, err error)

RequestSummarizedJavaDownloadCounts Returns list of download counts grouped by the specified property.

See also

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

func (*JavaDownloadClient) SetRegion

func (client *JavaDownloadClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (JavaDownloadClient) UpdateJavaDownloadToken

func (client JavaDownloadClient) UpdateJavaDownloadToken(ctx context.Context, request UpdateJavaDownloadTokenRequest) (response UpdateJavaDownloadTokenResponse, err error)

UpdateJavaDownloadToken Updates the JavaDownloadToken specified by the identifier.

See also

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

func (JavaDownloadClient) UpdateJavaLicenseAcceptanceRecord

func (client JavaDownloadClient) UpdateJavaLicenseAcceptanceRecord(ctx context.Context, request UpdateJavaLicenseAcceptanceRecordRequest) (response UpdateJavaLicenseAcceptanceRecordResponse, err error)

UpdateJavaLicenseAcceptanceRecord Updates a specific Java license acceptance record in a tenancy.

See also

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

type JavaDownloadCountAggregation

type JavaDownloadCountAggregation struct {

	// Count of Java downloads.
	DownloadCount *int64 `mandatory:"true" json:"downloadCount"`

	// The Java family version.
	FamilyVersion *string `mandatory:"false" json:"familyVersion"`

	// The Java family display name.
	FamilyDisplayName *string `mandatory:"false" json:"familyDisplayName"`

	// The Java release version. Applicable only to `JAVA_RELEASE` aggregationType.
	ReleaseVersion *string `mandatory:"false" json:"releaseVersion"`

	// The target Operating System family for the artifact. Applicable only to `PLATFORM` aggregationType.
	OsFamily *string `mandatory:"false" json:"osFamily"`

	// The target Operating System architecture for the artifact. Applicable only to `PLATFORM` aggregationType.
	Architecture *string `mandatory:"false" json:"architecture"`

	// The package type(typically the file extension) of the artifact. Applicable only to `PLATFORM` aggregationType.
	PackageType *string `mandatory:"false" json:"packageType"`

	// Additional information about the package type. Applicable only to `PLATFORM` aggregationType.
	PackageTypeDetail *string `mandatory:"false" json:"packageTypeDetail"`
}

JavaDownloadCountAggregation Count of Java downloads aggregated by the specified type.

func (JavaDownloadCountAggregation) String

func (JavaDownloadCountAggregation) ValidateEnumValue

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

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

type JavaDownloadCountAggregationCollection

type JavaDownloadCountAggregationCollection struct {

	// Aggregation type
	AggregationType JavaDownloadCountAggregationTypeEnum `mandatory:"true" json:"aggregationType"`

	// A list of download count aggregations.
	Items []JavaDownloadCountAggregation `mandatory:"true" json:"items"`
}

JavaDownloadCountAggregationCollection Collection of download count aggregations.

func (JavaDownloadCountAggregationCollection) String

func (JavaDownloadCountAggregationCollection) ValidateEnumValue

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

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

type JavaDownloadCountAggregationTypeEnum

type JavaDownloadCountAggregationTypeEnum string

JavaDownloadCountAggregationTypeEnum Enum with underlying type: string

const (
	JavaDownloadCountAggregationTypeJavaFamily  JavaDownloadCountAggregationTypeEnum = "JAVA_FAMILY"
	JavaDownloadCountAggregationTypeJavaRelease JavaDownloadCountAggregationTypeEnum = "JAVA_RELEASE"
	JavaDownloadCountAggregationTypePlatform    JavaDownloadCountAggregationTypeEnum = "PLATFORM"
)

Set of constants representing the allowable values for JavaDownloadCountAggregationTypeEnum

func GetJavaDownloadCountAggregationTypeEnumValues

func GetJavaDownloadCountAggregationTypeEnumValues() []JavaDownloadCountAggregationTypeEnum

GetJavaDownloadCountAggregationTypeEnumValues Enumerates the set of values for JavaDownloadCountAggregationTypeEnum

func GetMappingJavaDownloadCountAggregationTypeEnum

func GetMappingJavaDownloadCountAggregationTypeEnum(val string) (JavaDownloadCountAggregationTypeEnum, bool)

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

type JavaDownloadRecord

type JavaDownloadRecord struct {

	// Identifier of the source that downloaded the artifact.
	DownloadSourceId *string `mandatory:"true" json:"downloadSourceId"`

	// Timestamp of download.
	TimeDownloaded *common.SDKTime `mandatory:"true" json:"timeDownloaded"`

	// Type of download.
	DownloadType *string `mandatory:"true" json:"downloadType"`

	// The Java family version identifier.
	FamilyVersion *string `mandatory:"false" json:"familyVersion"`

	// The Java family display name.
	FamilyDisplayName *string `mandatory:"false" json:"familyDisplayName"`

	// The Java release version identifier.
	ReleaseVersion *string `mandatory:"false" json:"releaseVersion"`

	// The target Operating System family for the artifact.
	OsFamily *string `mandatory:"false" json:"osFamily"`

	// The target Operating System architecture for the artifact.
	Architecture *string `mandatory:"false" json:"architecture"`

	// The package type(typically the file extension) of the artifact.
	PackageType *string `mandatory:"false" json:"packageType"`

	// Additional information about the package type.
	PackageTypeDetail *string `mandatory:"false" json:"packageTypeDetail"`
}

JavaDownloadRecord A record of Java artifact download in a tenancy.

func (JavaDownloadRecord) String

func (m JavaDownloadRecord) String() string

func (JavaDownloadRecord) ValidateEnumValue

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

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

type JavaDownloadRecordCollection

type JavaDownloadRecordCollection struct {

	// A list of Java download records in a tenancy.
	Items []JavaDownloadRecordSummary `mandatory:"true" json:"items"`
}

JavaDownloadRecordCollection Collection of Java download records.

func (JavaDownloadRecordCollection) String

func (JavaDownloadRecordCollection) ValidateEnumValue

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

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

type JavaDownloadRecordSortByEnum

type JavaDownloadRecordSortByEnum string

JavaDownloadRecordSortByEnum Enum with underlying type: string

const (
	JavaDownloadRecordSortByTimeDownloaded   JavaDownloadRecordSortByEnum = "timeDownloaded"
	JavaDownloadRecordSortByDownloadSourceId JavaDownloadRecordSortByEnum = "downloadSourceId"
	JavaDownloadRecordSortByDownloadType     JavaDownloadRecordSortByEnum = "downloadType"
)

Set of constants representing the allowable values for JavaDownloadRecordSortByEnum

func GetJavaDownloadRecordSortByEnumValues

func GetJavaDownloadRecordSortByEnumValues() []JavaDownloadRecordSortByEnum

GetJavaDownloadRecordSortByEnumValues Enumerates the set of values for JavaDownloadRecordSortByEnum

func GetMappingJavaDownloadRecordSortByEnum

func GetMappingJavaDownloadRecordSortByEnum(val string) (JavaDownloadRecordSortByEnum, bool)

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

type JavaDownloadRecordSummary

type JavaDownloadRecordSummary struct {

	// Identifier of the source that downloaded the artifact.
	DownloadSourceId *string `mandatory:"true" json:"downloadSourceId"`

	// Timestamp of download.
	TimeDownloaded *common.SDKTime `mandatory:"true" json:"timeDownloaded"`

	// Type of download.
	DownloadType *string `mandatory:"true" json:"downloadType"`

	// The Java family version identifier.
	FamilyVersion *string `mandatory:"false" json:"familyVersion"`

	// The Java family display name.
	FamilyDisplayName *string `mandatory:"false" json:"familyDisplayName"`

	// The Java release version identifier.
	ReleaseVersion *string `mandatory:"false" json:"releaseVersion"`

	// The target Operating System family for the artifact.
	OsFamily *string `mandatory:"false" json:"osFamily"`

	// The target Operating System architecture for the artifact.
	Architecture *string `mandatory:"false" json:"architecture"`

	// The package type(typically the file extension) of the artifact.
	PackageType *string `mandatory:"false" json:"packageType"`

	// Additional information about the package type.
	PackageTypeDetail *string `mandatory:"false" json:"packageTypeDetail"`
}

JavaDownloadRecordSummary A summary of Java artifact download in a tenancy.

func (JavaDownloadRecordSummary) String

func (m JavaDownloadRecordSummary) String() string

func (JavaDownloadRecordSummary) ValidateEnumValue

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

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

type JavaDownloadReport

type JavaDownloadReport struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Java download report.
	Id *string `mandatory:"true" json:"id"`

	// Display name for the Java download report.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The file format of the Java download report.
	Format JavaDownloadReportFormatEnum `mandatory:"true" json:"format"`

	// Approximate size of the Java download report file in bytes.
	FileSizeInBytes *int64 `mandatory:"true" json:"fileSizeInBytes"`

	// The algorithm used for calculating the checksum.
	ChecksumType ChecksumTypeEnum `mandatory:"true" json:"checksumType"`

	// The checksum value of the Java download report file.
	ChecksumValue *string `mandatory:"true" json:"checksumValue"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy scoped to the Java download report.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	CreatedBy *Principal `mandatory:"true" json:"createdBy"`

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

	// The current state of the Java download report.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).)
	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"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)).
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

JavaDownloadReport Details about a Java download report in a tenancy. The report is a file in Object Storage. It contains the download records in a specific format.

func (JavaDownloadReport) String

func (m JavaDownloadReport) String() string

func (JavaDownloadReport) ValidateEnumValue

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

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

type JavaDownloadReportCollection

type JavaDownloadReportCollection struct {

	// A list of JavaDownloadReportSummary objects in a tenancy.
	Items []JavaDownloadReportSummary `mandatory:"true" json:"items"`
}

JavaDownloadReportCollection Collection of JavaDownloadReportSummary objects.

func (JavaDownloadReportCollection) String

func (JavaDownloadReportCollection) ValidateEnumValue

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

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

type JavaDownloadReportFormatEnum

type JavaDownloadReportFormatEnum string

JavaDownloadReportFormatEnum Enum with underlying type: string

const (
	JavaDownloadReportFormatCsv JavaDownloadReportFormatEnum = "CSV"
)

Set of constants representing the allowable values for JavaDownloadReportFormatEnum

func GetJavaDownloadReportFormatEnumValues

func GetJavaDownloadReportFormatEnumValues() []JavaDownloadReportFormatEnum

GetJavaDownloadReportFormatEnumValues Enumerates the set of values for JavaDownloadReportFormatEnum

func GetMappingJavaDownloadReportFormatEnum

func GetMappingJavaDownloadReportFormatEnum(val string) (JavaDownloadReportFormatEnum, bool)

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

type JavaDownloadReportSortByEnum

type JavaDownloadReportSortByEnum string

JavaDownloadReportSortByEnum Enum with underlying type: string

const (
	JavaDownloadReportSortByTimeCreated JavaDownloadReportSortByEnum = "timeCreated"
	JavaDownloadReportSortByDisplayName JavaDownloadReportSortByEnum = "displayName"
)

Set of constants representing the allowable values for JavaDownloadReportSortByEnum

func GetJavaDownloadReportSortByEnumValues

func GetJavaDownloadReportSortByEnumValues() []JavaDownloadReportSortByEnum

GetJavaDownloadReportSortByEnumValues Enumerates the set of values for JavaDownloadReportSortByEnum

func GetMappingJavaDownloadReportSortByEnum

func GetMappingJavaDownloadReportSortByEnum(val string) (JavaDownloadReportSortByEnum, bool)

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

type JavaDownloadReportSummary

type JavaDownloadReportSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Java download report.
	Id *string `mandatory:"true" json:"id"`

	// Display name for the Java download report.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The file format of the Java download report.
	Format JavaDownloadReportFormatEnum `mandatory:"true" json:"format"`

	// Approximate size of the Java download report file in bytes.
	FileSizeInBytes *int64 `mandatory:"true" json:"fileSizeInBytes"`

	// The algorithm used for calculating the checksum.
	ChecksumType ChecksumTypeEnum `mandatory:"true" json:"checksumType"`

	// The checksum value of the Java download report file.
	ChecksumValue *string `mandatory:"true" json:"checksumValue"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy scoped to the Java download report.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	CreatedBy *Principal `mandatory:"true" json:"createdBy"`

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

	// The current state of the Java download report.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).)
	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"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)).
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

JavaDownloadReportSummary A summary of the Java download report in a tenancy.

func (JavaDownloadReportSummary) String

func (m JavaDownloadReportSummary) String() string

func (JavaDownloadReportSummary) ValidateEnumValue

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

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

type JavaDownloadToken

type JavaDownloadToken struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the JavaDownloadToken.
	Id *string `mandatory:"true" json:"id"`

	// User provided display name of the JavaDownloadToken.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy scoped to the JavaDownloadToken.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	CreatedBy *Principal `mandatory:"true" json:"createdBy"`

	// User provided description of the JavaDownloadToken.
	Description *string `mandatory:"true" json:"description"`

	// Uniquely generated value for the JavaDownloadToken.
	Value *string `mandatory:"true" json:"value"`

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

	// The expiry time of the JavaDownloadToken. An RFC3339 formatted datetime string.
	TimeExpires *common.SDKTime `mandatory:"true" json:"timeExpires"`

	// The associated Java version of the JavaDownloadToken.
	JavaVersion *string `mandatory:"true" json:"javaVersion"`

	// The current state of the JavaDownloadToken.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	LastUpdatedBy *Principal `mandatory:"false" json:"lastUpdatedBy"`

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

	// The time the JavaDownloadToken was last used for download. An RFC3339 formatted datetime string.
	TimeLastUsed *common.SDKTime `mandatory:"false" json:"timeLastUsed"`

	// The license type(s) associated with the JavaDownloadToken.
	LicenseType []LicenseTypeEnum `mandatory:"false" json:"licenseType"`

	// A flag to indicate if the token is default.
	IsDefault *bool `mandatory:"false" json:"isDefault"`

	// Possible lifecycle substates.
	LifecycleDetails TokenLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).)
	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"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)).
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

JavaDownloadToken A JavaDownloadToken is a primary resource for the script friendly URLs. The value of this token serves as the authorization token for the download.

func (JavaDownloadToken) String

func (m JavaDownloadToken) String() string

func (JavaDownloadToken) ValidateEnumValue

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

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

type JavaDownloadTokenCollection

type JavaDownloadTokenCollection struct {

	// List of JavaDownloadTokens.
	Items []JavaDownloadTokenSummary `mandatory:"true" json:"items"`
}

JavaDownloadTokenCollection Contains a list of JavaDownloadTokenSummary objects.

func (JavaDownloadTokenCollection) String

func (JavaDownloadTokenCollection) ValidateEnumValue

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

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

type JavaDownloadTokenSummary

type JavaDownloadTokenSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the JavaDownloadToken.
	Id *string `mandatory:"true" json:"id"`

	// User provided display name of the JavaDownloadToken.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy scoped to the JavaDownloadToken.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	CreatedBy *Principal `mandatory:"true" json:"createdBy"`

	// User provided description of the JavaDownloadToken.
	Description *string `mandatory:"true" json:"description"`

	// Uniquely generated value for the JavaDownloadToken.
	Value *string `mandatory:"true" json:"value"`

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

	// The expiry time of the JavaDownloadToken. An RFC3339 formatted datetime string.
	TimeExpires *common.SDKTime `mandatory:"true" json:"timeExpires"`

	// The associated Java version of the JavaDownloadToken.
	JavaVersion *string `mandatory:"true" json:"javaVersion"`

	// The current state of the JavaDownloadToken.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	LastUpdatedBy *Principal `mandatory:"false" json:"lastUpdatedBy"`

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

	// The time the JavaDownloadToken was last used for download. An RFC3339 formatted datetime string.
	TimeLastUsed *common.SDKTime `mandatory:"false" json:"timeLastUsed"`

	// The license type(s) associated with the JavaDownloadToken.
	LicenseType []LicenseTypeEnum `mandatory:"false" json:"licenseType"`

	// A flag to indicate if the token is default.
	IsDefault *bool `mandatory:"false" json:"isDefault"`

	// Possible lifecycle substates.
	LifecycleDetails TokenLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).)
	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"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)).
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

JavaDownloadTokenSummary Summary of the JavaDownloadToken.

func (JavaDownloadTokenSummary) String

func (m JavaDownloadTokenSummary) String() string

func (JavaDownloadTokenSummary) ValidateEnumValue

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

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

type JavaLicense

type JavaLicense struct {

	// Commonly used name for the license type.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// License Type
	LicenseType LicenseTypeEnum `mandatory:"true" json:"licenseType"`

	// Publicly accessible license URL containing the detailed terms and conditions.
	LicenseUrl *string `mandatory:"true" json:"licenseUrl"`
}

JavaLicense Details about a license type for Java.

func (JavaLicense) String

func (m JavaLicense) String() string

func (JavaLicense) ValidateEnumValue

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

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

type JavaLicenseAcceptanceRecord

type JavaLicenseAcceptanceRecord struct {

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

	// Status of license acceptance.
	LicenseAcceptanceStatus LicenseAcceptanceStatusEnum `mandatory:"true" json:"licenseAcceptanceStatus"`

	// The tenancy OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the user accepting the license.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// License type associated with the acceptance.
	LicenseType LicenseTypeEnum `mandatory:"true" json:"licenseType"`

	CreatedBy *Principal `mandatory:"true" json:"createdBy"`

	// The date and time of license acceptance(formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	LastUpdatedBy *Principal `mandatory:"false" json:"lastUpdatedBy"`

	// The date and time of last update(formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeLastUpdated *common.SDKTime `mandatory:"false" json:"timeLastUpdated"`

	// The current state of the JavaLicenseAcceptanceRecord.
	LifecycleState LifecycleStateEnum `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"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).)
	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"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)).
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

JavaLicenseAcceptanceRecord User acceptance record for a Java license.

func (JavaLicenseAcceptanceRecord) String

func (JavaLicenseAcceptanceRecord) ValidateEnumValue

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

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

type JavaLicenseAcceptanceRecordCollection

type JavaLicenseAcceptanceRecordCollection struct {

	// List of JavaLicenseAcceptanceRecords.
	Items []JavaLicenseAcceptanceRecordSummary `mandatory:"true" json:"items"`
}

JavaLicenseAcceptanceRecordCollection Contains a list of JavaLicenseAcceptanceRecordSummary objects.

func (JavaLicenseAcceptanceRecordCollection) String

func (JavaLicenseAcceptanceRecordCollection) ValidateEnumValue

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

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

type JavaLicenseAcceptanceRecordSummary

type JavaLicenseAcceptanceRecordSummary struct {

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

	// Status of license acceptance.
	LicenseAcceptanceStatus LicenseAcceptanceStatusEnum `mandatory:"true" json:"licenseAcceptanceStatus"`

	// The tenancy OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the user accepting the license.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// License type associated with the acceptance.
	LicenseType LicenseTypeEnum `mandatory:"true" json:"licenseType"`

	CreatedBy *Principal `mandatory:"true" json:"createdBy"`

	// The date and time of license acceptance(formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	LastUpdatedBy *Principal `mandatory:"false" json:"lastUpdatedBy"`

	// The date and time of last update(formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeLastUpdated *common.SDKTime `mandatory:"false" json:"timeLastUpdated"`

	// The current state of the JavaLicenseAcceptanceRecord.
	LifecycleState LifecycleStateEnum `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"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).)
	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"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)).
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

JavaLicenseAcceptanceRecordSummary User acceptance record summary for a Java license.

func (JavaLicenseAcceptanceRecordSummary) String

func (JavaLicenseAcceptanceRecordSummary) ValidateEnumValue

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

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

type JavaLicenseCollection

type JavaLicenseCollection struct {

	// A list of JavaLicenseSummary objects.
	Items []JavaLicenseSummary `mandatory:"true" json:"items"`
}

JavaLicenseCollection Collection of the Java license summary objects.

func (JavaLicenseCollection) String

func (m JavaLicenseCollection) String() string

func (JavaLicenseCollection) ValidateEnumValue

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

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

type JavaLicenseSummary

type JavaLicenseSummary struct {

	// Commonly used name for the license type.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// License Type
	LicenseType LicenseTypeEnum `mandatory:"true" json:"licenseType"`

	// Publicly accessible license URL containing the detailed terms and conditions.
	LicenseUrl *string `mandatory:"true" json:"licenseUrl"`
}

JavaLicenseSummary Summary of a license type for Java.

func (JavaLicenseSummary) String

func (m JavaLicenseSummary) String() string

func (JavaLicenseSummary) ValidateEnumValue

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

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

type LicenseAcceptanceSortByEnum

type LicenseAcceptanceSortByEnum string

LicenseAcceptanceSortByEnum Enum with underlying type: string

const (
	LicenseAcceptanceSortByTimeAccepted            LicenseAcceptanceSortByEnum = "timeAccepted"
	LicenseAcceptanceSortByTimeLastUpdated         LicenseAcceptanceSortByEnum = "timeLastUpdated"
	LicenseAcceptanceSortByLicenseAcceptanceStatus LicenseAcceptanceSortByEnum = "licenseAcceptanceStatus"
)

Set of constants representing the allowable values for LicenseAcceptanceSortByEnum

func GetLicenseAcceptanceSortByEnumValues

func GetLicenseAcceptanceSortByEnumValues() []LicenseAcceptanceSortByEnum

GetLicenseAcceptanceSortByEnumValues Enumerates the set of values for LicenseAcceptanceSortByEnum

func GetMappingLicenseAcceptanceSortByEnum

func GetMappingLicenseAcceptanceSortByEnum(val string) (LicenseAcceptanceSortByEnum, bool)

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

type LicenseAcceptanceStatusEnum

type LicenseAcceptanceStatusEnum string

LicenseAcceptanceStatusEnum Enum with underlying type: string

const (
	LicenseAcceptanceStatusAccepted LicenseAcceptanceStatusEnum = "ACCEPTED"
	LicenseAcceptanceStatusRevoked  LicenseAcceptanceStatusEnum = "REVOKED"
)

Set of constants representing the allowable values for LicenseAcceptanceStatusEnum

func GetLicenseAcceptanceStatusEnumValues

func GetLicenseAcceptanceStatusEnumValues() []LicenseAcceptanceStatusEnum

GetLicenseAcceptanceStatusEnumValues Enumerates the set of values for LicenseAcceptanceStatusEnum

func GetMappingLicenseAcceptanceStatusEnum

func GetMappingLicenseAcceptanceStatusEnum(val string) (LicenseAcceptanceStatusEnum, bool)

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

type LicenseSortByEnum

type LicenseSortByEnum string

LicenseSortByEnum Enum with underlying type: string

const (
	LicenseSortByLicenseType LicenseSortByEnum = "licenseType"
	LicenseSortByDisplayName LicenseSortByEnum = "displayName"
)

Set of constants representing the allowable values for LicenseSortByEnum

func GetLicenseSortByEnumValues

func GetLicenseSortByEnumValues() []LicenseSortByEnum

GetLicenseSortByEnumValues Enumerates the set of values for LicenseSortByEnum

func GetMappingLicenseSortByEnum

func GetMappingLicenseSortByEnum(val string) (LicenseSortByEnum, bool)

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

type LicenseTypeEnum

type LicenseTypeEnum string

LicenseTypeEnum Enum with underlying type: string

const (
	LicenseTypeOtn        LicenseTypeEnum = "OTN"
	LicenseTypeNftc       LicenseTypeEnum = "NFTC"
	LicenseTypeRestricted LicenseTypeEnum = "RESTRICTED"
)

Set of constants representing the allowable values for LicenseTypeEnum

func GetLicenseTypeEnumValues

func GetLicenseTypeEnumValues() []LicenseTypeEnum

GetLicenseTypeEnumValues Enumerates the set of values for LicenseTypeEnum

func GetMappingLicenseTypeEnum

func GetMappingLicenseTypeEnum(val string) (LicenseTypeEnum, bool)

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

type LifecycleStateEnum

type LifecycleStateEnum string

LifecycleStateEnum Enum with underlying type: string

const (
	LifecycleStateActive         LifecycleStateEnum = "ACTIVE"
	LifecycleStateCreating       LifecycleStateEnum = "CREATING"
	LifecycleStateDeleted        LifecycleStateEnum = "DELETED"
	LifecycleStateDeleting       LifecycleStateEnum = "DELETING"
	LifecycleStateFailed         LifecycleStateEnum = "FAILED"
	LifecycleStateNeedsAttention LifecycleStateEnum = "NEEDS_ATTENTION"
	LifecycleStateUpdating       LifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for LifecycleStateEnum

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

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

type ListJavaDownloadRecordsRequest

type ListJavaDownloadRecordsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique Java family version identifier.
	FamilyVersion *string `mandatory:"false" contributesTo:"query" name:"familyVersion"`

	// Unique Java release version identifier.
	ReleaseVersion *string `mandatory:"false" contributesTo:"query" name:"releaseVersion"`

	// Target Operating System family of the artifact.
	OsFamily *string `mandatory:"false" contributesTo:"query" name:"osFamily"`

	// Target Operating System architecture of the artifact.
	Architecture *string `mandatory:"false" contributesTo:"query" name:"architecture"`

	// Packaging type detail of the artifact.
	PackageTypeDetail *string `mandatory:"false" contributesTo:"query" name:"packageTypeDetail"`

	// The start of the time period for which reports are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"`

	// The end of the time period for which reports are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"`

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

	// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order, either 'asc' or 'desc'.
	SortOrder ListJavaDownloadRecordsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// If no value is specified _timeDownloaded_ is default.
	SortBy ListJavaDownloadRecordsSortByEnum `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
}

ListJavaDownloadRecordsRequest wrapper for the ListJavaDownloadRecords operation

See also

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

func (ListJavaDownloadRecordsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListJavaDownloadRecordsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListJavaDownloadRecordsRequest) RetryPolicy

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

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

func (ListJavaDownloadRecordsRequest) String

func (request ListJavaDownloadRecordsRequest) String() string

func (ListJavaDownloadRecordsRequest) ValidateEnumValue

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

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

type ListJavaDownloadRecordsResponse

type ListJavaDownloadRecordsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListJavaDownloadRecordsResponse wrapper for the ListJavaDownloadRecords operation

func (ListJavaDownloadRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJavaDownloadRecordsResponse) String

func (response ListJavaDownloadRecordsResponse) String() string

type ListJavaDownloadRecordsSortByEnum

type ListJavaDownloadRecordsSortByEnum string

ListJavaDownloadRecordsSortByEnum Enum with underlying type: string

const (
	ListJavaDownloadRecordsSortByTimedownloaded   ListJavaDownloadRecordsSortByEnum = "timeDownloaded"
	ListJavaDownloadRecordsSortByDownloadsourceid ListJavaDownloadRecordsSortByEnum = "downloadSourceId"
	ListJavaDownloadRecordsSortByDownloadtype     ListJavaDownloadRecordsSortByEnum = "downloadType"
)

Set of constants representing the allowable values for ListJavaDownloadRecordsSortByEnum

func GetListJavaDownloadRecordsSortByEnumValues

func GetListJavaDownloadRecordsSortByEnumValues() []ListJavaDownloadRecordsSortByEnum

GetListJavaDownloadRecordsSortByEnumValues Enumerates the set of values for ListJavaDownloadRecordsSortByEnum

func GetMappingListJavaDownloadRecordsSortByEnum

func GetMappingListJavaDownloadRecordsSortByEnum(val string) (ListJavaDownloadRecordsSortByEnum, bool)

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

type ListJavaDownloadRecordsSortOrderEnum

type ListJavaDownloadRecordsSortOrderEnum string

ListJavaDownloadRecordsSortOrderEnum Enum with underlying type: string

const (
	ListJavaDownloadRecordsSortOrderAsc  ListJavaDownloadRecordsSortOrderEnum = "ASC"
	ListJavaDownloadRecordsSortOrderDesc ListJavaDownloadRecordsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJavaDownloadRecordsSortOrderEnum

func GetListJavaDownloadRecordsSortOrderEnumValues

func GetListJavaDownloadRecordsSortOrderEnumValues() []ListJavaDownloadRecordsSortOrderEnum

GetListJavaDownloadRecordsSortOrderEnumValues Enumerates the set of values for ListJavaDownloadRecordsSortOrderEnum

func GetMappingListJavaDownloadRecordsSortOrderEnum

func GetMappingListJavaDownloadRecordsSortOrderEnum(val string) (ListJavaDownloadRecordsSortOrderEnum, bool)

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

type ListJavaDownloadReportsLifecycleStateEnum

type ListJavaDownloadReportsLifecycleStateEnum string

ListJavaDownloadReportsLifecycleStateEnum Enum with underlying type: string

const (
	ListJavaDownloadReportsLifecycleStateActive         ListJavaDownloadReportsLifecycleStateEnum = "ACTIVE"
	ListJavaDownloadReportsLifecycleStateCreating       ListJavaDownloadReportsLifecycleStateEnum = "CREATING"
	ListJavaDownloadReportsLifecycleStateDeleted        ListJavaDownloadReportsLifecycleStateEnum = "DELETED"
	ListJavaDownloadReportsLifecycleStateDeleting       ListJavaDownloadReportsLifecycleStateEnum = "DELETING"
	ListJavaDownloadReportsLifecycleStateFailed         ListJavaDownloadReportsLifecycleStateEnum = "FAILED"
	ListJavaDownloadReportsLifecycleStateNeedsAttention ListJavaDownloadReportsLifecycleStateEnum = "NEEDS_ATTENTION"
	ListJavaDownloadReportsLifecycleStateUpdating       ListJavaDownloadReportsLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ListJavaDownloadReportsLifecycleStateEnum

func GetListJavaDownloadReportsLifecycleStateEnumValues

func GetListJavaDownloadReportsLifecycleStateEnumValues() []ListJavaDownloadReportsLifecycleStateEnum

GetListJavaDownloadReportsLifecycleStateEnumValues Enumerates the set of values for ListJavaDownloadReportsLifecycleStateEnum

func GetMappingListJavaDownloadReportsLifecycleStateEnum

func GetMappingListJavaDownloadReportsLifecycleStateEnum(val string) (ListJavaDownloadReportsLifecycleStateEnum, bool)

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

type ListJavaDownloadReportsRequest

type ListJavaDownloadReportsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

	// Unique Java download report identifier.
	JavaDownloadReportId *string `mandatory:"false" contributesTo:"query" name:"javaDownloadReportId"`

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

	// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order, either 'asc' or 'desc'.
	SortOrder ListJavaDownloadReportsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. If no value is specified, _timeCreated_ is the default.
	SortBy ListJavaDownloadReportsSortByEnum `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
}

ListJavaDownloadReportsRequest wrapper for the ListJavaDownloadReports operation

See also

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

func (ListJavaDownloadReportsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListJavaDownloadReportsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListJavaDownloadReportsRequest) RetryPolicy

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

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

func (ListJavaDownloadReportsRequest) String

func (request ListJavaDownloadReportsRequest) String() string

func (ListJavaDownloadReportsRequest) ValidateEnumValue

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

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

type ListJavaDownloadReportsResponse

type ListJavaDownloadReportsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListJavaDownloadReportsResponse wrapper for the ListJavaDownloadReports operation

func (ListJavaDownloadReportsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJavaDownloadReportsResponse) String

func (response ListJavaDownloadReportsResponse) String() string

type ListJavaDownloadReportsSortByEnum

type ListJavaDownloadReportsSortByEnum string

ListJavaDownloadReportsSortByEnum Enum with underlying type: string

const (
	ListJavaDownloadReportsSortByTimecreated ListJavaDownloadReportsSortByEnum = "timeCreated"
	ListJavaDownloadReportsSortByDisplayname ListJavaDownloadReportsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListJavaDownloadReportsSortByEnum

func GetListJavaDownloadReportsSortByEnumValues

func GetListJavaDownloadReportsSortByEnumValues() []ListJavaDownloadReportsSortByEnum

GetListJavaDownloadReportsSortByEnumValues Enumerates the set of values for ListJavaDownloadReportsSortByEnum

func GetMappingListJavaDownloadReportsSortByEnum

func GetMappingListJavaDownloadReportsSortByEnum(val string) (ListJavaDownloadReportsSortByEnum, bool)

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

type ListJavaDownloadReportsSortOrderEnum

type ListJavaDownloadReportsSortOrderEnum string

ListJavaDownloadReportsSortOrderEnum Enum with underlying type: string

const (
	ListJavaDownloadReportsSortOrderAsc  ListJavaDownloadReportsSortOrderEnum = "ASC"
	ListJavaDownloadReportsSortOrderDesc ListJavaDownloadReportsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJavaDownloadReportsSortOrderEnum

func GetListJavaDownloadReportsSortOrderEnumValues

func GetListJavaDownloadReportsSortOrderEnumValues() []ListJavaDownloadReportsSortOrderEnum

GetListJavaDownloadReportsSortOrderEnumValues Enumerates the set of values for ListJavaDownloadReportsSortOrderEnum

func GetMappingListJavaDownloadReportsSortOrderEnum

func GetMappingListJavaDownloadReportsSortOrderEnum(val string) (ListJavaDownloadReportsSortOrderEnum, bool)

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

type ListJavaDownloadTokensLifecycleStateEnum

type ListJavaDownloadTokensLifecycleStateEnum string

ListJavaDownloadTokensLifecycleStateEnum Enum with underlying type: string

const (
	ListJavaDownloadTokensLifecycleStateActive         ListJavaDownloadTokensLifecycleStateEnum = "ACTIVE"
	ListJavaDownloadTokensLifecycleStateCreating       ListJavaDownloadTokensLifecycleStateEnum = "CREATING"
	ListJavaDownloadTokensLifecycleStateDeleted        ListJavaDownloadTokensLifecycleStateEnum = "DELETED"
	ListJavaDownloadTokensLifecycleStateDeleting       ListJavaDownloadTokensLifecycleStateEnum = "DELETING"
	ListJavaDownloadTokensLifecycleStateFailed         ListJavaDownloadTokensLifecycleStateEnum = "FAILED"
	ListJavaDownloadTokensLifecycleStateNeedsAttention ListJavaDownloadTokensLifecycleStateEnum = "NEEDS_ATTENTION"
	ListJavaDownloadTokensLifecycleStateUpdating       ListJavaDownloadTokensLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ListJavaDownloadTokensLifecycleStateEnum

func GetListJavaDownloadTokensLifecycleStateEnumValues

func GetListJavaDownloadTokensLifecycleStateEnumValues() []ListJavaDownloadTokensLifecycleStateEnum

GetListJavaDownloadTokensLifecycleStateEnumValues Enumerates the set of values for ListJavaDownloadTokensLifecycleStateEnum

func GetMappingListJavaDownloadTokensLifecycleStateEnum

func GetMappingListJavaDownloadTokensLifecycleStateEnum(val string) (ListJavaDownloadTokensLifecycleStateEnum, bool)

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

type ListJavaDownloadTokensRequest

type ListJavaDownloadTokensRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

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

	// Unique JavaDownloadToken value.
	Value *string `mandatory:"false" contributesTo:"query" name:"value"`

	// Unique Java family version identifier.
	FamilyVersion *string `mandatory:"false" contributesTo:"query" name:"familyVersion"`

	// A filter to return only resources that match the user principal detail.
	// The search string can be any of the property values from the Principal object.
	// This object is used as response datatype for the `createdBy` and `lastUpdatedBy` fields in applicable resource.
	SearchByUser *string `mandatory:"false" contributesTo:"query" name:"searchByUser"`

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

	// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order, either 'asc' or 'desc'.
	SortOrder ListJavaDownloadTokensSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. If no value is specified, _timeCreated_ is the default.
	SortBy ListJavaDownloadTokensSortByEnum `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
}

ListJavaDownloadTokensRequest wrapper for the ListJavaDownloadTokens operation

See also

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

func (ListJavaDownloadTokensRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListJavaDownloadTokensRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListJavaDownloadTokensRequest) RetryPolicy

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

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

func (ListJavaDownloadTokensRequest) String

func (request ListJavaDownloadTokensRequest) String() string

func (ListJavaDownloadTokensRequest) ValidateEnumValue

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

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

type ListJavaDownloadTokensResponse

type ListJavaDownloadTokensResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListJavaDownloadTokensResponse wrapper for the ListJavaDownloadTokens operation

func (ListJavaDownloadTokensResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJavaDownloadTokensResponse) String

func (response ListJavaDownloadTokensResponse) String() string

type ListJavaDownloadTokensSortByEnum

type ListJavaDownloadTokensSortByEnum string

ListJavaDownloadTokensSortByEnum Enum with underlying type: string

const (
	ListJavaDownloadTokensSortByTimecreated ListJavaDownloadTokensSortByEnum = "timeCreated"
	ListJavaDownloadTokensSortByTimeexpires ListJavaDownloadTokensSortByEnum = "timeExpires"
	ListJavaDownloadTokensSortByState       ListJavaDownloadTokensSortByEnum = "state"
	ListJavaDownloadTokensSortByDisplayname ListJavaDownloadTokensSortByEnum = "displayName"
	ListJavaDownloadTokensSortByJavaversion ListJavaDownloadTokensSortByEnum = "javaVersion"
)

Set of constants representing the allowable values for ListJavaDownloadTokensSortByEnum

func GetListJavaDownloadTokensSortByEnumValues

func GetListJavaDownloadTokensSortByEnumValues() []ListJavaDownloadTokensSortByEnum

GetListJavaDownloadTokensSortByEnumValues Enumerates the set of values for ListJavaDownloadTokensSortByEnum

func GetMappingListJavaDownloadTokensSortByEnum

func GetMappingListJavaDownloadTokensSortByEnum(val string) (ListJavaDownloadTokensSortByEnum, bool)

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

type ListJavaDownloadTokensSortOrderEnum

type ListJavaDownloadTokensSortOrderEnum string

ListJavaDownloadTokensSortOrderEnum Enum with underlying type: string

const (
	ListJavaDownloadTokensSortOrderAsc  ListJavaDownloadTokensSortOrderEnum = "ASC"
	ListJavaDownloadTokensSortOrderDesc ListJavaDownloadTokensSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJavaDownloadTokensSortOrderEnum

func GetListJavaDownloadTokensSortOrderEnumValues

func GetListJavaDownloadTokensSortOrderEnumValues() []ListJavaDownloadTokensSortOrderEnum

GetListJavaDownloadTokensSortOrderEnumValues Enumerates the set of values for ListJavaDownloadTokensSortOrderEnum

func GetMappingListJavaDownloadTokensSortOrderEnum

func GetMappingListJavaDownloadTokensSortOrderEnum(val string) (ListJavaDownloadTokensSortOrderEnum, bool)

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

type ListJavaLicenseAcceptanceRecordsLicenseTypeEnum

type ListJavaLicenseAcceptanceRecordsLicenseTypeEnum string

ListJavaLicenseAcceptanceRecordsLicenseTypeEnum Enum with underlying type: string

const (
	ListJavaLicenseAcceptanceRecordsLicenseTypeOtn        ListJavaLicenseAcceptanceRecordsLicenseTypeEnum = "OTN"
	ListJavaLicenseAcceptanceRecordsLicenseTypeNftc       ListJavaLicenseAcceptanceRecordsLicenseTypeEnum = "NFTC"
	ListJavaLicenseAcceptanceRecordsLicenseTypeRestricted ListJavaLicenseAcceptanceRecordsLicenseTypeEnum = "RESTRICTED"
)

Set of constants representing the allowable values for ListJavaLicenseAcceptanceRecordsLicenseTypeEnum

func GetListJavaLicenseAcceptanceRecordsLicenseTypeEnumValues

func GetListJavaLicenseAcceptanceRecordsLicenseTypeEnumValues() []ListJavaLicenseAcceptanceRecordsLicenseTypeEnum

GetListJavaLicenseAcceptanceRecordsLicenseTypeEnumValues Enumerates the set of values for ListJavaLicenseAcceptanceRecordsLicenseTypeEnum

func GetMappingListJavaLicenseAcceptanceRecordsLicenseTypeEnum

func GetMappingListJavaLicenseAcceptanceRecordsLicenseTypeEnum(val string) (ListJavaLicenseAcceptanceRecordsLicenseTypeEnum, bool)

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

type ListJavaLicenseAcceptanceRecordsRequest

type ListJavaLicenseAcceptanceRecordsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the user principal detail.
	// The search string can be any of the property values from the Principal object.
	// This object is used as response datatype for the `createdBy` and `lastUpdatedBy` fields in applicable resource.
	SearchByUser *string `mandatory:"false" contributesTo:"query" name:"searchByUser"`

	// Unique Java license acceptance record identifier.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// Unique Java license type.
	LicenseType ListJavaLicenseAcceptanceRecordsLicenseTypeEnum `mandatory:"false" contributesTo:"query" name:"licenseType" omitEmpty:"true"`

	// The status of license acceptance.
	Status ListJavaLicenseAcceptanceRecordsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

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

	// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order, either 'asc' or 'desc'.
	SortOrder ListJavaLicenseAcceptanceRecordsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. If no value is specified, _timeAccepted_ is the default.
	SortBy ListJavaLicenseAcceptanceRecordsSortByEnum `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
}

ListJavaLicenseAcceptanceRecordsRequest wrapper for the ListJavaLicenseAcceptanceRecords operation

See also

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

func (ListJavaLicenseAcceptanceRecordsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListJavaLicenseAcceptanceRecordsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListJavaLicenseAcceptanceRecordsRequest) RetryPolicy

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

func (ListJavaLicenseAcceptanceRecordsRequest) String

func (ListJavaLicenseAcceptanceRecordsRequest) ValidateEnumValue

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

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

type ListJavaLicenseAcceptanceRecordsResponse

type ListJavaLicenseAcceptanceRecordsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListJavaLicenseAcceptanceRecordsResponse wrapper for the ListJavaLicenseAcceptanceRecords operation

func (ListJavaLicenseAcceptanceRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJavaLicenseAcceptanceRecordsResponse) String

type ListJavaLicenseAcceptanceRecordsSortByEnum

type ListJavaLicenseAcceptanceRecordsSortByEnum string

ListJavaLicenseAcceptanceRecordsSortByEnum Enum with underlying type: string

const (
	ListJavaLicenseAcceptanceRecordsSortByTimeaccepted            ListJavaLicenseAcceptanceRecordsSortByEnum = "timeAccepted"
	ListJavaLicenseAcceptanceRecordsSortByTimelastupdated         ListJavaLicenseAcceptanceRecordsSortByEnum = "timeLastUpdated"
	ListJavaLicenseAcceptanceRecordsSortByLicenseacceptancestatus ListJavaLicenseAcceptanceRecordsSortByEnum = "licenseAcceptanceStatus"
)

Set of constants representing the allowable values for ListJavaLicenseAcceptanceRecordsSortByEnum

func GetListJavaLicenseAcceptanceRecordsSortByEnumValues

func GetListJavaLicenseAcceptanceRecordsSortByEnumValues() []ListJavaLicenseAcceptanceRecordsSortByEnum

GetListJavaLicenseAcceptanceRecordsSortByEnumValues Enumerates the set of values for ListJavaLicenseAcceptanceRecordsSortByEnum

func GetMappingListJavaLicenseAcceptanceRecordsSortByEnum

func GetMappingListJavaLicenseAcceptanceRecordsSortByEnum(val string) (ListJavaLicenseAcceptanceRecordsSortByEnum, bool)

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

type ListJavaLicenseAcceptanceRecordsSortOrderEnum

type ListJavaLicenseAcceptanceRecordsSortOrderEnum string

ListJavaLicenseAcceptanceRecordsSortOrderEnum Enum with underlying type: string

const (
	ListJavaLicenseAcceptanceRecordsSortOrderAsc  ListJavaLicenseAcceptanceRecordsSortOrderEnum = "ASC"
	ListJavaLicenseAcceptanceRecordsSortOrderDesc ListJavaLicenseAcceptanceRecordsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJavaLicenseAcceptanceRecordsSortOrderEnum

func GetListJavaLicenseAcceptanceRecordsSortOrderEnumValues

func GetListJavaLicenseAcceptanceRecordsSortOrderEnumValues() []ListJavaLicenseAcceptanceRecordsSortOrderEnum

GetListJavaLicenseAcceptanceRecordsSortOrderEnumValues Enumerates the set of values for ListJavaLicenseAcceptanceRecordsSortOrderEnum

func GetMappingListJavaLicenseAcceptanceRecordsSortOrderEnum

func GetMappingListJavaLicenseAcceptanceRecordsSortOrderEnum(val string) (ListJavaLicenseAcceptanceRecordsSortOrderEnum, bool)

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

type ListJavaLicenseAcceptanceRecordsStatusEnum

type ListJavaLicenseAcceptanceRecordsStatusEnum string

ListJavaLicenseAcceptanceRecordsStatusEnum Enum with underlying type: string

const (
	ListJavaLicenseAcceptanceRecordsStatusAccepted ListJavaLicenseAcceptanceRecordsStatusEnum = "ACCEPTED"
	ListJavaLicenseAcceptanceRecordsStatusRevoked  ListJavaLicenseAcceptanceRecordsStatusEnum = "REVOKED"
)

Set of constants representing the allowable values for ListJavaLicenseAcceptanceRecordsStatusEnum

func GetListJavaLicenseAcceptanceRecordsStatusEnumValues

func GetListJavaLicenseAcceptanceRecordsStatusEnumValues() []ListJavaLicenseAcceptanceRecordsStatusEnum

GetListJavaLicenseAcceptanceRecordsStatusEnumValues Enumerates the set of values for ListJavaLicenseAcceptanceRecordsStatusEnum

func GetMappingListJavaLicenseAcceptanceRecordsStatusEnum

func GetMappingListJavaLicenseAcceptanceRecordsStatusEnum(val string) (ListJavaLicenseAcceptanceRecordsStatusEnum, bool)

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

type ListJavaLicensesLicenseTypeEnum

type ListJavaLicensesLicenseTypeEnum string

ListJavaLicensesLicenseTypeEnum Enum with underlying type: string

const (
	ListJavaLicensesLicenseTypeOtn        ListJavaLicensesLicenseTypeEnum = "OTN"
	ListJavaLicensesLicenseTypeNftc       ListJavaLicensesLicenseTypeEnum = "NFTC"
	ListJavaLicensesLicenseTypeRestricted ListJavaLicensesLicenseTypeEnum = "RESTRICTED"
)

Set of constants representing the allowable values for ListJavaLicensesLicenseTypeEnum

func GetListJavaLicensesLicenseTypeEnumValues

func GetListJavaLicensesLicenseTypeEnumValues() []ListJavaLicensesLicenseTypeEnum

GetListJavaLicensesLicenseTypeEnumValues Enumerates the set of values for ListJavaLicensesLicenseTypeEnum

func GetMappingListJavaLicensesLicenseTypeEnum

func GetMappingListJavaLicensesLicenseTypeEnum(val string) (ListJavaLicensesLicenseTypeEnum, bool)

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

type ListJavaLicensesRequest

type ListJavaLicensesRequest struct {

	// Unique Java license type.
	LicenseType ListJavaLicensesLicenseTypeEnum `mandatory:"false" contributesTo:"query" name:"licenseType" omitEmpty:"true"`

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

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

	// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order, either 'asc' or 'desc'.
	SortOrder ListJavaLicensesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. If no value is specified, _licenseType_ is the default.
	SortBy ListJavaLicensesSortByEnum `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
}

ListJavaLicensesRequest wrapper for the ListJavaLicenses operation

See also

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

func (ListJavaLicensesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListJavaLicensesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListJavaLicensesRequest) RetryPolicy

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

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

func (ListJavaLicensesRequest) String

func (request ListJavaLicensesRequest) String() string

func (ListJavaLicensesRequest) ValidateEnumValue

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

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

type ListJavaLicensesResponse

type ListJavaLicensesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListJavaLicensesResponse wrapper for the ListJavaLicenses operation

func (ListJavaLicensesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJavaLicensesResponse) String

func (response ListJavaLicensesResponse) String() string

type ListJavaLicensesSortByEnum

type ListJavaLicensesSortByEnum string

ListJavaLicensesSortByEnum Enum with underlying type: string

const (
	ListJavaLicensesSortByLicensetype ListJavaLicensesSortByEnum = "licenseType"
	ListJavaLicensesSortByDisplayname ListJavaLicensesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListJavaLicensesSortByEnum

func GetListJavaLicensesSortByEnumValues

func GetListJavaLicensesSortByEnumValues() []ListJavaLicensesSortByEnum

GetListJavaLicensesSortByEnumValues Enumerates the set of values for ListJavaLicensesSortByEnum

func GetMappingListJavaLicensesSortByEnum

func GetMappingListJavaLicensesSortByEnum(val string) (ListJavaLicensesSortByEnum, bool)

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

type ListJavaLicensesSortOrderEnum

type ListJavaLicensesSortOrderEnum string

ListJavaLicensesSortOrderEnum Enum with underlying type: string

const (
	ListJavaLicensesSortOrderAsc  ListJavaLicensesSortOrderEnum = "ASC"
	ListJavaLicensesSortOrderDesc ListJavaLicensesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJavaLicensesSortOrderEnum

func GetListJavaLicensesSortOrderEnumValues

func GetListJavaLicensesSortOrderEnumValues() []ListJavaLicensesSortOrderEnum

GetListJavaLicensesSortOrderEnumValues Enumerates the set of values for ListJavaLicensesSortOrderEnum

func GetMappingListJavaLicensesSortOrderEnum

func GetMappingListJavaLicensesSortOrderEnum(val string) (ListJavaLicensesSortOrderEnum, bool)

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

	// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
	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, 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/jmsjavadownloads/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 list pagination. When this header appears in the response, additional pages of results remain.
	// Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	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, 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"`

	// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
	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, 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/jmsjavadownloads/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 list pagination. When this header appears in the response, additional pages of results remain.
	// Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	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, 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 OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The ID of an asynchronous work request.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

	// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
	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, 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/jmsjavadownloads/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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For list pagination. When this header appears in the response, additional pages of results remain.
	// Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	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 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 (
	OperationTypeCreateJavaDownloadToken  OperationTypeEnum = "CREATE_JAVA_DOWNLOAD_TOKEN"
	OperationTypeUpdateJavaDownloadToken  OperationTypeEnum = "UPDATE_JAVA_DOWNLOAD_TOKEN"
	OperationTypeDeleteJavaDownloadToken  OperationTypeEnum = "DELETE_JAVA_DOWNLOAD_TOKEN"
	OperationTypeCreateJavaDownloadReport OperationTypeEnum = "CREATE_JAVA_DOWNLOAD_REPORT"
	OperationTypeDeleteJavaDownloadReport OperationTypeEnum = "DELETE_JAVA_DOWNLOAD_REPORT"
)

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 Principal

type Principal struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the principal.
	Id *string `mandatory:"true" json:"id"`

	// The name of the principal.
	DisplayName *string `mandatory:"false" json:"displayName"`

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

Principal An authorized principal.

func (Principal) String

func (m Principal) String() string

func (Principal) ValidateEnumValue

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

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

type RequestSummarizedJavaDownloadCountsDetails

type RequestSummarizedJavaDownloadCountsDetails struct {

	// The compartment OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) here should be the tenancy OCID.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Group as property specifying the aggregation type for download counts.
	GroupAs JavaDownloadCountAggregationTypeEnum `mandatory:"true" json:"groupAs"`

	// Unique Java family version identifier.
	FamilyVersion *string `mandatory:"false" json:"familyVersion"`

	// Unique Java release version identifier.
	ReleaseVersion *string `mandatory:"false" json:"releaseVersion"`

	// The start time from when download data has to be included (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

	// The end time until when the download data has to be included (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)).
	TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

	// The property to be used for sorting the aggregated report.
	SortBy AggregationSortByEnum `mandatory:"false" json:"sortBy,omitempty"`

	// The sort order for the aggregated report.
	SortOrder SortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"`

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

	// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous call.
	Page *string `mandatory:"false" json:"page"`
}

RequestSummarizedJavaDownloadCountsDetails Attributes to summarize the Java download counts in a tenancy.

func (RequestSummarizedJavaDownloadCountsDetails) String

func (RequestSummarizedJavaDownloadCountsDetails) ValidateEnumValue

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

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

type RequestSummarizedJavaDownloadCountsRequest

type RequestSummarizedJavaDownloadCountsRequest struct {

	// Details for retreiving the summary of download counts.
	RequestSummarizedJavaDownloadCountsDetails `contributesTo:"body"`

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

RequestSummarizedJavaDownloadCountsRequest wrapper for the RequestSummarizedJavaDownloadCounts operation

See also

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

func (RequestSummarizedJavaDownloadCountsRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedJavaDownloadCountsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedJavaDownloadCountsRequest) RetryPolicy

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

func (RequestSummarizedJavaDownloadCountsRequest) String

func (RequestSummarizedJavaDownloadCountsRequest) ValidateEnumValue

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

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

type RequestSummarizedJavaDownloadCountsResponse

type RequestSummarizedJavaDownloadCountsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

RequestSummarizedJavaDownloadCountsResponse wrapper for the RequestSummarizedJavaDownloadCounts operation

func (RequestSummarizedJavaDownloadCountsResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedJavaDownloadCountsResponse) String

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 TokenLifecycleDetailsEnum

type TokenLifecycleDetailsEnum string

TokenLifecycleDetailsEnum Enum with underlying type: string

const (
	TokenLifecycleDetailsExpired  TokenLifecycleDetailsEnum = "EXPIRED"
	TokenLifecycleDetailsRevoking TokenLifecycleDetailsEnum = "REVOKING"
	TokenLifecycleDetailsRevoked  TokenLifecycleDetailsEnum = "REVOKED"
)

Set of constants representing the allowable values for TokenLifecycleDetailsEnum

func GetMappingTokenLifecycleDetailsEnum

func GetMappingTokenLifecycleDetailsEnum(val string) (TokenLifecycleDetailsEnum, bool)

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

func GetTokenLifecycleDetailsEnumValues

func GetTokenLifecycleDetailsEnumValues() []TokenLifecycleDetailsEnum

GetTokenLifecycleDetailsEnumValues Enumerates the set of values for TokenLifecycleDetailsEnum

type TokenSortByEnum

type TokenSortByEnum string

TokenSortByEnum Enum with underlying type: string

const (
	TokenSortByTimeCreated TokenSortByEnum = "timeCreated"
	TokenSortByTimeExpires TokenSortByEnum = "timeExpires"
	TokenSortByState       TokenSortByEnum = "state"
	TokenSortByDisplayName TokenSortByEnum = "displayName"
	TokenSortByJavaVersion TokenSortByEnum = "javaVersion"
)

Set of constants representing the allowable values for TokenSortByEnum

func GetMappingTokenSortByEnum

func GetMappingTokenSortByEnum(val string) (TokenSortByEnum, bool)

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

func GetTokenSortByEnumValues

func GetTokenSortByEnumValues() []TokenSortByEnum

GetTokenSortByEnumValues Enumerates the set of values for TokenSortByEnum

type UpdateJavaDownloadTokenDetails

type UpdateJavaDownloadTokenDetails struct {

	// User provided display name of the JavaDownloadToken.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User provided description of the JavaDownloadToken.
	Description *string `mandatory:"false" json:"description"`

	// Update the token default status.
	IsDefault *bool `mandatory:"false" json:"isDefault"`

	// Expiry time of the token.
	TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"`

	// The license type(s) associated with the JavaDownloadToken.
	LicenseType []LicenseTypeEnum `mandatory:"false" json:"licenseType"`

	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).)
	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"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)).
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateJavaDownloadTokenDetails The attributes of the JavaDownloadToken to be updated.

func (UpdateJavaDownloadTokenDetails) String

func (UpdateJavaDownloadTokenDetails) ValidateEnumValue

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

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

type UpdateJavaDownloadTokenRequest

type UpdateJavaDownloadTokenRequest struct {

	// Unique JavaDownloadToken identifier.
	JavaDownloadTokenId *string `mandatory:"true" contributesTo:"path" name:"javaDownloadTokenId"`

	// The attributes to be updated.
	UpdateJavaDownloadTokenDetails `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
}

UpdateJavaDownloadTokenRequest wrapper for the UpdateJavaDownloadToken operation

See also

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

func (UpdateJavaDownloadTokenRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateJavaDownloadTokenRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateJavaDownloadTokenRequest) RetryPolicy

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

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

func (UpdateJavaDownloadTokenRequest) String

func (request UpdateJavaDownloadTokenRequest) String() string

func (UpdateJavaDownloadTokenRequest) ValidateEnumValue

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

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

type UpdateJavaDownloadTokenResponse

type UpdateJavaDownloadTokenResponse 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, provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateJavaDownloadTokenResponse wrapper for the UpdateJavaDownloadToken operation

func (UpdateJavaDownloadTokenResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateJavaDownloadTokenResponse) String

func (response UpdateJavaDownloadTokenResponse) String() string

type UpdateJavaLicenseAcceptanceRecordDetails

type UpdateJavaLicenseAcceptanceRecordDetails struct {

	// Status of license acceptance.
	LicenseAcceptanceStatus LicenseAcceptanceStatusEnum `mandatory:"true" json:"licenseAcceptanceStatus"`
}

UpdateJavaLicenseAcceptanceRecordDetails The attributes for updating a Java license acceptance record.

func (UpdateJavaLicenseAcceptanceRecordDetails) String

func (UpdateJavaLicenseAcceptanceRecordDetails) ValidateEnumValue

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

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

type UpdateJavaLicenseAcceptanceRecordRequest

type UpdateJavaLicenseAcceptanceRecordRequest struct {

	// Unique Java license acceptance record identifier.
	JavaLicenseAcceptanceRecordId *string `mandatory:"true" contributesTo:"path" name:"javaLicenseAcceptanceRecordId"`

	// Attributes for updating the JavaLicenseAcceptanceRecord.
	UpdateJavaLicenseAcceptanceRecordDetails `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
}

UpdateJavaLicenseAcceptanceRecordRequest wrapper for the UpdateJavaLicenseAcceptanceRecord operation

See also

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

func (UpdateJavaLicenseAcceptanceRecordRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (UpdateJavaLicenseAcceptanceRecordRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateJavaLicenseAcceptanceRecordRequest) RetryPolicy

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

func (UpdateJavaLicenseAcceptanceRecordRequest) String

func (UpdateJavaLicenseAcceptanceRecordRequest) ValidateEnumValue

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

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

type UpdateJavaLicenseAcceptanceRecordResponse

type UpdateJavaLicenseAcceptanceRecordResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, 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"`
}

UpdateJavaLicenseAcceptanceRecordResponse wrapper for the UpdateJavaLicenseAcceptanceRecord operation

func (UpdateJavaLicenseAcceptanceRecordResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateJavaLicenseAcceptanceRecordResponse) 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 OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy scoped to the work request.
	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 request was completed, 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"`
}

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 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 OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy scoped to the work request.
	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 request was completed, 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