...

Package cims

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

Overview ▾

Index ▾

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
type ActivityItemActivityAuthorEnum
    func GetActivityItemActivityAuthorEnumValues() []ActivityItemActivityAuthorEnum
type ActivityItemActivityTypeEnum
    func GetActivityItemActivityTypeEnumValues() []ActivityItemActivityTypeEnum
type AvailabilityDomainEnum
    func GetAvailabilityDomainEnumValues() []AvailabilityDomainEnum
type Category
    func (m Category) String() string
type Classifier
    func (m Classifier) String() string
type ClassifierScopeEnum
    func GetClassifierScopeEnumValues() []ClassifierScopeEnum
type ClassifierUnitEnum
    func GetClassifierUnitEnumValues() []ClassifierUnitEnum
type Contact
    func (m Contact) String() string
type ContactContactTypeEnum
    func GetContactContactTypeEnumValues() []ContactContactTypeEnum
type ContactList
    func (m ContactList) String() string
type ContextualData
    func (m ContextualData) String() string
type CreateCategoryDetails
    func (m CreateCategoryDetails) String() string
type CreateIncident
    func (m CreateIncident) String() string
type CreateIncidentRequest
    func (request CreateIncidentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateIncidentRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateIncidentRequest) String() string
type CreateIncidentResponse
    func (response CreateIncidentResponse) HTTPResponse() *http.Response
    func (response CreateIncidentResponse) String() string
type CreateIssueTypeDetails
    func (m CreateIssueTypeDetails) String() string
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
type CreateLimitItemDetailsLimitStatusEnum
    func GetCreateLimitItemDetailsLimitStatusEnumValues() []CreateLimitItemDetailsLimitStatusEnum
type CreateResourceDetails
    func (m CreateResourceDetails) String() string
    func (m *CreateResourceDetails) UnmarshalJSON(data []byte) (e error)
type CreateSubCategoryDetails
    func (m CreateSubCategoryDetails) String() string
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
type CreateTicketDetails
    func (m CreateTicketDetails) String() string
type CreateTicketDetailsSeverityEnum
    func GetCreateTicketDetailsSeverityEnumValues() []CreateTicketDetailsSeverityEnum
type CreateUserDetails
    func (m CreateUserDetails) String() string
type CreateUserRequest
    func (request CreateUserRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateUserRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateUserRequest) String() string
type CreateUserResponse
    func (response CreateUserResponse) HTTPResponse() *http.Response
    func (response CreateUserResponse) String() string
type ErrorCodeEnum
    func GetErrorCodeEnumValues() []ErrorCodeEnum
type GetIncidentRequest
    func (request GetIncidentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetIncidentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetIncidentRequest) String() string
type GetIncidentResponse
    func (response GetIncidentResponse) HTTPResponse() *http.Response
    func (response GetIncidentResponse) String() string
type GetStatusRequest
    func (request GetStatusRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetStatusRequest) RetryPolicy() *common.RetryPolicy
    func (request GetStatusRequest) String() string
type GetStatusResponse
    func (response GetStatusResponse) HTTPResponse() *http.Response
    func (response GetStatusResponse) String() string
type Incident
    func (m Incident) String() string
type IncidentClient
    func NewIncidentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client IncidentClient, err error)
    func NewIncidentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client IncidentClient, err error)
    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
    func (m IncidentResourceType) String() string
type IncidentSummary
    func (m IncidentSummary) String() string
type IncidentType
    func (m IncidentType) String() string
type IssueType
    func (m IssueType) String() string
type Item
type LifecycleDetailsEnum
    func GetLifecycleDetailsEnumValues() []LifecycleDetailsEnum
type LifecycleStateEnum
    func GetLifecycleStateEnumValues() []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
type LimitItemLimitStatusEnum
    func GetLimitItemLimitStatusEnumValues() []LimitItemLimitStatusEnum
type ListIncidentResourceTypesRequest
    func (request ListIncidentResourceTypesRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListIncidentResourceTypesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListIncidentResourceTypesRequest) String() string
type ListIncidentResourceTypesResponse
    func (response ListIncidentResourceTypesResponse) HTTPResponse() *http.Response
    func (response ListIncidentResourceTypesResponse) String() string
type ListIncidentResourceTypesSortByEnum
    func GetListIncidentResourceTypesSortByEnumValues() []ListIncidentResourceTypesSortByEnum
type ListIncidentResourceTypesSortOrderEnum
    func GetListIncidentResourceTypesSortOrderEnumValues() []ListIncidentResourceTypesSortOrderEnum
type ListIncidentsLifecycleStateEnum
    func GetListIncidentsLifecycleStateEnumValues() []ListIncidentsLifecycleStateEnum
type ListIncidentsRequest
    func (request ListIncidentsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListIncidentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListIncidentsRequest) String() string
type ListIncidentsResponse
    func (response ListIncidentsResponse) HTTPResponse() *http.Response
    func (response ListIncidentsResponse) String() string
type ListIncidentsSortByEnum
    func GetListIncidentsSortByEnumValues() []ListIncidentsSortByEnum
type ListIncidentsSortOrderEnum
    func GetListIncidentsSortOrderEnumValues() []ListIncidentsSortOrderEnum
type ProblemTypeEnum
    func GetProblemTypeEnumValues() []ProblemTypeEnum
type RegionEnum
    func GetRegionEnumValues() []RegionEnum
type Resource
    func (m Resource) String() string
    func (m *Resource) UnmarshalJSON(data []byte) (e error)
type ScopeEnum
    func GetScopeEnumValues() []ScopeEnum
type ServiceCategory
    func (m ServiceCategory) String() string
type SortByEnum
    func GetSortByEnumValues() []SortByEnum
type SortOrderEnum
    func GetSortOrderEnumValues() []SortOrderEnum
type Status
    func (m Status) String() string
type SubCategory
    func (m SubCategory) String() string
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
type TenancyInformation
    func (m TenancyInformation) String() string
type Ticket
    func (m Ticket) String() string
type TicketSeverityEnum
    func GetTicketSeverityEnumValues() []TicketSeverityEnum
type TimeZoneEnum
    func GetTimeZoneEnumValues() []TimeZoneEnum
type UnitEnum
    func GetUnitEnumValues() []UnitEnum
type UpdateActivityItemDetails
    func (m UpdateActivityItemDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateActivityItemDetails) String() string
type UpdateActivityItemDetailsActivityTypeEnum
    func GetUpdateActivityItemDetailsActivityTypeEnumValues() []UpdateActivityItemDetailsActivityTypeEnum
type UpdateIncident
    func (m UpdateIncident) String() string
type UpdateIncidentRequest
    func (request UpdateIncidentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateIncidentRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateIncidentRequest) String() string
type UpdateIncidentResponse
    func (response UpdateIncidentResponse) HTTPResponse() *http.Response
    func (response UpdateIncidentResponse) String() string
type UpdateItemDetails
type UpdateResourceDetails
    func (m UpdateResourceDetails) String() string
    func (m *UpdateResourceDetails) UnmarshalJSON(data []byte) (e error)
type UpdateTicketDetails
    func (m UpdateTicketDetails) String() string
type User
    func (m User) String() string
type UserClient
    func NewUserClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client UserClient, err error)
    func NewUserClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client UserClient, err error)
    func (client *UserClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client UserClient) CreateUser(ctx context.Context, request CreateUserRequest) (response CreateUserResponse, err error)
    func (client *UserClient) SetRegion(region string)
type ValidateUserRequest
    func (request ValidateUserRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ValidateUserRequest) RetryPolicy() *common.RetryPolicy
    func (request ValidateUserRequest) String() string
type ValidateUserResponse
    func (response ValidateUserResponse) HTTPResponse() *http.Response
    func (response ValidateUserResponse) String() string
type ValidationResponse
    func (m ValidationResponse) String() string

Package 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

type ActivityItem

ActivityItem Details about the ActivityItem object.

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

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

func (m ActivityItem) GetName() *string

GetName returns Name

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

type ActivityItemActivityAuthorEnum

ActivityItemActivityAuthorEnum Enum with underlying type: string

type ActivityItemActivityAuthorEnum string

Set of constants representing the allowable values for ActivityItemActivityAuthorEnum

const (
    ActivityItemActivityAuthorCustomer ActivityItemActivityAuthorEnum = "CUSTOMER"
    ActivityItemActivityAuthorOracle   ActivityItemActivityAuthorEnum = "ORACLE"
)

func GetActivityItemActivityAuthorEnumValues

func GetActivityItemActivityAuthorEnumValues() []ActivityItemActivityAuthorEnum

GetActivityItemActivityAuthorEnumValues Enumerates the set of values for ActivityItemActivityAuthorEnum

type ActivityItemActivityTypeEnum

ActivityItemActivityTypeEnum Enum with underlying type: string

type ActivityItemActivityTypeEnum string

Set of constants representing the allowable values for ActivityItemActivityTypeEnum

const (
    ActivityItemActivityTypeNotes              ActivityItemActivityTypeEnum = "NOTES"
    ActivityItemActivityTypeProblemDescription ActivityItemActivityTypeEnum = "PROBLEM_DESCRIPTION"
    ActivityItemActivityTypeUpdate             ActivityItemActivityTypeEnum = "UPDATE"
    ActivityItemActivityTypeClose              ActivityItemActivityTypeEnum = "CLOSE"
)

func GetActivityItemActivityTypeEnumValues

func GetActivityItemActivityTypeEnumValues() []ActivityItemActivityTypeEnum

GetActivityItemActivityTypeEnumValues Enumerates the set of values for ActivityItemActivityTypeEnum

type AvailabilityDomainEnum

AvailabilityDomainEnum Enum with underlying type: string

type AvailabilityDomainEnum string

Set of constants representing the allowable values for AvailabilityDomainEnum

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

func GetAvailabilityDomainEnumValues

func GetAvailabilityDomainEnumValues() []AvailabilityDomainEnum

GetAvailabilityDomainEnumValues Enumerates the set of values for AvailabilityDomainEnum

type Category

Category Details about the category associated with the support ticket.

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

func (Category) String

func (m Category) String() string

type Classifier

Classifier Details about the incident classifier object.

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

func (Classifier) String

func (m Classifier) String() string

type ClassifierScopeEnum

ClassifierScopeEnum Enum with underlying type: string

type ClassifierScopeEnum string

Set of constants representing the allowable values for ClassifierScopeEnum

const (
    ClassifierScopeAd      ClassifierScopeEnum = "AD"
    ClassifierScopeRegion  ClassifierScopeEnum = "REGION"
    ClassifierScopeTenancy ClassifierScopeEnum = "TENANCY"
    ClassifierScopeNone    ClassifierScopeEnum = "NONE"
)

func GetClassifierScopeEnumValues

func GetClassifierScopeEnumValues() []ClassifierScopeEnum

GetClassifierScopeEnumValues Enumerates the set of values for ClassifierScopeEnum

type ClassifierUnitEnum

ClassifierUnitEnum Enum with underlying type: string

type ClassifierUnitEnum string

Set of constants representing the allowable values for ClassifierUnitEnum

const (
    ClassifierUnitCount ClassifierUnitEnum = "COUNT"
    ClassifierUnitGb    ClassifierUnitEnum = "GB"
    ClassifierUnitNone  ClassifierUnitEnum = "NONE"
)

func GetClassifierUnitEnumValues

func GetClassifierUnitEnumValues() []ClassifierUnitEnum

GetClassifierUnitEnumValues Enumerates the set of values for ClassifierUnitEnum

type Contact

Contact Contact details for the customer.

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

func (Contact) String

func (m Contact) String() string

type ContactContactTypeEnum

ContactContactTypeEnum Enum with underlying type: string

type ContactContactTypeEnum string

Set of constants representing the allowable values for ContactContactTypeEnum

const (
    ContactContactTypePrimary   ContactContactTypeEnum = "PRIMARY"
    ContactContactTypeAlternate ContactContactTypeEnum = "ALTERNATE"
    ContactContactTypeSecondary ContactContactTypeEnum = "SECONDARY"
    ContactContactTypeAdmin     ContactContactTypeEnum = "ADMIN"
    ContactContactTypeManager   ContactContactTypeEnum = "MANAGER"
)

func GetContactContactTypeEnumValues

func GetContactContactTypeEnumValues() []ContactContactTypeEnum

GetContactContactTypeEnumValues Enumerates the set of values for ContactContactTypeEnum

type ContactList

ContactList The list of contacts for the ticket.

type ContactList struct {

    // The list of contacts.
    ContactList []Contact `mandatory:"true" json:"contactList"`
}

func (ContactList) String

func (m ContactList) String() string

type ContextualData

ContextualData The representation of 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"`
}

func (ContextualData) String

func (m ContextualData) String() string

type CreateCategoryDetails

CreateCategoryDetails Details for creating the category of the support ticket. **Caution:** Avoid using any confidential information when you supply string values using the API.

type CreateCategoryDetails struct {

    // Unique identifier for the category.
    CategoryKey *string `mandatory:"false" json:"categoryKey"`
}

func (CreateCategoryDetails) String

func (m CreateCategoryDetails) String() string

type CreateIncident

CreateIncident Details gathered during the creation of the support ticket. **Caution:** Avoid using any confidential information when you supply string values using the API.

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

func (CreateIncident) String

func (m CreateIncident) String() string

type CreateIncidentRequest

CreateIncidentRequest wrapper for the CreateIncident operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cims/CreateIncident.go.html to see an example of how to use 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
}

func (CreateIncidentRequest) HTTPRequest

func (request CreateIncidentRequest) HTTPRequest(method, path 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

type CreateIncidentResponse

CreateIncidentResponse wrapper for the CreateIncident operation

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

func (CreateIncidentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateIncidentResponse) String

func (response CreateIncidentResponse) String() string

type CreateIssueTypeDetails

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.

type CreateIssueTypeDetails struct {

    // Unique identifier for the issue type.
    IssueTypeKey *string `mandatory:"false" json:"issueTypeKey"`
}

func (CreateIssueTypeDetails) String

func (m CreateIssueTypeDetails) String() string

type CreateItemDetails

CreateItemDetails Details gathered during item creation. **Caution:** Avoid using any confidential information when you supply string values using the API.

type CreateItemDetails interface {
    GetCategory() *CreateCategoryDetails

    GetSubCategory() *CreateSubCategoryDetails

    GetIssueType() *CreateIssueTypeDetails

    // The display name of the item.
    GetName() *string
}

type CreateLimitItemDetails

CreateLimitItemDetails Reserved for future use.

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

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

type CreateLimitItemDetailsLimitStatusEnum

CreateLimitItemDetailsLimitStatusEnum Enum with underlying type: string

type CreateLimitItemDetailsLimitStatusEnum string

Set of constants representing the allowable values for CreateLimitItemDetailsLimitStatusEnum

const (
    CreateLimitItemDetailsLimitStatusApproved          CreateLimitItemDetailsLimitStatusEnum = "APPROVED"
    CreateLimitItemDetailsLimitStatusPartiallyApproved CreateLimitItemDetailsLimitStatusEnum = "PARTIALLY_APPROVED"
    CreateLimitItemDetailsLimitStatusNotApproved       CreateLimitItemDetailsLimitStatusEnum = "NOT_APPROVED"
)

func GetCreateLimitItemDetailsLimitStatusEnumValues

func GetCreateLimitItemDetailsLimitStatusEnumValues() []CreateLimitItemDetailsLimitStatusEnum

GetCreateLimitItemDetailsLimitStatusEnumValues Enumerates the set of values for CreateLimitItemDetailsLimitStatusEnum

type CreateResourceDetails

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.

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

func (CreateResourceDetails) String

func (m CreateResourceDetails) String() string

func (*CreateResourceDetails) UnmarshalJSON

func (m *CreateResourceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreateSubCategoryDetails

CreateSubCategoryDetails Details for creating the subcategory of the support ticket. **Caution:** Avoid using any confidential information when you supply string values using the API.

type CreateSubCategoryDetails struct {

    // Unique identifier for the subcategory.
    SubCategoryKey *string `mandatory:"false" json:"subCategoryKey"`
}

func (CreateSubCategoryDetails) String

func (m CreateSubCategoryDetails) String() string

type CreateTechSupportItemDetails

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.

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

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

type CreateTicketDetails

CreateTicketDetails Details relevant to the support ticket. **Caution:** Avoid using any confidential information when you supply string values using the API.

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

func (CreateTicketDetails) String

func (m CreateTicketDetails) String() string

type CreateTicketDetailsSeverityEnum

CreateTicketDetailsSeverityEnum Enum with underlying type: string

type CreateTicketDetailsSeverityEnum string

Set of constants representing the allowable values for CreateTicketDetailsSeverityEnum

const (
    CreateTicketDetailsSeverityHighest CreateTicketDetailsSeverityEnum = "HIGHEST"
    CreateTicketDetailsSeverityHigh    CreateTicketDetailsSeverityEnum = "HIGH"
    CreateTicketDetailsSeverityMedium  CreateTicketDetailsSeverityEnum = "MEDIUM"
)

func GetCreateTicketDetailsSeverityEnumValues

func GetCreateTicketDetailsSeverityEnumValues() []CreateTicketDetailsSeverityEnum

GetCreateTicketDetailsSeverityEnumValues Enumerates the set of values for CreateTicketDetailsSeverityEnum

type CreateUserDetails

CreateUserDetails Details about creation of user.

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

func (CreateUserDetails) String

func (m CreateUserDetails) String() string

type CreateUserRequest

CreateUserRequest wrapper for the CreateUser operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cims/CreateUser.go.html to see an example of how to use 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
}

func (CreateUserRequest) HTTPRequest

func (request CreateUserRequest) HTTPRequest(method, path 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

type CreateUserResponse

CreateUserResponse wrapper for the CreateUser operation

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

func (CreateUserResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateUserResponse) String

func (response CreateUserResponse) String() string

type ErrorCodeEnum

ErrorCodeEnum Enum with underlying type: string

type ErrorCodeEnum string

Set of constants representing the allowable values for ErrorCodeEnum

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"
    ErrorCodeExternalServiceProviderUnavailable ErrorCodeEnum = "EXTERNAL_SERVICE_PROVIDER_UNAVAILABLE"
    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"
)

func GetErrorCodeEnumValues

func GetErrorCodeEnumValues() []ErrorCodeEnum

GetErrorCodeEnumValues Enumerates the set of values for ErrorCodeEnum

type GetIncidentRequest

GetIncidentRequest wrapper for the GetIncident operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cims/GetIncident.go.html to see an example of how to use 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
}

func (GetIncidentRequest) HTTPRequest

func (request GetIncidentRequest) HTTPRequest(method, path 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

type GetIncidentResponse

GetIncidentResponse wrapper for the GetIncident operation

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

func (GetIncidentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetIncidentResponse) String

func (response GetIncidentResponse) String() string

type GetStatusRequest

GetStatusRequest wrapper for the GetStatus operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cims/GetStatus.go.html to see an example of how to use 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
}

func (GetStatusRequest) HTTPRequest

func (request GetStatusRequest) HTTPRequest(method, path 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

type GetStatusResponse

GetStatusResponse wrapper for the GetStatus operation

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

func (GetStatusResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetStatusResponse) String

func (response GetStatusResponse) String() string

type Incident

Incident Details of about the incident object.

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

func (Incident) String

func (m Incident) String() string

type IncidentClient

IncidentClient a client for Incident

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

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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/cims/ValidateUser.go.html to see an example of how to use ValidateUser API.

type IncidentResourceType

IncidentResourceType Details about the resource associated with the support request.

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

func (IncidentResourceType) String

func (m IncidentResourceType) String() string

type IncidentSummary

IncidentSummary Details about the support ticket.

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

func (IncidentSummary) String

func (m IncidentSummary) String() string

type IncidentType

IncidentType Details about the incident type object.

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

func (IncidentType) String

func (m IncidentType) String() string

type IssueType

IssueType Details about the issue type associated with the support ticket.

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

func (IssueType) String

func (m IssueType) String() string

type Item

Item Details about the item object.

type Item interface {

    // Unique identifier for the item.
    GetItemKey() *string

    // The display name of the item.
    GetName() *string

    GetCategory() *Category

    GetSubCategory() *SubCategory

    GetIssueType() *IssueType
}

type LifecycleDetailsEnum

LifecycleDetailsEnum Enum with underlying type: string

type LifecycleDetailsEnum string

Set of constants representing the allowable values for LifecycleDetailsEnum

const (
    LifecycleDetailsPendingWithOracle   LifecycleDetailsEnum = "PENDING_WITH_ORACLE"
    LifecycleDetailsPendingWithCustomer LifecycleDetailsEnum = "PENDING_WITH_CUSTOMER"
    LifecycleDetailsCloseRequested      LifecycleDetailsEnum = "CLOSE_REQUESTED"
    LifecycleDetailsClosed              LifecycleDetailsEnum = "CLOSED"
)

func GetLifecycleDetailsEnumValues

func GetLifecycleDetailsEnumValues() []LifecycleDetailsEnum

GetLifecycleDetailsEnumValues Enumerates the set of values for LifecycleDetailsEnum

type LifecycleStateEnum

LifecycleStateEnum Enum with underlying type: string

type LifecycleStateEnum string

Set of constants representing the allowable values for LifecycleStateEnum

const (
    LifecycleStateActive LifecycleStateEnum = "ACTIVE"
    LifecycleStateClosed LifecycleStateEnum = "CLOSED"
)

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

type LimitItem

LimitItem Reserved for future use.

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

func (LimitItem) GetCategory

func (m LimitItem) GetCategory() *Category

GetCategory returns Category

func (LimitItem) GetIssueType

func (m LimitItem) GetIssueType() *IssueType

GetIssueType returns IssueType

func (LimitItem) GetItemKey

func (m LimitItem) GetItemKey() *string

GetItemKey returns ItemKey

func (LimitItem) GetName

func (m LimitItem) GetName() *string

GetName returns Name

func (LimitItem) GetSubCategory

func (m LimitItem) GetSubCategory() *SubCategory

GetSubCategory returns SubCategory

func (LimitItem) MarshalJSON

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

MarshalJSON marshals to json representation

func (LimitItem) String

func (m LimitItem) String() string

type LimitItemLimitStatusEnum

LimitItemLimitStatusEnum Enum with underlying type: string

type LimitItemLimitStatusEnum string

Set of constants representing the allowable values for LimitItemLimitStatusEnum

const (
    LimitItemLimitStatusApproved          LimitItemLimitStatusEnum = "APPROVED"
    LimitItemLimitStatusPartiallyApproved LimitItemLimitStatusEnum = "PARTIALLY_APPROVED"
    LimitItemLimitStatusNotApproved       LimitItemLimitStatusEnum = "NOT_APPROVED"
)

func GetLimitItemLimitStatusEnumValues

func GetLimitItemLimitStatusEnumValues() []LimitItemLimitStatusEnum

GetLimitItemLimitStatusEnumValues Enumerates the set of values for LimitItemLimitStatusEnum

type ListIncidentResourceTypesRequest

ListIncidentResourceTypesRequest wrapper for the ListIncidentResourceTypes operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cims/ListIncidentResourceTypes.go.html to see an example of how to use 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
}

func (ListIncidentResourceTypesRequest) HTTPRequest

func (request ListIncidentResourceTypesRequest) HTTPRequest(method, path 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

type ListIncidentResourceTypesResponse

ListIncidentResourceTypesResponse wrapper for the ListIncidentResourceTypes operation

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

func (ListIncidentResourceTypesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListIncidentResourceTypesResponse) String

func (response ListIncidentResourceTypesResponse) String() string

type ListIncidentResourceTypesSortByEnum

ListIncidentResourceTypesSortByEnum Enum with underlying type: string

type ListIncidentResourceTypesSortByEnum string

Set of constants representing the allowable values for ListIncidentResourceTypesSortByEnum

const (
    ListIncidentResourceTypesSortByDateupdated ListIncidentResourceTypesSortByEnum = "dateUpdated"
    ListIncidentResourceTypesSortBySeverity    ListIncidentResourceTypesSortByEnum = "severity"
)

func GetListIncidentResourceTypesSortByEnumValues

func GetListIncidentResourceTypesSortByEnumValues() []ListIncidentResourceTypesSortByEnum

GetListIncidentResourceTypesSortByEnumValues Enumerates the set of values for ListIncidentResourceTypesSortByEnum

type ListIncidentResourceTypesSortOrderEnum

ListIncidentResourceTypesSortOrderEnum Enum with underlying type: string

type ListIncidentResourceTypesSortOrderEnum string

Set of constants representing the allowable values for ListIncidentResourceTypesSortOrderEnum

const (
    ListIncidentResourceTypesSortOrderAsc  ListIncidentResourceTypesSortOrderEnum = "ASC"
    ListIncidentResourceTypesSortOrderDesc ListIncidentResourceTypesSortOrderEnum = "DESC"
)

func GetListIncidentResourceTypesSortOrderEnumValues

func GetListIncidentResourceTypesSortOrderEnumValues() []ListIncidentResourceTypesSortOrderEnum

GetListIncidentResourceTypesSortOrderEnumValues Enumerates the set of values for ListIncidentResourceTypesSortOrderEnum

type ListIncidentsLifecycleStateEnum

ListIncidentsLifecycleStateEnum Enum with underlying type: string

type ListIncidentsLifecycleStateEnum string

Set of constants representing the allowable values for ListIncidentsLifecycleStateEnum

const (
    ListIncidentsLifecycleStateActive ListIncidentsLifecycleStateEnum = "ACTIVE"
    ListIncidentsLifecycleStateClosed ListIncidentsLifecycleStateEnum = "CLOSED"
)

func GetListIncidentsLifecycleStateEnumValues

func GetListIncidentsLifecycleStateEnumValues() []ListIncidentsLifecycleStateEnum

GetListIncidentsLifecycleStateEnumValues Enumerates the set of values for ListIncidentsLifecycleStateEnum

type ListIncidentsRequest

ListIncidentsRequest wrapper for the ListIncidents operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cims/ListIncidents.go.html to see an example of how to use 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
}

func (ListIncidentsRequest) HTTPRequest

func (request ListIncidentsRequest) HTTPRequest(method, path 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

type ListIncidentsResponse

ListIncidentsResponse wrapper for the ListIncidents operation

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

func (ListIncidentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListIncidentsResponse) String

func (response ListIncidentsResponse) String() string

type ListIncidentsSortByEnum

ListIncidentsSortByEnum Enum with underlying type: string

type ListIncidentsSortByEnum string

Set of constants representing the allowable values for ListIncidentsSortByEnum

const (
    ListIncidentsSortByDateupdated ListIncidentsSortByEnum = "dateUpdated"
    ListIncidentsSortBySeverity    ListIncidentsSortByEnum = "severity"
)

func GetListIncidentsSortByEnumValues

func GetListIncidentsSortByEnumValues() []ListIncidentsSortByEnum

GetListIncidentsSortByEnumValues Enumerates the set of values for ListIncidentsSortByEnum

type ListIncidentsSortOrderEnum

ListIncidentsSortOrderEnum Enum with underlying type: string

type ListIncidentsSortOrderEnum string

Set of constants representing the allowable values for ListIncidentsSortOrderEnum

const (
    ListIncidentsSortOrderAsc  ListIncidentsSortOrderEnum = "ASC"
    ListIncidentsSortOrderDesc ListIncidentsSortOrderEnum = "DESC"
)

func GetListIncidentsSortOrderEnumValues

func GetListIncidentsSortOrderEnumValues() []ListIncidentsSortOrderEnum

GetListIncidentsSortOrderEnumValues Enumerates the set of values for ListIncidentsSortOrderEnum

type ProblemTypeEnum

ProblemTypeEnum Enum with underlying type: string

type ProblemTypeEnum string

Set of constants representing the allowable values for ProblemTypeEnum

const (
    ProblemTypeLimit       ProblemTypeEnum = "LIMIT"
    ProblemTypeLegacyLimit ProblemTypeEnum = "LEGACY_LIMIT"
    ProblemTypeTech        ProblemTypeEnum = "TECH"
    ProblemTypeAccount     ProblemTypeEnum = "ACCOUNT"
)

func GetProblemTypeEnumValues

func GetProblemTypeEnumValues() []ProblemTypeEnum

GetProblemTypeEnumValues Enumerates the set of values for ProblemTypeEnum

type RegionEnum

RegionEnum Enum with underlying type: string

type RegionEnum string

Set of constants representing the allowable values for RegionEnum

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

func GetRegionEnumValues

func GetRegionEnumValues() []RegionEnum

GetRegionEnumValues Enumerates the set of values for RegionEnum

type Resource

Resource Details about the ticket item object.

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

func (Resource) String

func (m Resource) String() string

func (*Resource) UnmarshalJSON

func (m *Resource) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type ScopeEnum

ScopeEnum Enum with underlying type: string

type ScopeEnum string

Set of constants representing the allowable values for ScopeEnum

const (
    ScopeAd      ScopeEnum = "AD"
    ScopeRegion  ScopeEnum = "REGION"
    ScopeTenancy ScopeEnum = "TENANCY"
    ScopeNone    ScopeEnum = "NONE"
)

func GetScopeEnumValues

func GetScopeEnumValues() []ScopeEnum

GetScopeEnumValues Enumerates the set of values for ScopeEnum

type ServiceCategory

ServiceCategory Information about the incident classifier.

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

func (ServiceCategory) String

func (m ServiceCategory) String() string

type SortByEnum

SortByEnum Enum with underlying type: string

type SortByEnum string

Set of constants representing the allowable values for SortByEnum

const (
    SortByDateUpdated SortByEnum = "dateUpdated"
    SortBySeverity    SortByEnum = "severity"
)

func GetSortByEnumValues

func GetSortByEnumValues() []SortByEnum

GetSortByEnumValues Enumerates the set of values for SortByEnum

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type Status

Status Details about the status of the support ticket.

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

func (Status) String

func (m Status) String() string

type SubCategory

SubCategory Details about the subcategory associated with the support ticket.

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

func (SubCategory) String

func (m SubCategory) String() string

type TechSupportItem

TechSupportItem Details about the TechSupportItem object.

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

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

func (m TechSupportItem) GetName() *string

GetName returns Name

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

type TenancyInformation

TenancyInformation Details about the customer's tenancy.

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

func (TenancyInformation) String

func (m TenancyInformation) String() string

type Ticket

Ticket Details about the ticket created.

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

func (Ticket) String

func (m Ticket) String() string

type TicketSeverityEnum

TicketSeverityEnum Enum with underlying type: string

type TicketSeverityEnum string

Set of constants representing the allowable values for TicketSeverityEnum

const (
    TicketSeverityHighest TicketSeverityEnum = "HIGHEST"
    TicketSeverityHigh    TicketSeverityEnum = "HIGH"
    TicketSeverityMedium  TicketSeverityEnum = "MEDIUM"
)

func GetTicketSeverityEnumValues

func GetTicketSeverityEnumValues() []TicketSeverityEnum

GetTicketSeverityEnumValues Enumerates the set of values for TicketSeverityEnum

type TimeZoneEnum

TimeZoneEnum Enum with underlying type: string

type TimeZoneEnum string

Set of constants representing the allowable values for TimeZoneEnum

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

func GetTimeZoneEnumValues

func GetTimeZoneEnumValues() []TimeZoneEnum

GetTimeZoneEnumValues Enumerates the set of values for TimeZoneEnum

type UnitEnum

UnitEnum Enum with underlying type: string

type UnitEnum string

Set of constants representing the allowable values for UnitEnum

const (
    UnitCount UnitEnum = "COUNT"
    UnitGb    UnitEnum = "GB"
    UnitNone  UnitEnum = "NONE"
)

func GetUnitEnumValues

func GetUnitEnumValues() []UnitEnum

GetUnitEnumValues Enumerates the set of values for UnitEnum

type UpdateActivityItemDetails

UpdateActivityItemDetails Details for udpating the support ticket activity. **Caution:** Avoid using any confidential information when you supply string values using the API.

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

func (UpdateActivityItemDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateActivityItemDetails) String

func (m UpdateActivityItemDetails) String() string

type UpdateActivityItemDetailsActivityTypeEnum

UpdateActivityItemDetailsActivityTypeEnum Enum with underlying type: string

type UpdateActivityItemDetailsActivityTypeEnum string

Set of constants representing the allowable values for UpdateActivityItemDetailsActivityTypeEnum

const (
    UpdateActivityItemDetailsActivityTypeNotes              UpdateActivityItemDetailsActivityTypeEnum = "NOTES"
    UpdateActivityItemDetailsActivityTypeProblemDescription UpdateActivityItemDetailsActivityTypeEnum = "PROBLEM_DESCRIPTION"
    UpdateActivityItemDetailsActivityTypeUpdate             UpdateActivityItemDetailsActivityTypeEnum = "UPDATE"
    UpdateActivityItemDetailsActivityTypeClose              UpdateActivityItemDetailsActivityTypeEnum = "CLOSE"
)

func GetUpdateActivityItemDetailsActivityTypeEnumValues

func GetUpdateActivityItemDetailsActivityTypeEnumValues() []UpdateActivityItemDetailsActivityTypeEnum

GetUpdateActivityItemDetailsActivityTypeEnumValues Enumerates the set of values for UpdateActivityItemDetailsActivityTypeEnum

type UpdateIncident

UpdateIncident Details about the support ticket being updated.

type UpdateIncident struct {
    Ticket *UpdateTicketDetails `mandatory:"true" json:"ticket"`
}

func (UpdateIncident) String

func (m UpdateIncident) String() string

type UpdateIncidentRequest

UpdateIncidentRequest wrapper for the UpdateIncident operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cims/UpdateIncident.go.html to see an example of how to use 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
}

func (UpdateIncidentRequest) HTTPRequest

func (request UpdateIncidentRequest) HTTPRequest(method, path 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

type UpdateIncidentResponse

UpdateIncidentResponse wrapper for the UpdateIncident operation

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

func (UpdateIncidentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateIncidentResponse) String

func (response UpdateIncidentResponse) String() string

type UpdateItemDetails

UpdateItemDetails Details for udpating an item. **Caution:** Avoid using any confidential information when you supply string values using the API.

type UpdateItemDetails interface {
}

type UpdateResourceDetails

UpdateResourceDetails Details about updates to the resource. **Caution:** Avoid using any confidential information when you supply string values using the API.

type UpdateResourceDetails struct {
    Item UpdateItemDetails `mandatory:"false" json:"item"`
}

func (UpdateResourceDetails) String

func (m UpdateResourceDetails) String() string

func (*UpdateResourceDetails) UnmarshalJSON

func (m *UpdateResourceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateTicketDetails

UpdateTicketDetails Details about the ticket updated. **Caution:** Avoid using any confidential information when you supply string values using the API.

type UpdateTicketDetails struct {

    // The list of resources.
    Resource *interface{} `mandatory:"true" json:"resource"`
}

func (UpdateTicketDetails) String

func (m UpdateTicketDetails) String() string

type User

User Details about the user object.

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

func (User) String

func (m User) String() string

type UserClient

UserClient a client for User

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

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

ValidateUserRequest wrapper for the ValidateUser operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cims/ValidateUser.go.html to see an example of how to use 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
}

func (ValidateUserRequest) HTTPRequest

func (request ValidateUserRequest) HTTPRequest(method, path 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

type ValidateUserResponse

ValidateUserResponse wrapper for the ValidateUser operation

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

func (ValidateUserResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ValidateUserResponse) String

func (response ValidateUserResponse) String() string

type ValidationResponse

ValidationResponse The validation response returned when checking whether the requested user is valid.

type ValidationResponse struct {

    // Boolean value that indicates whether the requested user is valid.
    IsValidUser *bool `mandatory:"false" json:"isValidUser"`
}

func (ValidationResponse) String

func (m ValidationResponse) String() string