Documentation
¶
Index ¶
- func GetActivityItemActivityAuthorEnumStringValues() []string
- func GetActivityItemActivityTypeEnumStringValues() []string
- func GetActivityItemItemStatusEnumStringValues() []string
- func GetActivityItemItemTypeEnumStringValues() []string
- func GetClassifierScopeEnumStringValues() []string
- func GetClassifierUnitEnumStringValues() []string
- func GetContactContactTypeEnumStringValues() []string
- func GetCreateTicketDetailsSeverityEnumStringValues() []string
- func GetErrorCodeEnumStringValues() []string
- func GetLifecycleDetailsEnumStringValues() []string
- func GetLifecycleStateEnumStringValues() []string
- func GetLimitItemLimitStatusEnumStringValues() []string
- func GetListIncidentResourceTypesSortByEnumStringValues() []string
- func GetListIncidentResourceTypesSortOrderEnumStringValues() []string
- func GetListIncidentsLifecycleStateEnumStringValues() []string
- func GetListIncidentsSortByEnumStringValues() []string
- func GetListIncidentsSortOrderEnumStringValues() []string
- func GetProblemTypeEnumStringValues() []string
- func GetScopeEnumStringValues() []string
- func GetSortByEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- func GetTicketSeverityEnumStringValues() []string
- func GetTimeZoneEnumStringValues() []string
- func GetUnitEnumStringValues() []string
- func GetUpdateActivityItemDetailsActivityTypeEnumStringValues() []string
- func GetValidateUserProblemTypeEnumStringValues() []string
- type AccountItem
- func (m AccountItem) GetCategory() *Category
- func (m AccountItem) GetIssueType() *IssueType
- func (m AccountItem) GetItemKey() *string
- func (m AccountItem) GetName() *string
- func (m AccountItem) GetSubCategory() *SubCategory
- func (m AccountItem) MarshalJSON() (buff []byte, e error)
- func (m AccountItem) String() string
- func (m AccountItem) ValidateEnumValue() (bool, error)
- type ActivityItem
- func (m ActivityItem) GetCategory() *Category
- func (m ActivityItem) GetIssueType() *IssueType
- func (m ActivityItem) GetItemKey() *string
- func (m ActivityItem) GetName() *string
- func (m ActivityItem) GetSubCategory() *SubCategory
- func (m ActivityItem) MarshalJSON() (buff []byte, e error)
- func (m ActivityItem) String() string
- func (m ActivityItem) ValidateEnumValue() (bool, error)
- type ActivityItemActivityAuthorEnum
- type ActivityItemActivityTypeEnum
- type ActivityItemItemStatusEnum
- type ActivityItemItemTypeEnum
- type Category
- type Classifier
- type ClassifierScopeEnum
- type ClassifierUnitEnum
- type CmosUserGroupInfo
- type Contact
- type ContactContactTypeEnum
- type ContactList
- type ContextualData
- type CreateAccountItemDetails
- func (m CreateAccountItemDetails) GetCategory() *CreateCategoryDetails
- func (m CreateAccountItemDetails) GetIssueType() *CreateIssueTypeDetails
- func (m CreateAccountItemDetails) GetName() *string
- func (m CreateAccountItemDetails) GetSubCategory() *CreateSubCategoryDetails
- func (m CreateAccountItemDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateAccountItemDetails) String() string
- func (m CreateAccountItemDetails) ValidateEnumValue() (bool, error)
- type CreateCategoryDetails
- type CreateIncident
- type CreateIncidentRequest
- func (request CreateIncidentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateIncidentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateIncidentRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateIncidentRequest) String() string
- func (request CreateIncidentRequest) ValidateEnumValue() (bool, error)
- type CreateIncidentResponse
- type CreateIssueTypeDetails
- type CreateItemDetails
- type CreateLimitItemDetails
- func (m CreateLimitItemDetails) GetCategory() *CreateCategoryDetails
- func (m CreateLimitItemDetails) GetIssueType() *CreateIssueTypeDetails
- func (m CreateLimitItemDetails) GetName() *string
- func (m CreateLimitItemDetails) GetSubCategory() *CreateSubCategoryDetails
- func (m CreateLimitItemDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateLimitItemDetails) String() string
- func (m CreateLimitItemDetails) ValidateEnumValue() (bool, error)
- type CreateResourceDetails
- type CreateSubCategoryDetails
- type CreateTechSupportItemDetails
- func (m CreateTechSupportItemDetails) GetCategory() *CreateCategoryDetails
- func (m CreateTechSupportItemDetails) GetIssueType() *CreateIssueTypeDetails
- func (m CreateTechSupportItemDetails) GetName() *string
- func (m CreateTechSupportItemDetails) GetSubCategory() *CreateSubCategoryDetails
- func (m CreateTechSupportItemDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateTechSupportItemDetails) String() string
- func (m CreateTechSupportItemDetails) ValidateEnumValue() (bool, error)
- type CreateTicketDetails
- type CreateTicketDetailsSeverityEnum
- type CreateUserDetails
- type ErrorCodeEnum
- type GetCsiNumberRequest
- func (request GetCsiNumberRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetCsiNumberRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetCsiNumberRequest) RetryPolicy() *common.RetryPolicy
- func (request GetCsiNumberRequest) String() string
- func (request GetCsiNumberRequest) ValidateEnumValue() (bool, error)
- type GetCsiNumberResponse
- type GetIncidentRequest
- func (request GetIncidentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetIncidentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetIncidentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetIncidentRequest) String() string
- func (request GetIncidentRequest) ValidateEnumValue() (bool, error)
- type GetIncidentResponse
- type GetStatusRequest
- func (request GetStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetStatusRequest) RetryPolicy() *common.RetryPolicy
- func (request GetStatusRequest) String() string
- func (request GetStatusRequest) ValidateEnumValue() (bool, error)
- type GetStatusResponse
- type Incident
- type IncidentClient
- func (client *IncidentClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client IncidentClient) CreateIncident(ctx context.Context, request CreateIncidentRequest) (response CreateIncidentResponse, err error)
- func (client IncidentClient) GetIncident(ctx context.Context, request GetIncidentRequest) (response GetIncidentResponse, err error)
- func (client IncidentClient) ListIncidentResourceTypes(ctx context.Context, request ListIncidentResourceTypesRequest) (response ListIncidentResourceTypesResponse, err error)
- func (client IncidentClient) ListIncidents(ctx context.Context, request ListIncidentsRequest) (response ListIncidentsResponse, err error)
- func (client *IncidentClient) SetRegion(region string)
- func (client IncidentClient) UpdateIncident(ctx context.Context, request UpdateIncidentRequest) (response UpdateIncidentResponse, err error)
- func (client IncidentClient) ValidateUser(ctx context.Context, request ValidateUserRequest) (response ValidateUserResponse, err error)
- type IncidentResourceType
- type IncidentSummary
- type IncidentType
- type IssueType
- type Item
- type LifecycleDetailsEnum
- type LifecycleStateEnum
- type LimitItem
- func (m LimitItem) GetCategory() *Category
- func (m LimitItem) GetIssueType() *IssueType
- func (m LimitItem) GetItemKey() *string
- func (m LimitItem) GetName() *string
- func (m LimitItem) GetSubCategory() *SubCategory
- func (m LimitItem) MarshalJSON() (buff []byte, e error)
- func (m LimitItem) String() string
- func (m LimitItem) ValidateEnumValue() (bool, error)
- type LimitItemLimitStatusEnum
- type ListIncidentResourceTypesRequest
- func (request ListIncidentResourceTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListIncidentResourceTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListIncidentResourceTypesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListIncidentResourceTypesRequest) String() string
- func (request ListIncidentResourceTypesRequest) ValidateEnumValue() (bool, error)
- type ListIncidentResourceTypesResponse
- type ListIncidentResourceTypesSortByEnum
- type ListIncidentResourceTypesSortOrderEnum
- type ListIncidentsLifecycleStateEnum
- type ListIncidentsRequest
- func (request ListIncidentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListIncidentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListIncidentsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListIncidentsRequest) String() string
- func (request ListIncidentsRequest) ValidateEnumValue() (bool, error)
- type ListIncidentsResponse
- type ListIncidentsSortByEnum
- type ListIncidentsSortOrderEnum
- type ProblemTypeEnum
- type Resource
- type ScopeEnum
- type ServiceCategories
- type ServiceCategory
- type Services
- type SortByEnum
- type SortOrderEnum
- type Status
- type SubCategories
- type SubCategory
- type SubComponents
- type SubscriptionInfo
- type TechSupportItem
- func (m TechSupportItem) GetCategory() *Category
- func (m TechSupportItem) GetIssueType() *IssueType
- func (m TechSupportItem) GetItemKey() *string
- func (m TechSupportItem) GetName() *string
- func (m TechSupportItem) GetSubCategory() *SubCategory
- func (m TechSupportItem) MarshalJSON() (buff []byte, e error)
- func (m TechSupportItem) String() string
- func (m TechSupportItem) ValidateEnumValue() (bool, error)
- type TenancyInformation
- type Ticket
- type TicketSeverityEnum
- type TimeZoneEnum
- type UnitEnum
- type UpdateActivityItemDetails
- type UpdateActivityItemDetailsActivityTypeEnum
- type UpdateIncident
- type UpdateIncidentRequest
- func (request UpdateIncidentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateIncidentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateIncidentRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateIncidentRequest) String() string
- func (request UpdateIncidentRequest) ValidateEnumValue() (bool, error)
- type UpdateIncidentResponse
- type UpdateItemDetails
- type UpdateResourceDetails
- type UpdateTicketDetails
- type User
- type ValidateUserProblemTypeEnum
- type ValidateUserRequest
- func (request ValidateUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ValidateUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ValidateUserRequest) RetryPolicy() *common.RetryPolicy
- func (request ValidateUserRequest) String() string
- func (request ValidateUserRequest) ValidateEnumValue() (bool, error)
- type ValidateUserResponse
- type ValidationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActivityItemActivityAuthorEnumStringValues ¶
func GetActivityItemActivityAuthorEnumStringValues() []string
GetActivityItemActivityAuthorEnumStringValues Enumerates the set of values in String for ActivityItemActivityAuthorEnum
func GetActivityItemActivityTypeEnumStringValues ¶
func GetActivityItemActivityTypeEnumStringValues() []string
GetActivityItemActivityTypeEnumStringValues Enumerates the set of values in String for ActivityItemActivityTypeEnum
func GetActivityItemItemStatusEnumStringValues ¶ added in v65.49.0
func GetActivityItemItemStatusEnumStringValues() []string
GetActivityItemItemStatusEnumStringValues Enumerates the set of values in String for ActivityItemItemStatusEnum
func GetActivityItemItemTypeEnumStringValues ¶ added in v65.49.0
func GetActivityItemItemTypeEnumStringValues() []string
GetActivityItemItemTypeEnumStringValues Enumerates the set of values in String for ActivityItemItemTypeEnum
func GetClassifierScopeEnumStringValues ¶
func GetClassifierScopeEnumStringValues() []string
GetClassifierScopeEnumStringValues Enumerates the set of values in String for ClassifierScopeEnum
func GetClassifierUnitEnumStringValues ¶
func GetClassifierUnitEnumStringValues() []string
GetClassifierUnitEnumStringValues Enumerates the set of values in String for ClassifierUnitEnum
func GetContactContactTypeEnumStringValues ¶
func GetContactContactTypeEnumStringValues() []string
GetContactContactTypeEnumStringValues Enumerates the set of values in String for ContactContactTypeEnum
func GetCreateTicketDetailsSeverityEnumStringValues ¶
func GetCreateTicketDetailsSeverityEnumStringValues() []string
GetCreateTicketDetailsSeverityEnumStringValues Enumerates the set of values in String for CreateTicketDetailsSeverityEnum
func GetErrorCodeEnumStringValues ¶
func GetErrorCodeEnumStringValues() []string
GetErrorCodeEnumStringValues Enumerates the set of values in String for ErrorCodeEnum
func GetLifecycleDetailsEnumStringValues ¶
func GetLifecycleDetailsEnumStringValues() []string
GetLifecycleDetailsEnumStringValues Enumerates the set of values in String for LifecycleDetailsEnum
func GetLifecycleStateEnumStringValues ¶
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetLimitItemLimitStatusEnumStringValues ¶
func GetLimitItemLimitStatusEnumStringValues() []string
GetLimitItemLimitStatusEnumStringValues Enumerates the set of values in String for LimitItemLimitStatusEnum
func GetListIncidentResourceTypesSortByEnumStringValues ¶
func GetListIncidentResourceTypesSortByEnumStringValues() []string
GetListIncidentResourceTypesSortByEnumStringValues Enumerates the set of values in String for ListIncidentResourceTypesSortByEnum
func GetListIncidentResourceTypesSortOrderEnumStringValues ¶
func GetListIncidentResourceTypesSortOrderEnumStringValues() []string
GetListIncidentResourceTypesSortOrderEnumStringValues Enumerates the set of values in String for ListIncidentResourceTypesSortOrderEnum
func GetListIncidentsLifecycleStateEnumStringValues ¶
func GetListIncidentsLifecycleStateEnumStringValues() []string
GetListIncidentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListIncidentsLifecycleStateEnum
func GetListIncidentsSortByEnumStringValues ¶
func GetListIncidentsSortByEnumStringValues() []string
GetListIncidentsSortByEnumStringValues Enumerates the set of values in String for ListIncidentsSortByEnum
func GetListIncidentsSortOrderEnumStringValues ¶
func GetListIncidentsSortOrderEnumStringValues() []string
GetListIncidentsSortOrderEnumStringValues Enumerates the set of values in String for ListIncidentsSortOrderEnum
func GetProblemTypeEnumStringValues ¶
func GetProblemTypeEnumStringValues() []string
GetProblemTypeEnumStringValues Enumerates the set of values in String for ProblemTypeEnum
func GetScopeEnumStringValues ¶
func GetScopeEnumStringValues() []string
GetScopeEnumStringValues Enumerates the set of values in String for ScopeEnum
func GetSortByEnumStringValues ¶
func GetSortByEnumStringValues() []string
GetSortByEnumStringValues Enumerates the set of values in String for SortByEnum
func GetSortOrderEnumStringValues ¶
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetTicketSeverityEnumStringValues ¶
func GetTicketSeverityEnumStringValues() []string
GetTicketSeverityEnumStringValues Enumerates the set of values in String for TicketSeverityEnum
func GetTimeZoneEnumStringValues ¶
func GetTimeZoneEnumStringValues() []string
GetTimeZoneEnumStringValues Enumerates the set of values in String for TimeZoneEnum
func GetUnitEnumStringValues ¶
func GetUnitEnumStringValues() []string
GetUnitEnumStringValues Enumerates the set of values in String for UnitEnum
func GetUpdateActivityItemDetailsActivityTypeEnumStringValues ¶
func GetUpdateActivityItemDetailsActivityTypeEnumStringValues() []string
GetUpdateActivityItemDetailsActivityTypeEnumStringValues Enumerates the set of values in String for UpdateActivityItemDetailsActivityTypeEnum
func GetValidateUserProblemTypeEnumStringValues ¶ added in v65.49.0
func GetValidateUserProblemTypeEnumStringValues() []string
GetValidateUserProblemTypeEnumStringValues Enumerates the set of values in String for ValidateUserProblemTypeEnum
Types ¶
type AccountItem ¶ added in v65.49.0
type AccountItem struct { // Unique identifier for the item. ItemKey *string `mandatory:"false" json:"itemKey"` // The display name of the item. Avoid entering confidential information. Name *string `mandatory:"false" json:"name"` Category *Category `mandatory:"false" json:"category"` SubCategory *SubCategory `mandatory:"false" json:"subCategory"` IssueType *IssueType `mandatory:"false" json:"issueType"` }
AccountItem Details about the AccountItem object.
func (AccountItem) GetCategory ¶ added in v65.49.0
func (m AccountItem) GetCategory() *Category
GetCategory returns Category
func (AccountItem) GetIssueType ¶ added in v65.49.0
func (m AccountItem) GetIssueType() *IssueType
GetIssueType returns IssueType
func (AccountItem) GetItemKey ¶ added in v65.49.0
func (m AccountItem) GetItemKey() *string
GetItemKey returns ItemKey
func (AccountItem) GetName ¶ added in v65.49.0
func (m AccountItem) GetName() *string
GetName returns Name
func (AccountItem) GetSubCategory ¶ added in v65.49.0
func (m AccountItem) GetSubCategory() *SubCategory
GetSubCategory returns SubCategory
func (AccountItem) MarshalJSON ¶ added in v65.49.0
func (m AccountItem) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AccountItem) String ¶ added in v65.49.0
func (m AccountItem) String() string
func (AccountItem) ValidateEnumValue ¶ added in v65.49.0
func (m AccountItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ActivityItem ¶
type ActivityItem struct { // Comments added with the activity on the support ticket. Comments *string `mandatory:"true" json:"comments"` // The time when the activity was created, in seconds since epoch time. TimeCreated *int `mandatory:"true" json:"timeCreated"` // The time when the activity was updated, in seconds since epoch time. TimeUpdated *int `mandatory:"true" json:"timeUpdated"` // Unique identifier for the item. ItemKey *string `mandatory:"false" json:"itemKey"` // The display name of the item. Avoid entering confidential information. Name *string `mandatory:"false" json:"name"` Category *Category `mandatory:"false" json:"category"` SubCategory *SubCategory `mandatory:"false" json:"subCategory"` IssueType *IssueType `mandatory:"false" json:"issueType"` // attachmentID for the ItemType Attachments only for Alloy realm. AttachmentID *string `mandatory:"false" json:"attachmentID"` // The type of activity occuring on the support ticket. ActivityType ActivityItemActivityTypeEnum `mandatory:"true" json:"activityType"` ActivityAuthor ActivityItemActivityAuthorEnum `mandatory:"true" json:"activityAuthor"` ItemType ActivityItemItemTypeEnum `mandatory:"false" json:"itemType,omitempty"` // Who updates the activity on the support ticket. ItemStatus ActivityItemItemStatusEnum `mandatory:"false" json:"itemStatus,omitempty"` }
ActivityItem Details about the ActivityItem object.
func (ActivityItem) GetCategory ¶
func (m ActivityItem) GetCategory() *Category
GetCategory returns Category
func (ActivityItem) GetIssueType ¶
func (m ActivityItem) GetIssueType() *IssueType
GetIssueType returns IssueType
func (ActivityItem) GetItemKey ¶
func (m ActivityItem) GetItemKey() *string
GetItemKey returns ItemKey
func (ActivityItem) GetSubCategory ¶
func (m ActivityItem) GetSubCategory() *SubCategory
GetSubCategory returns SubCategory
func (ActivityItem) MarshalJSON ¶
func (m ActivityItem) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ActivityItem) String ¶
func (m ActivityItem) String() string
func (ActivityItem) ValidateEnumValue ¶
func (m ActivityItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ActivityItemActivityAuthorEnum ¶
type ActivityItemActivityAuthorEnum string
ActivityItemActivityAuthorEnum Enum with underlying type: string
const ( ActivityItemActivityAuthorCustomer ActivityItemActivityAuthorEnum = "CUSTOMER" ActivityItemActivityAuthorOracle ActivityItemActivityAuthorEnum = "ORACLE" )
Set of constants representing the allowable values for ActivityItemActivityAuthorEnum
func GetActivityItemActivityAuthorEnumValues ¶
func GetActivityItemActivityAuthorEnumValues() []ActivityItemActivityAuthorEnum
GetActivityItemActivityAuthorEnumValues Enumerates the set of values for ActivityItemActivityAuthorEnum
func GetMappingActivityItemActivityAuthorEnum ¶
func GetMappingActivityItemActivityAuthorEnum(val string) (ActivityItemActivityAuthorEnum, bool)
GetMappingActivityItemActivityAuthorEnum performs case Insensitive comparison on enum value and return the desired enum
type ActivityItemActivityTypeEnum ¶
type ActivityItemActivityTypeEnum string
ActivityItemActivityTypeEnum Enum with underlying type: string
const ( ActivityItemActivityTypeNotes ActivityItemActivityTypeEnum = "NOTES" ActivityItemActivityTypeProblemDescription ActivityItemActivityTypeEnum = "PROBLEM_DESCRIPTION" ActivityItemActivityTypeUpdate ActivityItemActivityTypeEnum = "UPDATE" ActivityItemActivityTypeClose ActivityItemActivityTypeEnum = "CLOSE" ActivityItemActivityTypeReopen ActivityItemActivityTypeEnum = "REOPEN" )
Set of constants representing the allowable values for ActivityItemActivityTypeEnum
func GetActivityItemActivityTypeEnumValues ¶
func GetActivityItemActivityTypeEnumValues() []ActivityItemActivityTypeEnum
GetActivityItemActivityTypeEnumValues Enumerates the set of values for ActivityItemActivityTypeEnum
func GetMappingActivityItemActivityTypeEnum ¶
func GetMappingActivityItemActivityTypeEnum(val string) (ActivityItemActivityTypeEnum, bool)
GetMappingActivityItemActivityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ActivityItemItemStatusEnum ¶ added in v65.49.0
type ActivityItemItemStatusEnum string
ActivityItemItemStatusEnum Enum with underlying type: string
const ( ActivityItemItemStatusProcessing ActivityItemItemStatusEnum = "PROCESSING" ActivityItemItemStatusAttached ActivityItemItemStatusEnum = "ATTACHED" ActivityItemItemStatusRemoved ActivityItemItemStatusEnum = "REMOVED" ActivityItemItemStatusFailed ActivityItemItemStatusEnum = "FAILED" )
Set of constants representing the allowable values for ActivityItemItemStatusEnum
func GetActivityItemItemStatusEnumValues ¶ added in v65.49.0
func GetActivityItemItemStatusEnumValues() []ActivityItemItemStatusEnum
GetActivityItemItemStatusEnumValues Enumerates the set of values for ActivityItemItemStatusEnum
func GetMappingActivityItemItemStatusEnum ¶ added in v65.49.0
func GetMappingActivityItemItemStatusEnum(val string) (ActivityItemItemStatusEnum, bool)
GetMappingActivityItemItemStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type ActivityItemItemTypeEnum ¶ added in v65.49.0
type ActivityItemItemTypeEnum string
ActivityItemItemTypeEnum Enum with underlying type: string
const ( ActivityItemItemTypeAttachments ActivityItemItemTypeEnum = "ATTACHMENTS" ActivityItemItemTypeComments ActivityItemItemTypeEnum = "COMMENTS" )
Set of constants representing the allowable values for ActivityItemItemTypeEnum
func GetActivityItemItemTypeEnumValues ¶ added in v65.49.0
func GetActivityItemItemTypeEnumValues() []ActivityItemItemTypeEnum
GetActivityItemItemTypeEnumValues Enumerates the set of values for ActivityItemItemTypeEnum
func GetMappingActivityItemItemTypeEnum ¶ added in v65.49.0
func GetMappingActivityItemItemTypeEnum(val string) (ActivityItemItemTypeEnum, bool)
GetMappingActivityItemItemTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type Category ¶
type Category struct { // Unique identifier for the service category. CategoryKey *string `mandatory:"false" json:"categoryKey"` // The name of the service category. For example, `Compute` or `Identity`. Name *string `mandatory:"false" json:"name"` }
Category Details about the service category associated with the support ticket.
func (Category) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type Classifier ¶
type Classifier struct { // Unique identifier of the classifier. Id *string `mandatory:"false" json:"id"` // The display name of the classifier. Name *string `mandatory:"false" json:"name"` // The label associated with the classifier. Label *string `mandatory:"false" json:"label"` // The description of the classifier. Description *string `mandatory:"false" json:"description"` // The list of issues. IssueTypeList []IssueType `mandatory:"false" json:"issueTypeList"` // The scope of the service category or resource. Scope ClassifierScopeEnum `mandatory:"false" json:"scope,omitempty"` // The unit to use to measure the service category or resource. Unit ClassifierUnitEnum `mandatory:"false" json:"unit,omitempty"` }
Classifier Details about the incident classifier object.
func (Classifier) String ¶
func (m Classifier) String() string
func (Classifier) ValidateEnumValue ¶
func (m Classifier) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ClassifierScopeEnum ¶
type ClassifierScopeEnum string
ClassifierScopeEnum Enum with underlying type: string
const ( ClassifierScopeAd ClassifierScopeEnum = "AD" ClassifierScopeRegion ClassifierScopeEnum = "REGION" ClassifierScopeTenancy ClassifierScopeEnum = "TENANCY" ClassifierScopeNone ClassifierScopeEnum = "NONE" )
Set of constants representing the allowable values for ClassifierScopeEnum
func GetClassifierScopeEnumValues ¶
func GetClassifierScopeEnumValues() []ClassifierScopeEnum
GetClassifierScopeEnumValues Enumerates the set of values for ClassifierScopeEnum
func GetMappingClassifierScopeEnum ¶
func GetMappingClassifierScopeEnum(val string) (ClassifierScopeEnum, bool)
GetMappingClassifierScopeEnum performs case Insensitive comparison on enum value and return the desired enum
type ClassifierUnitEnum ¶
type ClassifierUnitEnum string
ClassifierUnitEnum Enum with underlying type: string
const ( ClassifierUnitCount ClassifierUnitEnum = "COUNT" ClassifierUnitGb ClassifierUnitEnum = "GB" ClassifierUnitNone ClassifierUnitEnum = "NONE" )
Set of constants representing the allowable values for ClassifierUnitEnum
func GetClassifierUnitEnumValues ¶
func GetClassifierUnitEnumValues() []ClassifierUnitEnum
GetClassifierUnitEnumValues Enumerates the set of values for ClassifierUnitEnum
func GetMappingClassifierUnitEnum ¶
func GetMappingClassifierUnitEnum(val string) (ClassifierUnitEnum, bool)
GetMappingClassifierUnitEnum performs case Insensitive comparison on enum value and return the desired enum
type CmosUserGroupInfo ¶ added in v65.79.0
type CmosUserGroupInfo struct { // Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal. UserGroupId *string `mandatory:"false" json:"userGroupId"` // Technical support type (`TECH`) only: Name of the support request's user group in My Oracle Cloud Support portal. UserGroupName *string `mandatory:"false" json:"userGroupName"` }
CmosUserGroupInfo Identifier and name of the technical support request's user group (`userGroupId` and `userGroupName`).
func (CmosUserGroupInfo) String ¶ added in v65.79.0
func (m CmosUserGroupInfo) String() string
func (CmosUserGroupInfo) ValidateEnumValue ¶ added in v65.79.0
func (m CmosUserGroupInfo) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type Contact ¶
type Contact struct { // The name of the contact person. ContactName *string `mandatory:"false" json:"contactName"` // The email of the contact person. ContactEmail *string `mandatory:"false" json:"contactEmail"` // The email of the contact person. Email *string `mandatory:"false" json:"email"` // The phone number of the contact person. ContactPhone *string `mandatory:"false" json:"contactPhone"` // The type of contact, such as primary or alternate. ContactType ContactContactTypeEnum `mandatory:"false" json:"contactType,omitempty"` }
Contact Contact details for the customer. Avoid entering confidential information.
func (Contact) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ContactContactTypeEnum ¶
type ContactContactTypeEnum string
ContactContactTypeEnum Enum with underlying type: string
const ( ContactContactTypePrimary ContactContactTypeEnum = "PRIMARY" ContactContactTypeAlternate ContactContactTypeEnum = "ALTERNATE" ContactContactTypeSecondary ContactContactTypeEnum = "SECONDARY" ContactContactTypeAdmin ContactContactTypeEnum = "ADMIN" ContactContactTypeManager ContactContactTypeEnum = "MANAGER" )
Set of constants representing the allowable values for ContactContactTypeEnum
func GetContactContactTypeEnumValues ¶
func GetContactContactTypeEnumValues() []ContactContactTypeEnum
GetContactContactTypeEnumValues Enumerates the set of values for ContactContactTypeEnum
func GetMappingContactContactTypeEnum ¶
func GetMappingContactContactTypeEnum(val string) (ContactContactTypeEnum, bool)
GetMappingContactContactTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ContactList ¶
type ContactList struct { // The list of contacts. ContactList []Contact `mandatory:"true" json:"contactList"` }
ContactList The list of contacts for the ticket.
func (ContactList) String ¶
func (m ContactList) String() string
func (ContactList) ValidateEnumValue ¶
func (m ContactList) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ContextualData ¶
type ContextualData struct { // The unique identifier for the client. ClientId *string `mandatory:"true" json:"clientId"` // The name assigned to the schema. SchemaName *string `mandatory:"true" json:"schemaName"` // The version of the schema. SchemaVersion *string `mandatory:"true" json:"schemaVersion"` // The payload for the contextual data. Payload *string `mandatory:"true" json:"payload"` }
ContextualData Information collected from user context during ticket creation.
func (ContextualData) String ¶
func (m ContextualData) String() string
func (ContextualData) ValidateEnumValue ¶
func (m ContextualData) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateAccountItemDetails ¶ added in v65.49.0
type CreateAccountItemDetails struct { Category *CreateCategoryDetails `mandatory:"false" json:"category"` SubCategory *CreateSubCategoryDetails `mandatory:"false" json:"subCategory"` IssueType *CreateIssueTypeDetails `mandatory:"false" json:"issueType"` // The display name of the ticket. Avoid entering confidential information. Name *string `mandatory:"false" json:"name"` }
CreateAccountItemDetails Details about the issue that the account support ticket relates to. Avoid entering confidential information. For information about `ACCOUNT` support tickets, see Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm).
func (CreateAccountItemDetails) GetCategory ¶ added in v65.49.0
func (m CreateAccountItemDetails) GetCategory() *CreateCategoryDetails
GetCategory returns Category
func (CreateAccountItemDetails) GetIssueType ¶ added in v65.49.0
func (m CreateAccountItemDetails) GetIssueType() *CreateIssueTypeDetails
GetIssueType returns IssueType
func (CreateAccountItemDetails) GetName ¶ added in v65.49.0
func (m CreateAccountItemDetails) GetName() *string
GetName returns Name
func (CreateAccountItemDetails) GetSubCategory ¶ added in v65.49.0
func (m CreateAccountItemDetails) GetSubCategory() *CreateSubCategoryDetails
GetSubCategory returns SubCategory
func (CreateAccountItemDetails) MarshalJSON ¶ added in v65.49.0
func (m CreateAccountItemDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateAccountItemDetails) String ¶ added in v65.49.0
func (m CreateAccountItemDetails) String() string
func (CreateAccountItemDetails) ValidateEnumValue ¶ added in v65.49.0
func (m CreateAccountItemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateCategoryDetails ¶
type CreateCategoryDetails struct { // Unique identifier for the service category. CategoryKey *string `mandatory:"false" json:"categoryKey"` }
CreateCategoryDetails Details for creating the category of the support ticket.
func (CreateCategoryDetails) String ¶
func (m CreateCategoryDetails) String() string
func (CreateCategoryDetails) ValidateEnumValue ¶
func (m CreateCategoryDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateIncident ¶
type CreateIncident struct { // The OCID of the tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` Ticket *CreateTicketDetails `mandatory:"true" json:"ticket"` // The kind of support ticket (type of support request). // For information about `ACCOUNT` support tickets, see // Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). // For information about `LIMIT` support tickets, see // Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). // For information about `TECH` support tickets, see // Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). ProblemType ProblemTypeEnum `mandatory:"true" json:"problemType"` // The Customer Support Identifier (CSI) number associated with the support account. // The CSI is optional for all support request types. Csi *string `mandatory:"false" json:"csi"` // Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal. UserGroupId *string `mandatory:"false" json:"userGroupId"` // The list of contacts. Contacts []Contact `mandatory:"false" json:"contacts"` // The incident referrer. This value is often the URL that the customer used when creating the support ticket. Referrer *string `mandatory:"false" json:"referrer"` }
CreateIncident Details gathered during the creation of the support ticket.
func (CreateIncident) String ¶
func (m CreateIncident) String() string
func (CreateIncident) ValidateEnumValue ¶
func (m CreateIncident) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateIncidentRequest ¶
type CreateIncidentRequest struct { // Incident information CreateIncidentDetails CreateIncident `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. // User OCID is mandatory for OCI Users and optional for Multicloud users. Ocid *string `mandatory:"false" contributesTo:"header" name:"ocid"` // The region of the tenancy. Homeregion *string `mandatory:"false" contributesTo:"header" name:"homeregion"` // Token type that determine which cloud provider the request come from. Bearertokentype *string `mandatory:"false" contributesTo:"header" name:"bearertokentype"` // Token that provided by multi cloud provider, which help to validate the email. Bearertoken *string `mandatory:"false" contributesTo:"header" name:"bearertoken"` // IdToken that provided by multi cloud provider, which help to validate the email. Idtoken *string `mandatory:"false" contributesTo:"header" name:"idtoken"` // The OCID of identity domain. // DomainID is mandatory if the user is part of Non Default Identity domain. Domainid *string `mandatory:"false" contributesTo:"header" name:"domainid"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateIncidentRequest wrapper for the CreateIncident operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/CreateIncident.go.html to see an example of how to use CreateIncidentRequest.
func (CreateIncidentRequest) BinaryRequestBody ¶
func (request CreateIncidentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateIncidentRequest) HTTPRequest ¶
func (request CreateIncidentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateIncidentRequest) RetryPolicy ¶
func (request CreateIncidentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateIncidentRequest) String ¶
func (request CreateIncidentRequest) String() string
func (CreateIncidentRequest) ValidateEnumValue ¶
func (request CreateIncidentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateIncidentResponse ¶
type CreateIncidentResponse struct { // The underlying http response RawResponse *http.Response // The Incident instance Incident `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request identifier. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CreateIncidentResponse wrapper for the CreateIncident operation
func (CreateIncidentResponse) HTTPResponse ¶
func (response CreateIncidentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateIncidentResponse) String ¶
func (response CreateIncidentResponse) String() string
type CreateIssueTypeDetails ¶
type CreateIssueTypeDetails struct { // Unique identifier for the issue type. IssueTypeKey *string `mandatory:"false" json:"issueTypeKey"` }
CreateIssueTypeDetails Details for creating the issue type of the support ticket.
func (CreateIssueTypeDetails) String ¶
func (m CreateIssueTypeDetails) String() string
func (CreateIssueTypeDetails) ValidateEnumValue ¶
func (m CreateIssueTypeDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateItemDetails ¶
type CreateItemDetails interface { GetCategory() *CreateCategoryDetails GetSubCategory() *CreateSubCategoryDetails GetIssueType() *CreateIssueTypeDetails // The display name of the ticket. Avoid entering confidential information. GetName() *string }
CreateItemDetails Details gathered during ticket creation.
type CreateLimitItemDetails ¶
type CreateLimitItemDetails struct { Category *CreateCategoryDetails `mandatory:"false" json:"category"` SubCategory *CreateSubCategoryDetails `mandatory:"false" json:"subCategory"` IssueType *CreateIssueTypeDetails `mandatory:"false" json:"issueType"` // The display name of the ticket. Avoid entering confidential information. Name *string `mandatory:"false" json:"name"` // The limit of the resource currently available. CurrentLimit *int `mandatory:"false" json:"currentLimit"` // The current usage of the resource. CurrentUsage *int `mandatory:"false" json:"currentUsage"` // The new service limit being requested. RequestedLimit *int `mandatory:"false" json:"requestedLimit"` }
CreateLimitItemDetails Details about the service limit increase request. Avoid entering confidential information. For information about `LIMIT` support tickets, see Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm).
func (CreateLimitItemDetails) GetCategory ¶
func (m CreateLimitItemDetails) GetCategory() *CreateCategoryDetails
GetCategory returns Category
func (CreateLimitItemDetails) GetIssueType ¶
func (m CreateLimitItemDetails) GetIssueType() *CreateIssueTypeDetails
GetIssueType returns IssueType
func (CreateLimitItemDetails) GetName ¶
func (m CreateLimitItemDetails) GetName() *string
GetName returns Name
func (CreateLimitItemDetails) GetSubCategory ¶
func (m CreateLimitItemDetails) GetSubCategory() *CreateSubCategoryDetails
GetSubCategory returns SubCategory
func (CreateLimitItemDetails) MarshalJSON ¶
func (m CreateLimitItemDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateLimitItemDetails) String ¶
func (m CreateLimitItemDetails) String() string
func (CreateLimitItemDetails) ValidateEnumValue ¶
func (m CreateLimitItemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateResourceDetails ¶
type CreateResourceDetails struct { Item CreateItemDetails `mandatory:"false" json:"item"` // The list of available Oracle Cloud Infrastructure regions. Region *string `mandatory:"false" json:"region"` }
CreateResourceDetails Details about the resource that the support ticket relates to.
func (CreateResourceDetails) String ¶
func (m CreateResourceDetails) String() string
func (*CreateResourceDetails) UnmarshalJSON ¶
func (m *CreateResourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateResourceDetails) ValidateEnumValue ¶
func (m CreateResourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateSubCategoryDetails ¶
type CreateSubCategoryDetails struct { // Unique identifier for the service subcategory. SubCategoryKey *string `mandatory:"false" json:"subCategoryKey"` }
CreateSubCategoryDetails Details for creating the service subcategory of the support ticket.
func (CreateSubCategoryDetails) String ¶
func (m CreateSubCategoryDetails) String() string
func (CreateSubCategoryDetails) ValidateEnumValue ¶
func (m CreateSubCategoryDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateTechSupportItemDetails ¶
type CreateTechSupportItemDetails struct { Category *CreateCategoryDetails `mandatory:"false" json:"category"` SubCategory *CreateSubCategoryDetails `mandatory:"false" json:"subCategory"` IssueType *CreateIssueTypeDetails `mandatory:"false" json:"issueType"` // The display name of the ticket. Avoid entering confidential information. Name *string `mandatory:"false" json:"name"` }
CreateTechSupportItemDetails Details about the issue that the technical support ticket relates to. Avoid entering confidential information. For information about `TECH` support tickets, see Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm).
func (CreateTechSupportItemDetails) GetCategory ¶
func (m CreateTechSupportItemDetails) GetCategory() *CreateCategoryDetails
GetCategory returns Category
func (CreateTechSupportItemDetails) GetIssueType ¶
func (m CreateTechSupportItemDetails) GetIssueType() *CreateIssueTypeDetails
GetIssueType returns IssueType
func (CreateTechSupportItemDetails) GetName ¶
func (m CreateTechSupportItemDetails) GetName() *string
GetName returns Name
func (CreateTechSupportItemDetails) GetSubCategory ¶
func (m CreateTechSupportItemDetails) GetSubCategory() *CreateSubCategoryDetails
GetSubCategory returns SubCategory
func (CreateTechSupportItemDetails) MarshalJSON ¶
func (m CreateTechSupportItemDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateTechSupportItemDetails) String ¶
func (m CreateTechSupportItemDetails) String() string
func (CreateTechSupportItemDetails) ValidateEnumValue ¶
func (m CreateTechSupportItemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateTicketDetails ¶
type CreateTicketDetails struct { // The severity of the support ticket. Severity CreateTicketDetailsSeverityEnum `mandatory:"true" json:"severity"` // The title of the support ticket. Avoid entering confidential information. Title *string `mandatory:"true" json:"title"` // The description of the support ticket. Avoid entering confidential information. Description *string `mandatory:"true" json:"description"` // The list of resources. ResourceList []CreateResourceDetails `mandatory:"false" json:"resourceList"` ContextualData *ContextualData `mandatory:"false" json:"contextualData"` }
CreateTicketDetails Details relevant to the support ticket.
func (CreateTicketDetails) String ¶
func (m CreateTicketDetails) String() string
func (CreateTicketDetails) ValidateEnumValue ¶
func (m CreateTicketDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateTicketDetailsSeverityEnum ¶
type CreateTicketDetailsSeverityEnum string
CreateTicketDetailsSeverityEnum Enum with underlying type: string
const ( CreateTicketDetailsSeverityHighest CreateTicketDetailsSeverityEnum = "HIGHEST" CreateTicketDetailsSeverityHigh CreateTicketDetailsSeverityEnum = "HIGH" CreateTicketDetailsSeverityMedium CreateTicketDetailsSeverityEnum = "MEDIUM" CreateTicketDetailsSeverityLow CreateTicketDetailsSeverityEnum = "LOW" )
Set of constants representing the allowable values for CreateTicketDetailsSeverityEnum
func GetCreateTicketDetailsSeverityEnumValues ¶
func GetCreateTicketDetailsSeverityEnumValues() []CreateTicketDetailsSeverityEnum
GetCreateTicketDetailsSeverityEnumValues Enumerates the set of values for CreateTicketDetailsSeverityEnum
func GetMappingCreateTicketDetailsSeverityEnum ¶
func GetMappingCreateTicketDetailsSeverityEnum(val string) (CreateTicketDetailsSeverityEnum, bool)
GetMappingCreateTicketDetailsSeverityEnum performs case Insensitive comparison on enum value and return the desired enum
type CreateUserDetails ¶
type CreateUserDetails struct { // The OCID of the tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // First name of the user. FirstName *string `mandatory:"true" json:"firstName"` // Last name of the user. LastName *string `mandatory:"true" json:"lastName"` // The kind of support ticket (type of support request). // For information about `ACCOUNT` support tickets, see // Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). // For information about `LIMIT` support tickets, see // Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). // For information about `TECH` support tickets, see // Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). ProblemType ProblemTypeEnum `mandatory:"true" json:"problemType"` // CSI associated with the user. Csi *string `mandatory:"false" json:"csi"` // Contact number of the user. Phone *string `mandatory:"false" json:"phone"` // Timezone of the user. Timezone *string `mandatory:"false" json:"timezone"` // Organization of the user. OrganizationName *string `mandatory:"false" json:"organizationName"` }
CreateUserDetails Details for creating a new user.
func (CreateUserDetails) String ¶
func (m CreateUserDetails) String() string
func (CreateUserDetails) ValidateEnumValue ¶
func (m CreateUserDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ErrorCodeEnum ¶
type ErrorCodeEnum string
ErrorCodeEnum Enum with underlying type: string
const ( ErrorCodeContentEmpty ErrorCodeEnum = "CONTENT_EMPTY" ErrorCodeClientException ErrorCodeEnum = "CLIENT_EXCEPTION" ErrorCodeInvalidFormat ErrorCodeEnum = "INVALID_FORMAT" ErrorCodeInvalidJsonInput ErrorCodeEnum = "INVALID_JSON_INPUT" ErrorCodeSslAuthorization ErrorCodeEnum = "SSL_AUTHORIZATION" ErrorCodeAuthFailed ErrorCodeEnum = "AUTH_FAILED" ErrorCodeAuthzFailed ErrorCodeEnum = "AUTHZ_FAILED" ErrorCodeCsiNotAuthorized ErrorCodeEnum = "CSI_NOT_AUTHORIZED" ErrorCodeUserPolicyNotAuthorized ErrorCodeEnum = "USER_POLICY_NOT_AUTHORIZED" ErrorCodeEmailNotVerified ErrorCodeEnum = "EMAIL_NOT_VERIFIED" ErrorCodeEmailNotFound ErrorCodeEnum = "EMAIL_NOT_FOUND" ErrorCodeOciEmailNotFound ErrorCodeEnum = "OCI_EMAIL_NOT_FOUND" ErrorCodeMosEmailNotFound ErrorCodeEnum = "MOS_EMAIL_NOT_FOUND" ErrorCodeIdcsEmailNotValid ErrorCodeEnum = "IDCS_EMAIL_NOT_VALID" ErrorCodeInvalidPath ErrorCodeEnum = "INVALID_PATH" ErrorCodeMethodNotAllowed ErrorCodeEnum = "METHOD_NOT_ALLOWED" ErrorCodeJsonProcessing ErrorCodeEnum = "JSON_PROCESSING" ErrorCodeGenericException ErrorCodeEnum = "GENERIC_EXCEPTION" ErrorCodeExternalServiceProviderTimeout ErrorCodeEnum = "EXTERNAL_SERVICE_PROVIDER_TIMEOUT" ErrorCodeTooManyRequests ErrorCodeEnum = "TOO_MANY_REQUESTS" ErrorCodeIdpScimNotSetup ErrorCodeEnum = "IDP_SCIM_NOT_SETUP" ErrorCodeIncidentNotFound ErrorCodeEnum = "INCIDENT_NOT_FOUND" ErrorCodeInvalidUserCsi ErrorCodeEnum = "INVALID_USER_CSI" ErrorCodeDataAlreadyExists ErrorCodeEnum = "DATA_ALREADY_EXISTS" ErrorCodeAuthUserNotMatching ErrorCodeEnum = "AUTH_USER_NOT_MATCHING" ErrorCodeContactNotApproved ErrorCodeEnum = "CONTACT_NOT_APPROVED" ErrorCodeCreateProfileMosFailure ErrorCodeEnum = "CREATE_PROFILE_MOS_FAILURE" ErrorCodeCreateProfileCreateOssoFailure ErrorCodeEnum = "CREATE_PROFILE_CREATE_OSSO_FAILURE" ErrorCodeCreateProfileIdentityFailure ErrorCodeEnum = "CREATE_PROFILE_IDENTITY_FAILURE" ErrorCodeCreateProfileVerifyOssoFailure ErrorCodeEnum = "CREATE_PROFILE_VERIFY_OSSO_FAILURE" ErrorCodeProfileAccountNotVerified ErrorCodeEnum = "PROFILE_ACCOUNT_NOT_VERIFIED" ErrorCodeSupportAccountNotFound ErrorCodeEnum = "SUPPORT_ACCOUNT_NOT_FOUND" ErrorCodeSupportAccountPendingCsiApproval ErrorCodeEnum = "SUPPORT_ACCOUNT_PENDING_CSI_APPROVAL" ErrorCodeFreeTierCustomerSliUnsupported ErrorCodeEnum = "FREE_TIER_CUSTOMER_SLI_UNSUPPORTED" ErrorCodeProfileAccountVerified ErrorCodeEnum = "PROFILE_ACCOUNT_VERIFIED" ErrorCodeProfileVerifiedCsiRequestPending ErrorCodeEnum = "PROFILE_VERIFIED_CSI_REQUEST_PENDING" ErrorCodeProfileVerifiedCsiRequestNotFound ErrorCodeEnum = "PROFILE_VERIFIED_CSI_REQUEST_NOT_FOUND" ErrorCodeCreateProfileOrganizationNameInvalid ErrorCodeEnum = "CREATE_PROFILE_ORGANIZATION_NAME_INVALID" ErrorCodeCreateProfileEmailInvalid ErrorCodeEnum = "CREATE_PROFILE_EMAIL_INVALID" )
Set of constants representing the allowable values for ErrorCodeEnum
func GetErrorCodeEnumValues ¶
func GetErrorCodeEnumValues() []ErrorCodeEnum
GetErrorCodeEnumValues Enumerates the set of values for ErrorCodeEnum
func GetMappingErrorCodeEnum ¶
func GetMappingErrorCodeEnum(val string) (ErrorCodeEnum, bool)
GetMappingErrorCodeEnum performs case Insensitive comparison on enum value and return the desired enum
type GetCsiNumberRequest ¶ added in v65.49.0
type GetCsiNumberRequest struct { // Tenancy Ocid in oracle cloud Infrastructure TenantId *string `mandatory:"true" contributesTo:"query" name:"tenantId"` // Home region of the customer which is part of oracle cloud infrastructure regions Region *string `mandatory:"true" contributesTo:"query" name:"region"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"false" contributesTo:"header" name:"ocid"` // The region of the tenancy. Homeregion *string `mandatory:"false" contributesTo:"header" name:"homeregion"` // Token type that determine which cloud provider the request come from. Bearertokentype *string `mandatory:"false" contributesTo:"header" name:"bearertokentype"` // Token that provided by multi cloud provider, which help to validate the email. Bearertoken *string `mandatory:"false" contributesTo:"header" name:"bearertoken"` // IdToken that provided by multi cloud provider, which help to validate the email. Idtoken *string `mandatory:"false" contributesTo:"header" name:"idtoken"` // The OCID of identity domain. Domainid *string `mandatory:"false" contributesTo:"header" name:"domainid"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetCsiNumberRequest wrapper for the GetCsiNumber operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/GetCsiNumber.go.html to see an example of how to use GetCsiNumberRequest.
func (GetCsiNumberRequest) BinaryRequestBody ¶ added in v65.49.0
func (request GetCsiNumberRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetCsiNumberRequest) HTTPRequest ¶ added in v65.49.0
func (request GetCsiNumberRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetCsiNumberRequest) RetryPolicy ¶ added in v65.49.0
func (request GetCsiNumberRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetCsiNumberRequest) String ¶ added in v65.49.0
func (request GetCsiNumberRequest) String() string
func (GetCsiNumberRequest) ValidateEnumValue ¶ added in v65.49.0
func (request GetCsiNumberRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetCsiNumberResponse ¶ added in v65.49.0
type GetCsiNumberResponse struct { // The underlying http response RawResponse *http.Response // The string instance Value *string `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"` }
GetCsiNumberResponse wrapper for the GetCsiNumber operation
func (GetCsiNumberResponse) HTTPResponse ¶ added in v65.49.0
func (response GetCsiNumberResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetCsiNumberResponse) String ¶ added in v65.49.0
func (response GetCsiNumberResponse) String() string
type GetIncidentRequest ¶
type GetIncidentRequest struct { // Unique identifier for the support ticket. IncidentKey *string `mandatory:"true" contributesTo:"path" name:"incidentKey"` // The OCID of the tenancy. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The Customer Support Identifier (CSI) number associated with the support account. // The CSI is optional for all support request types. Csi *string `mandatory:"false" contributesTo:"header" name:"csi"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. // User OCID is mandatory for OCI Users and optional for Multicloud users. Ocid *string `mandatory:"false" contributesTo:"header" name:"ocid"` // The region of the tenancy. Homeregion *string `mandatory:"false" contributesTo:"header" name:"homeregion"` // The kind of support request. Problemtype *string `mandatory:"false" contributesTo:"header" name:"problemtype"` // Token type that determine which cloud provider the request come from. Bearertokentype *string `mandatory:"false" contributesTo:"header" name:"bearertokentype"` // Token that provided by multi cloud provider, which help to validate the email. Bearertoken *string `mandatory:"false" contributesTo:"header" name:"bearertoken"` // IdToken that provided by multi cloud provider, which help to validate the email. Idtoken *string `mandatory:"false" contributesTo:"header" name:"idtoken"` // The OCID of identity domain. // DomainID is mandatory if the user is part of Non Default Identity domain. Domainid *string `mandatory:"false" contributesTo:"header" name:"domainid"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetIncidentRequest wrapper for the GetIncident operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/GetIncident.go.html to see an example of how to use GetIncidentRequest.
func (GetIncidentRequest) BinaryRequestBody ¶
func (request GetIncidentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetIncidentRequest) HTTPRequest ¶
func (request GetIncidentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetIncidentRequest) RetryPolicy ¶
func (request GetIncidentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetIncidentRequest) String ¶
func (request GetIncidentRequest) String() string
func (GetIncidentRequest) ValidateEnumValue ¶
func (request GetIncidentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetIncidentResponse ¶
type GetIncidentResponse struct { // The underlying http response RawResponse *http.Response // The Incident instance Incident `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"` }
GetIncidentResponse wrapper for the GetIncident operation
func (GetIncidentResponse) HTTPResponse ¶
func (response GetIncidentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetIncidentResponse) String ¶
func (response GetIncidentResponse) String() string
type GetStatusRequest ¶
type GetStatusRequest struct { // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"false" contributesTo:"header" name:"ocid"` // The region of the tenancy. Homeregion *string `mandatory:"false" contributesTo:"header" name:"homeregion"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetStatusRequest wrapper for the GetStatus operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/GetStatus.go.html to see an example of how to use GetStatusRequest.
func (GetStatusRequest) BinaryRequestBody ¶
func (request GetStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetStatusRequest) HTTPRequest ¶
func (request GetStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetStatusRequest) RetryPolicy ¶
func (request GetStatusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetStatusRequest) String ¶
func (request GetStatusRequest) String() string
func (GetStatusRequest) ValidateEnumValue ¶
func (request GetStatusRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetStatusResponse ¶
type GetStatusResponse struct { // The underlying http response RawResponse *http.Response // The Status instance Status `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"` }
GetStatusResponse wrapper for the GetStatus operation
func (GetStatusResponse) HTTPResponse ¶
func (response GetStatusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetStatusResponse) String ¶
func (response GetStatusResponse) String() string
type Incident ¶
type Incident struct { // Unique identifier for the support ticket. Key *string `mandatory:"true" json:"key"` // The OCID of the tenancy. CompartmentId *string `mandatory:"false" json:"compartmentId"` ContactList *ContactList `mandatory:"false" json:"contactList"` TenancyInformation *TenancyInformation `mandatory:"false" json:"tenancyInformation"` Ticket *Ticket `mandatory:"false" json:"ticket"` IncidentType *IncidentType `mandatory:"false" json:"incidentType"` // Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal. UserGroupId *string `mandatory:"false" json:"userGroupId"` // Technical support type (`TECH`) only: Name of the support request's user group in My Oracle Cloud Support portal. UserGroupName *string `mandatory:"false" json:"userGroupName"` // Technical support type (`TECH`) only: The identifier of the support request's primary contact (`primaryContactPartyName`) in My Oracle Cloud Support portal. PrimaryContactPartyId *string `mandatory:"false" json:"primaryContactPartyId"` // Technical support type (`TECH`) only: The name of the support request's primary contact in My Oracle Cloud Support portal. PrimaryContactPartyName *string `mandatory:"false" json:"primaryContactPartyName"` // Technical support type (`TECH`) only: Allows update of the support request in My Oracle Cloud Support portal, // when the user has write permission to the support request's user group. IsWritePermitted *bool `mandatory:"false" json:"isWritePermitted"` // Technical support type (`TECH`) only: Message indicating the user group (`userGroupId`) that was auto-selected for a new support request. This message appears when no user group was specified in the create request for a new technical support request. WarnMessage *string `mandatory:"false" json:"warnMessage"` // The kind of support ticket (type of support request). // For information about `ACCOUNT` support tickets, see // Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). // For information about `LIMIT` support tickets, see // Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). // For information about `TECH` support tickets, see // Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). ProblemType ProblemTypeEnum `mandatory:"false" json:"problemType,omitempty"` // The incident referrer. This value is often the URL that the customer used when creating the support ticket. Referrer *string `mandatory:"false" json:"referrer"` }
Incident Details about the support ticket.
func (Incident) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type IncidentClient ¶
type IncidentClient struct { common.BaseClient // contains filtered or unexported fields }
IncidentClient a client for Incident
func NewIncidentClientWithConfigurationProvider ¶
func NewIncidentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client IncidentClient, err error)
NewIncidentClientWithConfigurationProvider Creates a new default Incident client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewIncidentClientWithOboToken ¶
func NewIncidentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client IncidentClient, err error)
NewIncidentClientWithOboToken Creates a new default Incident 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 (*IncidentClient) ConfigurationProvider ¶
func (client *IncidentClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (IncidentClient) CreateIncident ¶
func (client IncidentClient) CreateIncident(ctx context.Context, request CreateIncidentRequest) (response CreateIncidentResponse, err error)
CreateIncident Creates a support ticket in the specified tenancy. For more information, see Creating Support Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident.htm).
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/CreateIncident.go.html to see an example of how to use CreateIncident API.
func (IncidentClient) GetIncident ¶
func (client IncidentClient) GetIncident(ctx context.Context, request GetIncidentRequest) (response GetIncidentResponse, err error)
GetIncident Gets the specified support ticket. For more information, see Getting Details for a Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/get-incident.htm).
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/GetIncident.go.html to see an example of how to use GetIncident API.
func (IncidentClient) ListIncidentResourceTypes ¶
func (client IncidentClient) ListIncidentResourceTypes(ctx context.Context, request ListIncidentResourceTypesRequest) (response ListIncidentResourceTypesResponse, err error)
ListIncidentResourceTypes Depending on the selected `productType`, either lists available products (service groups, services, service categories, and subcategories) for technical support tickets or lists limits and current usage for limit increase tickets. This operation is called during creation of technical support and limit increase tickets. For more information about listing products, see Listing Products for Support Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-taxonomy.htm). For more information about listing limits, see Listing Limits for Service Limit Increase Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-limit.htm).
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/ListIncidentResourceTypes.go.html to see an example of how to use ListIncidentResourceTypes API.
func (IncidentClient) ListIncidents ¶
func (client IncidentClient) ListIncidents(ctx context.Context, request ListIncidentsRequest) (response ListIncidentsResponse, err error)
ListIncidents Lists support tickets for the specified tenancy. For more information, see Listing Support Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incidents.htm).
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/ListIncidents.go.html to see an example of how to use ListIncidents API.
func (*IncidentClient) SetRegion ¶
func (client *IncidentClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (IncidentClient) UpdateIncident ¶
func (client IncidentClient) UpdateIncident(ctx context.Context, request UpdateIncidentRequest) (response UpdateIncidentResponse, err error)
UpdateIncident Updates the specified support ticket. For more information, see Updating Support Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/update-incident.htm).
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/UpdateIncident.go.html to see an example of how to use UpdateIncident API.
func (IncidentClient) ValidateUser ¶
func (client IncidentClient) ValidateUser(ctx context.Context, request ValidateUserRequest) (response ValidateUserResponse, err error)
ValidateUser Checks whether the requested user is valid. For more information, see Validating a User (https://docs.cloud.oracle.com/iaas/Content/GSG/support/validate-user.htm).
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/ValidateUser.go.html to see an example of how to use ValidateUser API.
type IncidentResourceType ¶
type IncidentResourceType struct { // The label associated with the resource. Label *string `mandatory:"true" json:"label"` // A unique identifier for the resource. ResourceTypeKey *string `mandatory:"false" json:"resourceTypeKey"` // The display name of the resource. Name *string `mandatory:"false" json:"name"` // The description of the resource. Description *string `mandatory:"false" json:"description"` // Indicates whether multi-subscription is supported IsSubscriptionsSupported *bool `mandatory:"false" json:"isSubscriptionsSupported"` // The service category list. ServiceCategoryList []ServiceCategory `mandatory:"false" json:"serviceCategoryList"` // The map of services for MOS Taxonomy. Service map[string]string `mandatory:"false" json:"service"` // The service categories list for MOS Taxonomy. Services []Services `mandatory:"false" json:"services"` }
IncidentResourceType Details about the resource associated with the support request.
func (IncidentResourceType) String ¶
func (m IncidentResourceType) String() string
func (IncidentResourceType) ValidateEnumValue ¶
func (m IncidentResourceType) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type IncidentSummary ¶
type IncidentSummary struct { // Unique identifier of the incident. Key *string `mandatory:"true" json:"key"` // The kind of support ticket (type of support request). // For information about `ACCOUNT` support tickets, see // Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). // For information about `LIMIT` support tickets, see // Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). // For information about `TECH` support tickets, see // Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). ProblemType ProblemTypeEnum `mandatory:"true" json:"problemType"` // The OCID of the tenancy. CompartmentId *string `mandatory:"false" json:"compartmentId"` ContactList *ContactList `mandatory:"false" json:"contactList"` TenancyInformation *TenancyInformation `mandatory:"false" json:"tenancyInformation"` Ticket *Ticket `mandatory:"false" json:"ticket"` IncidentType *IncidentResourceType `mandatory:"false" json:"incidentType"` // Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal. UserGroupId *string `mandatory:"false" json:"userGroupId"` // Technical support type (`TECH`) only: Name of the support request's user group in My Oracle Cloud Support portal. UserGroupName *string `mandatory:"false" json:"userGroupName"` // Technical support type (`TECH`) only: The identifier of the support request's primary contact (`primaryContactPartyName`) in My Oracle Cloud Support portal. PrimaryContactPartyId *string `mandatory:"false" json:"primaryContactPartyId"` // Technical support type (`TECH`) only: The name of the support request's primary contact in My Oracle Cloud Support portal. PrimaryContactPartyName *string `mandatory:"false" json:"primaryContactPartyName"` // Technical support type (`TECH`) only: Allows update of the support request in My Oracle Cloud Support portal, // when the user has write permission to the support request's user group. IsWritePermitted *bool `mandatory:"false" json:"isWritePermitted"` // Technical support type (`TECH`) only: Message indicating the user group (`userGroupId`) that was auto-selected for a new support request. This message appears when no user group was specified in the create request for a new technical support request. WarnMessage *string `mandatory:"false" json:"warnMessage"` }
IncidentSummary Details about the support ticket.
func (IncidentSummary) String ¶
func (m IncidentSummary) String() string
func (IncidentSummary) ValidateEnumValue ¶
func (m IncidentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type IncidentType ¶
type IncidentType struct { // Unique identifier for the incident type. Id *string `mandatory:"false" json:"id"` // The name of the incident type. Name *string `mandatory:"false" json:"name"` // The label associated with the incident type. Label *string `mandatory:"false" json:"label"` // The description of the incident type. Description *string `mandatory:"false" json:"description"` // The list of classifiers. ClassifierList []Classifier `mandatory:"false" json:"classifierList"` }
IncidentType Details about the incident type associated with the support ticket.
func (IncidentType) String ¶
func (m IncidentType) String() string
func (IncidentType) ValidateEnumValue ¶
func (m IncidentType) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type IssueType ¶
type IssueType struct { // Unique identifier for the issue type. IssueTypeKey *string `mandatory:"false" json:"issueTypeKey"` // The label for the issue type. For example, `Instance Performance`. Label *string `mandatory:"false" json:"label"` // The URL for the contextual documentation. Name *string `mandatory:"false" json:"name"` }
IssueType Details about the issue type associated with the support ticket.
func (IssueType) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type Item ¶
type Item interface { // Unique identifier for the item. GetItemKey() *string // The display name of the item. Avoid entering confidential information. GetName() *string GetCategory() *Category GetSubCategory() *SubCategory GetIssueType() *IssueType }
Item Details about the item object.
type LifecycleDetailsEnum ¶
type LifecycleDetailsEnum string
LifecycleDetailsEnum Enum with underlying type: string
const ( LifecycleDetailsPendingWithOracle LifecycleDetailsEnum = "PENDING_WITH_ORACLE" LifecycleDetailsPendingWithCustomer LifecycleDetailsEnum = "PENDING_WITH_CUSTOMER" LifecycleDetailsPendingWithSupport LifecycleDetailsEnum = "PENDING_WITH_SUPPORT" LifecycleDetailsCloseRequested LifecycleDetailsEnum = "CLOSE_REQUESTED" LifecycleDetailsClosed LifecycleDetailsEnum = "CLOSED" )
Set of constants representing the allowable values for LifecycleDetailsEnum
func GetLifecycleDetailsEnumValues ¶
func GetLifecycleDetailsEnumValues() []LifecycleDetailsEnum
GetLifecycleDetailsEnumValues Enumerates the set of values for LifecycleDetailsEnum
func GetMappingLifecycleDetailsEnum ¶
func GetMappingLifecycleDetailsEnum(val string) (LifecycleDetailsEnum, bool)
GetMappingLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
type LifecycleStateEnum ¶
type LifecycleStateEnum string
LifecycleStateEnum Enum with underlying type: string
const ( LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateClosed LifecycleStateEnum = "CLOSED" )
Set of constants representing the allowable values for LifecycleStateEnum
func GetLifecycleStateEnumValues ¶
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum ¶
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type LimitItem ¶
type LimitItem struct { // Unique identifier for the item. ItemKey *string `mandatory:"false" json:"itemKey"` // The display name of the item. Avoid entering confidential information. Name *string `mandatory:"false" json:"name"` Category *Category `mandatory:"false" json:"category"` SubCategory *SubCategory `mandatory:"false" json:"subCategory"` IssueType *IssueType `mandatory:"false" json:"issueType"` // The current service limit for the resource. CurrentLimit *int `mandatory:"false" json:"currentLimit"` // The current resource usage. CurrentUsage *int `mandatory:"false" json:"currentUsage"` // The new service limit being requested for the resource. RequestedLimit *int `mandatory:"false" json:"requestedLimit"` // The message to customer for partially approved and rejected limit requests CustomerMessage *string `mandatory:"false" json:"customerMessage"` // The status of the request. LimitStatus LimitItemLimitStatusEnum `mandatory:"false" json:"limitStatus,omitempty"` }
LimitItem Details about the LimitItem object.
func (LimitItem) GetCategory ¶
GetCategory returns Category
func (LimitItem) GetIssueType ¶
GetIssueType returns IssueType
func (LimitItem) GetSubCategory ¶
func (m LimitItem) GetSubCategory() *SubCategory
GetSubCategory returns SubCategory
func (LimitItem) MarshalJSON ¶
MarshalJSON marshals to json representation
func (LimitItem) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type LimitItemLimitStatusEnum ¶
type LimitItemLimitStatusEnum string
LimitItemLimitStatusEnum Enum with underlying type: string
const ( LimitItemLimitStatusApproved LimitItemLimitStatusEnum = "APPROVED" LimitItemLimitStatusPartiallyApproved LimitItemLimitStatusEnum = "PARTIALLY_APPROVED" LimitItemLimitStatusNotApproved LimitItemLimitStatusEnum = "NOT_APPROVED" LimitItemLimitStatusRejected LimitItemLimitStatusEnum = "REJECTED" )
Set of constants representing the allowable values for LimitItemLimitStatusEnum
func GetLimitItemLimitStatusEnumValues ¶
func GetLimitItemLimitStatusEnumValues() []LimitItemLimitStatusEnum
GetLimitItemLimitStatusEnumValues Enumerates the set of values for LimitItemLimitStatusEnum
func GetMappingLimitItemLimitStatusEnum ¶
func GetMappingLimitItemLimitStatusEnum(val string) (LimitItemLimitStatusEnum, bool)
GetMappingLimitItemLimitStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type ListIncidentResourceTypesRequest ¶
type ListIncidentResourceTypesRequest struct { // The kind of support request. ProblemType *string `mandatory:"true" contributesTo:"query" name:"problemType"` // The OCID of the tenancy. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The key to use to sort the returned items. SortBy ListIncidentResourceTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The order to sort the results in. SortOrder ListIncidentResourceTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The user-friendly name of the support ticket type. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The Customer Support Identifier (CSI) number associated with the support account. // The CSI is optional for all support request types. Csi *string `mandatory:"false" contributesTo:"header" name:"csi"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. // User OCID is mandatory for OCI Users and optional for Multicloud users. Ocid *string `mandatory:"false" contributesTo:"header" name:"ocid"` // The region of the tenancy. Homeregion *string `mandatory:"false" contributesTo:"header" name:"homeregion"` // The OCID of identity domain. // DomainID is mandatory if the user is part of Non Default Identity domain. Domainid *string `mandatory:"false" contributesTo:"header" name:"domainid"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListIncidentResourceTypesRequest wrapper for the ListIncidentResourceTypes operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/ListIncidentResourceTypes.go.html to see an example of how to use ListIncidentResourceTypesRequest.
func (ListIncidentResourceTypesRequest) BinaryRequestBody ¶
func (request ListIncidentResourceTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListIncidentResourceTypesRequest) HTTPRequest ¶
func (request ListIncidentResourceTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListIncidentResourceTypesRequest) RetryPolicy ¶
func (request ListIncidentResourceTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListIncidentResourceTypesRequest) String ¶
func (request ListIncidentResourceTypesRequest) String() string
func (ListIncidentResourceTypesRequest) ValidateEnumValue ¶
func (request ListIncidentResourceTypesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListIncidentResourceTypesResponse ¶
type ListIncidentResourceTypesResponse struct { // The underlying http response RawResponse *http.Response // A list of []IncidentResourceType instances Items []IncidentResourceType `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListIncidentResourceTypesResponse wrapper for the ListIncidentResourceTypes operation
func (ListIncidentResourceTypesResponse) HTTPResponse ¶
func (response ListIncidentResourceTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListIncidentResourceTypesResponse) String ¶
func (response ListIncidentResourceTypesResponse) String() string
type ListIncidentResourceTypesSortByEnum ¶
type ListIncidentResourceTypesSortByEnum string
ListIncidentResourceTypesSortByEnum Enum with underlying type: string
const ( ListIncidentResourceTypesSortByDateupdated ListIncidentResourceTypesSortByEnum = "dateUpdated" ListIncidentResourceTypesSortBySeverity ListIncidentResourceTypesSortByEnum = "severity" )
Set of constants representing the allowable values for ListIncidentResourceTypesSortByEnum
func GetListIncidentResourceTypesSortByEnumValues ¶
func GetListIncidentResourceTypesSortByEnumValues() []ListIncidentResourceTypesSortByEnum
GetListIncidentResourceTypesSortByEnumValues Enumerates the set of values for ListIncidentResourceTypesSortByEnum
func GetMappingListIncidentResourceTypesSortByEnum ¶
func GetMappingListIncidentResourceTypesSortByEnum(val string) (ListIncidentResourceTypesSortByEnum, bool)
GetMappingListIncidentResourceTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListIncidentResourceTypesSortOrderEnum ¶
type ListIncidentResourceTypesSortOrderEnum string
ListIncidentResourceTypesSortOrderEnum Enum with underlying type: string
const ( ListIncidentResourceTypesSortOrderAsc ListIncidentResourceTypesSortOrderEnum = "ASC" ListIncidentResourceTypesSortOrderDesc ListIncidentResourceTypesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListIncidentResourceTypesSortOrderEnum
func GetListIncidentResourceTypesSortOrderEnumValues ¶
func GetListIncidentResourceTypesSortOrderEnumValues() []ListIncidentResourceTypesSortOrderEnum
GetListIncidentResourceTypesSortOrderEnumValues Enumerates the set of values for ListIncidentResourceTypesSortOrderEnum
func GetMappingListIncidentResourceTypesSortOrderEnum ¶
func GetMappingListIncidentResourceTypesSortOrderEnum(val string) (ListIncidentResourceTypesSortOrderEnum, bool)
GetMappingListIncidentResourceTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListIncidentsLifecycleStateEnum ¶
type ListIncidentsLifecycleStateEnum string
ListIncidentsLifecycleStateEnum Enum with underlying type: string
const ( ListIncidentsLifecycleStateActive ListIncidentsLifecycleStateEnum = "ACTIVE" ListIncidentsLifecycleStateClosed ListIncidentsLifecycleStateEnum = "CLOSED" )
Set of constants representing the allowable values for ListIncidentsLifecycleStateEnum
func GetListIncidentsLifecycleStateEnumValues ¶
func GetListIncidentsLifecycleStateEnumValues() []ListIncidentsLifecycleStateEnum
GetListIncidentsLifecycleStateEnumValues Enumerates the set of values for ListIncidentsLifecycleStateEnum
func GetMappingListIncidentsLifecycleStateEnum ¶
func GetMappingListIncidentsLifecycleStateEnum(val string) (ListIncidentsLifecycleStateEnum, bool)
GetMappingListIncidentsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ListIncidentsRequest ¶
type ListIncidentsRequest struct { // The OCID of the tenancy. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The Customer Support Identifier (CSI) number associated with the support account. // The CSI is optional for all support request types. Csi *string `mandatory:"false" contributesTo:"header" name:"csi"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The key to use to sort the returned items. SortBy ListIncidentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The order to sort the results in. SortOrder ListIncidentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The current state of the ticket. LifecycleState ListIncidentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. // User OCID is mandatory for OCI Users and optional for Multicloud users. Ocid *string `mandatory:"false" contributesTo:"header" name:"ocid"` // The region of the tenancy. Homeregion *string `mandatory:"false" contributesTo:"header" name:"homeregion"` // The kind of support request. ProblemType *string `mandatory:"false" contributesTo:"query" name:"problemType"` // Token type that determine which cloud provider the request come from. Bearertokentype *string `mandatory:"false" contributesTo:"header" name:"bearertokentype"` // Token that provided by multi cloud provider, which help to validate the email. Bearertoken *string `mandatory:"false" contributesTo:"header" name:"bearertoken"` // IdToken that provided by multi cloud provider, which help to validate the email. Idtoken *string `mandatory:"false" contributesTo:"header" name:"idtoken"` // The OCID of identity domain. // DomainID is mandatory if the user is part of Non Default Identity domain. Domainid *string `mandatory:"false" contributesTo:"header" name:"domainid"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListIncidentsRequest wrapper for the ListIncidents operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/ListIncidents.go.html to see an example of how to use ListIncidentsRequest.
func (ListIncidentsRequest) BinaryRequestBody ¶
func (request ListIncidentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListIncidentsRequest) HTTPRequest ¶
func (request ListIncidentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListIncidentsRequest) RetryPolicy ¶
func (request ListIncidentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListIncidentsRequest) String ¶
func (request ListIncidentsRequest) String() string
func (ListIncidentsRequest) ValidateEnumValue ¶
func (request ListIncidentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListIncidentsResponse ¶
type ListIncidentsResponse struct { // The underlying http response RawResponse *http.Response // A list of []IncidentSummary instances Items []IncidentSummary `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, previous pages of results can be queried. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Returns the age of the incidents in the response in epoch milliseconds. This is used because the incidents might be cached. AsOfTime *string `presentIn:"header" name:"as-of-time"` }
ListIncidentsResponse wrapper for the ListIncidents operation
func (ListIncidentsResponse) HTTPResponse ¶
func (response ListIncidentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListIncidentsResponse) String ¶
func (response ListIncidentsResponse) String() string
type ListIncidentsSortByEnum ¶
type ListIncidentsSortByEnum string
ListIncidentsSortByEnum Enum with underlying type: string
const ( ListIncidentsSortByDateupdated ListIncidentsSortByEnum = "dateUpdated" ListIncidentsSortBySeverity ListIncidentsSortByEnum = "severity" )
Set of constants representing the allowable values for ListIncidentsSortByEnum
func GetListIncidentsSortByEnumValues ¶
func GetListIncidentsSortByEnumValues() []ListIncidentsSortByEnum
GetListIncidentsSortByEnumValues Enumerates the set of values for ListIncidentsSortByEnum
func GetMappingListIncidentsSortByEnum ¶
func GetMappingListIncidentsSortByEnum(val string) (ListIncidentsSortByEnum, bool)
GetMappingListIncidentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListIncidentsSortOrderEnum ¶
type ListIncidentsSortOrderEnum string
ListIncidentsSortOrderEnum Enum with underlying type: string
const ( ListIncidentsSortOrderAsc ListIncidentsSortOrderEnum = "ASC" ListIncidentsSortOrderDesc ListIncidentsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListIncidentsSortOrderEnum
func GetListIncidentsSortOrderEnumValues ¶
func GetListIncidentsSortOrderEnumValues() []ListIncidentsSortOrderEnum
GetListIncidentsSortOrderEnumValues Enumerates the set of values for ListIncidentsSortOrderEnum
func GetMappingListIncidentsSortOrderEnum ¶
func GetMappingListIncidentsSortOrderEnum(val string) (ListIncidentsSortOrderEnum, bool)
GetMappingListIncidentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ProblemTypeEnum ¶
type ProblemTypeEnum string
ProblemTypeEnum Enum with underlying type: string
const ( ProblemTypeLimit ProblemTypeEnum = "LIMIT" ProblemTypeLegacyLimit ProblemTypeEnum = "LEGACY_LIMIT" ProblemTypeTech ProblemTypeEnum = "TECH" ProblemTypeAccount ProblemTypeEnum = "ACCOUNT" ProblemTypeTaxonomy ProblemTypeEnum = "TAXONOMY" )
Set of constants representing the allowable values for ProblemTypeEnum
func GetMappingProblemTypeEnum ¶
func GetMappingProblemTypeEnum(val string) (ProblemTypeEnum, bool)
GetMappingProblemTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProblemTypeEnumValues ¶
func GetProblemTypeEnumValues() []ProblemTypeEnum
GetProblemTypeEnumValues Enumerates the set of values for ProblemTypeEnum
type Resource ¶
type Resource struct { Item Item `mandatory:"false" json:"item"` // The list of available Oracle Cloud Infrastructure regions. Region *string `mandatory:"false" json:"region"` }
Resource Details about the ticket item object.
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON unmarshals from json
func (Resource) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ScopeEnum ¶
type ScopeEnum string
ScopeEnum Enum with underlying type: string
const ( ScopeAd ScopeEnum = "AD" ScopeRegion ScopeEnum = "REGION" ScopeTenancy ScopeEnum = "TENANCY" ScopeNone ScopeEnum = "NONE" )
Set of constants representing the allowable values for ScopeEnum
func GetMappingScopeEnum ¶
GetMappingScopeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetScopeEnumValues ¶
func GetScopeEnumValues() []ScopeEnum
GetScopeEnumValues Enumerates the set of values for ScopeEnum
type ServiceCategories ¶ added in v65.49.0
type ServiceCategories struct { // Service Category list. Service map[string]string `mandatory:"false" json:"service"` // Schema of a Service Category. Schema *string `mandatory:"false" json:"schema"` // The service categories list for MOS Taxonomy. SubCategories []SubCategories `mandatory:"false" json:"subCategories"` }
ServiceCategories List of Service Categories of a Service for MOS Taxonomy.
func (ServiceCategories) String ¶ added in v65.49.0
func (m ServiceCategories) String() string
func (ServiceCategories) ValidateEnumValue ¶ added in v65.49.0
func (m ServiceCategories) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ServiceCategory ¶
type ServiceCategory struct { // The unique ID that identifies a classifier. Key *string `mandatory:"false" json:"key"` // The name of the classifier. Name *string `mandatory:"false" json:"name"` // The label for the classifier. Label *string `mandatory:"false" json:"label"` // The text describing the classifier. Description *string `mandatory:"false" json:"description"` // The list of issues. IssueTypeList []IssueType `mandatory:"false" json:"issueTypeList"` // List of supported subscriptions SupportedSubscriptions []string `mandatory:"false" json:"supportedSubscriptions"` // The scope of the incident. Scope ScopeEnum `mandatory:"false" json:"scope,omitempty"` // The unit to use to measure the service category or resource. Unit UnitEnum `mandatory:"false" json:"unit,omitempty"` // The unique ID for the limit. LimitId *string `mandatory:"false" json:"limitId"` }
ServiceCategory Information about the support ticket classifier.
func (ServiceCategory) String ¶
func (m ServiceCategory) String() string
func (ServiceCategory) ValidateEnumValue ¶
func (m ServiceCategory) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type Services ¶ added in v65.79.0
type Services struct { // Service Category list. Service map[string]string `mandatory:"false" json:"service"` // Schema of a Service Category. Schema *string `mandatory:"false" json:"schema"` // The service categories list for MOS Taxonomy. ServiceCategories []SubCategories `mandatory:"false" json:"serviceCategories"` }
Services List of Service Categories of a Service for MOS Taxonomy.
func (Services) ValidateEnumValue ¶ added in v65.79.0
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SortByEnum ¶
type SortByEnum string
SortByEnum Enum with underlying type: string
const ( SortByDateUpdated SortByEnum = "dateUpdated" SortBySeverity SortByEnum = "severity" )
Set of constants representing the allowable values for SortByEnum
func GetMappingSortByEnum ¶
func GetMappingSortByEnum(val string) (SortByEnum, bool)
GetMappingSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortByEnumValues ¶
func GetSortByEnumValues() []SortByEnum
GetSortByEnumValues Enumerates the set of values for SortByEnum
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetMappingSortOrderEnum ¶
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type Status ¶
type Status struct { // The code unique to this ticket status. Code *string `mandatory:"true" json:"code"` // The status message for this ticket. Message *string `mandatory:"true" json:"message"` }
Status Details about the status of the support ticket.
func (Status) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SubCategories ¶ added in v65.78.0
type SubCategories struct { // Subcategory list. ServiceCategory map[string]string `mandatory:"false" json:"serviceCategory"` // Schema of a subcategory. Schema *string `mandatory:"false" json:"schema"` // Flag to identify if subComponent is present HasSubCategory *string `mandatory:"false" json:"hasSubCategory"` // The sub component list for MOS Taxonomy. SubCategories []SubComponents `mandatory:"false" json:"subCategories"` }
SubCategories List of subcategories under a service.
func (SubCategories) String ¶ added in v65.78.0
func (m SubCategories) String() string
func (SubCategories) ValidateEnumValue ¶ added in v65.78.0
func (m SubCategories) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SubCategory ¶
type SubCategory struct { // Unique identifier for the service subcategory. SubCategoryKey *string `mandatory:"false" json:"subCategoryKey"` // The name of the service subcategory. For example, `Backup Count` or `Custom Image Count`. Name *string `mandatory:"false" json:"name"` }
SubCategory Details about the service subcategory associated with the support ticket.
func (SubCategory) String ¶
func (m SubCategory) String() string
func (SubCategory) ValidateEnumValue ¶
func (m SubCategory) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SubComponents ¶ added in v65.78.0
type SubComponents struct { // Subcategory list. SubCategory map[string]string `mandatory:"false" json:"subCategory"` // Schema of a subcategory. Schema *string `mandatory:"false" json:"schema"` }
SubComponents List of subcomponents under a subcategory.
func (SubComponents) String ¶ added in v65.78.0
func (m SubComponents) String() string
func (SubComponents) ValidateEnumValue ¶ added in v65.78.0
func (m SubComponents) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SubscriptionInfo ¶ added in v65.78.0
type SubscriptionInfo struct { // customer support identifier issued for a subscription Csi *string `mandatory:"false" json:"csi"` // subscription type of customer which determines payment profile SubscriptionType *string `mandatory:"false" json:"subscriptionType"` }
SubscriptionInfo The representation of SubscriptionInfo
func (SubscriptionInfo) String ¶ added in v65.78.0
func (m SubscriptionInfo) String() string
func (SubscriptionInfo) ValidateEnumValue ¶ added in v65.78.0
func (m SubscriptionInfo) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type TechSupportItem ¶
type TechSupportItem struct { // Unique identifier for the item. ItemKey *string `mandatory:"false" json:"itemKey"` // The display name of the item. Avoid entering confidential information. Name *string `mandatory:"false" json:"name"` Category *Category `mandatory:"false" json:"category"` SubCategory *SubCategory `mandatory:"false" json:"subCategory"` IssueType *IssueType `mandatory:"false" json:"issueType"` }
TechSupportItem Details about the TechSupportItem object.
func (TechSupportItem) GetCategory ¶
func (m TechSupportItem) GetCategory() *Category
GetCategory returns Category
func (TechSupportItem) GetIssueType ¶
func (m TechSupportItem) GetIssueType() *IssueType
GetIssueType returns IssueType
func (TechSupportItem) GetItemKey ¶
func (m TechSupportItem) GetItemKey() *string
GetItemKey returns ItemKey
func (TechSupportItem) GetSubCategory ¶
func (m TechSupportItem) GetSubCategory() *SubCategory
GetSubCategory returns SubCategory
func (TechSupportItem) MarshalJSON ¶
func (m TechSupportItem) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (TechSupportItem) String ¶
func (m TechSupportItem) String() string
func (TechSupportItem) ValidateEnumValue ¶
func (m TechSupportItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type TenancyInformation ¶
type TenancyInformation struct { // The Customer Support Identifier (CSI) number associated with the tenancy. CustomerSupportKey *string `mandatory:"true" json:"customerSupportKey"` // The OCID of the tenancy. TenancyId *string `mandatory:"true" json:"tenancyId"` }
TenancyInformation Details about the tenancy.
func (TenancyInformation) String ¶
func (m TenancyInformation) String() string
func (TenancyInformation) ValidateEnumValue ¶
func (m TenancyInformation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type Ticket ¶
type Ticket struct { // The severity assigned to the ticket. Severity TicketSeverityEnum `mandatory:"true" json:"severity"` // The title of the ticket. Title *string `mandatory:"true" json:"title"` // The description of the issue addressed in the ticket. Description *string `mandatory:"true" json:"description"` // Unique identifier for the ticket. TicketNumber *string `mandatory:"false" json:"ticketNumber"` // The list of resources associated with the ticket. ResourceList []Resource `mandatory:"false" json:"resourceList"` // The time when the ticket was created, in seconds since epoch time. TimeCreated *int `mandatory:"false" json:"timeCreated"` // The time when the ticket was updated, in seconds since epoch time. TimeUpdated *int `mandatory:"false" json:"timeUpdated"` // The current state of the ticket. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Additional information about the current `lifecycleState`. LifecycleDetails LifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` }
Ticket Details about the ticket created.
func (Ticket) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type TicketSeverityEnum ¶
type TicketSeverityEnum string
TicketSeverityEnum Enum with underlying type: string
const ( TicketSeverityHighest TicketSeverityEnum = "HIGHEST" TicketSeverityHigh TicketSeverityEnum = "HIGH" TicketSeverityMedium TicketSeverityEnum = "MEDIUM" TicketSeverityLow TicketSeverityEnum = "LOW" )
Set of constants representing the allowable values for TicketSeverityEnum
func GetMappingTicketSeverityEnum ¶
func GetMappingTicketSeverityEnum(val string) (TicketSeverityEnum, bool)
GetMappingTicketSeverityEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTicketSeverityEnumValues ¶
func GetTicketSeverityEnumValues() []TicketSeverityEnum
GetTicketSeverityEnumValues Enumerates the set of values for TicketSeverityEnum
type TimeZoneEnum ¶
type TimeZoneEnum string
TimeZoneEnum Enum with underlying type: string
const ( TimeZoneGreenwichMeanTime TimeZoneEnum = "GREENWICH_MEAN_TIME" TimeZoneEuropeanCentralTime TimeZoneEnum = "EUROPEAN_CENTRAL_TIME" TimeZoneEasternEuropeanTime TimeZoneEnum = "EASTERN_EUROPEAN_TIME" TimeZoneEasternAfricanTime TimeZoneEnum = "EASTERN_AFRICAN_TIME" TimeZoneMiddleEastTime TimeZoneEnum = "MIDDLE_EAST_TIME" TimeZoneNearEastTime TimeZoneEnum = "NEAR_EAST_TIME" TimeZonePakistanLahoreTime TimeZoneEnum = "PAKISTAN_LAHORE_TIME" TimeZoneIndiaStandardTime TimeZoneEnum = "INDIA_STANDARD_TIME" TimeZoneBangladeshStandardTime TimeZoneEnum = "BANGLADESH_STANDARD_TIME" TimeZoneVietnamStandardTime TimeZoneEnum = "VIETNAM_STANDARD_TIME" TimeZoneChinaTaiwanTime TimeZoneEnum = "CHINA_TAIWAN_TIME" TimeZoneJapanStandardTime TimeZoneEnum = "JAPAN_STANDARD_TIME" TimeZoneAustraliaCentralTime TimeZoneEnum = "AUSTRALIA_CENTRAL_TIME" TimeZoneAustraliaEasternTime TimeZoneEnum = "AUSTRALIA_EASTERN_TIME" TimeZoneSolomonStandardTime TimeZoneEnum = "SOLOMON_STANDARD_TIME" TimeZoneNewZealandStandardTime TimeZoneEnum = "NEW_ZEALAND_STANDARD_TIME" TimeZoneMidwayIslandsTime TimeZoneEnum = "MIDWAY_ISLANDS_TIME" TimeZoneHawaiiStandardTime TimeZoneEnum = "HAWAII_STANDARD_TIME" TimeZoneAlaskaStandardTime TimeZoneEnum = "ALASKA_STANDARD_TIME" TimeZonePacificStandardTime TimeZoneEnum = "PACIFIC_STANDARD_TIME" TimeZoneMountainStandardTime TimeZoneEnum = "MOUNTAIN_STANDARD_TIME" TimeZoneCentralStandardTime TimeZoneEnum = "CENTRAL_STANDARD_TIME" TimeZoneEasternStandardTime TimeZoneEnum = "EASTERN_STANDARD_TIME" TimeZonePuertoRicoAndUsVirginIslandsTime TimeZoneEnum = "PUERTO_RICO_AND_US_VIRGIN_ISLANDS_TIME" TimeZoneCanadaNewfoundlandTime TimeZoneEnum = "CANADA_NEWFOUNDLAND_TIME" TimeZoneArgentinaStandardTime TimeZoneEnum = "ARGENTINA_STANDARD_TIME" TimeZoneMidAtlanticTime TimeZoneEnum = "MID_ATLANTIC_TIME" TimeZoneCentralAfricanTime TimeZoneEnum = "CENTRAL_AFRICAN_TIME" )
Set of constants representing the allowable values for TimeZoneEnum
func GetMappingTimeZoneEnum ¶
func GetMappingTimeZoneEnum(val string) (TimeZoneEnum, bool)
GetMappingTimeZoneEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTimeZoneEnumValues ¶
func GetTimeZoneEnumValues() []TimeZoneEnum
GetTimeZoneEnumValues Enumerates the set of values for TimeZoneEnum
type UnitEnum ¶
type UnitEnum string
UnitEnum Enum with underlying type: string
Set of constants representing the allowable values for UnitEnum
func GetMappingUnitEnum ¶
GetMappingUnitEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUnitEnumValues ¶
func GetUnitEnumValues() []UnitEnum
GetUnitEnumValues Enumerates the set of values for UnitEnum
type UpdateActivityItemDetails ¶
type UpdateActivityItemDetails struct { // Comments updated at the time that the activity occurs. Comments *string `mandatory:"false" json:"comments"` // The type of activity occurring. ActivityType UpdateActivityItemDetailsActivityTypeEnum `mandatory:"false" json:"activityType,omitempty"` }
UpdateActivityItemDetails Details for updating the support ticket activity.
func (UpdateActivityItemDetails) MarshalJSON ¶
func (m UpdateActivityItemDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateActivityItemDetails) String ¶
func (m UpdateActivityItemDetails) String() string
func (UpdateActivityItemDetails) ValidateEnumValue ¶
func (m UpdateActivityItemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateActivityItemDetailsActivityTypeEnum ¶
type UpdateActivityItemDetailsActivityTypeEnum string
UpdateActivityItemDetailsActivityTypeEnum Enum with underlying type: string
const ( UpdateActivityItemDetailsActivityTypeNotes UpdateActivityItemDetailsActivityTypeEnum = "NOTES" UpdateActivityItemDetailsActivityTypeProblemDescription UpdateActivityItemDetailsActivityTypeEnum = "PROBLEM_DESCRIPTION" UpdateActivityItemDetailsActivityTypeUpdate UpdateActivityItemDetailsActivityTypeEnum = "UPDATE" UpdateActivityItemDetailsActivityTypeClose UpdateActivityItemDetailsActivityTypeEnum = "CLOSE" UpdateActivityItemDetailsActivityTypeReopen UpdateActivityItemDetailsActivityTypeEnum = "REOPEN" )
Set of constants representing the allowable values for UpdateActivityItemDetailsActivityTypeEnum
func GetMappingUpdateActivityItemDetailsActivityTypeEnum ¶
func GetMappingUpdateActivityItemDetailsActivityTypeEnum(val string) (UpdateActivityItemDetailsActivityTypeEnum, bool)
GetMappingUpdateActivityItemDetailsActivityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateActivityItemDetailsActivityTypeEnumValues ¶
func GetUpdateActivityItemDetailsActivityTypeEnumValues() []UpdateActivityItemDetailsActivityTypeEnum
GetUpdateActivityItemDetailsActivityTypeEnumValues Enumerates the set of values for UpdateActivityItemDetailsActivityTypeEnum
type UpdateIncident ¶
type UpdateIncident struct { Ticket *UpdateTicketDetails `mandatory:"true" json:"ticket"` // The kind of support ticket (type of support request). // For information about `ACCOUNT` support tickets, see // Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). // For information about `LIMIT` support tickets, see // Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). // For information about `TECH` support tickets, see // Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). ProblemType ProblemTypeEnum `mandatory:"false" json:"problemType,omitempty"` }
UpdateIncident Details about the support ticket being updated.
func (UpdateIncident) String ¶
func (m UpdateIncident) String() string
func (UpdateIncident) ValidateEnumValue ¶
func (m UpdateIncident) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateIncidentRequest ¶
type UpdateIncidentRequest struct { // Unique identifier for the support ticket. IncidentKey *string `mandatory:"true" contributesTo:"path" name:"incidentKey"` // Details about the support ticket being updated. UpdateIncidentDetails UpdateIncident `contributesTo:"body"` // The OCID of the tenancy. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The Customer Support Identifier (CSI) number associated with the support account. // The CSI is optional for all support request types. Csi *string `mandatory:"false" contributesTo:"header" name:"csi"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. // User OCID is mandatory for OCI Users and optional for Multicloud users. Ocid *string `mandatory:"false" contributesTo:"header" name:"ocid"` // The region of the tenancy. Homeregion *string `mandatory:"false" contributesTo:"header" name:"homeregion"` // Token type that determine which cloud provider the request come from. Bearertokentype *string `mandatory:"false" contributesTo:"header" name:"bearertokentype"` // Token that provided by multi cloud provider, which help to validate the email. Bearertoken *string `mandatory:"false" contributesTo:"header" name:"bearertoken"` // IdToken that provided by multi cloud provider, which help to validate the email. Idtoken *string `mandatory:"false" contributesTo:"header" name:"idtoken"` // The OCID of identity domain. // DomainID is mandatory if the user is part of Non Default Identity domain. Domainid *string `mandatory:"false" contributesTo:"header" name:"domainid"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateIncidentRequest wrapper for the UpdateIncident operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/UpdateIncident.go.html to see an example of how to use UpdateIncidentRequest.
func (UpdateIncidentRequest) BinaryRequestBody ¶
func (request UpdateIncidentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateIncidentRequest) HTTPRequest ¶
func (request UpdateIncidentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateIncidentRequest) RetryPolicy ¶
func (request UpdateIncidentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateIncidentRequest) String ¶
func (request UpdateIncidentRequest) String() string
func (UpdateIncidentRequest) ValidateEnumValue ¶
func (request UpdateIncidentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateIncidentResponse ¶
type UpdateIncidentResponse struct { // The underlying http response RawResponse *http.Response // The Incident instance Incident `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"` }
UpdateIncidentResponse wrapper for the UpdateIncident operation
func (UpdateIncidentResponse) HTTPResponse ¶
func (response UpdateIncidentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateIncidentResponse) String ¶
func (response UpdateIncidentResponse) String() string
type UpdateItemDetails ¶
type UpdateItemDetails interface { }
UpdateItemDetails Details for updating an item.
type UpdateResourceDetails ¶
type UpdateResourceDetails struct {
Item UpdateItemDetails `mandatory:"false" json:"item"`
}
UpdateResourceDetails Details about updates to the resource.
func (UpdateResourceDetails) String ¶
func (m UpdateResourceDetails) String() string
func (*UpdateResourceDetails) UnmarshalJSON ¶
func (m *UpdateResourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (UpdateResourceDetails) ValidateEnumValue ¶
func (m UpdateResourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateTicketDetails ¶
type UpdateTicketDetails struct {
// The list of resources.
Resource *interface{} `mandatory:"true" json:"resource"`
}
UpdateTicketDetails Details about the ticket updated.
func (UpdateTicketDetails) String ¶
func (m UpdateTicketDetails) String() string
func (UpdateTicketDetails) ValidateEnumValue ¶
func (m UpdateTicketDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type User ¶
type User struct { // A unique identifier for the user. Key *string `mandatory:"true" json:"key"` // The user's first name. FirstName *string `mandatory:"false" json:"firstName"` // The user's last name. LastName *string `mandatory:"false" json:"lastName"` // The country of the user. Country *string `mandatory:"false" json:"country"` // The CSI associated with the user. Csi *string `mandatory:"false" json:"csi"` // The user's contact phone number. Phone *string `mandatory:"false" json:"phone"` // The timezone of the user. Timezone *string `mandatory:"false" json:"timezone"` // The company that the user belongs to. OrganizationName *string `mandatory:"false" json:"organizationName"` // The OCID of the tenancy. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The email of the contact person. ContactEmail *string `mandatory:"false" json:"contactEmail"` // The kind of support ticket (type of support request). // For information about `ACCOUNT` support tickets, see // Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). // For information about `LIMIT` support tickets, see // Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). // For information about `TECH` support tickets, see // Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). ProblemType ProblemTypeEnum `mandatory:"false" json:"problemType,omitempty"` }
User Details about the user.
func (User) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ValidateUserProblemTypeEnum ¶ added in v65.49.0
type ValidateUserProblemTypeEnum string
ValidateUserProblemTypeEnum Enum with underlying type: string
const ( ValidateUserProblemTypeLimit ValidateUserProblemTypeEnum = "LIMIT" ValidateUserProblemTypeLegacyLimit ValidateUserProblemTypeEnum = "LEGACY_LIMIT" ValidateUserProblemTypeTech ValidateUserProblemTypeEnum = "TECH" ValidateUserProblemTypeAccount ValidateUserProblemTypeEnum = "ACCOUNT" ValidateUserProblemTypeTaxonomy ValidateUserProblemTypeEnum = "TAXONOMY" )
Set of constants representing the allowable values for ValidateUserProblemTypeEnum
func GetMappingValidateUserProblemTypeEnum ¶ added in v65.49.0
func GetMappingValidateUserProblemTypeEnum(val string) (ValidateUserProblemTypeEnum, bool)
GetMappingValidateUserProblemTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetValidateUserProblemTypeEnumValues ¶ added in v65.49.0
func GetValidateUserProblemTypeEnumValues() []ValidateUserProblemTypeEnum
GetValidateUserProblemTypeEnumValues Enumerates the set of values for ValidateUserProblemTypeEnum
type ValidateUserRequest ¶
type ValidateUserRequest struct { // The Customer Support Identifier (CSI) number associated with the support account. // The CSI is optional for all support request types. Csi *string `mandatory:"false" contributesTo:"header" name:"csi"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The kind of support request. ProblemType ValidateUserProblemTypeEnum `mandatory:"false" contributesTo:"query" name:"problemType" omitEmpty:"true"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. // User OCID is mandatory for OCI Users and optional for Multicloud users. Ocid *string `mandatory:"false" contributesTo:"header" name:"ocid"` // The region of the tenancy. Homeregion *string `mandatory:"false" contributesTo:"header" name:"homeregion"` // Token type that determine which cloud provider the request come from. Bearertokentype *string `mandatory:"false" contributesTo:"header" name:"bearertokentype"` // Token that provided by multi cloud provider, which help to validate the email. Bearertoken *string `mandatory:"false" contributesTo:"header" name:"bearertoken"` // IdToken that provided by multi cloud provider, which help to validate the email. Idtoken *string `mandatory:"false" contributesTo:"header" name:"idtoken"` // The OCID of identity domain. // DomainID is mandatory if the user is part of Non Default Identity domain. Domainid *string `mandatory:"false" contributesTo:"header" name:"domainid"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ValidateUserRequest wrapper for the ValidateUser operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/ValidateUser.go.html to see an example of how to use ValidateUserRequest.
func (ValidateUserRequest) BinaryRequestBody ¶
func (request ValidateUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ValidateUserRequest) HTTPRequest ¶
func (request ValidateUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ValidateUserRequest) RetryPolicy ¶
func (request ValidateUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ValidateUserRequest) String ¶
func (request ValidateUserRequest) String() string
func (ValidateUserRequest) ValidateEnumValue ¶
func (request ValidateUserRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ValidateUserResponse ¶
type ValidateUserResponse struct { // The underlying http response RawResponse *http.Response // The ValidationResponse instance ValidationResponse `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"` }
ValidateUserResponse wrapper for the ValidateUser operation
func (ValidateUserResponse) HTTPResponse ¶
func (response ValidateUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ValidateUserResponse) String ¶
func (response ValidateUserResponse) String() string
type ValidationResponse ¶
type ValidationResponse struct { // Boolean value that indicates whether the requested user is valid. IsValidUser *bool `mandatory:"false" json:"isValidUser"` // Technical support type (`TECH`) only: Identifier and name of the support request's user group (`userGroupId` and `userGroupName`). WritePermittedUserGroupInfos []CmosUserGroupInfo `mandatory:"false" json:"writePermittedUserGroupInfos"` }
ValidationResponse The validation response returned when checking whether the requested user is valid.
func (ValidationResponse) String ¶
func (m ValidationResponse) String() string
func (ValidationResponse) ValidateEnumValue ¶
func (m ValidationResponse) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Source Files
¶
- account_item.go
- activity_item.go
- category.go
- cims_incident_client.go
- classifier.go
- cmos_user_group_info.go
- contact.go
- contact_list.go
- contextual_data.go
- create_account_item_details.go
- create_category_details.go
- create_incident.go
- create_incident_request_response.go
- create_issue_type_details.go
- create_item_details.go
- create_limit_item_details.go
- create_resource_details.go
- create_sub_category_details.go
- create_tech_support_item_details.go
- create_ticket_details.go
- create_user_details.go
- error_code.go
- get_csi_number_request_response.go
- get_incident_request_response.go
- get_status_request_response.go
- incident.go
- incident_resource_type.go
- incident_summary.go
- incident_type.go
- issue_type.go
- item.go
- lifecycle_details.go
- lifecycle_state.go
- limit_item.go
- list_incident_resource_types_request_response.go
- list_incidents_request_response.go
- problem_type.go
- resource.go
- scope.go
- service_categories.go
- service_category.go
- services.go
- sort_by.go
- sort_order.go
- status.go
- sub_categories.go
- sub_category.go
- sub_components.go
- subscription_info.go
- tech_support_item.go
- tenancy_information.go
- ticket.go
- time_zone.go
- unit.go
- update_activity_item_details.go
- update_incident.go
- update_incident_request_response.go
- update_item_details.go
- update_resource_details.go
- update_ticket_details.go
- user.go
- validate_user_request_response.go
- validation_response.go