...

Package lockbox

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

Overview ▾

Index ▾

func GetAccessRequestActionTypeEnumStringValues() []string
func GetAccessRequestExtLifecycleStateDetailsEnumStringValues() []string
func GetAccessRequestExtLifecycleStateEnumStringValues() []string
func GetAccessRequestLifecycleStateDetailsEnumStringValues() []string
func GetAccessRequestLifecycleStateEnumStringValues() []string
func GetActionTypeEnumStringValues() []string
func GetApprovalTemplateLifecycleStateEnumStringValues() []string
func GetApproverTypeEnumStringValues() []string
func GetExportAccessRequestsLockboxPartnerEnumStringValues() []string
func GetExportAccessRequestsSortByEnumStringValues() []string
func GetExportAccessRequestsSortOrderEnumStringValues() []string
func GetListAccessRequestsLockboxPartnerEnumStringValues() []string
func GetListAccessRequestsSortByEnumStringValues() []string
func GetListAccessRequestsSortOrderEnumStringValues() []string
func GetListApprovalTemplatesSortByEnumStringValues() []string
func GetListApprovalTemplatesSortOrderEnumStringValues() []string
func GetListLockboxesLockboxPartnerEnumStringValues() []string
func GetListLockboxesSortByEnumStringValues() []string
func GetListLockboxesSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetLockboxAutoApprovalStateEnumStringValues() []string
func GetLockboxLifecycleStateEnumStringValues() []string
func GetLockboxPartnerEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetPersonaLevelEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
type AccessContextAttribute
    func (m AccessContextAttribute) String() string
    func (m AccessContextAttribute) ValidateEnumValue() (bool, error)
type AccessContextAttributeCollection
    func (m AccessContextAttributeCollection) String() string
    func (m AccessContextAttributeCollection) ValidateEnumValue() (bool, error)
type AccessMaterials
    func (m AccessMaterials) String() string
    func (m AccessMaterials) ValidateEnumValue() (bool, error)
type AccessRequest
    func (m AccessRequest) String() string
    func (m AccessRequest) ValidateEnumValue() (bool, error)
type AccessRequestActionTypeEnum
    func GetAccessRequestActionTypeEnumValues() []AccessRequestActionTypeEnum
    func GetMappingAccessRequestActionTypeEnum(val string) (AccessRequestActionTypeEnum, bool)
type AccessRequestCollection
    func (m AccessRequestCollection) String() string
    func (m AccessRequestCollection) ValidateEnumValue() (bool, error)
type AccessRequestExt
    func (m AccessRequestExt) String() string
    func (m AccessRequestExt) ValidateEnumValue() (bool, error)
type AccessRequestExtLifecycleStateDetailsEnum
    func GetAccessRequestExtLifecycleStateDetailsEnumValues() []AccessRequestExtLifecycleStateDetailsEnum
    func GetMappingAccessRequestExtLifecycleStateDetailsEnum(val string) (AccessRequestExtLifecycleStateDetailsEnum, bool)
type AccessRequestExtLifecycleStateEnum
    func GetAccessRequestExtLifecycleStateEnumValues() []AccessRequestExtLifecycleStateEnum
    func GetMappingAccessRequestExtLifecycleStateEnum(val string) (AccessRequestExtLifecycleStateEnum, bool)
type AccessRequestLifecycleStateDetailsEnum
    func GetAccessRequestLifecycleStateDetailsEnumValues() []AccessRequestLifecycleStateDetailsEnum
    func GetMappingAccessRequestLifecycleStateDetailsEnum(val string) (AccessRequestLifecycleStateDetailsEnum, bool)
type AccessRequestLifecycleStateEnum
    func GetAccessRequestLifecycleStateEnumValues() []AccessRequestLifecycleStateEnum
    func GetMappingAccessRequestLifecycleStateEnum(val string) (AccessRequestLifecycleStateEnum, bool)
type AccessRequestSummary
    func (m AccessRequestSummary) String() string
    func (m AccessRequestSummary) ValidateEnumValue() (bool, error)
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type ActivityLog
    func (m ActivityLog) String() string
    func (m ActivityLog) ValidateEnumValue() (bool, error)
type ApprovalTemplate
    func (m ApprovalTemplate) String() string
    func (m ApprovalTemplate) ValidateEnumValue() (bool, error)
type ApprovalTemplateCollection
    func (m ApprovalTemplateCollection) String() string
    func (m ApprovalTemplateCollection) ValidateEnumValue() (bool, error)
type ApprovalTemplateLifecycleStateEnum
    func GetApprovalTemplateLifecycleStateEnumValues() []ApprovalTemplateLifecycleStateEnum
    func GetMappingApprovalTemplateLifecycleStateEnum(val string) (ApprovalTemplateLifecycleStateEnum, bool)
type ApprovalTemplateSummary
    func (m ApprovalTemplateSummary) String() string
    func (m ApprovalTemplateSummary) ValidateEnumValue() (bool, error)
type ApproverInfo
    func (m ApproverInfo) String() string
    func (m ApproverInfo) ValidateEnumValue() (bool, error)
type ApproverLevels
    func (m ApproverLevels) String() string
    func (m ApproverLevels) ValidateEnumValue() (bool, error)
type ApproverTypeEnum
    func GetApproverTypeEnumValues() []ApproverTypeEnum
    func GetMappingApproverTypeEnum(val string) (ApproverTypeEnum, bool)
type CancelWorkRequestRequest
    func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelWorkRequestRequest) String() string
    func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelWorkRequestResponse
    func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelWorkRequestResponse) String() string
type ChangeApprovalTemplateCompartmentDetails
    func (m ChangeApprovalTemplateCompartmentDetails) String() string
    func (m ChangeApprovalTemplateCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeApprovalTemplateCompartmentRequest
    func (request ChangeApprovalTemplateCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeApprovalTemplateCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeApprovalTemplateCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeApprovalTemplateCompartmentRequest) String() string
    func (request ChangeApprovalTemplateCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeApprovalTemplateCompartmentResponse
    func (response ChangeApprovalTemplateCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeApprovalTemplateCompartmentResponse) String() string
type ChangeLockboxCompartmentDetails
    func (m ChangeLockboxCompartmentDetails) String() string
    func (m ChangeLockboxCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeLockboxCompartmentRequest
    func (request ChangeLockboxCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeLockboxCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeLockboxCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeLockboxCompartmentRequest) String() string
    func (request ChangeLockboxCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeLockboxCompartmentResponse
    func (response ChangeLockboxCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeLockboxCompartmentResponse) String() string
type CreateAccessRequestDetails
    func (m CreateAccessRequestDetails) String() string
    func (m CreateAccessRequestDetails) ValidateEnumValue() (bool, error)
type CreateAccessRequestRequest
    func (request CreateAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateAccessRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateAccessRequestRequest) String() string
    func (request CreateAccessRequestRequest) ValidateEnumValue() (bool, error)
type CreateAccessRequestResponse
    func (response CreateAccessRequestResponse) HTTPResponse() *http.Response
    func (response CreateAccessRequestResponse) String() string
type CreateApprovalTemplateDetails
    func (m CreateApprovalTemplateDetails) String() string
    func (m CreateApprovalTemplateDetails) ValidateEnumValue() (bool, error)
type CreateApprovalTemplateRequest
    func (request CreateApprovalTemplateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateApprovalTemplateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateApprovalTemplateRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateApprovalTemplateRequest) String() string
    func (request CreateApprovalTemplateRequest) ValidateEnumValue() (bool, error)
type CreateApprovalTemplateResponse
    func (response CreateApprovalTemplateResponse) HTTPResponse() *http.Response
    func (response CreateApprovalTemplateResponse) String() string
type CreateLockboxDetails
    func (m CreateLockboxDetails) String() string
    func (m CreateLockboxDetails) ValidateEnumValue() (bool, error)
type CreateLockboxRequest
    func (request CreateLockboxRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateLockboxRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateLockboxRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateLockboxRequest) String() string
    func (request CreateLockboxRequest) ValidateEnumValue() (bool, error)
type CreateLockboxResponse
    func (response CreateLockboxResponse) HTTPResponse() *http.Response
    func (response CreateLockboxResponse) String() string
type DeleteApprovalTemplateRequest
    func (request DeleteApprovalTemplateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteApprovalTemplateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteApprovalTemplateRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteApprovalTemplateRequest) String() string
    func (request DeleteApprovalTemplateRequest) ValidateEnumValue() (bool, error)
type DeleteApprovalTemplateResponse
    func (response DeleteApprovalTemplateResponse) HTTPResponse() *http.Response
    func (response DeleteApprovalTemplateResponse) String() string
type DeleteLockboxRequest
    func (request DeleteLockboxRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteLockboxRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteLockboxRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteLockboxRequest) String() string
    func (request DeleteLockboxRequest) ValidateEnumValue() (bool, error)
type DeleteLockboxResponse
    func (response DeleteLockboxResponse) HTTPResponse() *http.Response
    func (response DeleteLockboxResponse) String() string
type ExportAccessRequestsDetails
    func (m ExportAccessRequestsDetails) String() string
    func (m ExportAccessRequestsDetails) ValidateEnumValue() (bool, error)
type ExportAccessRequestsLockboxPartnerEnum
    func GetExportAccessRequestsLockboxPartnerEnumValues() []ExportAccessRequestsLockboxPartnerEnum
    func GetMappingExportAccessRequestsLockboxPartnerEnum(val string) (ExportAccessRequestsLockboxPartnerEnum, bool)
type ExportAccessRequestsRequest
    func (request ExportAccessRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ExportAccessRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ExportAccessRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ExportAccessRequestsRequest) String() string
    func (request ExportAccessRequestsRequest) ValidateEnumValue() (bool, error)
type ExportAccessRequestsResponse
    func (response ExportAccessRequestsResponse) HTTPResponse() *http.Response
    func (response ExportAccessRequestsResponse) String() string
type ExportAccessRequestsSortByEnum
    func GetExportAccessRequestsSortByEnumValues() []ExportAccessRequestsSortByEnum
    func GetMappingExportAccessRequestsSortByEnum(val string) (ExportAccessRequestsSortByEnum, bool)
type ExportAccessRequestsSortOrderEnum
    func GetExportAccessRequestsSortOrderEnumValues() []ExportAccessRequestsSortOrderEnum
    func GetMappingExportAccessRequestsSortOrderEnum(val string) (ExportAccessRequestsSortOrderEnum, bool)
type GetAccessMaterialsRequest
    func (request GetAccessMaterialsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAccessMaterialsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAccessMaterialsRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAccessMaterialsRequest) String() string
    func (request GetAccessMaterialsRequest) ValidateEnumValue() (bool, error)
type GetAccessMaterialsResponse
    func (response GetAccessMaterialsResponse) HTTPResponse() *http.Response
    func (response GetAccessMaterialsResponse) String() string
type GetAccessRequestInternalRequest
    func (request GetAccessRequestInternalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAccessRequestInternalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAccessRequestInternalRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAccessRequestInternalRequest) String() string
    func (request GetAccessRequestInternalRequest) ValidateEnumValue() (bool, error)
type GetAccessRequestInternalResponse
    func (response GetAccessRequestInternalResponse) HTTPResponse() *http.Response
    func (response GetAccessRequestInternalResponse) String() string
type GetAccessRequestRequest
    func (request GetAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAccessRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAccessRequestRequest) String() string
    func (request GetAccessRequestRequest) ValidateEnumValue() (bool, error)
type GetAccessRequestResponse
    func (response GetAccessRequestResponse) HTTPResponse() *http.Response
    func (response GetAccessRequestResponse) String() string
type GetApprovalTemplateRequest
    func (request GetApprovalTemplateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetApprovalTemplateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetApprovalTemplateRequest) RetryPolicy() *common.RetryPolicy
    func (request GetApprovalTemplateRequest) String() string
    func (request GetApprovalTemplateRequest) ValidateEnumValue() (bool, error)
type GetApprovalTemplateResponse
    func (response GetApprovalTemplateResponse) HTTPResponse() *http.Response
    func (response GetApprovalTemplateResponse) String() string
type GetLockboxRequest
    func (request GetLockboxRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetLockboxRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetLockboxRequest) RetryPolicy() *common.RetryPolicy
    func (request GetLockboxRequest) String() string
    func (request GetLockboxRequest) ValidateEnumValue() (bool, error)
type GetLockboxResponse
    func (response GetLockboxResponse) HTTPResponse() *http.Response
    func (response GetLockboxResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type HandleAccessRequestDetails
    func (m HandleAccessRequestDetails) String() string
    func (m HandleAccessRequestDetails) ValidateEnumValue() (bool, error)
type HandleAccessRequestRequest
    func (request HandleAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request HandleAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request HandleAccessRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request HandleAccessRequestRequest) String() string
    func (request HandleAccessRequestRequest) ValidateEnumValue() (bool, error)
type HandleAccessRequestResponse
    func (response HandleAccessRequestResponse) HTTPResponse() *http.Response
    func (response HandleAccessRequestResponse) String() string
type ListAccessRequestsLockboxPartnerEnum
    func GetListAccessRequestsLockboxPartnerEnumValues() []ListAccessRequestsLockboxPartnerEnum
    func GetMappingListAccessRequestsLockboxPartnerEnum(val string) (ListAccessRequestsLockboxPartnerEnum, bool)
type ListAccessRequestsRequest
    func (request ListAccessRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAccessRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAccessRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAccessRequestsRequest) String() string
    func (request ListAccessRequestsRequest) ValidateEnumValue() (bool, error)
type ListAccessRequestsResponse
    func (response ListAccessRequestsResponse) HTTPResponse() *http.Response
    func (response ListAccessRequestsResponse) String() string
type ListAccessRequestsSortByEnum
    func GetListAccessRequestsSortByEnumValues() []ListAccessRequestsSortByEnum
    func GetMappingListAccessRequestsSortByEnum(val string) (ListAccessRequestsSortByEnum, bool)
type ListAccessRequestsSortOrderEnum
    func GetListAccessRequestsSortOrderEnumValues() []ListAccessRequestsSortOrderEnum
    func GetMappingListAccessRequestsSortOrderEnum(val string) (ListAccessRequestsSortOrderEnum, bool)
type ListApprovalTemplatesRequest
    func (request ListApprovalTemplatesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListApprovalTemplatesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListApprovalTemplatesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListApprovalTemplatesRequest) String() string
    func (request ListApprovalTemplatesRequest) ValidateEnumValue() (bool, error)
type ListApprovalTemplatesResponse
    func (response ListApprovalTemplatesResponse) HTTPResponse() *http.Response
    func (response ListApprovalTemplatesResponse) String() string
type ListApprovalTemplatesSortByEnum
    func GetListApprovalTemplatesSortByEnumValues() []ListApprovalTemplatesSortByEnum
    func GetMappingListApprovalTemplatesSortByEnum(val string) (ListApprovalTemplatesSortByEnum, bool)
type ListApprovalTemplatesSortOrderEnum
    func GetListApprovalTemplatesSortOrderEnumValues() []ListApprovalTemplatesSortOrderEnum
    func GetMappingListApprovalTemplatesSortOrderEnum(val string) (ListApprovalTemplatesSortOrderEnum, bool)
type ListLockboxesLockboxPartnerEnum
    func GetListLockboxesLockboxPartnerEnumValues() []ListLockboxesLockboxPartnerEnum
    func GetMappingListLockboxesLockboxPartnerEnum(val string) (ListLockboxesLockboxPartnerEnum, bool)
type ListLockboxesRequest
    func (request ListLockboxesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListLockboxesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListLockboxesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListLockboxesRequest) String() string
    func (request ListLockboxesRequest) ValidateEnumValue() (bool, error)
type ListLockboxesResponse
    func (response ListLockboxesResponse) HTTPResponse() *http.Response
    func (response ListLockboxesResponse) String() string
type ListLockboxesSortByEnum
    func GetListLockboxesSortByEnumValues() []ListLockboxesSortByEnum
    func GetMappingListLockboxesSortByEnum(val string) (ListLockboxesSortByEnum, bool)
type ListLockboxesSortOrderEnum
    func GetListLockboxesSortOrderEnumValues() []ListLockboxesSortOrderEnum
    func GetMappingListLockboxesSortOrderEnum(val string) (ListLockboxesSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type Lockbox
    func (m Lockbox) String() string
    func (m Lockbox) ValidateEnumValue() (bool, error)
type LockboxAutoApprovalStateEnum
    func GetLockboxAutoApprovalStateEnumValues() []LockboxAutoApprovalStateEnum
    func GetMappingLockboxAutoApprovalStateEnum(val string) (LockboxAutoApprovalStateEnum, bool)
type LockboxClient
    func NewLockboxClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LockboxClient, err error)
    func NewLockboxClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LockboxClient, err error)
    func (client LockboxClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
    func (client LockboxClient) ChangeApprovalTemplateCompartment(ctx context.Context, request ChangeApprovalTemplateCompartmentRequest) (response ChangeApprovalTemplateCompartmentResponse, err error)
    func (client LockboxClient) ChangeLockboxCompartment(ctx context.Context, request ChangeLockboxCompartmentRequest) (response ChangeLockboxCompartmentResponse, err error)
    func (client *LockboxClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client LockboxClient) CreateAccessRequest(ctx context.Context, request CreateAccessRequestRequest) (response CreateAccessRequestResponse, err error)
    func (client LockboxClient) CreateApprovalTemplate(ctx context.Context, request CreateApprovalTemplateRequest) (response CreateApprovalTemplateResponse, err error)
    func (client LockboxClient) CreateLockbox(ctx context.Context, request CreateLockboxRequest) (response CreateLockboxResponse, err error)
    func (client LockboxClient) DeleteApprovalTemplate(ctx context.Context, request DeleteApprovalTemplateRequest) (response DeleteApprovalTemplateResponse, err error)
    func (client LockboxClient) DeleteLockbox(ctx context.Context, request DeleteLockboxRequest) (response DeleteLockboxResponse, err error)
    func (client LockboxClient) ExportAccessRequests(ctx context.Context, request ExportAccessRequestsRequest) (response ExportAccessRequestsResponse, err error)
    func (client LockboxClient) GetAccessMaterials(ctx context.Context, request GetAccessMaterialsRequest) (response GetAccessMaterialsResponse, err error)
    func (client LockboxClient) GetAccessRequest(ctx context.Context, request GetAccessRequestRequest) (response GetAccessRequestResponse, err error)
    func (client LockboxClient) GetAccessRequestInternal(ctx context.Context, request GetAccessRequestInternalRequest) (response GetAccessRequestInternalResponse, err error)
    func (client LockboxClient) GetApprovalTemplate(ctx context.Context, request GetApprovalTemplateRequest) (response GetApprovalTemplateResponse, err error)
    func (client LockboxClient) GetLockbox(ctx context.Context, request GetLockboxRequest) (response GetLockboxResponse, err error)
    func (client LockboxClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client LockboxClient) HandleAccessRequest(ctx context.Context, request HandleAccessRequestRequest) (response HandleAccessRequestResponse, err error)
    func (client LockboxClient) ListAccessRequests(ctx context.Context, request ListAccessRequestsRequest) (response ListAccessRequestsResponse, err error)
    func (client LockboxClient) ListApprovalTemplates(ctx context.Context, request ListApprovalTemplatesRequest) (response ListApprovalTemplatesResponse, err error)
    func (client LockboxClient) ListLockboxes(ctx context.Context, request ListLockboxesRequest) (response ListLockboxesResponse, err error)
    func (client LockboxClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client LockboxClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client LockboxClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client *LockboxClient) SetRegion(region string)
    func (client LockboxClient) UpdateApprovalTemplate(ctx context.Context, request UpdateApprovalTemplateRequest) (response UpdateApprovalTemplateResponse, err error)
    func (client LockboxClient) UpdateLockbox(ctx context.Context, request UpdateLockboxRequest) (response UpdateLockboxResponse, err error)
type LockboxCollection
    func (m LockboxCollection) String() string
    func (m LockboxCollection) ValidateEnumValue() (bool, error)
type LockboxLifecycleStateEnum
    func GetLockboxLifecycleStateEnumValues() []LockboxLifecycleStateEnum
    func GetMappingLockboxLifecycleStateEnum(val string) (LockboxLifecycleStateEnum, bool)
type LockboxPartnerEnum
    func GetLockboxPartnerEnumValues() []LockboxPartnerEnum
    func GetMappingLockboxPartnerEnum(val string) (LockboxPartnerEnum, bool)
type LockboxSummary
    func (m LockboxSummary) String() string
    func (m LockboxSummary) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type PersonaLevelEnum
    func GetMappingPersonaLevelEnum(val string) (PersonaLevelEnum, bool)
    func GetPersonaLevelEnumValues() []PersonaLevelEnum
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdateApprovalTemplateDetails
    func (m UpdateApprovalTemplateDetails) String() string
    func (m UpdateApprovalTemplateDetails) ValidateEnumValue() (bool, error)
type UpdateApprovalTemplateRequest
    func (request UpdateApprovalTemplateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateApprovalTemplateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateApprovalTemplateRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateApprovalTemplateRequest) String() string
    func (request UpdateApprovalTemplateRequest) ValidateEnumValue() (bool, error)
type UpdateApprovalTemplateResponse
    func (response UpdateApprovalTemplateResponse) HTTPResponse() *http.Response
    func (response UpdateApprovalTemplateResponse) String() string
type UpdateLockboxDetails
    func (m UpdateLockboxDetails) String() string
    func (m UpdateLockboxDetails) ValidateEnumValue() (bool, error)
type UpdateLockboxRequest
    func (request UpdateLockboxRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateLockboxRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateLockboxRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateLockboxRequest) String() string
    func (request UpdateLockboxRequest) ValidateEnumValue() (bool, error)
type UpdateLockboxResponse
    func (response UpdateLockboxResponse) HTTPResponse() *http.Response
    func (response UpdateLockboxResponse) String() string
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

access_context_attribute.go access_context_attribute_collection.go access_materials.go access_request.go access_request_action_type.go access_request_collection.go access_request_ext.go access_request_summary.go action_type.go activity_log.go approval_template.go approval_template_collection.go approval_template_summary.go approver_info.go approver_levels.go approver_type.go cancel_work_request_request_response.go change_approval_template_compartment_details.go change_approval_template_compartment_request_response.go change_lockbox_compartment_details.go change_lockbox_compartment_request_response.go create_access_request_details.go create_access_request_request_response.go create_approval_template_details.go create_approval_template_request_response.go create_lockbox_details.go create_lockbox_request_response.go delete_approval_template_request_response.go delete_lockbox_request_response.go export_access_requests_details.go export_access_requests_request_response.go get_access_materials_request_response.go get_access_request_internal_request_response.go get_access_request_request_response.go get_approval_template_request_response.go get_lockbox_request_response.go get_work_request_request_response.go handle_access_request_details.go handle_access_request_request_response.go list_access_requests_request_response.go list_approval_templates_request_response.go list_lockboxes_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go lockbox.go lockbox_auto_approval_state.go lockbox_client.go lockbox_collection.go lockbox_partner.go lockbox_summary.go operation_status.go operation_type.go persona_level.go sort_order.go update_approval_template_details.go update_approval_template_request_response.go update_lockbox_details.go update_lockbox_request_response.go work_request.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_resource_metadata_key.go work_request_summary.go work_request_summary_collection.go

func GetAccessRequestActionTypeEnumStringValues

func GetAccessRequestActionTypeEnumStringValues() []string

GetAccessRequestActionTypeEnumStringValues Enumerates the set of values in String for AccessRequestActionTypeEnum

func GetAccessRequestExtLifecycleStateDetailsEnumStringValues

func GetAccessRequestExtLifecycleStateDetailsEnumStringValues() []string

GetAccessRequestExtLifecycleStateDetailsEnumStringValues Enumerates the set of values in String for AccessRequestExtLifecycleStateDetailsEnum

func GetAccessRequestExtLifecycleStateEnumStringValues

func GetAccessRequestExtLifecycleStateEnumStringValues() []string

GetAccessRequestExtLifecycleStateEnumStringValues Enumerates the set of values in String for AccessRequestExtLifecycleStateEnum

func GetAccessRequestLifecycleStateDetailsEnumStringValues

func GetAccessRequestLifecycleStateDetailsEnumStringValues() []string

GetAccessRequestLifecycleStateDetailsEnumStringValues Enumerates the set of values in String for AccessRequestLifecycleStateDetailsEnum

func GetAccessRequestLifecycleStateEnumStringValues

func GetAccessRequestLifecycleStateEnumStringValues() []string

GetAccessRequestLifecycleStateEnumStringValues Enumerates the set of values in String for AccessRequestLifecycleStateEnum

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetApprovalTemplateLifecycleStateEnumStringValues

func GetApprovalTemplateLifecycleStateEnumStringValues() []string

GetApprovalTemplateLifecycleStateEnumStringValues Enumerates the set of values in String for ApprovalTemplateLifecycleStateEnum

func GetApproverTypeEnumStringValues

func GetApproverTypeEnumStringValues() []string

GetApproverTypeEnumStringValues Enumerates the set of values in String for ApproverTypeEnum

func GetExportAccessRequestsLockboxPartnerEnumStringValues

func GetExportAccessRequestsLockboxPartnerEnumStringValues() []string

GetExportAccessRequestsLockboxPartnerEnumStringValues Enumerates the set of values in String for ExportAccessRequestsLockboxPartnerEnum

func GetExportAccessRequestsSortByEnumStringValues

func GetExportAccessRequestsSortByEnumStringValues() []string

GetExportAccessRequestsSortByEnumStringValues Enumerates the set of values in String for ExportAccessRequestsSortByEnum

func GetExportAccessRequestsSortOrderEnumStringValues

func GetExportAccessRequestsSortOrderEnumStringValues() []string

GetExportAccessRequestsSortOrderEnumStringValues Enumerates the set of values in String for ExportAccessRequestsSortOrderEnum

func GetListAccessRequestsLockboxPartnerEnumStringValues

func GetListAccessRequestsLockboxPartnerEnumStringValues() []string

GetListAccessRequestsLockboxPartnerEnumStringValues Enumerates the set of values in String for ListAccessRequestsLockboxPartnerEnum

func GetListAccessRequestsSortByEnumStringValues

func GetListAccessRequestsSortByEnumStringValues() []string

GetListAccessRequestsSortByEnumStringValues Enumerates the set of values in String for ListAccessRequestsSortByEnum

func GetListAccessRequestsSortOrderEnumStringValues

func GetListAccessRequestsSortOrderEnumStringValues() []string

GetListAccessRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListAccessRequestsSortOrderEnum

func GetListApprovalTemplatesSortByEnumStringValues

func GetListApprovalTemplatesSortByEnumStringValues() []string

GetListApprovalTemplatesSortByEnumStringValues Enumerates the set of values in String for ListApprovalTemplatesSortByEnum

func GetListApprovalTemplatesSortOrderEnumStringValues

func GetListApprovalTemplatesSortOrderEnumStringValues() []string

GetListApprovalTemplatesSortOrderEnumStringValues Enumerates the set of values in String for ListApprovalTemplatesSortOrderEnum

func GetListLockboxesLockboxPartnerEnumStringValues

func GetListLockboxesLockboxPartnerEnumStringValues() []string

GetListLockboxesLockboxPartnerEnumStringValues Enumerates the set of values in String for ListLockboxesLockboxPartnerEnum

func GetListLockboxesSortByEnumStringValues

func GetListLockboxesSortByEnumStringValues() []string

GetListLockboxesSortByEnumStringValues Enumerates the set of values in String for ListLockboxesSortByEnum

func GetListLockboxesSortOrderEnumStringValues

func GetListLockboxesSortOrderEnumStringValues() []string

GetListLockboxesSortOrderEnumStringValues Enumerates the set of values in String for ListLockboxesSortOrderEnum

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 GetLockboxAutoApprovalStateEnumStringValues

func GetLockboxAutoApprovalStateEnumStringValues() []string

GetLockboxAutoApprovalStateEnumStringValues Enumerates the set of values in String for LockboxAutoApprovalStateEnum

func GetLockboxLifecycleStateEnumStringValues

func GetLockboxLifecycleStateEnumStringValues() []string

GetLockboxLifecycleStateEnumStringValues Enumerates the set of values in String for LockboxLifecycleStateEnum

func GetLockboxPartnerEnumStringValues

func GetLockboxPartnerEnumStringValues() []string

GetLockboxPartnerEnumStringValues Enumerates the set of values in String for LockboxPartnerEnum

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 GetPersonaLevelEnumStringValues

func GetPersonaLevelEnumStringValues() []string

GetPersonaLevelEnumStringValues Enumerates the set of values in String for PersonaLevelEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

type AccessContextAttribute

AccessContextAttribute Defined by partner while creating a lockbox. These attributes provides context for creating access request

type AccessContextAttribute struct {

    // The name of the context attribute
    Name *string `mandatory:"true" json:"name"`

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

    // An optional default value used when access request context value is not provided
    DefaultValue *string `mandatory:"false" json:"defaultValue"`

    // List of context attribute values.
    Values []string `mandatory:"false" json:"values"`
}

func (AccessContextAttribute) String

func (m AccessContextAttribute) String() string

func (AccessContextAttribute) ValidateEnumValue

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

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

type AccessContextAttributeCollection

AccessContextAttributeCollection Contains context attribute entries defined while creating or updating a lockbox.

type AccessContextAttributeCollection struct {

    // List of context attributes.
    Items []AccessContextAttribute `mandatory:"true" json:"items"`
}

func (AccessContextAttributeCollection) String

func (m AccessContextAttributeCollection) String() string

func (AccessContextAttributeCollection) ValidateEnumValue

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

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

type AccessMaterials

AccessMaterials Access materials details.

type AccessMaterials struct {

    // The contents of the material. This is a map that contains the various fields needed for access.
    Details map[string]string `mandatory:"true" json:"details"`
}

func (AccessMaterials) String

func (m AccessMaterials) String() string

func (AccessMaterials) ValidateEnumValue

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

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

type AccessRequest

AccessRequest An access request to a customer's resource. An access request is a subsidiary resource of the Lockbox entity.

type AccessRequest struct {

    // The unique identifier (OCID) of the access request, which can't be changed after creation.
    Id *string `mandatory:"true" json:"id"`

    // The unique identifier (OCID) of the lockbox box that the access request is associated with, which can't be changed after creation.
    LockboxId *string `mandatory:"true" json:"lockboxId"`

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

    // The rationale for requesting the access request and any other related details..
    Description *string `mandatory:"true" json:"description"`

    // The unique identifier of the requestor.
    RequestorId *string `mandatory:"true" json:"requestorId"`

    // Possible access request lifecycle states.
    LifecycleState AccessRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Details of access request lifecycle state.
    LifecycleStateDetails AccessRequestLifecycleStateDetailsEnum `mandatory:"true" json:"lifecycleStateDetails"`

    // The maximum amount of time operator has access to associated resources.
    AccessDuration *string `mandatory:"true" json:"accessDuration"`

    // The actions taken by different persona on the access request, e.g. approve/deny/revoke
    ActivityLogs []ActivityLog `mandatory:"true" json:"activityLogs"`

    // The time the access request was created. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time the access request was last updated. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The time the access request expired. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeExpired *common.SDKTime `mandatory:"true" json:"timeExpired"`

    // The time the access request was last reminded. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeReminded *common.SDKTime `mandatory:"true" json:"timeReminded"`

    // The count of times the access request was reminded.
    ReminderCount *int `mandatory:"true" json:"reminderCount"`

    // The location of the requestor. Format with be two letters indicatiog operator's country code defined by https://jira-sd.mc1.oracleiaas.com/browse/SSD-17880
    // Example: `US`
    RequestorLocation *string `mandatory:"true" json:"requestorLocation"`

    // The context object containing the access request specific details.
    Context map[string]string `mandatory:"false" json:"context"`
}

func (AccessRequest) String

func (m AccessRequest) String() string

func (AccessRequest) ValidateEnumValue

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

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

type AccessRequestActionTypeEnum

AccessRequestActionTypeEnum Enum with underlying type: string

type AccessRequestActionTypeEnum string

Set of constants representing the allowable values for AccessRequestActionTypeEnum

const (
    AccessRequestActionTypeApprove AccessRequestActionTypeEnum = "APPROVE"
    AccessRequestActionTypeDeny    AccessRequestActionTypeEnum = "DENY"
    AccessRequestActionTypeRevoke  AccessRequestActionTypeEnum = "REVOKE"
    AccessRequestActionTypeCancel  AccessRequestActionTypeEnum = "CANCEL"
)

func GetAccessRequestActionTypeEnumValues

func GetAccessRequestActionTypeEnumValues() []AccessRequestActionTypeEnum

GetAccessRequestActionTypeEnumValues Enumerates the set of values for AccessRequestActionTypeEnum

func GetMappingAccessRequestActionTypeEnum

func GetMappingAccessRequestActionTypeEnum(val string) (AccessRequestActionTypeEnum, bool)

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

type AccessRequestCollection

AccessRequestCollection Results of access request search. Contains both AccessRequestSummary items and other information, such as metadata.

type AccessRequestCollection struct {

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

func (AccessRequestCollection) String

func (m AccessRequestCollection) String() string

func (AccessRequestCollection) ValidateEnumValue

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

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

type AccessRequestExt

AccessRequestExt An access request to a customer's resource that includes additional requestor metadata. An access request is a subsidiary resource of the Lockbox entity.

type AccessRequestExt struct {

    // The unique identifier (OCID) of the access request, which can't be changed after creation.
    Id *string `mandatory:"true" json:"id"`

    // The unique identifier (OCID) of the lockbox box that the access request is associated with, which can't be changed after creation.
    LockboxId *string `mandatory:"true" json:"lockboxId"`

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

    // The rationale for requesting the access request and any other related details..
    Description *string `mandatory:"true" json:"description"`

    // The unique identifier of the requestor.
    RequestorId *string `mandatory:"true" json:"requestorId"`

    // Possible access request lifecycle states.
    LifecycleState AccessRequestExtLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Details of access request lifecycle state.
    LifecycleStateDetails AccessRequestExtLifecycleStateDetailsEnum `mandatory:"true" json:"lifecycleStateDetails"`

    // The maximum amount of time operator has access to associated resources.
    AccessDuration *string `mandatory:"true" json:"accessDuration"`

    // The actions taken by different persona on the access request, e.g. approve/deny/revoke
    ActivityLogs []ActivityLog `mandatory:"true" json:"activityLogs"`

    // The time the access request was created. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time the access request was last updated. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The time the access request expired. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeExpired *common.SDKTime `mandatory:"true" json:"timeExpired"`

    // The time the access request was last reminded. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeReminded *common.SDKTime `mandatory:"true" json:"timeReminded"`

    // The count of times the access request was reminded.
    ReminderCount *int `mandatory:"true" json:"reminderCount"`

    // The location of the requestor. Format with be two letters indicatiog operator's country code defined by https://jira-sd.mc1.oracleiaas.com/browse/SSD-17880
    // Example: `US`
    RequestorLocation *string `mandatory:"true" json:"requestorLocation"`

    // The user name i.e. userId of the requestor.
    RequestorUserName *string `mandatory:"true" json:"requestorUserName"`

    // The context object containing the access request specific details.
    Context map[string]string `mandatory:"false" json:"context"`
}

func (AccessRequestExt) String

func (m AccessRequestExt) String() string

func (AccessRequestExt) ValidateEnumValue

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

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

type AccessRequestExtLifecycleStateDetailsEnum

AccessRequestExtLifecycleStateDetailsEnum Enum with underlying type: string

type AccessRequestExtLifecycleStateDetailsEnum string

Set of constants representing the allowable values for AccessRequestExtLifecycleStateDetailsEnum

const (
    AccessRequestExtLifecycleStateDetailsProcessing          AccessRequestExtLifecycleStateDetailsEnum = "PROCESSING"
    AccessRequestExtLifecycleStateDetailsWaitingForApprovals AccessRequestExtLifecycleStateDetailsEnum = "WAITING_FOR_APPROVALS"
    AccessRequestExtLifecycleStateDetailsApproved            AccessRequestExtLifecycleStateDetailsEnum = "APPROVED"
    AccessRequestExtLifecycleStateDetailsAutoApproved        AccessRequestExtLifecycleStateDetailsEnum = "AUTO_APPROVED"
    AccessRequestExtLifecycleStateDetailsCancellingAccess    AccessRequestExtLifecycleStateDetailsEnum = "CANCELLING_ACCESS"
    AccessRequestExtLifecycleStateDetailsExpired             AccessRequestExtLifecycleStateDetailsEnum = "EXPIRED"
    AccessRequestExtLifecycleStateDetailsRevoked             AccessRequestExtLifecycleStateDetailsEnum = "REVOKED"
    AccessRequestExtLifecycleStateDetailsDenied              AccessRequestExtLifecycleStateDetailsEnum = "DENIED"
    AccessRequestExtLifecycleStateDetailsError               AccessRequestExtLifecycleStateDetailsEnum = "ERROR"
)

func GetAccessRequestExtLifecycleStateDetailsEnumValues

func GetAccessRequestExtLifecycleStateDetailsEnumValues() []AccessRequestExtLifecycleStateDetailsEnum

GetAccessRequestExtLifecycleStateDetailsEnumValues Enumerates the set of values for AccessRequestExtLifecycleStateDetailsEnum

func GetMappingAccessRequestExtLifecycleStateDetailsEnum

func GetMappingAccessRequestExtLifecycleStateDetailsEnum(val string) (AccessRequestExtLifecycleStateDetailsEnum, bool)

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

type AccessRequestExtLifecycleStateEnum

AccessRequestExtLifecycleStateEnum Enum with underlying type: string

type AccessRequestExtLifecycleStateEnum string

Set of constants representing the allowable values for AccessRequestExtLifecycleStateEnum

const (
    AccessRequestExtLifecycleStateInProgress AccessRequestExtLifecycleStateEnum = "IN_PROGRESS"
    AccessRequestExtLifecycleStateWaiting    AccessRequestExtLifecycleStateEnum = "WAITING"
    AccessRequestExtLifecycleStateSucceeded  AccessRequestExtLifecycleStateEnum = "SUCCEEDED"
    AccessRequestExtLifecycleStateCanceling  AccessRequestExtLifecycleStateEnum = "CANCELING"
    AccessRequestExtLifecycleStateCanceled   AccessRequestExtLifecycleStateEnum = "CANCELED"
    AccessRequestExtLifecycleStateFailed     AccessRequestExtLifecycleStateEnum = "FAILED"
)

func GetAccessRequestExtLifecycleStateEnumValues

func GetAccessRequestExtLifecycleStateEnumValues() []AccessRequestExtLifecycleStateEnum

GetAccessRequestExtLifecycleStateEnumValues Enumerates the set of values for AccessRequestExtLifecycleStateEnum

func GetMappingAccessRequestExtLifecycleStateEnum

func GetMappingAccessRequestExtLifecycleStateEnum(val string) (AccessRequestExtLifecycleStateEnum, bool)

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

type AccessRequestLifecycleStateDetailsEnum

AccessRequestLifecycleStateDetailsEnum Enum with underlying type: string

type AccessRequestLifecycleStateDetailsEnum string

Set of constants representing the allowable values for AccessRequestLifecycleStateDetailsEnum

const (
    AccessRequestLifecycleStateDetailsProcessing          AccessRequestLifecycleStateDetailsEnum = "PROCESSING"
    AccessRequestLifecycleStateDetailsWaitingForApprovals AccessRequestLifecycleStateDetailsEnum = "WAITING_FOR_APPROVALS"
    AccessRequestLifecycleStateDetailsApproved            AccessRequestLifecycleStateDetailsEnum = "APPROVED"
    AccessRequestLifecycleStateDetailsAutoApproved        AccessRequestLifecycleStateDetailsEnum = "AUTO_APPROVED"
    AccessRequestLifecycleStateDetailsCancellingAccess    AccessRequestLifecycleStateDetailsEnum = "CANCELLING_ACCESS"
    AccessRequestLifecycleStateDetailsExpired             AccessRequestLifecycleStateDetailsEnum = "EXPIRED"
    AccessRequestLifecycleStateDetailsRevoked             AccessRequestLifecycleStateDetailsEnum = "REVOKED"
    AccessRequestLifecycleStateDetailsDenied              AccessRequestLifecycleStateDetailsEnum = "DENIED"
    AccessRequestLifecycleStateDetailsError               AccessRequestLifecycleStateDetailsEnum = "ERROR"
)

func GetAccessRequestLifecycleStateDetailsEnumValues

func GetAccessRequestLifecycleStateDetailsEnumValues() []AccessRequestLifecycleStateDetailsEnum

GetAccessRequestLifecycleStateDetailsEnumValues Enumerates the set of values for AccessRequestLifecycleStateDetailsEnum

func GetMappingAccessRequestLifecycleStateDetailsEnum

func GetMappingAccessRequestLifecycleStateDetailsEnum(val string) (AccessRequestLifecycleStateDetailsEnum, bool)

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

type AccessRequestLifecycleStateEnum

AccessRequestLifecycleStateEnum Enum with underlying type: string

type AccessRequestLifecycleStateEnum string

Set of constants representing the allowable values for AccessRequestLifecycleStateEnum

const (
    AccessRequestLifecycleStateInProgress AccessRequestLifecycleStateEnum = "IN_PROGRESS"
    AccessRequestLifecycleStateWaiting    AccessRequestLifecycleStateEnum = "WAITING"
    AccessRequestLifecycleStateSucceeded  AccessRequestLifecycleStateEnum = "SUCCEEDED"
    AccessRequestLifecycleStateCanceling  AccessRequestLifecycleStateEnum = "CANCELING"
    AccessRequestLifecycleStateCanceled   AccessRequestLifecycleStateEnum = "CANCELED"
    AccessRequestLifecycleStateFailed     AccessRequestLifecycleStateEnum = "FAILED"
)

func GetAccessRequestLifecycleStateEnumValues

func GetAccessRequestLifecycleStateEnumValues() []AccessRequestLifecycleStateEnum

GetAccessRequestLifecycleStateEnumValues Enumerates the set of values for AccessRequestLifecycleStateEnum

func GetMappingAccessRequestLifecycleStateEnum

func GetMappingAccessRequestLifecycleStateEnum(val string) (AccessRequestLifecycleStateEnum, bool)

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

type AccessRequestSummary

AccessRequestSummary Summary information for an access request.

type AccessRequestSummary struct {

    // The unique identifier (OCID) of the access request, which can't be changed after creation.
    Id *string `mandatory:"true" json:"id"`

    // The unique identifier (OCID) of the lockbox box that the access request is associated with, which can't be changed after creation.
    LockboxId *string `mandatory:"true" json:"lockboxId"`

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

    // The rationale for requesting the access request.
    Description *string `mandatory:"true" json:"description"`

    // The unique identifier of the requestor.
    RequestorId *string `mandatory:"true" json:"requestorId"`

    // The current state of the access request.
    LifecycleState AccessRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The time the access request was created. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time the access request was last updated. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The time the access request expired. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeExpired *common.SDKTime `mandatory:"true" json:"timeExpired"`

    // The two-char country code of the requestor while creating the access request
    // Example: `US`
    RequestorLocation *string `mandatory:"false" json:"requestorLocation"`

    // The maximum amount of time operator has access to associated resources.
    AccessDuration *string `mandatory:"false" json:"accessDuration"`

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

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

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (AccessRequestSummary) String

func (m AccessRequestSummary) String() string

func (AccessRequestSummary) ValidateEnumValue

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

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

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

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

func GetActionTypeEnumValues

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 ActivityLog

ActivityLog The log of the action taken by different persona on the access request, e.g. approve/deny/revoke

type ActivityLog struct {

    // User OCID of the persona
    UserId *string `mandatory:"false" json:"userId"`

    // Level of the persona
    UserLevel PersonaLevelEnum `mandatory:"false" json:"userLevel,omitempty"`

    // The action take by persona
    Action AccessRequestActionTypeEnum `mandatory:"false" json:"action,omitempty"`

    // The action justification or details.
    Message *string `mandatory:"false" json:"message"`

    // The time the action was taken. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2020-01-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (ActivityLog) String

func (m ActivityLog) String() string

func (ActivityLog) ValidateEnumValue

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

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

type ApprovalTemplate

ApprovalTemplate Group/User OCIDs of those who can approve/deny/revoke operator's request to access associated resources.

type ApprovalTemplate struct {

    // The unique identifier (OCID) of the approval template, which can't be changed after creation.
    Id *string `mandatory:"true" json:"id"`

    // The approval template display name.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The unique identifier (OCID) of the customer compartment where the approval template is located.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // The current state of the approval template.
    LifecycleState ApprovalTemplateLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    ApproverLevels *ApproverLevels `mandatory:"false" json:"approverLevels"`

    // The auto approval state of the lockbox.
    AutoApprovalState LockboxAutoApprovalStateEnum `mandatory:"false" json:"autoApprovalState,omitempty"`

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

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

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

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ApprovalTemplate) String

func (m ApprovalTemplate) String() string

func (ApprovalTemplate) ValidateEnumValue

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

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

type ApprovalTemplateCollection

ApprovalTemplateCollection Results of approval template search. Contains both ApprovalTemplateSummary items and other information, such as metadata.

type ApprovalTemplateCollection struct {

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

func (ApprovalTemplateCollection) String

func (m ApprovalTemplateCollection) String() string

func (ApprovalTemplateCollection) ValidateEnumValue

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

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

type ApprovalTemplateLifecycleStateEnum

ApprovalTemplateLifecycleStateEnum Enum with underlying type: string

type ApprovalTemplateLifecycleStateEnum string

Set of constants representing the allowable values for ApprovalTemplateLifecycleStateEnum

const (
    ApprovalTemplateLifecycleStateActive   ApprovalTemplateLifecycleStateEnum = "ACTIVE"
    ApprovalTemplateLifecycleStateCreating ApprovalTemplateLifecycleStateEnum = "CREATING"
    ApprovalTemplateLifecycleStateUpdating ApprovalTemplateLifecycleStateEnum = "UPDATING"
    ApprovalTemplateLifecycleStateDeleting ApprovalTemplateLifecycleStateEnum = "DELETING"
    ApprovalTemplateLifecycleStateDeleted  ApprovalTemplateLifecycleStateEnum = "DELETED"
    ApprovalTemplateLifecycleStateFailed   ApprovalTemplateLifecycleStateEnum = "FAILED"
)

func GetApprovalTemplateLifecycleStateEnumValues

func GetApprovalTemplateLifecycleStateEnumValues() []ApprovalTemplateLifecycleStateEnum

GetApprovalTemplateLifecycleStateEnumValues Enumerates the set of values for ApprovalTemplateLifecycleStateEnum

func GetMappingApprovalTemplateLifecycleStateEnum

func GetMappingApprovalTemplateLifecycleStateEnum(val string) (ApprovalTemplateLifecycleStateEnum, bool)

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

type ApprovalTemplateSummary

ApprovalTemplateSummary Summary info for an approval tmeplate.

type ApprovalTemplateSummary struct {

    // The unique identifier (OCID) of the approval template, which can't be changed after creation.
    Id *string `mandatory:"true" json:"id"`

    // The approval template display name.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The unique identifier (OCID) of the customer compartment where the approval template is located.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // The current state of the approval template.
    LifecycleState ApprovalTemplateLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    ApproverLevels *ApproverLevels `mandatory:"false" json:"approverLevels"`

    // The auto approval state of the lockbox.
    AutoApprovalState LockboxAutoApprovalStateEnum `mandatory:"false" json:"autoApprovalState,omitempty"`

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

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

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

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ApprovalTemplateSummary) String

func (m ApprovalTemplateSummary) String() string

func (ApprovalTemplateSummary) ValidateEnumValue

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

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

type ApproverInfo

ApproverInfo The approver data for this approver level.

type ApproverInfo struct {

    // The approver type of this approver level.
    ApproverType ApproverTypeEnum `mandatory:"true" json:"approverType"`

    // The group or user ocid of the approver for this approver level.
    ApproverId *string `mandatory:"true" json:"approverId"`

    // The identity domain ocid of the approver.
    DomainId *string `mandatory:"false" json:"domainId"`
}

func (ApproverInfo) String

func (m ApproverInfo) String() string

func (ApproverInfo) ValidateEnumValue

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

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

type ApproverLevels

ApproverLevels The approver levels.

type ApproverLevels struct {
    Level1 *ApproverInfo `mandatory:"true" json:"level1"`

    Level2 *ApproverInfo `mandatory:"false" json:"level2"`

    Level3 *ApproverInfo `mandatory:"false" json:"level3"`
}

func (ApproverLevels) String

func (m ApproverLevels) String() string

func (ApproverLevels) ValidateEnumValue

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

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

type ApproverTypeEnum

ApproverTypeEnum Enum with underlying type: string

type ApproverTypeEnum string

Set of constants representing the allowable values for ApproverTypeEnum

const (
    ApproverTypeGroup ApproverTypeEnum = "GROUP"
    ApproverTypeUser  ApproverTypeEnum = "USER"
)

func GetApproverTypeEnumValues

func GetApproverTypeEnumValues() []ApproverTypeEnum

GetApproverTypeEnumValues Enumerates the set of values for ApproverTypeEnum

func GetMappingApproverTypeEnum

func GetMappingApproverTypeEnum(val string) (ApproverTypeEnum, bool)

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

type CancelWorkRequestRequest

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

# See also

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

type CancelWorkRequestRequest struct {

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (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

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

type CancelWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeApprovalTemplateCompartmentDetails

ChangeApprovalTemplateCompartmentDetails The information to be updated.

type ChangeApprovalTemplateCompartmentDetails struct {

    // The unique identifier (OCID) of the compartment where the resource is located.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeApprovalTemplateCompartmentDetails) String

func (m ChangeApprovalTemplateCompartmentDetails) String() string

func (ChangeApprovalTemplateCompartmentDetails) ValidateEnumValue

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

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

type ChangeApprovalTemplateCompartmentRequest

ChangeApprovalTemplateCompartmentRequest wrapper for the ChangeApprovalTemplateCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/ChangeApprovalTemplateCompartment.go.html to see an example of how to use ChangeApprovalTemplateCompartmentRequest.

type ChangeApprovalTemplateCompartmentRequest struct {

    // The unique identifier (OCID) of the approval template.
    ApprovalTemplateId *string `mandatory:"true" contributesTo:"path" name:"approvalTemplateId"`

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

func (ChangeApprovalTemplateCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeApprovalTemplateCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeApprovalTemplateCompartmentRequest) RetryPolicy

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

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

func (ChangeApprovalTemplateCompartmentRequest) String

func (request ChangeApprovalTemplateCompartmentRequest) String() string

func (ChangeApprovalTemplateCompartmentRequest) ValidateEnumValue

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

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

type ChangeApprovalTemplateCompartmentResponse

ChangeApprovalTemplateCompartmentResponse wrapper for the ChangeApprovalTemplateCompartment operation

type ChangeApprovalTemplateCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (ChangeApprovalTemplateCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeApprovalTemplateCompartmentResponse) String

func (response ChangeApprovalTemplateCompartmentResponse) String() string

type ChangeLockboxCompartmentDetails

ChangeLockboxCompartmentDetails The information to be updated.

type ChangeLockboxCompartmentDetails struct {

    // The unique identifier (OCID) of the compartment where the resource is located.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeLockboxCompartmentDetails) String

func (m ChangeLockboxCompartmentDetails) String() string

func (ChangeLockboxCompartmentDetails) ValidateEnumValue

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

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

type ChangeLockboxCompartmentRequest

ChangeLockboxCompartmentRequest wrapper for the ChangeLockboxCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/ChangeLockboxCompartment.go.html to see an example of how to use ChangeLockboxCompartmentRequest.

type ChangeLockboxCompartmentRequest struct {

    // unique Lockbox identifier
    LockboxId *string `mandatory:"true" contributesTo:"path" name:"lockboxId"`

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

func (ChangeLockboxCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeLockboxCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeLockboxCompartmentRequest) RetryPolicy

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

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

func (ChangeLockboxCompartmentRequest) String

func (request ChangeLockboxCompartmentRequest) String() string

func (ChangeLockboxCompartmentRequest) ValidateEnumValue

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

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

type ChangeLockboxCompartmentResponse

ChangeLockboxCompartmentResponse wrapper for the ChangeLockboxCompartment operation

type ChangeLockboxCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (ChangeLockboxCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeLockboxCompartmentResponse) String

func (response ChangeLockboxCompartmentResponse) String() string

type CreateAccessRequestDetails

CreateAccessRequestDetails The configuration details for a new access request. We don't accept a compartmentId parameter because it is implied to be the same as the lockbox as a subsidiary resource. The requestorId is also based on the caller user info.

type CreateAccessRequestDetails struct {

    // The unique identifier (OCID) of the lockbox box that the access request is associated with which is immutable.
    LockboxId *string `mandatory:"true" json:"lockboxId"`

    // The rationale for requesting the access request.
    Description *string `mandatory:"true" json:"description"`

    // The maximum amount of time operator has access to associated resources.
    AccessDuration *string `mandatory:"true" json:"accessDuration"`

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

    // The context object containing the access request specific details.
    Context map[string]string `mandatory:"false" json:"context"`
}

func (CreateAccessRequestDetails) String

func (m CreateAccessRequestDetails) String() string

func (CreateAccessRequestDetails) ValidateEnumValue

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

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

type CreateAccessRequestRequest

CreateAccessRequestRequest wrapper for the CreateAccessRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/CreateAccessRequest.go.html to see an example of how to use CreateAccessRequestRequest.

type CreateAccessRequestRequest struct {

    // Details for the new access request.
    CreateAccessRequestDetails `contributesTo:"body"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateAccessRequestRequest) RetryPolicy

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

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

func (CreateAccessRequestRequest) String

func (request CreateAccessRequestRequest) String() string

func (CreateAccessRequestRequest) ValidateEnumValue

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

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

type CreateAccessRequestResponse

CreateAccessRequestResponse wrapper for the CreateAccessRequest operation

type CreateAccessRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // this contains the full URI for the get request, e.g. "https://iaas.us-phoenix-1.oraclecloud.com/20210331/lockbox/<some-ocid>"
    Location *string `presentIn:"header" name:"location"`

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

func (CreateAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateAccessRequestResponse) String

func (response CreateAccessRequestResponse) String() string

type CreateApprovalTemplateDetails

CreateApprovalTemplateDetails The configuration details for a new approval template.

type CreateApprovalTemplateDetails struct {

    // The unique identifier (OCID) of the compartment where the resource is located.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // approval template identifier
    DisplayName *string `mandatory:"false" json:"displayName"`

    ApproverLevels *ApproverLevels `mandatory:"false" json:"approverLevels"`

    // The auto approval state of the lockbox.
    AutoApprovalState LockboxAutoApprovalStateEnum `mandatory:"false" json:"autoApprovalState,omitempty"`

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

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

func (CreateApprovalTemplateDetails) String

func (m CreateApprovalTemplateDetails) String() string

func (CreateApprovalTemplateDetails) ValidateEnumValue

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

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

type CreateApprovalTemplateRequest

CreateApprovalTemplateRequest wrapper for the CreateApprovalTemplate operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/CreateApprovalTemplate.go.html to see an example of how to use CreateApprovalTemplateRequest.

type CreateApprovalTemplateRequest struct {

    // Details for the new approval template.
    CreateApprovalTemplateDetails `contributesTo:"body"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateApprovalTemplateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateApprovalTemplateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateApprovalTemplateRequest) RetryPolicy

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

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

func (CreateApprovalTemplateRequest) String

func (request CreateApprovalTemplateRequest) String() string

func (CreateApprovalTemplateRequest) ValidateEnumValue

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

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

type CreateApprovalTemplateResponse

CreateApprovalTemplateResponse wrapper for the CreateApprovalTemplate operation

type CreateApprovalTemplateResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // this contains the full URI for the get request, e.g. "https://iaas.us-phoenix-1.oraclecloud.com/20210331/lockbox/<some-ocid>"
    Location *string `presentIn:"header" name:"location"`

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

func (CreateApprovalTemplateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateApprovalTemplateResponse) String

func (response CreateApprovalTemplateResponse) String() string

type CreateLockboxDetails

CreateLockboxDetails The information about new Lockbox.

type CreateLockboxDetails struct {

    // The unique identifier (OCID) of the customer's resource.
    ResourceId *string `mandatory:"true" json:"resourceId"`

    // The unique identifier (OCID) of the compartment where the resource is located.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    AccessContextAttributes *AccessContextAttributeCollection `mandatory:"true" json:"accessContextAttributes"`

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

    // The partner using this lockbox to lock a resource.
    LockboxPartner LockboxPartnerEnum `mandatory:"false" json:"lockboxPartner,omitempty"`

    // The unique identifier (OCID) of partner resource using this lockbox to lock a resource
    PartnerId *string `mandatory:"false" json:"partnerId"`

    // Compartment Identifier
    PartnerCompartmentId *string `mandatory:"false" json:"partnerCompartmentId"`

    // Approval template ID
    ApprovalTemplateId *string `mandatory:"false" json:"approvalTemplateId"`

    // The maximum amount of time operator has access to associated resources.
    MaxAccessDuration *string `mandatory:"false" json:"maxAccessDuration"`

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

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

func (CreateLockboxDetails) String

func (m CreateLockboxDetails) String() string

func (CreateLockboxDetails) ValidateEnumValue

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

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

type CreateLockboxRequest

CreateLockboxRequest wrapper for the CreateLockbox operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/CreateLockbox.go.html to see an example of how to use CreateLockboxRequest.

type CreateLockboxRequest struct {

    // Details for the new Lockbox.
    CreateLockboxDetails `contributesTo:"body"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateLockboxRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateLockboxRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateLockboxRequest) RetryPolicy

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

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

func (CreateLockboxRequest) String

func (request CreateLockboxRequest) String() string

func (CreateLockboxRequest) ValidateEnumValue

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

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

type CreateLockboxResponse

CreateLockboxResponse wrapper for the CreateLockbox operation

type CreateLockboxResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // this contains the full URI for the get request, e.g. "https://iaas.us-phoenix-1.oraclecloud.com/20210331/lockbox/<some-ocid>"
    Location *string `presentIn:"header" name:"location"`

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

func (CreateLockboxResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateLockboxResponse) String

func (response CreateLockboxResponse) String() string

type DeleteApprovalTemplateRequest

DeleteApprovalTemplateRequest wrapper for the DeleteApprovalTemplate operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/DeleteApprovalTemplate.go.html to see an example of how to use DeleteApprovalTemplateRequest.

type DeleteApprovalTemplateRequest struct {

    // The unique identifier (OCID) of the approval template.
    ApprovalTemplateId *string `mandatory:"true" contributesTo:"path" name:"approvalTemplateId"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteApprovalTemplateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteApprovalTemplateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteApprovalTemplateRequest) RetryPolicy

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

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

func (DeleteApprovalTemplateRequest) String

func (request DeleteApprovalTemplateRequest) String() string

func (DeleteApprovalTemplateRequest) ValidateEnumValue

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

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

type DeleteApprovalTemplateResponse

DeleteApprovalTemplateResponse wrapper for the DeleteApprovalTemplate operation

type DeleteApprovalTemplateResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteApprovalTemplateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteApprovalTemplateResponse) String

func (response DeleteApprovalTemplateResponse) String() string

type DeleteLockboxRequest

DeleteLockboxRequest wrapper for the DeleteLockbox operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/DeleteLockbox.go.html to see an example of how to use DeleteLockboxRequest.

type DeleteLockboxRequest struct {

    // unique Lockbox identifier
    LockboxId *string `mandatory:"true" contributesTo:"path" name:"lockboxId"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

func (DeleteLockboxRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteLockboxRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteLockboxRequest) RetryPolicy

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

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

func (DeleteLockboxRequest) String

func (request DeleteLockboxRequest) String() string

func (DeleteLockboxRequest) ValidateEnumValue

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

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

type DeleteLockboxResponse

DeleteLockboxResponse wrapper for the DeleteLockbox operation

type DeleteLockboxResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteLockboxResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteLockboxResponse) String

func (response DeleteLockboxResponse) String() string

type ExportAccessRequestsDetails

ExportAccessRequestsDetails Details for generating report of Access Requests to export action

type ExportAccessRequestsDetails struct {

    // The unique identifier (OCID) of the lockbox box that the access request is associated with which is immutable.
    LockboxId *string `mandatory:"true" json:"lockboxId"`

    // Date and time after which access requests were created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339)
    TimeCreatedAfter *common.SDKTime `mandatory:"true" json:"timeCreatedAfter"`

    // Date and time before which access requests were created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339)s
    TimeCreatedBefore *common.SDKTime `mandatory:"true" json:"timeCreatedBefore"`
}

func (ExportAccessRequestsDetails) String

func (m ExportAccessRequestsDetails) String() string

func (ExportAccessRequestsDetails) ValidateEnumValue

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

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

type ExportAccessRequestsLockboxPartnerEnum

ExportAccessRequestsLockboxPartnerEnum Enum with underlying type: string

type ExportAccessRequestsLockboxPartnerEnum string

Set of constants representing the allowable values for ExportAccessRequestsLockboxPartnerEnum

const (
    ExportAccessRequestsLockboxPartnerFaaas  ExportAccessRequestsLockboxPartnerEnum = "FAAAS"
    ExportAccessRequestsLockboxPartnerCanary ExportAccessRequestsLockboxPartnerEnum = "CANARY"
)

func GetExportAccessRequestsLockboxPartnerEnumValues

func GetExportAccessRequestsLockboxPartnerEnumValues() []ExportAccessRequestsLockboxPartnerEnum

GetExportAccessRequestsLockboxPartnerEnumValues Enumerates the set of values for ExportAccessRequestsLockboxPartnerEnum

func GetMappingExportAccessRequestsLockboxPartnerEnum

func GetMappingExportAccessRequestsLockboxPartnerEnum(val string) (ExportAccessRequestsLockboxPartnerEnum, bool)

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

type ExportAccessRequestsRequest

ExportAccessRequestsRequest wrapper for the ExportAccessRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/ExportAccessRequests.go.html to see an example of how to use ExportAccessRequestsRequest.

type ExportAccessRequestsRequest struct {

    // Exports the list of access requests for given date range in text format
    ExportAccessRequestsDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A generic Id query param used to filter lockbox, access request and approval template by Id.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

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

    // The name of the lockbox partner.
    LockboxPartner ExportAccessRequestsLockboxPartnerEnum `mandatory:"false" contributesTo:"query" name:"lockboxPartner" omitEmpty:"true"`

    // The ID of the partner.
    PartnerId *string `mandatory:"false" contributesTo:"query" name:"partnerId"`

    // The unique identifier (OCID) of the requestor in which to list resources.
    RequestorId *string `mandatory:"false" contributesTo:"query" name:"requestorId"`

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

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

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

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

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

func (ExportAccessRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ExportAccessRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ExportAccessRequestsRequest) RetryPolicy

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

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

func (ExportAccessRequestsRequest) String

func (request ExportAccessRequestsRequest) String() string

func (ExportAccessRequestsRequest) ValidateEnumValue

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

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

type ExportAccessRequestsResponse

ExportAccessRequestsResponse wrapper for the ExportAccessRequests operation

type ExportAccessRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of io.ReadCloser instances
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

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

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

func (ExportAccessRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ExportAccessRequestsResponse) String

func (response ExportAccessRequestsResponse) String() string

type ExportAccessRequestsSortByEnum

ExportAccessRequestsSortByEnum Enum with underlying type: string

type ExportAccessRequestsSortByEnum string

Set of constants representing the allowable values for ExportAccessRequestsSortByEnum

const (
    ExportAccessRequestsSortByTimecreated ExportAccessRequestsSortByEnum = "timeCreated"
    ExportAccessRequestsSortByDisplayname ExportAccessRequestsSortByEnum = "displayName"
    ExportAccessRequestsSortById          ExportAccessRequestsSortByEnum = "id"
)

func GetExportAccessRequestsSortByEnumValues

func GetExportAccessRequestsSortByEnumValues() []ExportAccessRequestsSortByEnum

GetExportAccessRequestsSortByEnumValues Enumerates the set of values for ExportAccessRequestsSortByEnum

func GetMappingExportAccessRequestsSortByEnum

func GetMappingExportAccessRequestsSortByEnum(val string) (ExportAccessRequestsSortByEnum, bool)

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

type ExportAccessRequestsSortOrderEnum

ExportAccessRequestsSortOrderEnum Enum with underlying type: string

type ExportAccessRequestsSortOrderEnum string

Set of constants representing the allowable values for ExportAccessRequestsSortOrderEnum

const (
    ExportAccessRequestsSortOrderAsc  ExportAccessRequestsSortOrderEnum = "ASC"
    ExportAccessRequestsSortOrderDesc ExportAccessRequestsSortOrderEnum = "DESC"
)

func GetExportAccessRequestsSortOrderEnumValues

func GetExportAccessRequestsSortOrderEnumValues() []ExportAccessRequestsSortOrderEnum

GetExportAccessRequestsSortOrderEnumValues Enumerates the set of values for ExportAccessRequestsSortOrderEnum

func GetMappingExportAccessRequestsSortOrderEnum

func GetMappingExportAccessRequestsSortOrderEnum(val string) (ExportAccessRequestsSortOrderEnum, bool)

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

type GetAccessMaterialsRequest

GetAccessMaterialsRequest wrapper for the GetAccessMaterials operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/GetAccessMaterials.go.html to see an example of how to use GetAccessMaterialsRequest.

type GetAccessMaterialsRequest struct {

    // The unique identifier (OCID) of the access request.
    AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetAccessMaterialsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAccessMaterialsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAccessMaterialsRequest) RetryPolicy

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

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

func (GetAccessMaterialsRequest) String

func (request GetAccessMaterialsRequest) String() string

func (GetAccessMaterialsRequest) ValidateEnumValue

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

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

type GetAccessMaterialsResponse

GetAccessMaterialsResponse wrapper for the GetAccessMaterials operation

type GetAccessMaterialsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (GetAccessMaterialsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAccessMaterialsResponse) String

func (response GetAccessMaterialsResponse) String() string

type GetAccessRequestInternalRequest

GetAccessRequestInternalRequest wrapper for the GetAccessRequestInternal operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/GetAccessRequestInternal.go.html to see an example of how to use GetAccessRequestInternalRequest.

type GetAccessRequestInternalRequest struct {

    // The unique identifier (OCID) of the access request.
    AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetAccessRequestInternalRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAccessRequestInternalRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAccessRequestInternalRequest) RetryPolicy

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

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

func (GetAccessRequestInternalRequest) String

func (request GetAccessRequestInternalRequest) String() string

func (GetAccessRequestInternalRequest) ValidateEnumValue

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

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

type GetAccessRequestInternalResponse

GetAccessRequestInternalResponse wrapper for the GetAccessRequestInternal operation

type GetAccessRequestInternalResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetAccessRequestInternalResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAccessRequestInternalResponse) String

func (response GetAccessRequestInternalResponse) String() string

type GetAccessRequestRequest

GetAccessRequestRequest wrapper for the GetAccessRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/GetAccessRequest.go.html to see an example of how to use GetAccessRequestRequest.

type GetAccessRequestRequest struct {

    // The unique identifier (OCID) of the access request.
    AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAccessRequestRequest) RetryPolicy

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

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

func (GetAccessRequestRequest) String

func (request GetAccessRequestRequest) String() string

func (GetAccessRequestRequest) ValidateEnumValue

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

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

type GetAccessRequestResponse

GetAccessRequestResponse wrapper for the GetAccessRequest operation

type GetAccessRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAccessRequestResponse) String

func (response GetAccessRequestResponse) String() string

type GetApprovalTemplateRequest

GetApprovalTemplateRequest wrapper for the GetApprovalTemplate operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/GetApprovalTemplate.go.html to see an example of how to use GetApprovalTemplateRequest.

type GetApprovalTemplateRequest struct {

    // The unique identifier (OCID) of the approval template.
    ApprovalTemplateId *string `mandatory:"true" contributesTo:"path" name:"approvalTemplateId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetApprovalTemplateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetApprovalTemplateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetApprovalTemplateRequest) RetryPolicy

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

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

func (GetApprovalTemplateRequest) String

func (request GetApprovalTemplateRequest) String() string

func (GetApprovalTemplateRequest) ValidateEnumValue

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

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

type GetApprovalTemplateResponse

GetApprovalTemplateResponse wrapper for the GetApprovalTemplate operation

type GetApprovalTemplateResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetApprovalTemplateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetApprovalTemplateResponse) String

func (response GetApprovalTemplateResponse) String() string

type GetLockboxRequest

GetLockboxRequest wrapper for the GetLockbox operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/GetLockbox.go.html to see an example of how to use GetLockboxRequest.

type GetLockboxRequest struct {

    // unique Lockbox identifier
    LockboxId *string `mandatory:"true" contributesTo:"path" name:"lockboxId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetLockboxRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetLockboxRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetLockboxRequest) RetryPolicy

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

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

func (GetLockboxRequest) String

func (request GetLockboxRequest) String() string

func (GetLockboxRequest) ValidateEnumValue

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

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

type GetLockboxResponse

GetLockboxResponse wrapper for the GetLockbox operation

type GetLockboxResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetLockboxResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetLockboxResponse) String

func (response GetLockboxResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

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

type GetWorkRequestRequest struct {

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // A decimal number representing the number of seconds the client should wait before polling this endpoint again.
    RetryAfter *int `presentIn:"header" name:"retry-after"`
}

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HandleAccessRequestDetails

HandleAccessRequestDetails The details for handling access request.

type HandleAccessRequestDetails struct {

    // The action take by persona
    Action AccessRequestActionTypeEnum `mandatory:"true" json:"action"`

    // Action justification or details.
    Message *string `mandatory:"false" json:"message"`
}

func (HandleAccessRequestDetails) String

func (m HandleAccessRequestDetails) String() string

func (HandleAccessRequestDetails) ValidateEnumValue

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

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

type HandleAccessRequestRequest

HandleAccessRequestRequest wrapper for the HandleAccessRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/HandleAccessRequest.go.html to see an example of how to use HandleAccessRequestRequest.

type HandleAccessRequestRequest struct {

    // The unique identifier (OCID) of the access request.
    AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

    // The details of handling access request
    HandleAccessRequestDetails `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"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (HandleAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (HandleAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (HandleAccessRequestRequest) RetryPolicy

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

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

func (HandleAccessRequestRequest) String

func (request HandleAccessRequestRequest) String() string

func (HandleAccessRequestRequest) ValidateEnumValue

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

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

type HandleAccessRequestResponse

HandleAccessRequestResponse wrapper for the HandleAccessRequest operation

type HandleAccessRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (HandleAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (HandleAccessRequestResponse) String

func (response HandleAccessRequestResponse) String() string

type ListAccessRequestsLockboxPartnerEnum

ListAccessRequestsLockboxPartnerEnum Enum with underlying type: string

type ListAccessRequestsLockboxPartnerEnum string

Set of constants representing the allowable values for ListAccessRequestsLockboxPartnerEnum

const (
    ListAccessRequestsLockboxPartnerFaaas  ListAccessRequestsLockboxPartnerEnum = "FAAAS"
    ListAccessRequestsLockboxPartnerCanary ListAccessRequestsLockboxPartnerEnum = "CANARY"
)

func GetListAccessRequestsLockboxPartnerEnumValues

func GetListAccessRequestsLockboxPartnerEnumValues() []ListAccessRequestsLockboxPartnerEnum

GetListAccessRequestsLockboxPartnerEnumValues Enumerates the set of values for ListAccessRequestsLockboxPartnerEnum

func GetMappingListAccessRequestsLockboxPartnerEnum

func GetMappingListAccessRequestsLockboxPartnerEnum(val string) (ListAccessRequestsLockboxPartnerEnum, bool)

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

type ListAccessRequestsRequest

ListAccessRequestsRequest wrapper for the ListAccessRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/ListAccessRequests.go.html to see an example of how to use ListAccessRequestsRequest.

type ListAccessRequestsRequest struct {

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The unique identifier (OCID) of the associated lockbox.
    LockboxId *string `mandatory:"false" contributesTo:"query" name:"lockboxId"`

    // A generic Id query param used to filter lockbox, access request and approval template by Id.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

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

    // The name of the lockbox partner.
    LockboxPartner ListAccessRequestsLockboxPartnerEnum `mandatory:"false" contributesTo:"query" name:"lockboxPartner" omitEmpty:"true"`

    // The ID of the partner.
    PartnerId *string `mandatory:"false" contributesTo:"query" name:"partnerId"`

    // The unique identifier (OCID) of the requestor in which to list resources.
    RequestorId *string `mandatory:"false" contributesTo:"query" name:"requestorId"`

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

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

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

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

    // Date and time on or after which Access Requests were created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339)
    TimeCreatedAfter *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedAfter"`

    // Date and time on or before which Access requests were created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339)
    TimeCreatedBefore *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedBefore"`

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

func (ListAccessRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAccessRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAccessRequestsRequest) RetryPolicy

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

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

func (ListAccessRequestsRequest) String

func (request ListAccessRequestsRequest) String() string

func (ListAccessRequestsRequest) ValidateEnumValue

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

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

type ListAccessRequestsResponse

ListAccessRequestsResponse wrapper for the ListAccessRequests operation

type ListAccessRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListAccessRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAccessRequestsResponse) String

func (response ListAccessRequestsResponse) String() string

type ListAccessRequestsSortByEnum

ListAccessRequestsSortByEnum Enum with underlying type: string

type ListAccessRequestsSortByEnum string

Set of constants representing the allowable values for ListAccessRequestsSortByEnum

const (
    ListAccessRequestsSortByTimecreated ListAccessRequestsSortByEnum = "timeCreated"
    ListAccessRequestsSortByDisplayname ListAccessRequestsSortByEnum = "displayName"
    ListAccessRequestsSortById          ListAccessRequestsSortByEnum = "id"
)

func GetListAccessRequestsSortByEnumValues

func GetListAccessRequestsSortByEnumValues() []ListAccessRequestsSortByEnum

GetListAccessRequestsSortByEnumValues Enumerates the set of values for ListAccessRequestsSortByEnum

func GetMappingListAccessRequestsSortByEnum

func GetMappingListAccessRequestsSortByEnum(val string) (ListAccessRequestsSortByEnum, bool)

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

type ListAccessRequestsSortOrderEnum

ListAccessRequestsSortOrderEnum Enum with underlying type: string

type ListAccessRequestsSortOrderEnum string

Set of constants representing the allowable values for ListAccessRequestsSortOrderEnum

const (
    ListAccessRequestsSortOrderAsc  ListAccessRequestsSortOrderEnum = "ASC"
    ListAccessRequestsSortOrderDesc ListAccessRequestsSortOrderEnum = "DESC"
)

func GetListAccessRequestsSortOrderEnumValues

func GetListAccessRequestsSortOrderEnumValues() []ListAccessRequestsSortOrderEnum

GetListAccessRequestsSortOrderEnumValues Enumerates the set of values for ListAccessRequestsSortOrderEnum

func GetMappingListAccessRequestsSortOrderEnum

func GetMappingListAccessRequestsSortOrderEnum(val string) (ListAccessRequestsSortOrderEnum, bool)

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

type ListApprovalTemplatesRequest

ListApprovalTemplatesRequest wrapper for the ListApprovalTemplates operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/ListApprovalTemplates.go.html to see an example of how to use ListApprovalTemplatesRequest.

type ListApprovalTemplatesRequest struct {

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A generic Id query param used to filter lockbox, access request and approval template by Id.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

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

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

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

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

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

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

func (ListApprovalTemplatesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListApprovalTemplatesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListApprovalTemplatesRequest) RetryPolicy

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

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

func (ListApprovalTemplatesRequest) String

func (request ListApprovalTemplatesRequest) String() string

func (ListApprovalTemplatesRequest) ValidateEnumValue

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

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

type ListApprovalTemplatesResponse

ListApprovalTemplatesResponse wrapper for the ListApprovalTemplates operation

type ListApprovalTemplatesResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListApprovalTemplatesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListApprovalTemplatesResponse) String

func (response ListApprovalTemplatesResponse) String() string

type ListApprovalTemplatesSortByEnum

ListApprovalTemplatesSortByEnum Enum with underlying type: string

type ListApprovalTemplatesSortByEnum string

Set of constants representing the allowable values for ListApprovalTemplatesSortByEnum

const (
    ListApprovalTemplatesSortByTimecreated ListApprovalTemplatesSortByEnum = "timeCreated"
    ListApprovalTemplatesSortByDisplayname ListApprovalTemplatesSortByEnum = "displayName"
    ListApprovalTemplatesSortById          ListApprovalTemplatesSortByEnum = "id"
)

func GetListApprovalTemplatesSortByEnumValues

func GetListApprovalTemplatesSortByEnumValues() []ListApprovalTemplatesSortByEnum

GetListApprovalTemplatesSortByEnumValues Enumerates the set of values for ListApprovalTemplatesSortByEnum

func GetMappingListApprovalTemplatesSortByEnum

func GetMappingListApprovalTemplatesSortByEnum(val string) (ListApprovalTemplatesSortByEnum, bool)

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

type ListApprovalTemplatesSortOrderEnum

ListApprovalTemplatesSortOrderEnum Enum with underlying type: string

type ListApprovalTemplatesSortOrderEnum string

Set of constants representing the allowable values for ListApprovalTemplatesSortOrderEnum

const (
    ListApprovalTemplatesSortOrderAsc  ListApprovalTemplatesSortOrderEnum = "ASC"
    ListApprovalTemplatesSortOrderDesc ListApprovalTemplatesSortOrderEnum = "DESC"
)

func GetListApprovalTemplatesSortOrderEnumValues

func GetListApprovalTemplatesSortOrderEnumValues() []ListApprovalTemplatesSortOrderEnum

GetListApprovalTemplatesSortOrderEnumValues Enumerates the set of values for ListApprovalTemplatesSortOrderEnum

func GetMappingListApprovalTemplatesSortOrderEnum

func GetMappingListApprovalTemplatesSortOrderEnum(val string) (ListApprovalTemplatesSortOrderEnum, bool)

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

type ListLockboxesLockboxPartnerEnum

ListLockboxesLockboxPartnerEnum Enum with underlying type: string

type ListLockboxesLockboxPartnerEnum string

Set of constants representing the allowable values for ListLockboxesLockboxPartnerEnum

const (
    ListLockboxesLockboxPartnerFaaas  ListLockboxesLockboxPartnerEnum = "FAAAS"
    ListLockboxesLockboxPartnerCanary ListLockboxesLockboxPartnerEnum = "CANARY"
)

func GetListLockboxesLockboxPartnerEnumValues

func GetListLockboxesLockboxPartnerEnumValues() []ListLockboxesLockboxPartnerEnum

GetListLockboxesLockboxPartnerEnumValues Enumerates the set of values for ListLockboxesLockboxPartnerEnum

func GetMappingListLockboxesLockboxPartnerEnum

func GetMappingListLockboxesLockboxPartnerEnum(val string) (ListLockboxesLockboxPartnerEnum, bool)

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

type ListLockboxesRequest

ListLockboxesRequest wrapper for the ListLockboxes operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/ListLockboxes.go.html to see an example of how to use ListLockboxesRequest.

type ListLockboxesRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources their lifecycleState matches the given lifecycleState.
    LifecycleState LockboxLifecycleStateEnum `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 Lockbox identifier
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The ID of the resource associated with the lockbox.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // The name of the lockbox partner.
    LockboxPartner ListLockboxesLockboxPartnerEnum `mandatory:"false" contributesTo:"query" name:"lockboxPartner" omitEmpty:"true"`

    // The ID of the partner.
    PartnerId *string `mandatory:"false" contributesTo:"query" name:"partnerId"`

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

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

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListLockboxesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListLockboxesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListLockboxesRequest) RetryPolicy

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

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

func (ListLockboxesRequest) String

func (request ListLockboxesRequest) String() string

func (ListLockboxesRequest) ValidateEnumValue

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

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

type ListLockboxesResponse

ListLockboxesResponse wrapper for the ListLockboxes operation

type ListLockboxesResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListLockboxesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListLockboxesResponse) String

func (response ListLockboxesResponse) String() string

type ListLockboxesSortByEnum

ListLockboxesSortByEnum Enum with underlying type: string

type ListLockboxesSortByEnum string

Set of constants representing the allowable values for ListLockboxesSortByEnum

const (
    ListLockboxesSortByTimecreated ListLockboxesSortByEnum = "timeCreated"
    ListLockboxesSortByDisplayname ListLockboxesSortByEnum = "displayName"
    ListLockboxesSortById          ListLockboxesSortByEnum = "id"
)

func GetListLockboxesSortByEnumValues

func GetListLockboxesSortByEnumValues() []ListLockboxesSortByEnum

GetListLockboxesSortByEnumValues Enumerates the set of values for ListLockboxesSortByEnum

func GetMappingListLockboxesSortByEnum

func GetMappingListLockboxesSortByEnum(val string) (ListLockboxesSortByEnum, bool)

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

type ListLockboxesSortOrderEnum

ListLockboxesSortOrderEnum Enum with underlying type: string

type ListLockboxesSortOrderEnum string

Set of constants representing the allowable values for ListLockboxesSortOrderEnum

const (
    ListLockboxesSortOrderAsc  ListLockboxesSortOrderEnum = "ASC"
    ListLockboxesSortOrderDesc ListLockboxesSortOrderEnum = "DESC"
)

func GetListLockboxesSortOrderEnumValues

func GetListLockboxesSortOrderEnumValues() []ListLockboxesSortOrderEnum

GetListLockboxesSortOrderEnumValues Enumerates the set of values for ListLockboxesSortOrderEnum

func GetMappingListLockboxesSortOrderEnum

func GetMappingListLockboxesSortOrderEnum(val string) (ListLockboxesSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

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

type ListWorkRequestErrorsRequest struct {

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

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

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

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

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

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

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

type ListWorkRequestLogsRequest struct {

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

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

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

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

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

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

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

type ListWorkRequestsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

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

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

    // The ID of the resource affected by the work request.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

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

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

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

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

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

const (
    ListWorkRequestsStatusAccepted       ListWorkRequestsStatusEnum = "ACCEPTED"
    ListWorkRequestsStatusInProgress     ListWorkRequestsStatusEnum = "IN_PROGRESS"
    ListWorkRequestsStatusWaiting        ListWorkRequestsStatusEnum = "WAITING"
    ListWorkRequestsStatusFailed         ListWorkRequestsStatusEnum = "FAILED"
    ListWorkRequestsStatusSucceeded      ListWorkRequestsStatusEnum = "SUCCEEDED"
    ListWorkRequestsStatusCanceling      ListWorkRequestsStatusEnum = "CANCELING"
    ListWorkRequestsStatusCanceled       ListWorkRequestsStatusEnum = "CANCELED"
    ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
)

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 Lockbox

Lockbox Description of Lockbox.

type Lockbox struct {

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

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

    // Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The unique identifier (OCID) of associated resource that the lockbox is created for.
    ResourceId *string `mandatory:"true" json:"resourceId"`

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

    // The current state of the Lockbox.
    LifecycleState LockboxLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

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

    // The unique identifier (OCID) of partner resource using this lockbox to lock a resource
    PartnerId *string `mandatory:"false" json:"partnerId"`

    // The unique identifier (OCID) of lockbox resource using to reference parent lockbox in hybrid oma setup
    ParentLockboxId *string `mandatory:"false" json:"parentLockboxId"`

    // Compartment Identifier
    PartnerCompartmentId *string `mandatory:"false" json:"partnerCompartmentId"`

    // The partner using this lockbox to lock a resource.
    LockboxPartner LockboxPartnerEnum `mandatory:"false" json:"lockboxPartner,omitempty"`

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

    AccessContextAttributes *AccessContextAttributeCollection `mandatory:"false" json:"accessContextAttributes"`

    // Approval template ID
    ApprovalTemplateId *string `mandatory:"false" json:"approvalTemplateId"`

    // The maximum amount of time operator has access to associated resources.
    MaxAccessDuration *string `mandatory:"false" json:"maxAccessDuration"`

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

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Lockbox) String

func (m Lockbox) String() string

func (Lockbox) ValidateEnumValue

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

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

type LockboxAutoApprovalStateEnum

LockboxAutoApprovalStateEnum Enum with underlying type: string

type LockboxAutoApprovalStateEnum string

Set of constants representing the allowable values for LockboxAutoApprovalStateEnum

const (
    LockboxAutoApprovalStateEnabled  LockboxAutoApprovalStateEnum = "ENABLED"
    LockboxAutoApprovalStateDisabled LockboxAutoApprovalStateEnum = "DISABLED"
)

func GetLockboxAutoApprovalStateEnumValues

func GetLockboxAutoApprovalStateEnumValues() []LockboxAutoApprovalStateEnum

GetLockboxAutoApprovalStateEnumValues Enumerates the set of values for LockboxAutoApprovalStateEnum

func GetMappingLockboxAutoApprovalStateEnum

func GetMappingLockboxAutoApprovalStateEnum(val string) (LockboxAutoApprovalStateEnum, bool)

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

type LockboxClient

LockboxClient a client for Lockbox

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

func NewLockboxClientWithConfigurationProvider

func NewLockboxClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LockboxClient, err error)

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

func NewLockboxClientWithOboToken

func NewLockboxClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LockboxClient, err error)

NewLockboxClientWithOboToken Creates a new default Lockbox 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 (LockboxClient) CancelWorkRequest

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

func (LockboxClient) ChangeApprovalTemplateCompartment

func (client LockboxClient) ChangeApprovalTemplateCompartment(ctx context.Context, request ChangeApprovalTemplateCompartmentRequest) (response ChangeApprovalTemplateCompartmentResponse, err error)

ChangeApprovalTemplateCompartment Moves an ApprovalTemplate resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.

# See also

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

func (LockboxClient) ChangeLockboxCompartment

func (client LockboxClient) ChangeLockboxCompartment(ctx context.Context, request ChangeLockboxCompartmentRequest) (response ChangeLockboxCompartmentResponse, err error)

ChangeLockboxCompartment Moves a Lockbox resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.

# See also

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

func (*LockboxClient) ConfigurationProvider

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

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

func (LockboxClient) CreateAccessRequest

func (client LockboxClient) CreateAccessRequest(ctx context.Context, request CreateAccessRequestRequest) (response CreateAccessRequestResponse, err error)

CreateAccessRequest Creates a new access request.

# See also

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

func (LockboxClient) CreateApprovalTemplate

func (client LockboxClient) CreateApprovalTemplate(ctx context.Context, request CreateApprovalTemplateRequest) (response CreateApprovalTemplateResponse, err error)

CreateApprovalTemplate Creates a new approval template.

# See also

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

func (LockboxClient) CreateLockbox

func (client LockboxClient) CreateLockbox(ctx context.Context, request CreateLockboxRequest) (response CreateLockboxResponse, err error)

CreateLockbox Creates a new Lockbox.

# See also

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

func (LockboxClient) DeleteApprovalTemplate

func (client LockboxClient) DeleteApprovalTemplate(ctx context.Context, request DeleteApprovalTemplateRequest) (response DeleteApprovalTemplateResponse, err error)

DeleteApprovalTemplate Deletes an ApprovalTemplate resource by identifier

# See also

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

func (LockboxClient) DeleteLockbox

func (client LockboxClient) DeleteLockbox(ctx context.Context, request DeleteLockboxRequest) (response DeleteLockboxResponse, err error)

DeleteLockbox Deletes a Lockbox resource by identifier

# See also

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

func (LockboxClient) ExportAccessRequests

func (client LockboxClient) ExportAccessRequests(ctx context.Context, request ExportAccessRequestsRequest) (response ExportAccessRequestsResponse, err error)

ExportAccessRequests Exports a list of AccessRequestSummary objects within a compartment and during a specified time range in text format. You can filter the results by problem severity.

# See also

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

func (LockboxClient) GetAccessMaterials

func (client LockboxClient) GetAccessMaterials(ctx context.Context, request GetAccessMaterialsRequest) (response GetAccessMaterialsResponse, err error)

GetAccessMaterials Retrieves the access credential/material associated with the access request.

# See also

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

func (LockboxClient) GetAccessRequest

func (client LockboxClient) GetAccessRequest(ctx context.Context, request GetAccessRequestRequest) (response GetAccessRequestResponse, err error)

GetAccessRequest Retrieves an access request identified by the access request ID.

# See also

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

func (LockboxClient) GetAccessRequestInternal

func (client LockboxClient) GetAccessRequestInternal(ctx context.Context, request GetAccessRequestInternalRequest) (response GetAccessRequestInternalResponse, err error)

GetAccessRequestInternal Retrieves an access request identified by the access request ID for internal use.

# See also

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

func (LockboxClient) GetApprovalTemplate

func (client LockboxClient) GetApprovalTemplate(ctx context.Context, request GetApprovalTemplateRequest) (response GetApprovalTemplateResponse, err error)

GetApprovalTemplate Retrieves an approval template identified by the approval template ID.

# See also

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

func (LockboxClient) GetLockbox

func (client LockboxClient) GetLockbox(ctx context.Context, request GetLockboxRequest) (response GetLockboxResponse, err error)

GetLockbox Gets a Lockbox by identifier

# See also

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

func (LockboxClient) GetWorkRequest

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

func (LockboxClient) HandleAccessRequest

func (client LockboxClient) HandleAccessRequest(ctx context.Context, request HandleAccessRequestRequest) (response HandleAccessRequestResponse, err error)

HandleAccessRequest Handle the AccessRequest

# See also

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

func (LockboxClient) ListAccessRequests

func (client LockboxClient) ListAccessRequests(ctx context.Context, request ListAccessRequestsRequest) (response ListAccessRequestsResponse, err error)

ListAccessRequests Retrieves a list of AccessRequestSummary objects in a compartment.

# See also

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

func (LockboxClient) ListApprovalTemplates

func (client LockboxClient) ListApprovalTemplates(ctx context.Context, request ListApprovalTemplatesRequest) (response ListApprovalTemplatesResponse, err error)

ListApprovalTemplates Retrieves a list of ApprovalTemplateSummary objects in a compartment.

# See also

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

func (LockboxClient) ListLockboxes

func (client LockboxClient) ListLockboxes(ctx context.Context, request ListLockboxesRequest) (response ListLockboxesResponse, err error)

ListLockboxes Returns a list of Lockboxes.

# See also

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

func (LockboxClient) ListWorkRequestErrors

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

func (LockboxClient) ListWorkRequestLogs

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

func (LockboxClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

# See also

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

func (*LockboxClient) SetRegion

func (client *LockboxClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (LockboxClient) UpdateApprovalTemplate

func (client LockboxClient) UpdateApprovalTemplate(ctx context.Context, request UpdateApprovalTemplateRequest) (response UpdateApprovalTemplateResponse, err error)

UpdateApprovalTemplate Updates the ApprovalTemplate

# See also

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

func (LockboxClient) UpdateLockbox

func (client LockboxClient) UpdateLockbox(ctx context.Context, request UpdateLockboxRequest) (response UpdateLockboxResponse, err error)

UpdateLockbox Updates the Lockbox

# See also

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

type LockboxCollection

LockboxCollection Results of a lockbox search. Contains both LockboxSummary items and other information, such as metadata.

type LockboxCollection struct {

    // List of lockboxes.
    Items []LockboxSummary `mandatory:"true" json:"items"`
}

func (LockboxCollection) String

func (m LockboxCollection) String() string

func (LockboxCollection) ValidateEnumValue

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

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

type LockboxLifecycleStateEnum

LockboxLifecycleStateEnum Enum with underlying type: string

type LockboxLifecycleStateEnum string

Set of constants representing the allowable values for LockboxLifecycleStateEnum

const (
    LockboxLifecycleStateActive   LockboxLifecycleStateEnum = "ACTIVE"
    LockboxLifecycleStateCreating LockboxLifecycleStateEnum = "CREATING"
    LockboxLifecycleStateUpdating LockboxLifecycleStateEnum = "UPDATING"
    LockboxLifecycleStateDeleting LockboxLifecycleStateEnum = "DELETING"
    LockboxLifecycleStateDeleted  LockboxLifecycleStateEnum = "DELETED"
    LockboxLifecycleStateFailed   LockboxLifecycleStateEnum = "FAILED"
)

func GetLockboxLifecycleStateEnumValues

func GetLockboxLifecycleStateEnumValues() []LockboxLifecycleStateEnum

GetLockboxLifecycleStateEnumValues Enumerates the set of values for LockboxLifecycleStateEnum

func GetMappingLockboxLifecycleStateEnum

func GetMappingLockboxLifecycleStateEnum(val string) (LockboxLifecycleStateEnum, bool)

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

type LockboxPartnerEnum

LockboxPartnerEnum Enum with underlying type: string

type LockboxPartnerEnum string

Set of constants representing the allowable values for LockboxPartnerEnum

const (
    LockboxPartnerFaaas  LockboxPartnerEnum = "FAAAS"
    LockboxPartnerCanary LockboxPartnerEnum = "CANARY"
)

func GetLockboxPartnerEnumValues

func GetLockboxPartnerEnumValues() []LockboxPartnerEnum

GetLockboxPartnerEnumValues Enumerates the set of values for LockboxPartnerEnum

func GetMappingLockboxPartnerEnum

func GetMappingLockboxPartnerEnum(val string) (LockboxPartnerEnum, bool)

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

type LockboxSummary

LockboxSummary Summary of the Lockbox.

type LockboxSummary struct {

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

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

    // Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The unique identifier (OCID) of associated resource that the lockbox is created for.
    ResourceId *string `mandatory:"true" json:"resourceId"`

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

    // The current state of the Lockbox.
    LifecycleState LockboxLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

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

    // The partner using this lockbox to lock a resource.
    LockboxPartner LockboxPartnerEnum `mandatory:"false" json:"lockboxPartner,omitempty"`

    // The unique identifier (OCID) of partner resource using this lockbox to lock a resource
    PartnerId *string `mandatory:"false" json:"partnerId"`

    // Compartment Identifier
    PartnerCompartmentId *string `mandatory:"false" json:"partnerCompartmentId"`

    // Approval template ID
    ApprovalTemplateId *string `mandatory:"false" json:"approvalTemplateId"`

    // The maximum amount of time operator has access to associated resources.
    MaxAccessDuration *string `mandatory:"false" json:"maxAccessDuration"`

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

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

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (LockboxSummary) String

func (m LockboxSummary) String() string

func (LockboxSummary) ValidateEnumValue

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

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

type OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

const (
    OperationStatusAccepted       OperationStatusEnum = "ACCEPTED"
    OperationStatusInProgress     OperationStatusEnum = "IN_PROGRESS"
    OperationStatusWaiting        OperationStatusEnum = "WAITING"
    OperationStatusFailed         OperationStatusEnum = "FAILED"
    OperationStatusSucceeded      OperationStatusEnum = "SUCCEEDED"
    OperationStatusCanceling      OperationStatusEnum = "CANCELING"
    OperationStatusCanceled       OperationStatusEnum = "CANCELED"
    OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
)

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

const (
    OperationTypeCreateLockbox                OperationTypeEnum = "CREATE_LOCKBOX"
    OperationTypeUpdateLockbox                OperationTypeEnum = "UPDATE_LOCKBOX"
    OperationTypeDeleteLockbox                OperationTypeEnum = "DELETE_LOCKBOX"
    OperationTypeMoveLockbox                  OperationTypeEnum = "MOVE_LOCKBOX"
    OperationTypeCreateAccessRequest          OperationTypeEnum = "CREATE_ACCESS_REQUEST"
    OperationTypeApproveAccessRequest         OperationTypeEnum = "APPROVE_ACCESS_REQUEST"
    OperationTypeRevokeAccessRequest          OperationTypeEnum = "REVOKE_ACCESS_REQUEST"
    OperationTypeCreateApprovalTemplate       OperationTypeEnum = "CREATE_APPROVAL_TEMPLATE"
    OperationTypeMoveApprovalTemplate         OperationTypeEnum = "MOVE_APPROVAL_TEMPLATE"
    OperationTypeUpdateApprovalTemplate       OperationTypeEnum = "UPDATE_APPROVAL_TEMPLATE"
    OperationTypeDeleteApprovalTemplate       OperationTypeEnum = "DELETE_APPROVAL_TEMPLATE"
    OperationTypeCreatePartner                OperationTypeEnum = "CREATE_PARTNER"
    OperationTypeRemindAccessRequest          OperationTypeEnum = "REMIND_ACCESS_REQUEST"
    OperationTypeCreateAccesscontextattribute OperationTypeEnum = "CREATE_ACCESSCONTEXTATTRIBUTE"
)

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 PersonaLevelEnum

PersonaLevelEnum Enum with underlying type: string

type PersonaLevelEnum string

Set of constants representing the allowable values for PersonaLevelEnum

const (
    PersonaLevelLevel1   PersonaLevelEnum = "LEVEL1"
    PersonaLevelLevel2   PersonaLevelEnum = "LEVEL2"
    PersonaLevelLevel3   PersonaLevelEnum = "LEVEL3"
    PersonaLevelAdmin    PersonaLevelEnum = "ADMIN"
    PersonaLevelOperator PersonaLevelEnum = "OPERATOR"
)

func GetMappingPersonaLevelEnum

func GetMappingPersonaLevelEnum(val string) (PersonaLevelEnum, bool)

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

func GetPersonaLevelEnumValues

func GetPersonaLevelEnumValues() []PersonaLevelEnum

GetPersonaLevelEnumValues Enumerates the set of values for PersonaLevelEnum

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

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

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdateApprovalTemplateDetails

UpdateApprovalTemplateDetails The action to be updated.

type UpdateApprovalTemplateDetails struct {
    ApproverLevels *ApproverLevels `mandatory:"false" json:"approverLevels"`

    // approval template identifier
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The auto approval state of the lockbox.
    AutoApprovalState LockboxAutoApprovalStateEnum `mandatory:"false" json:"autoApprovalState,omitempty"`

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

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

func (UpdateApprovalTemplateDetails) String

func (m UpdateApprovalTemplateDetails) String() string

func (UpdateApprovalTemplateDetails) ValidateEnumValue

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

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

type UpdateApprovalTemplateRequest

UpdateApprovalTemplateRequest wrapper for the UpdateApprovalTemplate operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/UpdateApprovalTemplate.go.html to see an example of how to use UpdateApprovalTemplateRequest.

type UpdateApprovalTemplateRequest struct {

    // The unique identifier (OCID) of the approval template.
    ApprovalTemplateId *string `mandatory:"true" contributesTo:"path" name:"approvalTemplateId"`

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateApprovalTemplateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateApprovalTemplateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateApprovalTemplateRequest) RetryPolicy

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

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

func (UpdateApprovalTemplateRequest) String

func (request UpdateApprovalTemplateRequest) String() string

func (UpdateApprovalTemplateRequest) ValidateEnumValue

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

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

type UpdateApprovalTemplateResponse

UpdateApprovalTemplateResponse wrapper for the UpdateApprovalTemplate operation

type UpdateApprovalTemplateResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateApprovalTemplateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateApprovalTemplateResponse) String

func (response UpdateApprovalTemplateResponse) String() string

type UpdateLockboxDetails

UpdateLockboxDetails The information to be updated.

type UpdateLockboxDetails struct {

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

    // Approval template ID
    ApprovalTemplateId *string `mandatory:"false" json:"approvalTemplateId"`

    // The maximum amount of time operator has access to associated resources.
    MaxAccessDuration *string `mandatory:"false" json:"maxAccessDuration"`

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

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

func (UpdateLockboxDetails) String

func (m UpdateLockboxDetails) String() string

func (UpdateLockboxDetails) ValidateEnumValue

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

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

type UpdateLockboxRequest

UpdateLockboxRequest wrapper for the UpdateLockbox operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/lockbox/UpdateLockbox.go.html to see an example of how to use UpdateLockboxRequest.

type UpdateLockboxRequest struct {

    // unique Lockbox identifier
    LockboxId *string `mandatory:"true" contributesTo:"path" name:"lockboxId"`

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateLockboxRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateLockboxRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateLockboxRequest) RetryPolicy

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

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

func (UpdateLockboxRequest) String

func (request UpdateLockboxRequest) String() string

func (UpdateLockboxRequest) ValidateEnumValue

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

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

type UpdateLockboxResponse

UpdateLockboxResponse wrapper for the UpdateLockbox operation

type UpdateLockboxResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateLockboxResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateLockboxResponse) String

func (response UpdateLockboxResponse) String() string

type WorkRequest

WorkRequest A description of workrequest status

type WorkRequest struct {

    // Type of the work request
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The id of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The ocid of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (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

WorkRequestError An error encountered while executing a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occured. Error codes are listed on
    // (https://docs.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"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // List of workRequestError objects.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

WorkRequestLogEntry A log message from the execution of a work request.

type WorkRequestLogEntry struct {

    // Human-readable log message.
    Message *string `mandatory:"true" json:"message"`

    // The time the log message was written. An RFC3339 formatted datetime string
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // List of workRequestLogEntries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestResource

WorkRequestResource A resource created or operated on by a work request.

type WorkRequestResource struct {

    // The resource type the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the work tracked in the work request.
    // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
    // work is complete for that resource at which point it will transition to CREATED, UPDATED,
    // or DELETED, respectively.
    ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

    // The identifier of the resource the work request affects.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that the user can do a GET on to access the resource metadata
    EntityUri *string `mandatory:"false" json:"entityUri"`

    // Additional information that helps to explain the resource.
    Metadata map[string]string `mandatory:"false" json:"metadata"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestResourceMetadataKeyEnum

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

type WorkRequestResourceMetadataKeyEnum string

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

const (
    WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

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

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

WorkRequestSummary A summary of the status of a work request.

type WorkRequestSummary struct {

    // Type of the work request
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The id of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The ocid of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (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

WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // List of workRequestSummary objects.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

func (WorkRequestSummaryCollection) String

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