Documentation
¶
Index ¶
- func GetActivityItemActivityAuthorEnumStringValues() []string
- func GetActivityItemActivityTypeEnumStringValues() []string
- func GetAvailabilityDomainEnumStringValues() []string
- func GetClassifierScopeEnumStringValues() []string
- func GetClassifierUnitEnumStringValues() []string
- func GetContactContactTypeEnumStringValues() []string
- func GetCreateLimitItemDetailsLimitStatusEnumStringValues() []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 GetRegionEnumStringValues() []string
- func GetScopeEnumStringValues() []string
- func GetSortByEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- func GetTicketSeverityEnumStringValues() []string
- func GetTimeZoneEnumStringValues() []string
- func GetUnitEnumStringValues() []string
- func GetUpdateActivityItemDetailsActivityTypeEnumStringValues() []string
- 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 AvailabilityDomainEnum
- type Category
- type Classifier
- type ClassifierScopeEnum
- type ClassifierUnitEnum
- type Contact
- type ContactContactTypeEnum
- type ContactList
- type ContextualData
- 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 CreateLimitItemDetailsLimitStatusEnum
- 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 CreateUserRequest
- func (request CreateUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateUserRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateUserRequest) String() string
- func (request CreateUserRequest) ValidateEnumValue() (bool, error)
- type CreateUserResponse
- type ErrorCodeEnum
- 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) GetStatus(ctx context.Context, request GetStatusRequest) (response GetStatusResponse, 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 RegionEnum
- type Resource
- type ScopeEnum
- type ServiceCategory
- type SortByEnum
- type SortOrderEnum
- type Status
- type SubCategory
- 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 UserClient
- 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 GetAvailabilityDomainEnumStringValues ¶
func GetAvailabilityDomainEnumStringValues() []string
GetAvailabilityDomainEnumStringValues Enumerates the set of values in String for AvailabilityDomainEnum
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 GetCreateLimitItemDetailsLimitStatusEnumStringValues ¶
func GetCreateLimitItemDetailsLimitStatusEnumStringValues() []string
GetCreateLimitItemDetailsLimitStatusEnumStringValues Enumerates the set of values in String for CreateLimitItemDetailsLimitStatusEnum
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 GetRegionEnumStringValues ¶
func GetRegionEnumStringValues() []string
GetRegionEnumStringValues Enumerates the set of values in String for RegionEnum
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
Types ¶
type ActivityItem ¶
type ActivityItem struct { // Unique identifier for the item. ItemKey *string `mandatory:"true" json:"itemKey"` // The display name of the item. Name *string `mandatory:"false" json:"name"` Category *Category `mandatory:"false" json:"category"` SubCategory *SubCategory `mandatory:"false" json:"subCategory"` IssueType *IssueType `mandatory:"false" json:"issueType"` // Comments added with the activity on the support ticket. Comments *string `mandatory:"false" json:"comments"` // The time when the activity was created, in milliseconds since epoch time. TimeCreated *int `mandatory:"false" json:"timeCreated"` // The time when the activity was updated, in milliseconds since epoch time. TimeUpdated *int `mandatory:"false" json:"timeUpdated"` // The type of activity occuring on the support ticket. ActivityType ActivityItemActivityTypeEnum `mandatory:"false" json:"activityType,omitempty"` // The person who updates the activity on the support ticket. ActivityAuthor ActivityItemActivityAuthorEnum `mandatory:"false" json:"activityAuthor,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
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" )
Set of constants representing the allowable values for ActivityItemActivityTypeEnum
func GetActivityItemActivityTypeEnumValues ¶
func GetActivityItemActivityTypeEnumValues() []ActivityItemActivityTypeEnum
GetActivityItemActivityTypeEnumValues Enumerates the set of values for ActivityItemActivityTypeEnum
type AvailabilityDomainEnum ¶
type AvailabilityDomainEnum string
AvailabilityDomainEnum Enum with underlying type: string
const ( AvailabilityDomainDev1 AvailabilityDomainEnum = "DEV_1" AvailabilityDomainDev2 AvailabilityDomainEnum = "DEV_2" AvailabilityDomainDev3 AvailabilityDomainEnum = "DEV_3" AvailabilityDomainIntegNext1 AvailabilityDomainEnum = "INTEG_NEXT_1" AvailabilityDomainIntegStable1 AvailabilityDomainEnum = "INTEG_STABLE_1" AvailabilityDomainSeaAd1 AvailabilityDomainEnum = "SEA_AD_1" AvailabilityDomainSeaAd2 AvailabilityDomainEnum = "SEA_AD_2" AvailabilityDomainSeaAd3 AvailabilityDomainEnum = "SEA_AD_3" AvailabilityDomainPhxAd1 AvailabilityDomainEnum = "PHX_AD_1" AvailabilityDomainPhxAd2 AvailabilityDomainEnum = "PHX_AD_2" AvailabilityDomainPhxAd3 AvailabilityDomainEnum = "PHX_AD_3" AvailabilityDomainUsAshburnAd1 AvailabilityDomainEnum = "US_ASHBURN_AD_1" AvailabilityDomainUsAshburnAd2 AvailabilityDomainEnum = "US_ASHBURN_AD_2" AvailabilityDomainUsAshburnAd3 AvailabilityDomainEnum = "US_ASHBURN_AD_3" AvailabilityDomainUsAshburnAd4 AvailabilityDomainEnum = "US_ASHBURN_AD_4" AvailabilityDomainEuFrankfurt1Ad1 AvailabilityDomainEnum = "EU_FRANKFURT_1_AD_1" AvailabilityDomainEuFrankfurt1Ad2 AvailabilityDomainEnum = "EU_FRANKFURT_1_AD_2" AvailabilityDomainEuFrankfurt1Ad3 AvailabilityDomainEnum = "EU_FRANKFURT_1_AD_3" AvailabilityDomainUkLondon1Ad1 AvailabilityDomainEnum = "UK_LONDON_1_AD_1" AvailabilityDomainUkLondon1Ad2 AvailabilityDomainEnum = "UK_LONDON_1_AD_2" AvailabilityDomainUkLondon1Ad3 AvailabilityDomainEnum = "UK_LONDON_1_AD_3" AvailabilityDomainCaToronto1Ad1 AvailabilityDomainEnum = "CA_TORONTO_1_AD_1" AvailabilityDomainApTokyo1Ad1 AvailabilityDomainEnum = "AP_TOKYO_1_AD_1" AvailabilityDomainApSeoul1Ad1 AvailabilityDomainEnum = "AP_SEOUL_1_AD_1" AvailabilityDomainApMumbai1Ad1 AvailabilityDomainEnum = "AP_MUMBAI_1_AD_1" AvailabilityDomainSaSaopaulo1Ad1 AvailabilityDomainEnum = "SA_SAOPAULO_1_AD_1" AvailabilityDomainMeJeddah1Ad1 AvailabilityDomainEnum = "ME_JEDDAH_1_AD_1" AvailabilityDomainApOsaka1Ad1 AvailabilityDomainEnum = "AP_OSAKA_1_AD_1" AvailabilityDomainApSydney1Ad1 AvailabilityDomainEnum = "AP_SYDNEY_1_AD_1" AvailabilityDomainEuZurich1Ad1 AvailabilityDomainEnum = "EU_ZURICH_1_AD_1" AvailabilityDomainEuAmsterdam1Ad1 AvailabilityDomainEnum = "EU_AMSTERDAM_1_AD_1" AvailabilityDomainApMelbourne1Ad1 AvailabilityDomainEnum = "AP_MELBOURNE_1_AD_1" AvailabilityDomainCaMontreal1Ad1 AvailabilityDomainEnum = "CA_MONTREAL_1_AD_1" AvailabilityDomainApHyderabad1Ad1 AvailabilityDomainEnum = "AP_HYDERABAD_1_AD_1" AvailabilityDomainApChuncheon1Ad1 AvailabilityDomainEnum = "AP_CHUNCHEON_1_AD_1" AvailabilityDomainNoAd AvailabilityDomainEnum = "NO_AD" )
Set of constants representing the allowable values for AvailabilityDomainEnum
func GetAvailabilityDomainEnumValues ¶
func GetAvailabilityDomainEnumValues() []AvailabilityDomainEnum
GetAvailabilityDomainEnumValues Enumerates the set of values for AvailabilityDomainEnum
type Category ¶
type Category struct { // Unique identifier for the category. CategoryKey *string `mandatory:"false" json:"categoryKey"` // The name of the category. For example, `Compute` or `Identity`. Name *string `mandatory:"false" json:"name"` }
Category Details about the 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
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
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 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.
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
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 client identifier ClientId *string `mandatory:"true" json:"clientId"` // The schema name SchemaName *string `mandatory:"true" json:"schemaName"` // The schema version SchemaVersion *string `mandatory:"true" json:"schemaVersion"` // The context data payload Payload *string `mandatory:"true" json:"payload"` }
ContextualData The representation of ContextualData
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 CreateCategoryDetails ¶
type CreateCategoryDetails struct { // Unique identifier for the category. CategoryKey *string `mandatory:"false" json:"categoryKey"` }
CreateCategoryDetails Details for creating the category of the support ticket. **Caution:** Avoid using any confidential information when you supply string values using the API.
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, such as a technical issue request. ProblemType ProblemTypeEnum `mandatory:"true" json:"problemType"` // The Customer Support Identifier number for the support account. Csi *string `mandatory:"false" json:"csi"` // 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. **Caution:** Avoid using any confidential information when you supply string values using the API.
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"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"true" contributesTo:"header" name:"ocid"` // 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 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 }
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 ID. 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. **Caution:** Avoid using any confidential information when you supply string values using the API.
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 item. GetName() *string }
CreateItemDetails Details gathered during item creation. **Caution:** Avoid using any confidential information when you supply string values using the API.
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 item. 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"` // Reserved for future use. RequestedLimit *int `mandatory:"false" json:"requestedLimit"` // The current status of the request. LimitStatus CreateLimitItemDetailsLimitStatusEnum `mandatory:"false" json:"limitStatus,omitempty"` }
CreateLimitItemDetails Reserved for future use.
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 CreateLimitItemDetailsLimitStatusEnum ¶
type CreateLimitItemDetailsLimitStatusEnum string
CreateLimitItemDetailsLimitStatusEnum Enum with underlying type: string
const ( CreateLimitItemDetailsLimitStatusApproved CreateLimitItemDetailsLimitStatusEnum = "APPROVED" CreateLimitItemDetailsLimitStatusPartiallyApproved CreateLimitItemDetailsLimitStatusEnum = "PARTIALLY_APPROVED" CreateLimitItemDetailsLimitStatusNotApproved CreateLimitItemDetailsLimitStatusEnum = "NOT_APPROVED" )
Set of constants representing the allowable values for CreateLimitItemDetailsLimitStatusEnum
func GetCreateLimitItemDetailsLimitStatusEnumValues ¶
func GetCreateLimitItemDetailsLimitStatusEnumValues() []CreateLimitItemDetailsLimitStatusEnum
GetCreateLimitItemDetailsLimitStatusEnumValues Enumerates the set of values for CreateLimitItemDetailsLimitStatusEnum
type CreateResourceDetails ¶
type CreateResourceDetails struct { Item CreateItemDetails `mandatory:"false" json:"item"` // The list of available Oracle Cloud Infrastructure regions. Region RegionEnum `mandatory:"false" json:"region,omitempty"` // The list of available Oracle Cloud Infrastructure availability domains. AvailabilityDomain AvailabilityDomainEnum `mandatory:"false" json:"availabilityDomain,omitempty"` }
CreateResourceDetails Details about the resource that the support ticket relates to. **Caution:** Avoid using any confidential information when you supply string values using the API.
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 subcategory. SubCategoryKey *string `mandatory:"false" json:"subCategoryKey"` }
CreateSubCategoryDetails Details for creating the subcategory of the support ticket. **Caution:** Avoid using any confidential information when you supply string values using the API.
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 item. Name *string `mandatory:"false" json:"name"` }
CreateTechSupportItemDetails Details about the issue that the technical support request relates to. **Caution:** Avoid using any confidential information when you supply string values using the API.
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. Title *string `mandatory:"true" json:"title"` // The description of the support ticket. Description *string `mandatory:"true" json:"description"` // The list of resources. ResourceList []CreateResourceDetails `mandatory:"false" json:"resourceList"` // The context from where the ticket is getting created. ContextualData *ContextualData `mandatory:"false" json:"contextualData"` }
CreateTicketDetails Details relevant to the support ticket. **Caution:** Avoid using any confidential information when you supply string values using the API.
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" )
Set of constants representing the allowable values for CreateTicketDetailsSeverityEnum
func GetCreateTicketDetailsSeverityEnumValues ¶
func GetCreateTicketDetailsSeverityEnumValues() []CreateTicketDetailsSeverityEnum
GetCreateTicketDetailsSeverityEnumValues Enumerates the set of values for CreateTicketDetailsSeverityEnum
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"` // Country of the user. Country *string `mandatory:"true" json:"country"` // CSI to be associated to the user. Csi *string `mandatory:"true" json:"csi"` // Contact number of the user. Phone *string `mandatory:"true" json:"phone"` // Timezone of the user. Timezone *string `mandatory:"true" json:"timezone"` // Organization of the user. OrganizationName *string `mandatory:"true" json:"organizationName"` }
CreateUserDetails Details about creation of 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 CreateUserRequest ¶
type CreateUserRequest struct { // User information CreateUserDetails `contributesTo:"body"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"true" contributesTo:"header" name:"ocid"` // 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 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 }
CreateUserRequest wrapper for the CreateUser operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/CreateUser.go.html to see an example of how to use CreateUserRequest.
func (CreateUserRequest) BinaryRequestBody ¶
func (request CreateUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateUserRequest) HTTPRequest ¶
func (request CreateUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateUserRequest) RetryPolicy ¶
func (request CreateUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateUserRequest) String ¶
func (request CreateUserRequest) String() string
func (CreateUserRequest) ValidateEnumValue ¶
func (request CreateUserRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateUserResponse ¶
type CreateUserResponse struct { // The underlying http response RawResponse *http.Response // The User instance User `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"` }
CreateUserResponse wrapper for the CreateUser operation
func (CreateUserResponse) HTTPResponse ¶
func (response CreateUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateUserResponse) String ¶
func (response CreateUserResponse) String() string
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" ErrorCodeCsiNotAuthorized ErrorCodeEnum = "CSI_NOT_AUTHORIZED" ErrorCodeUserPolicyNotAuthorized ErrorCodeEnum = "USER_POLICY_NOT_AUTHORIZED" ErrorCodeEmailNotVerified ErrorCodeEnum = "EMAIL_NOT_VERIFIED" ErrorCodeEmailNotFound ErrorCodeEnum = "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" )
Set of constants representing the allowable values for ErrorCodeEnum
func GetErrorCodeEnumValues ¶
func GetErrorCodeEnumValues() []ErrorCodeEnum
GetErrorCodeEnumValues Enumerates the set of values for ErrorCodeEnum
type GetIncidentRequest ¶
type GetIncidentRequest struct { // Unique identifier for the support ticket. IncidentKey *string `mandatory:"true" contributesTo:"path" name:"incidentKey"` // The Customer Support Identifier associated with the support account. Csi *string `mandatory:"true" contributesTo:"header" name:"csi"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"true" contributesTo:"header" name:"ocid"` // 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 region of the tenancy. Homeregion *string `mandatory:"false" contributesTo:"header" name:"homeregion"` // The kind of support request. ProblemType *string `mandatory:"false" contributesTo:"header" name:"problem-type"` // 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 { // The system that generated the support ticket, such as My Oracle Support. Source *string `mandatory:"true" contributesTo:"path" name:"source"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"true" contributesTo:"header" name:"ocid"` // 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 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"` // The kind of support ticket, such as a technical support request. 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 of about the incident object.
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 Enables the customer to create an support ticket.
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 details of the support ticket.
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) GetStatus ¶
func (client IncidentClient) GetStatus(ctx context.Context, request GetStatusRequest) (response GetStatusResponse, err error)
GetStatus Gets the status of the service.
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 GetStatus API.
func (IncidentClient) ListIncidentResourceTypes ¶
func (client IncidentClient) ListIncidentResourceTypes(ctx context.Context, request ListIncidentResourceTypesRequest) (response ListIncidentResourceTypesResponse, err error)
ListIncidentResourceTypes During support ticket creation, returns the list of all possible products that Oracle Cloud Infrastructure supports.
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 Returns the list of support tickets raised by the tenancy.
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's information.
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.
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"` // Unique identifier of 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"` // The service category list. ServiceCategoryList []ServiceCategory `mandatory:"false" json:"serviceCategoryList"` }
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, such as a technical support request. 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"` }
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 object.
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"` }
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. 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" 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
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
type LimitItem ¶
type LimitItem struct { // Unique identifier for the item. ItemKey *string `mandatory:"true" json:"itemKey"` // The display name of the item. 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 currently available limit of the resource. CurrentLimit *int `mandatory:"false" json:"currentLimit"` // The current usage of the resource. CurrentUsage *int `mandatory:"false" json:"currentUsage"` // The requested limit for the resource. RequestedLimit *int `mandatory:"false" json:"requestedLimit"` // The status of the request. LimitStatus LimitItemLimitStatusEnum `mandatory:"false" json:"limitStatus,omitempty"` }
LimitItem Reserved for future use.
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" )
Set of constants representing the allowable values for LimitItemLimitStatusEnum
func GetLimitItemLimitStatusEnumValues ¶
func GetLimitItemLimitStatusEnumValues() []LimitItemLimitStatusEnum
GetLimitItemLimitStatusEnumValues Enumerates the set of values for LimitItemLimitStatusEnum
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"` // The Customer Support Identifier associated with the support account. Csi *string `mandatory:"true" contributesTo:"header" name:"csi"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"true" contributesTo:"header" name:"ocid"` // 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 incident type. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // 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 }
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
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
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
type ListIncidentsRequest ¶
type ListIncidentsRequest struct { // The Customer Support Identifier associated with the support account. Csi *string `mandatory:"true" contributesTo:"header" name:"csi"` // The OCID of the tenancy. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"true" contributesTo:"header" name:"ocid"` // 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"` // 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"` // 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"` }
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
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
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" )
Set of constants representing the allowable values for ProblemTypeEnum
func GetProblemTypeEnumValues ¶
func GetProblemTypeEnumValues() []ProblemTypeEnum
GetProblemTypeEnumValues Enumerates the set of values for ProblemTypeEnum
type RegionEnum ¶
type RegionEnum string
RegionEnum Enum with underlying type: string
const ( RegionDev RegionEnum = "DEV" RegionSea RegionEnum = "SEA" RegionIntegNext RegionEnum = "INTEG_NEXT" RegionIntegStable RegionEnum = "INTEG_STABLE" RegionPhx RegionEnum = "PHX" RegionIad RegionEnum = "IAD" RegionFra RegionEnum = "FRA" RegionEuFrankfurt1 RegionEnum = "EU_FRANKFURT_1" RegionLhr RegionEnum = "LHR" RegionYyz RegionEnum = "YYZ" RegionNrt RegionEnum = "NRT" RegionIcn RegionEnum = "ICN" RegionBom RegionEnum = "BOM" RegionGru RegionEnum = "GRU" RegionSyd RegionEnum = "SYD" RegionZrh RegionEnum = "ZRH" RegionJed RegionEnum = "JED" RegionAms RegionEnum = "AMS" RegionKix RegionEnum = "KIX" RegionMel RegionEnum = "MEL" RegionYul RegionEnum = "YUL" RegionHyd RegionEnum = "HYD" RegionYny RegionEnum = "YNY" )
Set of constants representing the allowable values for RegionEnum
func GetRegionEnumValues ¶
func GetRegionEnumValues() []RegionEnum
GetRegionEnumValues Enumerates the set of values for RegionEnum
type Resource ¶
type Resource struct { Item Item `mandatory:"false" json:"item"` // The list of available Oracle Cloud Infrastructure regions. Region RegionEnum `mandatory:"false" json:"region,omitempty"` // The list of available Oracle Cloud Infrastructure availability domains. AvailabilityDomain AvailabilityDomainEnum `mandatory:"false" json:"availabilityDomain,omitempty"` }
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 GetScopeEnumValues ¶
func GetScopeEnumValues() []ScopeEnum
GetScopeEnumValues Enumerates the set of values for ScopeEnum
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"` // 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 incident 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 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 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 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 SubCategory ¶
type SubCategory struct { // Unique identifier for the subcategory. SubCategoryKey *string `mandatory:"false" json:"subCategoryKey"` // The name of the subcategory. For example, `Backup Count` or `Custom Image Count`. Name *string `mandatory:"false" json:"name"` }
SubCategory Details about the 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 TechSupportItem ¶
type TechSupportItem struct { // Unique identifier for the item. ItemKey *string `mandatory:"true" json:"itemKey"` // The display name of the item. 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 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 customer's 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 milliseconds since epoch time. TimeCreated *int `mandatory:"false" json:"timeCreated"` // The time when the ticket was updated, in milliseconds 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" )
Set of constants representing the allowable values for TicketSeverityEnum
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 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 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 udpating the support ticket activity. **Caution:** Avoid using any confidential information when you supply string values using the API.
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" )
Set of constants representing the allowable values for UpdateActivityItemDetailsActivityTypeEnum
func GetUpdateActivityItemDetailsActivityTypeEnumValues ¶
func GetUpdateActivityItemDetailsActivityTypeEnumValues() []UpdateActivityItemDetailsActivityTypeEnum
GetUpdateActivityItemDetailsActivityTypeEnumValues Enumerates the set of values for UpdateActivityItemDetailsActivityTypeEnum
type UpdateIncident ¶
type UpdateIncident struct {
Ticket *UpdateTicketDetails `mandatory:"true" json:"ticket"`
}
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"` // The Customer Support Identifier associated with the support account. Csi *string `mandatory:"true" contributesTo:"header" name:"csi"` // Details about the support ticket being updated. UpdateIncidentDetails UpdateIncident `contributesTo:"body"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"true" contributesTo:"header" name:"ocid"` // 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"` // 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 }
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 udpating an item. **Caution:** Avoid using any confidential information when you supply string values using the API.
type UpdateResourceDetails ¶
type UpdateResourceDetails struct {
Item UpdateItemDetails `mandatory:"false" json:"item"`
}
UpdateResourceDetails Details about updates to the resource. **Caution:** Avoid using any confidential information when you supply string values using the API.
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. **Caution:** Avoid using any confidential information when you supply string values using the API.
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 { // Unique identifier for the user. Key *string `mandatory:"true" json:"key"` // First name of the user. FirstName *string `mandatory:"false" json:"firstName"` // Last name of the user. LastName *string `mandatory:"false" json:"lastName"` // Country of the user. Country *string `mandatory:"false" json:"country"` // CSI to be associated to 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"` // The OCID of the tenancy. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The email of the contact person. ContactEmail *string `mandatory:"false" json:"contactEmail"` }
User Details about the user object.
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 UserClient ¶
type UserClient struct { common.BaseClient // contains filtered or unexported fields }
UserClient a client for User
func NewUserClientWithConfigurationProvider ¶
func NewUserClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client UserClient, err error)
NewUserClientWithConfigurationProvider Creates a new default User client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewUserClientWithOboToken ¶
func NewUserClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client UserClient, err error)
NewUserClientWithOboToken Creates a new default User 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 (*UserClient) ConfigurationProvider ¶
func (client *UserClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (UserClient) CreateUser ¶
func (client UserClient) CreateUser(ctx context.Context, request CreateUserRequest) (response CreateUserResponse, err error)
CreateUser Create user to request Customer Support Identifier(CSI) to Customer User Administrator(CUA).
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/CreateUser.go.html to see an example of how to use CreateUser API.
func (*UserClient) SetRegion ¶
func (client *UserClient) SetRegion(region string)
SetRegion overrides the region of this client.
type ValidateUserRequest ¶
type ValidateUserRequest struct { // The Customer Support Identifier number for the support account. Csi *string `mandatory:"true" contributesTo:"header" name:"csi"` // User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. Ocid *string `mandatory:"true" contributesTo:"header" name:"ocid"` // 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 *string `mandatory:"false" contributesTo:"query" name:"problemType"` // 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 }
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"` }
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
¶
- activity_item.go
- availability_domain.go
- category.go
- cims_incident_client.go
- cims_user_client.go
- classifier.go
- contact.go
- contact_list.go
- contextual_data.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
- create_user_request_response.go
- error_code.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
- region.go
- resource.go
- scope.go
- service_category.go
- sort_by.go
- sort_order.go
- status.go
- sub_category.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