Documentation
¶
Index ¶
- func GetAnnouncementSubscriptionLifecycleStateEnumStringValues() []string
- func GetBaseAnnouncementAnnouncementTypeEnumStringValues() []string
- func GetBaseAnnouncementLifecycleStateEnumStringValues() []string
- func GetBaseAnnouncementPlatformTypeEnumStringValues() []string
- func GetBaseAnnouncementTimeOneTypeEnumStringValues() []string
- func GetBaseAnnouncementTimeTwoTypeEnumStringValues() []string
- func GetBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnumStringValues() []string
- func GetBaseServiceLifecycleStateEnumStringValues() []string
- func GetCommsManagerNameEnumStringValues() []string
- func GetFilterTypeEnumStringValues() []string
- func GetListAnnouncementSubscriptionsSortByEnumStringValues() []string
- func GetListAnnouncementSubscriptionsSortOrderEnumStringValues() []string
- func GetListAnnouncementsLifecycleStateEnumStringValues() []string
- func GetListAnnouncementsPlatformTypeEnumStringValues() []string
- func GetListAnnouncementsSortByEnumStringValues() []string
- func GetListAnnouncementsSortOrderEnumStringValues() []string
- func GetListServicesCommsManagerNameEnumStringValues() []string
- func GetListServicesPlatformTypeEnumStringValues() []string
- func GetListServicesSortByEnumStringValues() []string
- func GetListServicesSortOrderEnumStringValues() []string
- func GetPlatformTypeEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- type AffectedResource
- type Announcement
- func (m Announcement) GetAffectedRegions() []string
- func (m Announcement) GetAnnouncementType() BaseAnnouncementAnnouncementTypeEnum
- func (m Announcement) GetChainId() *string
- func (m Announcement) GetEnvironmentName() *string
- func (m Announcement) GetId() *string
- func (m Announcement) GetIsBanner() *bool
- func (m Announcement) GetLifecycleState() BaseAnnouncementLifecycleStateEnum
- func (m Announcement) GetPlatformType() BaseAnnouncementPlatformTypeEnum
- func (m Announcement) GetReferenceTicketNumber() *string
- func (m Announcement) GetServices() []string
- func (m Announcement) GetSummary() *string
- func (m Announcement) GetTimeCreated() *common.SDKTime
- func (m Announcement) GetTimeOneTitle() *string
- func (m Announcement) GetTimeOneType() BaseAnnouncementTimeOneTypeEnum
- func (m Announcement) GetTimeOneValue() *common.SDKTime
- func (m Announcement) GetTimeTwoTitle() *string
- func (m Announcement) GetTimeTwoType() BaseAnnouncementTimeTwoTypeEnum
- func (m Announcement) GetTimeTwoValue() *common.SDKTime
- func (m Announcement) GetTimeUpdated() *common.SDKTime
- func (m Announcement) MarshalJSON() (buff []byte, e error)
- func (m Announcement) String() string
- func (m Announcement) ValidateEnumValue() (bool, error)
- type AnnouncementClient
- func (client *AnnouncementClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client AnnouncementClient) GetAnnouncement(ctx context.Context, request GetAnnouncementRequest) (response GetAnnouncementResponse, err error)
- func (client AnnouncementClient) GetAnnouncementCompartment(ctx context.Context, request GetAnnouncementCompartmentRequest) (response GetAnnouncementCompartmentResponse, err error)
- func (client AnnouncementClient) GetAnnouncementUserStatus(ctx context.Context, request GetAnnouncementUserStatusRequest) (response GetAnnouncementUserStatusResponse, err error)
- func (client AnnouncementClient) ListAnnouncements(ctx context.Context, request ListAnnouncementsRequest) (response ListAnnouncementsResponse, err error)
- func (client *AnnouncementClient) SetRegion(region string)
- func (client AnnouncementClient) UpdateAnnouncementUserStatus(ctx context.Context, request UpdateAnnouncementUserStatusRequest) (response UpdateAnnouncementUserStatusResponse, err error)
- type AnnouncementCompartment
- type AnnouncementSubscription
- type AnnouncementSubscriptionClient
- func NewAnnouncementSubscriptionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AnnouncementSubscriptionClient, err error)
- func NewAnnouncementSubscriptionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AnnouncementSubscriptionClient, err error)
- func (client AnnouncementSubscriptionClient) ChangeAnnouncementSubscriptionCompartment(ctx context.Context, request ChangeAnnouncementSubscriptionCompartmentRequest) (response ChangeAnnouncementSubscriptionCompartmentResponse, err error)
- func (client *AnnouncementSubscriptionClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client AnnouncementSubscriptionClient) CreateAnnouncementSubscription(ctx context.Context, request CreateAnnouncementSubscriptionRequest) (response CreateAnnouncementSubscriptionResponse, err error)
- func (client AnnouncementSubscriptionClient) CreateFilterGroup(ctx context.Context, request CreateFilterGroupRequest) (response CreateFilterGroupResponse, err error)
- func (client AnnouncementSubscriptionClient) DeleteAnnouncementSubscription(ctx context.Context, request DeleteAnnouncementSubscriptionRequest) (response DeleteAnnouncementSubscriptionResponse, err error)
- func (client AnnouncementSubscriptionClient) DeleteFilterGroup(ctx context.Context, request DeleteFilterGroupRequest) (response DeleteFilterGroupResponse, err error)
- func (client AnnouncementSubscriptionClient) GetAnnouncementSubscription(ctx context.Context, request GetAnnouncementSubscriptionRequest) (response GetAnnouncementSubscriptionResponse, err error)
- func (client AnnouncementSubscriptionClient) ListAnnouncementSubscriptions(ctx context.Context, request ListAnnouncementSubscriptionsRequest) (response ListAnnouncementSubscriptionsResponse, err error)
- func (client *AnnouncementSubscriptionClient) SetRegion(region string)
- func (client AnnouncementSubscriptionClient) UpdateAnnouncementSubscription(ctx context.Context, request UpdateAnnouncementSubscriptionRequest) (response UpdateAnnouncementSubscriptionResponse, err error)
- func (client AnnouncementSubscriptionClient) UpdateFilterGroup(ctx context.Context, request UpdateFilterGroupRequest) (response UpdateFilterGroupResponse, err error)
- type AnnouncementSubscriptionCollection
- type AnnouncementSubscriptionLifecycleStateEnum
- type AnnouncementSubscriptionSummary
- type AnnouncementSummary
- func (m AnnouncementSummary) GetAffectedRegions() []string
- func (m AnnouncementSummary) GetAnnouncementType() BaseAnnouncementAnnouncementTypeEnum
- func (m AnnouncementSummary) GetChainId() *string
- func (m AnnouncementSummary) GetEnvironmentName() *string
- func (m AnnouncementSummary) GetId() *string
- func (m AnnouncementSummary) GetIsBanner() *bool
- func (m AnnouncementSummary) GetLifecycleState() BaseAnnouncementLifecycleStateEnum
- func (m AnnouncementSummary) GetPlatformType() BaseAnnouncementPlatformTypeEnum
- func (m AnnouncementSummary) GetReferenceTicketNumber() *string
- func (m AnnouncementSummary) GetServices() []string
- func (m AnnouncementSummary) GetSummary() *string
- func (m AnnouncementSummary) GetTimeCreated() *common.SDKTime
- func (m AnnouncementSummary) GetTimeOneTitle() *string
- func (m AnnouncementSummary) GetTimeOneType() BaseAnnouncementTimeOneTypeEnum
- func (m AnnouncementSummary) GetTimeOneValue() *common.SDKTime
- func (m AnnouncementSummary) GetTimeTwoTitle() *string
- func (m AnnouncementSummary) GetTimeTwoType() BaseAnnouncementTimeTwoTypeEnum
- func (m AnnouncementSummary) GetTimeTwoValue() *common.SDKTime
- func (m AnnouncementSummary) GetTimeUpdated() *common.SDKTime
- func (m AnnouncementSummary) MarshalJSON() (buff []byte, e error)
- func (m AnnouncementSummary) String() string
- func (m AnnouncementSummary) ValidateEnumValue() (bool, error)
- type AnnouncementUserStatusDetails
- type AnnouncementsCollection
- type AnnouncementsPreferences
- func (m AnnouncementsPreferences) GetCompartmentId() *string
- func (m AnnouncementsPreferences) GetId() *string
- func (m AnnouncementsPreferences) GetIsUnsubscribed() *bool
- func (m AnnouncementsPreferences) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
- func (m AnnouncementsPreferences) GetPreferredTimeZone() *string
- func (m AnnouncementsPreferences) GetTimeCreated() *common.SDKTime
- func (m AnnouncementsPreferences) GetTimeUpdated() *common.SDKTime
- func (m AnnouncementsPreferences) MarshalJSON() (buff []byte, e error)
- func (m AnnouncementsPreferences) String() string
- func (m AnnouncementsPreferences) ValidateEnumValue() (bool, error)
- type AnnouncementsPreferencesClient
- func NewAnnouncementsPreferencesClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AnnouncementsPreferencesClient, err error)
- func NewAnnouncementsPreferencesClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AnnouncementsPreferencesClient, err error)
- func (client *AnnouncementsPreferencesClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client AnnouncementsPreferencesClient) CreateAnnouncementsPreference(ctx context.Context, request CreateAnnouncementsPreferenceRequest) (response CreateAnnouncementsPreferenceResponse, err error)
- func (client AnnouncementsPreferencesClient) GetAnnouncementsPreference(ctx context.Context, request GetAnnouncementsPreferenceRequest) (response GetAnnouncementsPreferenceResponse, err error)
- func (client AnnouncementsPreferencesClient) ListAnnouncementsPreferences(ctx context.Context, request ListAnnouncementsPreferencesRequest) (response ListAnnouncementsPreferencesResponse, err error)
- func (client *AnnouncementsPreferencesClient) SetRegion(region string)
- func (client AnnouncementsPreferencesClient) UpdateAnnouncementsPreference(ctx context.Context, request UpdateAnnouncementsPreferenceRequest) (response UpdateAnnouncementsPreferenceResponse, err error)
- type AnnouncementsPreferencesSummary
- func (m AnnouncementsPreferencesSummary) GetCompartmentId() *string
- func (m AnnouncementsPreferencesSummary) GetId() *string
- func (m AnnouncementsPreferencesSummary) GetIsUnsubscribed() *bool
- func (m AnnouncementsPreferencesSummary) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
- func (m AnnouncementsPreferencesSummary) GetPreferredTimeZone() *string
- func (m AnnouncementsPreferencesSummary) GetTimeCreated() *common.SDKTime
- func (m AnnouncementsPreferencesSummary) GetTimeUpdated() *common.SDKTime
- func (m AnnouncementsPreferencesSummary) MarshalJSON() (buff []byte, e error)
- func (m AnnouncementsPreferencesSummary) String() string
- func (m AnnouncementsPreferencesSummary) ValidateEnumValue() (bool, error)
- type BaseAnnouncement
- type BaseAnnouncementAnnouncementTypeEnum
- type BaseAnnouncementLifecycleStateEnum
- type BaseAnnouncementPlatformTypeEnum
- type BaseAnnouncementTimeOneTypeEnum
- type BaseAnnouncementTimeTwoTypeEnum
- type BaseAnnouncementsPreferences
- type BaseCreateAnnouncementsPreferencesDetails
- type BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
- type BaseService
- type BaseServiceLifecycleStateEnum
- type ChangeAnnouncementSubscriptionCompartmentDetails
- type ChangeAnnouncementSubscriptionCompartmentRequest
- func (request ChangeAnnouncementSubscriptionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeAnnouncementSubscriptionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeAnnouncementSubscriptionCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeAnnouncementSubscriptionCompartmentRequest) String() string
- func (request ChangeAnnouncementSubscriptionCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeAnnouncementSubscriptionCompartmentResponse
- type CommsManagerNameEnum
- type CreateAnnouncementSubscriptionDetails
- type CreateAnnouncementSubscriptionRequest
- func (request CreateAnnouncementSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateAnnouncementSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateAnnouncementSubscriptionRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateAnnouncementSubscriptionRequest) String() string
- func (request CreateAnnouncementSubscriptionRequest) ValidateEnumValue() (bool, error)
- type CreateAnnouncementSubscriptionResponse
- type CreateAnnouncementsPreferenceRequest
- func (request CreateAnnouncementsPreferenceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateAnnouncementsPreferenceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateAnnouncementsPreferenceRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateAnnouncementsPreferenceRequest) String() string
- func (request CreateAnnouncementsPreferenceRequest) ValidateEnumValue() (bool, error)
- type CreateAnnouncementsPreferenceResponse
- type CreateAnnouncementsPreferencesDetails
- func (m CreateAnnouncementsPreferencesDetails) GetCompartmentId() *string
- func (m CreateAnnouncementsPreferencesDetails) GetIsUnsubscribed() *bool
- func (m CreateAnnouncementsPreferencesDetails) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
- func (m CreateAnnouncementsPreferencesDetails) GetPreferredTimeZone() *string
- func (m CreateAnnouncementsPreferencesDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateAnnouncementsPreferencesDetails) String() string
- func (m CreateAnnouncementsPreferencesDetails) ValidateEnumValue() (bool, error)
- type CreateFilterGroupDetails
- type CreateFilterGroupRequest
- func (request CreateFilterGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateFilterGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateFilterGroupRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateFilterGroupRequest) String() string
- func (request CreateFilterGroupRequest) ValidateEnumValue() (bool, error)
- type CreateFilterGroupResponse
- type DeleteAnnouncementSubscriptionRequest
- func (request DeleteAnnouncementSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteAnnouncementSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteAnnouncementSubscriptionRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteAnnouncementSubscriptionRequest) String() string
- func (request DeleteAnnouncementSubscriptionRequest) ValidateEnumValue() (bool, error)
- type DeleteAnnouncementSubscriptionResponse
- type DeleteFilterGroupRequest
- func (request DeleteFilterGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteFilterGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteFilterGroupRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteFilterGroupRequest) String() string
- func (request DeleteFilterGroupRequest) ValidateEnumValue() (bool, error)
- type DeleteFilterGroupResponse
- type Filter
- type FilterGroup
- type FilterGroupDetails
- type FilterTypeEnum
- type GetAnnouncementCompartmentRequest
- func (request GetAnnouncementCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAnnouncementCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAnnouncementCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAnnouncementCompartmentRequest) String() string
- func (request GetAnnouncementCompartmentRequest) ValidateEnumValue() (bool, error)
- type GetAnnouncementCompartmentResponse
- type GetAnnouncementRequest
- func (request GetAnnouncementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAnnouncementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAnnouncementRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAnnouncementRequest) String() string
- func (request GetAnnouncementRequest) ValidateEnumValue() (bool, error)
- type GetAnnouncementResponse
- type GetAnnouncementSubscriptionRequest
- func (request GetAnnouncementSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAnnouncementSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAnnouncementSubscriptionRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAnnouncementSubscriptionRequest) String() string
- func (request GetAnnouncementSubscriptionRequest) ValidateEnumValue() (bool, error)
- type GetAnnouncementSubscriptionResponse
- type GetAnnouncementUserStatusRequest
- func (request GetAnnouncementUserStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAnnouncementUserStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAnnouncementUserStatusRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAnnouncementUserStatusRequest) String() string
- func (request GetAnnouncementUserStatusRequest) ValidateEnumValue() (bool, error)
- type GetAnnouncementUserStatusResponse
- type GetAnnouncementsPreferenceRequest
- func (request GetAnnouncementsPreferenceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAnnouncementsPreferenceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAnnouncementsPreferenceRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAnnouncementsPreferenceRequest) String() string
- func (request GetAnnouncementsPreferenceRequest) ValidateEnumValue() (bool, error)
- type GetAnnouncementsPreferenceResponse
- type ListAnnouncementSubscriptionsRequest
- func (request ListAnnouncementSubscriptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAnnouncementSubscriptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAnnouncementSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAnnouncementSubscriptionsRequest) String() string
- func (request ListAnnouncementSubscriptionsRequest) ValidateEnumValue() (bool, error)
- type ListAnnouncementSubscriptionsResponse
- type ListAnnouncementSubscriptionsSortByEnum
- type ListAnnouncementSubscriptionsSortOrderEnum
- type ListAnnouncementsLifecycleStateEnum
- type ListAnnouncementsPlatformTypeEnum
- type ListAnnouncementsPreferencesRequest
- func (request ListAnnouncementsPreferencesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAnnouncementsPreferencesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAnnouncementsPreferencesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAnnouncementsPreferencesRequest) String() string
- func (request ListAnnouncementsPreferencesRequest) ValidateEnumValue() (bool, error)
- type ListAnnouncementsPreferencesResponse
- type ListAnnouncementsRequest
- func (request ListAnnouncementsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAnnouncementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAnnouncementsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAnnouncementsRequest) String() string
- func (request ListAnnouncementsRequest) ValidateEnumValue() (bool, error)
- type ListAnnouncementsResponse
- type ListAnnouncementsSortByEnum
- type ListAnnouncementsSortOrderEnum
- type ListServicesCommsManagerNameEnum
- type ListServicesPlatformTypeEnum
- type ListServicesRequest
- func (request ListServicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListServicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListServicesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListServicesRequest) String() string
- func (request ListServicesRequest) ValidateEnumValue() (bool, error)
- type ListServicesResponse
- type ListServicesSortByEnum
- type ListServicesSortOrderEnum
- type NotificationsSummary
- func (m NotificationsSummary) GetCommsManagerName() CommsManagerNameEnum
- func (m NotificationsSummary) GetExcludedRealms() []string
- func (m NotificationsSummary) GetId() *string
- func (m NotificationsSummary) GetLifecycleState() BaseServiceLifecycleStateEnum
- func (m NotificationsSummary) GetPlatformType() PlatformTypeEnum
- func (m NotificationsSummary) GetPreviousServiceNames() []string
- func (m NotificationsSummary) GetServiceName() *string
- func (m NotificationsSummary) GetShortName() *string
- func (m NotificationsSummary) GetTeamName() *string
- func (m NotificationsSummary) GetTimeCreated() *common.SDKTime
- func (m NotificationsSummary) GetTimeUpdated() *common.SDKTime
- func (m NotificationsSummary) MarshalJSON() (buff []byte, e error)
- func (m NotificationsSummary) String() string
- func (m NotificationsSummary) ValidateEnumValue() (bool, error)
- type PlatformTypeEnum
- type Property
- type Service
- func (m Service) GetCommsManagerName() CommsManagerNameEnum
- func (m Service) GetExcludedRealms() []string
- func (m Service) GetId() *string
- func (m Service) GetLifecycleState() BaseServiceLifecycleStateEnum
- func (m Service) GetPlatformType() PlatformTypeEnum
- func (m Service) GetPreviousServiceNames() []string
- func (m Service) GetServiceName() *string
- func (m Service) GetShortName() *string
- func (m Service) GetTeamName() *string
- func (m Service) GetTimeCreated() *common.SDKTime
- func (m Service) GetTimeUpdated() *common.SDKTime
- func (m Service) MarshalJSON() (buff []byte, e error)
- func (m Service) String() string
- func (m Service) ValidateEnumValue() (bool, error)
- type ServiceClient
- type ServiceSummary
- func (m ServiceSummary) GetCommsManagerName() CommsManagerNameEnum
- func (m ServiceSummary) GetExcludedRealms() []string
- func (m ServiceSummary) GetId() *string
- func (m ServiceSummary) GetLifecycleState() BaseServiceLifecycleStateEnum
- func (m ServiceSummary) GetPlatformType() PlatformTypeEnum
- func (m ServiceSummary) GetPreviousServiceNames() []string
- func (m ServiceSummary) GetServiceName() *string
- func (m ServiceSummary) GetShortName() *string
- func (m ServiceSummary) GetTeamName() *string
- func (m ServiceSummary) GetTimeCreated() *common.SDKTime
- func (m ServiceSummary) GetTimeUpdated() *common.SDKTime
- func (m ServiceSummary) MarshalJSON() (buff []byte, e error)
- func (m ServiceSummary) String() string
- func (m ServiceSummary) ValidateEnumValue() (bool, error)
- type ServicesCollection
- type SortOrderEnum
- type UpdateAnnouncementSubscriptionDetails
- type UpdateAnnouncementSubscriptionRequest
- func (request UpdateAnnouncementSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateAnnouncementSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateAnnouncementSubscriptionRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateAnnouncementSubscriptionRequest) String() string
- func (request UpdateAnnouncementSubscriptionRequest) ValidateEnumValue() (bool, error)
- type UpdateAnnouncementSubscriptionResponse
- type UpdateAnnouncementUserStatusRequest
- func (request UpdateAnnouncementUserStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateAnnouncementUserStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateAnnouncementUserStatusRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateAnnouncementUserStatusRequest) String() string
- func (request UpdateAnnouncementUserStatusRequest) ValidateEnumValue() (bool, error)
- type UpdateAnnouncementUserStatusResponse
- type UpdateAnnouncementsPreferenceRequest
- func (request UpdateAnnouncementsPreferenceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateAnnouncementsPreferenceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateAnnouncementsPreferenceRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateAnnouncementsPreferenceRequest) String() string
- func (request UpdateAnnouncementsPreferenceRequest) ValidateEnumValue() (bool, error)
- type UpdateAnnouncementsPreferenceResponse
- type UpdateAnnouncementsPreferencesDetails
- func (m UpdateAnnouncementsPreferencesDetails) GetCompartmentId() *string
- func (m UpdateAnnouncementsPreferencesDetails) GetIsUnsubscribed() *bool
- func (m UpdateAnnouncementsPreferencesDetails) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
- func (m UpdateAnnouncementsPreferencesDetails) GetPreferredTimeZone() *string
- func (m UpdateAnnouncementsPreferencesDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateAnnouncementsPreferencesDetails) String() string
- func (m UpdateAnnouncementsPreferencesDetails) ValidateEnumValue() (bool, error)
- type UpdateFilterGroupDetails
- type UpdateFilterGroupRequest
- func (request UpdateFilterGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateFilterGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateFilterGroupRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateFilterGroupRequest) String() string
- func (request UpdateFilterGroupRequest) ValidateEnumValue() (bool, error)
- type UpdateFilterGroupResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnnouncementSubscriptionLifecycleStateEnumStringValues ¶
func GetAnnouncementSubscriptionLifecycleStateEnumStringValues() []string
GetAnnouncementSubscriptionLifecycleStateEnumStringValues Enumerates the set of values in String for AnnouncementSubscriptionLifecycleStateEnum
func GetBaseAnnouncementAnnouncementTypeEnumStringValues ¶
func GetBaseAnnouncementAnnouncementTypeEnumStringValues() []string
GetBaseAnnouncementAnnouncementTypeEnumStringValues Enumerates the set of values in String for BaseAnnouncementAnnouncementTypeEnum
func GetBaseAnnouncementLifecycleStateEnumStringValues ¶
func GetBaseAnnouncementLifecycleStateEnumStringValues() []string
GetBaseAnnouncementLifecycleStateEnumStringValues Enumerates the set of values in String for BaseAnnouncementLifecycleStateEnum
func GetBaseAnnouncementPlatformTypeEnumStringValues ¶
func GetBaseAnnouncementPlatformTypeEnumStringValues() []string
GetBaseAnnouncementPlatformTypeEnumStringValues Enumerates the set of values in String for BaseAnnouncementPlatformTypeEnum
func GetBaseAnnouncementTimeOneTypeEnumStringValues ¶
func GetBaseAnnouncementTimeOneTypeEnumStringValues() []string
GetBaseAnnouncementTimeOneTypeEnumStringValues Enumerates the set of values in String for BaseAnnouncementTimeOneTypeEnum
func GetBaseAnnouncementTimeTwoTypeEnumStringValues ¶
func GetBaseAnnouncementTimeTwoTypeEnumStringValues() []string
GetBaseAnnouncementTimeTwoTypeEnumStringValues Enumerates the set of values in String for BaseAnnouncementTimeTwoTypeEnum
func GetBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnumStringValues ¶
func GetBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnumStringValues() []string
GetBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnumStringValues Enumerates the set of values in String for BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
func GetBaseServiceLifecycleStateEnumStringValues ¶ added in v65.73.0
func GetBaseServiceLifecycleStateEnumStringValues() []string
GetBaseServiceLifecycleStateEnumStringValues Enumerates the set of values in String for BaseServiceLifecycleStateEnum
func GetCommsManagerNameEnumStringValues ¶ added in v65.73.0
func GetCommsManagerNameEnumStringValues() []string
GetCommsManagerNameEnumStringValues Enumerates the set of values in String for CommsManagerNameEnum
func GetFilterTypeEnumStringValues ¶
func GetFilterTypeEnumStringValues() []string
GetFilterTypeEnumStringValues Enumerates the set of values in String for FilterTypeEnum
func GetListAnnouncementSubscriptionsSortByEnumStringValues ¶
func GetListAnnouncementSubscriptionsSortByEnumStringValues() []string
GetListAnnouncementSubscriptionsSortByEnumStringValues Enumerates the set of values in String for ListAnnouncementSubscriptionsSortByEnum
func GetListAnnouncementSubscriptionsSortOrderEnumStringValues ¶
func GetListAnnouncementSubscriptionsSortOrderEnumStringValues() []string
GetListAnnouncementSubscriptionsSortOrderEnumStringValues Enumerates the set of values in String for ListAnnouncementSubscriptionsSortOrderEnum
func GetListAnnouncementsLifecycleStateEnumStringValues ¶
func GetListAnnouncementsLifecycleStateEnumStringValues() []string
GetListAnnouncementsLifecycleStateEnumStringValues Enumerates the set of values in String for ListAnnouncementsLifecycleStateEnum
func GetListAnnouncementsPlatformTypeEnumStringValues ¶
func GetListAnnouncementsPlatformTypeEnumStringValues() []string
GetListAnnouncementsPlatformTypeEnumStringValues Enumerates the set of values in String for ListAnnouncementsPlatformTypeEnum
func GetListAnnouncementsSortByEnumStringValues ¶
func GetListAnnouncementsSortByEnumStringValues() []string
GetListAnnouncementsSortByEnumStringValues Enumerates the set of values in String for ListAnnouncementsSortByEnum
func GetListAnnouncementsSortOrderEnumStringValues ¶
func GetListAnnouncementsSortOrderEnumStringValues() []string
GetListAnnouncementsSortOrderEnumStringValues Enumerates the set of values in String for ListAnnouncementsSortOrderEnum
func GetListServicesCommsManagerNameEnumStringValues ¶ added in v65.73.0
func GetListServicesCommsManagerNameEnumStringValues() []string
GetListServicesCommsManagerNameEnumStringValues Enumerates the set of values in String for ListServicesCommsManagerNameEnum
func GetListServicesPlatformTypeEnumStringValues ¶ added in v65.73.0
func GetListServicesPlatformTypeEnumStringValues() []string
GetListServicesPlatformTypeEnumStringValues Enumerates the set of values in String for ListServicesPlatformTypeEnum
func GetListServicesSortByEnumStringValues ¶ added in v65.73.0
func GetListServicesSortByEnumStringValues() []string
GetListServicesSortByEnumStringValues Enumerates the set of values in String for ListServicesSortByEnum
func GetListServicesSortOrderEnumStringValues ¶ added in v65.73.0
func GetListServicesSortOrderEnumStringValues() []string
GetListServicesSortOrderEnumStringValues Enumerates the set of values in String for ListServicesSortOrderEnum
func GetPlatformTypeEnumStringValues ¶ added in v65.73.0
func GetPlatformTypeEnumStringValues() []string
GetPlatformTypeEnumStringValues Enumerates the set of values in String for PlatformTypeEnum
func GetSortOrderEnumStringValues ¶
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
Types ¶
type AffectedResource ¶
type AffectedResource struct { // The OCID of the affected resource. ResourceId *string `mandatory:"true" json:"resourceId"` // The friendly name of the resource. ResourceName *string `mandatory:"true" json:"resourceName"` // The region where the affected resource exists. Region *string `mandatory:"true" json:"region"` // Additional properties associated with the resource. AdditionalProperties []Property `mandatory:"false" json:"additionalProperties"` }
AffectedResource The resource affected by the event described in the announcement.
func (AffectedResource) String ¶
func (m AffectedResource) String() string
func (AffectedResource) ValidateEnumValue ¶
func (m AffectedResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type Announcement ¶
type Announcement struct { // The OCID of the announcement. Id *string `mandatory:"true" json:"id"` // The reference Jira ticket number. ReferenceTicketNumber *string `mandatory:"true" json:"referenceTicketNumber"` // A summary of the issue. A summary might appear in the console banner view of the announcement or in // an email subject line. Avoid entering confidential information. Summary *string `mandatory:"true" json:"summary"` // Impacted Oracle Cloud Infrastructure services. Services []string `mandatory:"true" json:"services"` // Impacted regions. AffectedRegions []string `mandatory:"true" json:"affectedRegions"` // Whether the announcement is displayed as a banner in the console. IsBanner *bool `mandatory:"true" json:"isBanner"` // The label associated with an initial time value. // Example: `Time Started` TimeOneTitle *string `mandatory:"false" json:"timeOneTitle"` // The actual value of the first time value for the event. Typically, this denotes the time an event started, but the meaning // can vary, depending on the announcement type. The `timeOneType` attribute describes the meaning. TimeOneValue *common.SDKTime `mandatory:"false" json:"timeOneValue"` // The label associated with a second time value. // Example: `Time Ended` TimeTwoTitle *string `mandatory:"false" json:"timeTwoTitle"` // The actual value of the second time value. Typically, this denotes the time an event ended, but the meaning // can vary, depending on the announcement type. The `timeTwoType` attribute describes the meaning. TimeTwoValue *common.SDKTime `mandatory:"false" json:"timeTwoValue"` // The date and time the announcement was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2019-01-01T17:43:01.389+0000` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the announcement was last updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2019-01-01T17:43:01.389+0000` TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The name of the environment that this announcement pertains to. EnvironmentName *string `mandatory:"false" json:"environmentName"` // The sequence of connected announcements, or announcement chain, that this announcement belongs to. Related announcements share the same chain ID. ChainId *string `mandatory:"false" json:"chainId"` // A detailed explanation of the event, expressed by using Markdown language. Avoid entering // confidential information. Description *string `mandatory:"false" json:"description"` // Additional information about the event, expressed by using Markdown language and included in the // details view of an announcement. Additional information might include remediation steps or // answers to frequently asked questions. Avoid entering confidential information. AdditionalInformation *string `mandatory:"false" json:"additionalInformation"` // The list of resources, if any, affected by the event described in the announcement. AffectedResources []AffectedResource `mandatory:"false" json:"affectedResources"` // The type of a time associated with an initial time value. If the `timeOneTitle` attribute is present, then the `timeOneTitle` attribute contains a label of `timeOneType` in English. // Example: `START_TIME` TimeOneType BaseAnnouncementTimeOneTypeEnum `mandatory:"false" json:"timeOneType,omitempty"` // The type of a time associated with second time value. If the `timeTwoTitle` attribute is present, then the `timeTwoTitle` attribute contains a label of `timeTwoType` in English. // Example: `END_TIME` TimeTwoType BaseAnnouncementTimeTwoTypeEnum `mandatory:"false" json:"timeTwoType,omitempty"` // The type of announcement. An announcement's type signals its severity. AnnouncementType BaseAnnouncementAnnouncementTypeEnum `mandatory:"true" json:"announcementType"` // The current lifecycle state of the announcement. LifecycleState BaseAnnouncementLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The platform type that this announcement pertains to. PlatformType BaseAnnouncementPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"` }
Announcement A message about an impactful operational event.
func (Announcement) GetAffectedRegions ¶
func (m Announcement) GetAffectedRegions() []string
GetAffectedRegions returns AffectedRegions
func (Announcement) GetAnnouncementType ¶
func (m Announcement) GetAnnouncementType() BaseAnnouncementAnnouncementTypeEnum
GetAnnouncementType returns AnnouncementType
func (Announcement) GetChainId ¶ added in v65.49.1
func (m Announcement) GetChainId() *string
GetChainId returns ChainId
func (Announcement) GetEnvironmentName ¶
func (m Announcement) GetEnvironmentName() *string
GetEnvironmentName returns EnvironmentName
func (Announcement) GetIsBanner ¶
func (m Announcement) GetIsBanner() *bool
GetIsBanner returns IsBanner
func (Announcement) GetLifecycleState ¶
func (m Announcement) GetLifecycleState() BaseAnnouncementLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (Announcement) GetPlatformType ¶
func (m Announcement) GetPlatformType() BaseAnnouncementPlatformTypeEnum
GetPlatformType returns PlatformType
func (Announcement) GetReferenceTicketNumber ¶
func (m Announcement) GetReferenceTicketNumber() *string
GetReferenceTicketNumber returns ReferenceTicketNumber
func (Announcement) GetServices ¶
func (m Announcement) GetServices() []string
GetServices returns Services
func (Announcement) GetSummary ¶
func (m Announcement) GetSummary() *string
GetSummary returns Summary
func (Announcement) GetTimeCreated ¶
func (m Announcement) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (Announcement) GetTimeOneTitle ¶
func (m Announcement) GetTimeOneTitle() *string
GetTimeOneTitle returns TimeOneTitle
func (Announcement) GetTimeOneType ¶
func (m Announcement) GetTimeOneType() BaseAnnouncementTimeOneTypeEnum
GetTimeOneType returns TimeOneType
func (Announcement) GetTimeOneValue ¶
func (m Announcement) GetTimeOneValue() *common.SDKTime
GetTimeOneValue returns TimeOneValue
func (Announcement) GetTimeTwoTitle ¶
func (m Announcement) GetTimeTwoTitle() *string
GetTimeTwoTitle returns TimeTwoTitle
func (Announcement) GetTimeTwoType ¶
func (m Announcement) GetTimeTwoType() BaseAnnouncementTimeTwoTypeEnum
GetTimeTwoType returns TimeTwoType
func (Announcement) GetTimeTwoValue ¶
func (m Announcement) GetTimeTwoValue() *common.SDKTime
GetTimeTwoValue returns TimeTwoValue
func (Announcement) GetTimeUpdated ¶
func (m Announcement) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (Announcement) MarshalJSON ¶
func (m Announcement) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (Announcement) String ¶
func (m Announcement) String() string
func (Announcement) ValidateEnumValue ¶
func (m Announcement) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AnnouncementClient ¶
type AnnouncementClient struct { common.BaseClient // contains filtered or unexported fields }
AnnouncementClient a client for Announcement
func NewAnnouncementClientWithConfigurationProvider ¶
func NewAnnouncementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AnnouncementClient, err error)
NewAnnouncementClientWithConfigurationProvider Creates a new default Announcement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewAnnouncementClientWithOboToken ¶
func NewAnnouncementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AnnouncementClient, err error)
NewAnnouncementClientWithOboToken Creates a new default Announcement 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 (*AnnouncementClient) ConfigurationProvider ¶
func (client *AnnouncementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (AnnouncementClient) GetAnnouncement ¶
func (client AnnouncementClient) GetAnnouncement(ctx context.Context, request GetAnnouncementRequest) (response GetAnnouncementResponse, err error)
GetAnnouncement Gets the details of a specific announcement. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncement.go.html to see an example of how to use GetAnnouncement API.
func (AnnouncementClient) GetAnnouncementCompartment ¶ added in v65.73.0
func (client AnnouncementClient) GetAnnouncementCompartment(ctx context.Context, request GetAnnouncementCompartmentRequest) (response GetAnnouncementCompartmentResponse, err error)
GetAnnouncementCompartment Gets the compartment details of an announcement.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncementCompartment.go.html to see an example of how to use GetAnnouncementCompartment API.
func (AnnouncementClient) GetAnnouncementUserStatus ¶
func (client AnnouncementClient) GetAnnouncementUserStatus(ctx context.Context, request GetAnnouncementUserStatusRequest) (response GetAnnouncementUserStatusResponse, err error)
GetAnnouncementUserStatus Gets information about whether a specific announcement was acknowledged by a user. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncementUserStatus.go.html to see an example of how to use GetAnnouncementUserStatus API.
func (AnnouncementClient) ListAnnouncements ¶
func (client AnnouncementClient) ListAnnouncements(ctx context.Context, request ListAnnouncementsRequest) (response ListAnnouncementsResponse, err error)
ListAnnouncements Gets a list of announcements for the current tenancy. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ListAnnouncements.go.html to see an example of how to use ListAnnouncements API.
func (*AnnouncementClient) SetRegion ¶
func (client *AnnouncementClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (AnnouncementClient) UpdateAnnouncementUserStatus ¶
func (client AnnouncementClient) UpdateAnnouncementUserStatus(ctx context.Context, request UpdateAnnouncementUserStatusRequest) (response UpdateAnnouncementUserStatusResponse, err error)
UpdateAnnouncementUserStatus Updates the status of the specified announcement with regard to whether it has been marked as read. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/UpdateAnnouncementUserStatus.go.html to see an example of how to use UpdateAnnouncementUserStatus API.
type AnnouncementCompartment ¶ added in v65.73.0
type AnnouncementCompartment struct { // The OCID of the compartment to which the announcement belongs to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
AnnouncementCompartment Compartment details of an announcement.
func (AnnouncementCompartment) String ¶ added in v65.73.0
func (m AnnouncementCompartment) String() string
func (AnnouncementCompartment) ValidateEnumValue ¶ added in v65.73.0
func (m AnnouncementCompartment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AnnouncementSubscription ¶
type AnnouncementSubscription struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the announcement subscription. Id *string `mandatory:"true" json:"id"` // A user-friendly name for the announcement subscription. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment that contains the announcement subscription. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time that the announcement subscription was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current lifecycle state of the announcement subscription. LifecycleState AnnouncementSubscriptionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. OnsTopicId *string `mandatory:"true" json:"onsTopicId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // A description of the announcement subscription. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // The date and time that the announcement subscription was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current lifecycle state in more detail. For example, details might provide required or recommended actions for a resource in a Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // A list of filter groups for the announcement subscription. A filter group is a combination of multiple filters applied to announcements for matching purposes. FilterGroups map[string]FilterGroup `mandatory:"false" json:"filterGroups"` // (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage *string `mandatory:"false" json:"preferredLanguage"` // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone *string `mandatory:"false" json:"preferredTimeZone"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
AnnouncementSubscription A subscription with the Announcements service to receive selected announcements in the format and delivery mechanisms supported by a corresponding topic endpoint configured in the Oracle Cloud Infrastructure Notifications service.
func (AnnouncementSubscription) String ¶
func (m AnnouncementSubscription) String() string
func (AnnouncementSubscription) ValidateEnumValue ¶
func (m AnnouncementSubscription) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AnnouncementSubscriptionClient ¶
type AnnouncementSubscriptionClient struct { common.BaseClient // contains filtered or unexported fields }
AnnouncementSubscriptionClient a client for AnnouncementSubscription
func NewAnnouncementSubscriptionClientWithConfigurationProvider ¶
func NewAnnouncementSubscriptionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AnnouncementSubscriptionClient, err error)
NewAnnouncementSubscriptionClientWithConfigurationProvider Creates a new default AnnouncementSubscription client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewAnnouncementSubscriptionClientWithOboToken ¶
func NewAnnouncementSubscriptionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AnnouncementSubscriptionClient, err error)
NewAnnouncementSubscriptionClientWithOboToken Creates a new default AnnouncementSubscription 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 (AnnouncementSubscriptionClient) ChangeAnnouncementSubscriptionCompartment ¶
func (client AnnouncementSubscriptionClient) ChangeAnnouncementSubscriptionCompartment(ctx context.Context, request ChangeAnnouncementSubscriptionCompartmentRequest) (response ChangeAnnouncementSubscriptionCompartmentResponse, err error)
ChangeAnnouncementSubscriptionCompartment Moves the specified announcement subscription from one compartment to another compartment. When provided, If-Match is checked against ETag values of the resource. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ChangeAnnouncementSubscriptionCompartment.go.html to see an example of how to use ChangeAnnouncementSubscriptionCompartment API.
func (*AnnouncementSubscriptionClient) ConfigurationProvider ¶
func (client *AnnouncementSubscriptionClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (AnnouncementSubscriptionClient) CreateAnnouncementSubscription ¶
func (client AnnouncementSubscriptionClient) CreateAnnouncementSubscription(ctx context.Context, request CreateAnnouncementSubscriptionRequest) (response CreateAnnouncementSubscriptionResponse, err error)
CreateAnnouncementSubscription Creates a new announcement subscription. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/CreateAnnouncementSubscription.go.html to see an example of how to use CreateAnnouncementSubscription API.
func (AnnouncementSubscriptionClient) CreateFilterGroup ¶
func (client AnnouncementSubscriptionClient) CreateFilterGroup(ctx context.Context, request CreateFilterGroupRequest) (response CreateFilterGroupResponse, err error)
CreateFilterGroup Creates a new filter group in the specified announcement subscription. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/CreateFilterGroup.go.html to see an example of how to use CreateFilterGroup API.
func (AnnouncementSubscriptionClient) DeleteAnnouncementSubscription ¶
func (client AnnouncementSubscriptionClient) DeleteAnnouncementSubscription(ctx context.Context, request DeleteAnnouncementSubscriptionRequest) (response DeleteAnnouncementSubscriptionResponse, err error)
DeleteAnnouncementSubscription Deletes the specified announcement subscription. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/DeleteAnnouncementSubscription.go.html to see an example of how to use DeleteAnnouncementSubscription API.
func (AnnouncementSubscriptionClient) DeleteFilterGroup ¶
func (client AnnouncementSubscriptionClient) DeleteFilterGroup(ctx context.Context, request DeleteFilterGroupRequest) (response DeleteFilterGroupResponse, err error)
DeleteFilterGroup Deletes a filter group in the specified announcement subscription. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/DeleteFilterGroup.go.html to see an example of how to use DeleteFilterGroup API.
func (AnnouncementSubscriptionClient) GetAnnouncementSubscription ¶
func (client AnnouncementSubscriptionClient) GetAnnouncementSubscription(ctx context.Context, request GetAnnouncementSubscriptionRequest) (response GetAnnouncementSubscriptionResponse, err error)
GetAnnouncementSubscription Gets the specified announcement subscription. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncementSubscription.go.html to see an example of how to use GetAnnouncementSubscription API.
func (AnnouncementSubscriptionClient) ListAnnouncementSubscriptions ¶
func (client AnnouncementSubscriptionClient) ListAnnouncementSubscriptions(ctx context.Context, request ListAnnouncementSubscriptionsRequest) (response ListAnnouncementSubscriptionsResponse, err error)
ListAnnouncementSubscriptions Gets a list of all announcement subscriptions in the specified compartment. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ListAnnouncementSubscriptions.go.html to see an example of how to use ListAnnouncementSubscriptions API.
func (*AnnouncementSubscriptionClient) SetRegion ¶
func (client *AnnouncementSubscriptionClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (AnnouncementSubscriptionClient) UpdateAnnouncementSubscription ¶
func (client AnnouncementSubscriptionClient) UpdateAnnouncementSubscription(ctx context.Context, request UpdateAnnouncementSubscriptionRequest) (response UpdateAnnouncementSubscriptionResponse, err error)
UpdateAnnouncementSubscription Updates the specified announcement subscription. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/UpdateAnnouncementSubscription.go.html to see an example of how to use UpdateAnnouncementSubscription API.
func (AnnouncementSubscriptionClient) UpdateFilterGroup ¶
func (client AnnouncementSubscriptionClient) UpdateFilterGroup(ctx context.Context, request UpdateFilterGroupRequest) (response UpdateFilterGroupResponse, err error)
UpdateFilterGroup Updates a filter group in the specified announcement subscription. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/UpdateFilterGroup.go.html to see an example of how to use UpdateFilterGroup API.
type AnnouncementSubscriptionCollection ¶
type AnnouncementSubscriptionCollection struct { // A list of announcement subscriptions. Items []AnnouncementSubscriptionSummary `mandatory:"true" json:"items"` }
AnnouncementSubscriptionCollection The results of a search for announcement subscriptions. This object contains both announcement subscription summary objects and other information, such as metadata.
func (AnnouncementSubscriptionCollection) String ¶
func (m AnnouncementSubscriptionCollection) String() string
func (AnnouncementSubscriptionCollection) ValidateEnumValue ¶
func (m AnnouncementSubscriptionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AnnouncementSubscriptionLifecycleStateEnum ¶
type AnnouncementSubscriptionLifecycleStateEnum string
AnnouncementSubscriptionLifecycleStateEnum Enum with underlying type: string
const ( AnnouncementSubscriptionLifecycleStateActive AnnouncementSubscriptionLifecycleStateEnum = "ACTIVE" AnnouncementSubscriptionLifecycleStateDeleted AnnouncementSubscriptionLifecycleStateEnum = "DELETED" AnnouncementSubscriptionLifecycleStateFailed AnnouncementSubscriptionLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for AnnouncementSubscriptionLifecycleStateEnum
func GetAnnouncementSubscriptionLifecycleStateEnumValues ¶
func GetAnnouncementSubscriptionLifecycleStateEnumValues() []AnnouncementSubscriptionLifecycleStateEnum
GetAnnouncementSubscriptionLifecycleStateEnumValues Enumerates the set of values for AnnouncementSubscriptionLifecycleStateEnum
func GetMappingAnnouncementSubscriptionLifecycleStateEnum ¶
func GetMappingAnnouncementSubscriptionLifecycleStateEnum(val string) (AnnouncementSubscriptionLifecycleStateEnum, bool)
GetMappingAnnouncementSubscriptionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type AnnouncementSubscriptionSummary ¶
type AnnouncementSubscriptionSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the announcement subscription. Id *string `mandatory:"true" json:"id"` // A user-friendly name for the announcement subscription. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment that contains the announcement subscription. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time that the announcement subscription was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current lifecycle state of the announcement subscription. LifecycleState AnnouncementSubscriptionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. OnsTopicId *string `mandatory:"true" json:"onsTopicId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The date and time that the announcement subscription was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current lifecycle state in more detail. For example, details might provide required or recommended actions for a resource in a Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
AnnouncementSubscriptionSummary A summary representation of an announcement subscription.
func (AnnouncementSubscriptionSummary) String ¶
func (m AnnouncementSubscriptionSummary) String() string
func (AnnouncementSubscriptionSummary) ValidateEnumValue ¶
func (m AnnouncementSubscriptionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AnnouncementSummary ¶
type AnnouncementSummary struct { // The OCID of the announcement. Id *string `mandatory:"true" json:"id"` // The reference Jira ticket number. ReferenceTicketNumber *string `mandatory:"true" json:"referenceTicketNumber"` // A summary of the issue. A summary might appear in the console banner view of the announcement or in // an email subject line. Avoid entering confidential information. Summary *string `mandatory:"true" json:"summary"` // Impacted Oracle Cloud Infrastructure services. Services []string `mandatory:"true" json:"services"` // Impacted regions. AffectedRegions []string `mandatory:"true" json:"affectedRegions"` // Whether the announcement is displayed as a banner in the console. IsBanner *bool `mandatory:"true" json:"isBanner"` // The label associated with an initial time value. // Example: `Time Started` TimeOneTitle *string `mandatory:"false" json:"timeOneTitle"` // The actual value of the first time value for the event. Typically, this denotes the time an event started, but the meaning // can vary, depending on the announcement type. The `timeOneType` attribute describes the meaning. TimeOneValue *common.SDKTime `mandatory:"false" json:"timeOneValue"` // The label associated with a second time value. // Example: `Time Ended` TimeTwoTitle *string `mandatory:"false" json:"timeTwoTitle"` // The actual value of the second time value. Typically, this denotes the time an event ended, but the meaning // can vary, depending on the announcement type. The `timeTwoType` attribute describes the meaning. TimeTwoValue *common.SDKTime `mandatory:"false" json:"timeTwoValue"` // The date and time the announcement was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2019-01-01T17:43:01.389+0000` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the announcement was last updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2019-01-01T17:43:01.389+0000` TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The name of the environment that this announcement pertains to. EnvironmentName *string `mandatory:"false" json:"environmentName"` // The sequence of connected announcements, or announcement chain, that this announcement belongs to. Related announcements share the same chain ID. ChainId *string `mandatory:"false" json:"chainId"` // The type of a time associated with an initial time value. If the `timeOneTitle` attribute is present, then the `timeOneTitle` attribute contains a label of `timeOneType` in English. // Example: `START_TIME` TimeOneType BaseAnnouncementTimeOneTypeEnum `mandatory:"false" json:"timeOneType,omitempty"` // The type of a time associated with second time value. If the `timeTwoTitle` attribute is present, then the `timeTwoTitle` attribute contains a label of `timeTwoType` in English. // Example: `END_TIME` TimeTwoType BaseAnnouncementTimeTwoTypeEnum `mandatory:"false" json:"timeTwoType,omitempty"` // The type of announcement. An announcement's type signals its severity. AnnouncementType BaseAnnouncementAnnouncementTypeEnum `mandatory:"true" json:"announcementType"` // The current lifecycle state of the announcement. LifecycleState BaseAnnouncementLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The platform type that this announcement pertains to. PlatformType BaseAnnouncementPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"` }
AnnouncementSummary A summary representation of an announcement.
func (AnnouncementSummary) GetAffectedRegions ¶
func (m AnnouncementSummary) GetAffectedRegions() []string
GetAffectedRegions returns AffectedRegions
func (AnnouncementSummary) GetAnnouncementType ¶
func (m AnnouncementSummary) GetAnnouncementType() BaseAnnouncementAnnouncementTypeEnum
GetAnnouncementType returns AnnouncementType
func (AnnouncementSummary) GetChainId ¶ added in v65.49.1
func (m AnnouncementSummary) GetChainId() *string
GetChainId returns ChainId
func (AnnouncementSummary) GetEnvironmentName ¶
func (m AnnouncementSummary) GetEnvironmentName() *string
GetEnvironmentName returns EnvironmentName
func (AnnouncementSummary) GetIsBanner ¶
func (m AnnouncementSummary) GetIsBanner() *bool
GetIsBanner returns IsBanner
func (AnnouncementSummary) GetLifecycleState ¶
func (m AnnouncementSummary) GetLifecycleState() BaseAnnouncementLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (AnnouncementSummary) GetPlatformType ¶
func (m AnnouncementSummary) GetPlatformType() BaseAnnouncementPlatformTypeEnum
GetPlatformType returns PlatformType
func (AnnouncementSummary) GetReferenceTicketNumber ¶
func (m AnnouncementSummary) GetReferenceTicketNumber() *string
GetReferenceTicketNumber returns ReferenceTicketNumber
func (AnnouncementSummary) GetServices ¶
func (m AnnouncementSummary) GetServices() []string
GetServices returns Services
func (AnnouncementSummary) GetSummary ¶
func (m AnnouncementSummary) GetSummary() *string
GetSummary returns Summary
func (AnnouncementSummary) GetTimeCreated ¶
func (m AnnouncementSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (AnnouncementSummary) GetTimeOneTitle ¶
func (m AnnouncementSummary) GetTimeOneTitle() *string
GetTimeOneTitle returns TimeOneTitle
func (AnnouncementSummary) GetTimeOneType ¶
func (m AnnouncementSummary) GetTimeOneType() BaseAnnouncementTimeOneTypeEnum
GetTimeOneType returns TimeOneType
func (AnnouncementSummary) GetTimeOneValue ¶
func (m AnnouncementSummary) GetTimeOneValue() *common.SDKTime
GetTimeOneValue returns TimeOneValue
func (AnnouncementSummary) GetTimeTwoTitle ¶
func (m AnnouncementSummary) GetTimeTwoTitle() *string
GetTimeTwoTitle returns TimeTwoTitle
func (AnnouncementSummary) GetTimeTwoType ¶
func (m AnnouncementSummary) GetTimeTwoType() BaseAnnouncementTimeTwoTypeEnum
GetTimeTwoType returns TimeTwoType
func (AnnouncementSummary) GetTimeTwoValue ¶
func (m AnnouncementSummary) GetTimeTwoValue() *common.SDKTime
GetTimeTwoValue returns TimeTwoValue
func (AnnouncementSummary) GetTimeUpdated ¶
func (m AnnouncementSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (AnnouncementSummary) MarshalJSON ¶
func (m AnnouncementSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AnnouncementSummary) String ¶
func (m AnnouncementSummary) String() string
func (AnnouncementSummary) ValidateEnumValue ¶
func (m AnnouncementSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AnnouncementUserStatusDetails ¶
type AnnouncementUserStatusDetails struct { // The OCID of the announcement that this status is associated with. UserStatusAnnouncementId *string `mandatory:"true" json:"userStatusAnnouncementId"` // The OCID of the user that this status is associated with. UserId *string `mandatory:"true" json:"userId"` // The date and time the announcement was acknowledged, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2019-01-01T17:43:01.389+0000` TimeAcknowledged *common.SDKTime `mandatory:"false" json:"timeAcknowledged"` }
AnnouncementUserStatusDetails An announcement's status regarding whether it has been acknowledged by a user.
func (AnnouncementUserStatusDetails) String ¶
func (m AnnouncementUserStatusDetails) String() string
func (AnnouncementUserStatusDetails) ValidateEnumValue ¶
func (m AnnouncementUserStatusDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AnnouncementsCollection ¶
type AnnouncementsCollection struct { // A collection of announcements. Items []AnnouncementSummary `mandatory:"false" json:"items"` // The user-specific status for found announcements. UserStatuses []AnnouncementUserStatusDetails `mandatory:"false" json:"userStatuses"` }
AnnouncementsCollection A list of announcements that match filter criteria, if any. Results contain both the announcements and the user-specific status of the announcements.
func (AnnouncementsCollection) String ¶
func (m AnnouncementsCollection) String() string
func (AnnouncementsCollection) ValidateEnumValue ¶
func (m AnnouncementsCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AnnouncementsPreferences ¶
type AnnouncementsPreferences struct { // The OCID of the compartment for which the email preferences apply. Because announcements are // specific to a tenancy, specify the tenancy by providing the root compartment OCID. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The ID of the preferences. Id *string `mandatory:"false" json:"id"` // A Boolean value to indicate whether the specified compartment chooses to not to receive informational announcements by email. // (Manage preferences for receiving announcements by email by specifying the `preferenceType` attribute instead.) IsUnsubscribed *bool `mandatory:"false" json:"isUnsubscribed"` // When the preferences were set initially. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // When the preferences were last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone *string `mandatory:"false" json:"preferredTimeZone"` // The string representing the user's preference regarding receiving announcements by email. PreferenceType BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum `mandatory:"false" json:"preferenceType,omitempty"` }
AnnouncementsPreferences The object for announcement email preferences.
func (AnnouncementsPreferences) GetCompartmentId ¶
func (m AnnouncementsPreferences) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (AnnouncementsPreferences) GetId ¶
func (m AnnouncementsPreferences) GetId() *string
GetId returns Id
func (AnnouncementsPreferences) GetIsUnsubscribed ¶
func (m AnnouncementsPreferences) GetIsUnsubscribed() *bool
GetIsUnsubscribed returns IsUnsubscribed
func (AnnouncementsPreferences) GetPreferenceType ¶
func (m AnnouncementsPreferences) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
GetPreferenceType returns PreferenceType
func (AnnouncementsPreferences) GetPreferredTimeZone ¶ added in v65.27.0
func (m AnnouncementsPreferences) GetPreferredTimeZone() *string
GetPreferredTimeZone returns PreferredTimeZone
func (AnnouncementsPreferences) GetTimeCreated ¶
func (m AnnouncementsPreferences) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (AnnouncementsPreferences) GetTimeUpdated ¶
func (m AnnouncementsPreferences) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (AnnouncementsPreferences) MarshalJSON ¶
func (m AnnouncementsPreferences) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AnnouncementsPreferences) String ¶
func (m AnnouncementsPreferences) String() string
func (AnnouncementsPreferences) ValidateEnumValue ¶
func (m AnnouncementsPreferences) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AnnouncementsPreferencesClient ¶
type AnnouncementsPreferencesClient struct { common.BaseClient // contains filtered or unexported fields }
AnnouncementsPreferencesClient a client for AnnouncementsPreferences
func NewAnnouncementsPreferencesClientWithConfigurationProvider ¶
func NewAnnouncementsPreferencesClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AnnouncementsPreferencesClient, err error)
NewAnnouncementsPreferencesClientWithConfigurationProvider Creates a new default AnnouncementsPreferences client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewAnnouncementsPreferencesClientWithOboToken ¶
func NewAnnouncementsPreferencesClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AnnouncementsPreferencesClient, err error)
NewAnnouncementsPreferencesClientWithOboToken Creates a new default AnnouncementsPreferences 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 (*AnnouncementsPreferencesClient) ConfigurationProvider ¶
func (client *AnnouncementsPreferencesClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (AnnouncementsPreferencesClient) CreateAnnouncementsPreference ¶
func (client AnnouncementsPreferencesClient) CreateAnnouncementsPreference(ctx context.Context, request CreateAnnouncementsPreferenceRequest) (response CreateAnnouncementsPreferenceResponse, err error)
CreateAnnouncementsPreference Creates a request that specifies preferences for the tenancy regarding receiving announcements by email. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/CreateAnnouncementsPreference.go.html to see an example of how to use CreateAnnouncementsPreference API.
func (AnnouncementsPreferencesClient) GetAnnouncementsPreference ¶
func (client AnnouncementsPreferencesClient) GetAnnouncementsPreference(ctx context.Context, request GetAnnouncementsPreferenceRequest) (response GetAnnouncementsPreferenceResponse, err error)
GetAnnouncementsPreference Gets the current preferences of the tenancy regarding receiving announcements by email. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncementsPreference.go.html to see an example of how to use GetAnnouncementsPreference API.
func (AnnouncementsPreferencesClient) ListAnnouncementsPreferences ¶
func (client AnnouncementsPreferencesClient) ListAnnouncementsPreferences(ctx context.Context, request ListAnnouncementsPreferencesRequest) (response ListAnnouncementsPreferencesResponse, err error)
ListAnnouncementsPreferences Gets the current preferences of the tenancy regarding receiving announcements by email. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ListAnnouncementsPreferences.go.html to see an example of how to use ListAnnouncementsPreferences API.
func (*AnnouncementsPreferencesClient) SetRegion ¶
func (client *AnnouncementsPreferencesClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (AnnouncementsPreferencesClient) UpdateAnnouncementsPreference ¶
func (client AnnouncementsPreferencesClient) UpdateAnnouncementsPreference(ctx context.Context, request UpdateAnnouncementsPreferenceRequest) (response UpdateAnnouncementsPreferenceResponse, err error)
UpdateAnnouncementsPreference Updates the preferences of the tenancy regarding receiving announcements by email. This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/UpdateAnnouncementsPreference.go.html to see an example of how to use UpdateAnnouncementsPreference API.
type AnnouncementsPreferencesSummary ¶
type AnnouncementsPreferencesSummary struct { // The OCID of the compartment for which the email preferences apply. Because announcements are // specific to a tenancy, specify the tenancy by providing the root compartment OCID. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The ID of the preferences. Id *string `mandatory:"false" json:"id"` // A Boolean value to indicate whether the specified compartment chooses to not to receive informational announcements by email. // (Manage preferences for receiving announcements by email by specifying the `preferenceType` attribute instead.) IsUnsubscribed *bool `mandatory:"false" json:"isUnsubscribed"` // When the preferences were set initially. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // When the preferences were last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone *string `mandatory:"false" json:"preferredTimeZone"` // The string representing the user's preference regarding receiving announcements by email. PreferenceType BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum `mandatory:"false" json:"preferenceType,omitempty"` }
AnnouncementsPreferencesSummary The summary object for announcement email preferences.
func (AnnouncementsPreferencesSummary) GetCompartmentId ¶
func (m AnnouncementsPreferencesSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (AnnouncementsPreferencesSummary) GetId ¶
func (m AnnouncementsPreferencesSummary) GetId() *string
GetId returns Id
func (AnnouncementsPreferencesSummary) GetIsUnsubscribed ¶
func (m AnnouncementsPreferencesSummary) GetIsUnsubscribed() *bool
GetIsUnsubscribed returns IsUnsubscribed
func (AnnouncementsPreferencesSummary) GetPreferenceType ¶
func (m AnnouncementsPreferencesSummary) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
GetPreferenceType returns PreferenceType
func (AnnouncementsPreferencesSummary) GetPreferredTimeZone ¶ added in v65.27.0
func (m AnnouncementsPreferencesSummary) GetPreferredTimeZone() *string
GetPreferredTimeZone returns PreferredTimeZone
func (AnnouncementsPreferencesSummary) GetTimeCreated ¶
func (m AnnouncementsPreferencesSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (AnnouncementsPreferencesSummary) GetTimeUpdated ¶
func (m AnnouncementsPreferencesSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (AnnouncementsPreferencesSummary) MarshalJSON ¶
func (m AnnouncementsPreferencesSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AnnouncementsPreferencesSummary) String ¶
func (m AnnouncementsPreferencesSummary) String() string
func (AnnouncementsPreferencesSummary) ValidateEnumValue ¶
func (m AnnouncementsPreferencesSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type BaseAnnouncement ¶
type BaseAnnouncement interface { // The OCID of the announcement. GetId() *string // The reference Jira ticket number. GetReferenceTicketNumber() *string // A summary of the issue. A summary might appear in the console banner view of the announcement or in // an email subject line. Avoid entering confidential information. GetSummary() *string // Impacted Oracle Cloud Infrastructure services. GetServices() []string // Impacted regions. GetAffectedRegions() []string // The type of announcement. An announcement's type signals its severity. GetAnnouncementType() BaseAnnouncementAnnouncementTypeEnum // The current lifecycle state of the announcement. GetLifecycleState() BaseAnnouncementLifecycleStateEnum // Whether the announcement is displayed as a banner in the console. GetIsBanner() *bool // The label associated with an initial time value. // Example: `Time Started` GetTimeOneTitle() *string // The type of a time associated with an initial time value. If the `timeOneTitle` attribute is present, then the `timeOneTitle` attribute contains a label of `timeOneType` in English. // Example: `START_TIME` GetTimeOneType() BaseAnnouncementTimeOneTypeEnum // The actual value of the first time value for the event. Typically, this denotes the time an event started, but the meaning // can vary, depending on the announcement type. The `timeOneType` attribute describes the meaning. GetTimeOneValue() *common.SDKTime // The label associated with a second time value. // Example: `Time Ended` GetTimeTwoTitle() *string // The type of a time associated with second time value. If the `timeTwoTitle` attribute is present, then the `timeTwoTitle` attribute contains a label of `timeTwoType` in English. // Example: `END_TIME` GetTimeTwoType() BaseAnnouncementTimeTwoTypeEnum // The actual value of the second time value. Typically, this denotes the time an event ended, but the meaning // can vary, depending on the announcement type. The `timeTwoType` attribute describes the meaning. GetTimeTwoValue() *common.SDKTime // The date and time the announcement was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2019-01-01T17:43:01.389+0000` GetTimeCreated() *common.SDKTime // The date and time the announcement was last updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2019-01-01T17:43:01.389+0000` GetTimeUpdated() *common.SDKTime // The name of the environment that this announcement pertains to. GetEnvironmentName() *string // The platform type that this announcement pertains to. GetPlatformType() BaseAnnouncementPlatformTypeEnum // The sequence of connected announcements, or announcement chain, that this announcement belongs to. Related announcements share the same chain ID. GetChainId() *string }
BaseAnnouncement Incident information that forms the basis of an announcement. Avoid entering confidential information.
type BaseAnnouncementAnnouncementTypeEnum ¶
type BaseAnnouncementAnnouncementTypeEnum string
BaseAnnouncementAnnouncementTypeEnum Enum with underlying type: string
const ( BaseAnnouncementAnnouncementTypeActionRecommended BaseAnnouncementAnnouncementTypeEnum = "ACTION_RECOMMENDED" BaseAnnouncementAnnouncementTypeActionRequired BaseAnnouncementAnnouncementTypeEnum = "ACTION_REQUIRED" BaseAnnouncementAnnouncementTypeEmergencyChange BaseAnnouncementAnnouncementTypeEnum = "EMERGENCY_CHANGE" BaseAnnouncementAnnouncementTypeEmergencyMaintenance BaseAnnouncementAnnouncementTypeEnum = "EMERGENCY_MAINTENANCE" BaseAnnouncementAnnouncementTypeEmergencyMaintenanceComplete BaseAnnouncementAnnouncementTypeEnum = "EMERGENCY_MAINTENANCE_COMPLETE" BaseAnnouncementAnnouncementTypeEmergencyMaintenanceExtended BaseAnnouncementAnnouncementTypeEnum = "EMERGENCY_MAINTENANCE_EXTENDED" BaseAnnouncementAnnouncementTypeEmergencyMaintenanceRescheduled BaseAnnouncementAnnouncementTypeEnum = "EMERGENCY_MAINTENANCE_RESCHEDULED" BaseAnnouncementAnnouncementTypeInformation BaseAnnouncementAnnouncementTypeEnum = "INFORMATION" BaseAnnouncementAnnouncementTypePlannedChange BaseAnnouncementAnnouncementTypeEnum = "PLANNED_CHANGE" BaseAnnouncementAnnouncementTypePlannedChangeComplete BaseAnnouncementAnnouncementTypeEnum = "PLANNED_CHANGE_COMPLETE" BaseAnnouncementAnnouncementTypePlannedChangeExtended BaseAnnouncementAnnouncementTypeEnum = "PLANNED_CHANGE_EXTENDED" BaseAnnouncementAnnouncementTypePlannedChangeRescheduled BaseAnnouncementAnnouncementTypeEnum = "PLANNED_CHANGE_RESCHEDULED" BaseAnnouncementAnnouncementTypeProductionEventNotification BaseAnnouncementAnnouncementTypeEnum = "PRODUCTION_EVENT_NOTIFICATION" BaseAnnouncementAnnouncementTypeScheduledMaintenance BaseAnnouncementAnnouncementTypeEnum = "SCHEDULED_MAINTENANCE" )
Set of constants representing the allowable values for BaseAnnouncementAnnouncementTypeEnum
func GetBaseAnnouncementAnnouncementTypeEnumValues ¶
func GetBaseAnnouncementAnnouncementTypeEnumValues() []BaseAnnouncementAnnouncementTypeEnum
GetBaseAnnouncementAnnouncementTypeEnumValues Enumerates the set of values for BaseAnnouncementAnnouncementTypeEnum
func GetMappingBaseAnnouncementAnnouncementTypeEnum ¶
func GetMappingBaseAnnouncementAnnouncementTypeEnum(val string) (BaseAnnouncementAnnouncementTypeEnum, bool)
GetMappingBaseAnnouncementAnnouncementTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type BaseAnnouncementLifecycleStateEnum ¶
type BaseAnnouncementLifecycleStateEnum string
BaseAnnouncementLifecycleStateEnum Enum with underlying type: string
const ( BaseAnnouncementLifecycleStateActive BaseAnnouncementLifecycleStateEnum = "ACTIVE" BaseAnnouncementLifecycleStateInactive BaseAnnouncementLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for BaseAnnouncementLifecycleStateEnum
func GetBaseAnnouncementLifecycleStateEnumValues ¶
func GetBaseAnnouncementLifecycleStateEnumValues() []BaseAnnouncementLifecycleStateEnum
GetBaseAnnouncementLifecycleStateEnumValues Enumerates the set of values for BaseAnnouncementLifecycleStateEnum
func GetMappingBaseAnnouncementLifecycleStateEnum ¶
func GetMappingBaseAnnouncementLifecycleStateEnum(val string) (BaseAnnouncementLifecycleStateEnum, bool)
GetMappingBaseAnnouncementLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type BaseAnnouncementPlatformTypeEnum ¶
type BaseAnnouncementPlatformTypeEnum string
BaseAnnouncementPlatformTypeEnum Enum with underlying type: string
const ( BaseAnnouncementPlatformTypeIaas BaseAnnouncementPlatformTypeEnum = "IAAS" BaseAnnouncementPlatformTypeSaas BaseAnnouncementPlatformTypeEnum = "SAAS" BaseAnnouncementPlatformTypePaas BaseAnnouncementPlatformTypeEnum = "PAAS" )
Set of constants representing the allowable values for BaseAnnouncementPlatformTypeEnum
func GetBaseAnnouncementPlatformTypeEnumValues ¶
func GetBaseAnnouncementPlatformTypeEnumValues() []BaseAnnouncementPlatformTypeEnum
GetBaseAnnouncementPlatformTypeEnumValues Enumerates the set of values for BaseAnnouncementPlatformTypeEnum
func GetMappingBaseAnnouncementPlatformTypeEnum ¶
func GetMappingBaseAnnouncementPlatformTypeEnum(val string) (BaseAnnouncementPlatformTypeEnum, bool)
GetMappingBaseAnnouncementPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type BaseAnnouncementTimeOneTypeEnum ¶
type BaseAnnouncementTimeOneTypeEnum string
BaseAnnouncementTimeOneTypeEnum Enum with underlying type: string
const ( BaseAnnouncementTimeOneTypeActionRequiredBy BaseAnnouncementTimeOneTypeEnum = "ACTION_REQUIRED_BY" BaseAnnouncementTimeOneTypeNewStartTime BaseAnnouncementTimeOneTypeEnum = "NEW_START_TIME" BaseAnnouncementTimeOneTypeOriginalEndTime BaseAnnouncementTimeOneTypeEnum = "ORIGINAL_END_TIME" BaseAnnouncementTimeOneTypeReportDate BaseAnnouncementTimeOneTypeEnum = "REPORT_DATE" BaseAnnouncementTimeOneTypeStartTime BaseAnnouncementTimeOneTypeEnum = "START_TIME" BaseAnnouncementTimeOneTypeTimeDetected BaseAnnouncementTimeOneTypeEnum = "TIME_DETECTED" )
Set of constants representing the allowable values for BaseAnnouncementTimeOneTypeEnum
func GetBaseAnnouncementTimeOneTypeEnumValues ¶
func GetBaseAnnouncementTimeOneTypeEnumValues() []BaseAnnouncementTimeOneTypeEnum
GetBaseAnnouncementTimeOneTypeEnumValues Enumerates the set of values for BaseAnnouncementTimeOneTypeEnum
func GetMappingBaseAnnouncementTimeOneTypeEnum ¶
func GetMappingBaseAnnouncementTimeOneTypeEnum(val string) (BaseAnnouncementTimeOneTypeEnum, bool)
GetMappingBaseAnnouncementTimeOneTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type BaseAnnouncementTimeTwoTypeEnum ¶
type BaseAnnouncementTimeTwoTypeEnum string
BaseAnnouncementTimeTwoTypeEnum Enum with underlying type: string
const ( BaseAnnouncementTimeTwoTypeEndTime BaseAnnouncementTimeTwoTypeEnum = "END_TIME" BaseAnnouncementTimeTwoTypeNewEndTime BaseAnnouncementTimeTwoTypeEnum = "NEW_END_TIME" BaseAnnouncementTimeTwoTypeEstimatedEndTime BaseAnnouncementTimeTwoTypeEnum = "ESTIMATED_END_TIME" )
Set of constants representing the allowable values for BaseAnnouncementTimeTwoTypeEnum
func GetBaseAnnouncementTimeTwoTypeEnumValues ¶
func GetBaseAnnouncementTimeTwoTypeEnumValues() []BaseAnnouncementTimeTwoTypeEnum
GetBaseAnnouncementTimeTwoTypeEnumValues Enumerates the set of values for BaseAnnouncementTimeTwoTypeEnum
func GetMappingBaseAnnouncementTimeTwoTypeEnum ¶
func GetMappingBaseAnnouncementTimeTwoTypeEnum(val string) (BaseAnnouncementTimeTwoTypeEnum, bool)
GetMappingBaseAnnouncementTimeTwoTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type BaseAnnouncementsPreferences ¶
type BaseAnnouncementsPreferences interface { // The OCID of the compartment for which the email preferences apply. Because announcements are // specific to a tenancy, specify the tenancy by providing the root compartment OCID. GetCompartmentId() *string // The ID of the preferences. GetId() *string // A Boolean value to indicate whether the specified compartment chooses to not to receive informational announcements by email. // (Manage preferences for receiving announcements by email by specifying the `preferenceType` attribute instead.) GetIsUnsubscribed() *bool // When the preferences were set initially. GetTimeCreated() *common.SDKTime // When the preferences were last updated. GetTimeUpdated() *common.SDKTime // The string representing the user's preference regarding receiving announcements by email. GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles GetPreferredTimeZone() *string }
BaseAnnouncementsPreferences The object that contains the announcement email preferences configured for the tenancy (root compartment).
type BaseCreateAnnouncementsPreferencesDetails ¶
type BaseCreateAnnouncementsPreferencesDetails interface { // The string representing the user's preference, whether to opt in to only required announcements, to opt in to all announcements, including informational announcements, or to opt out of all announcements. GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum // A Boolean value to indicate whether the specified compartment chooses to not to receive informational announcements by email. // (Manage preferences for receiving announcements by email by specifying the `preferenceType` attribute instead.) GetIsUnsubscribed() *bool // The OCID of the compartment for which you want to manage announcement email preferences. (Specify the tenancy by providing the // root compartment OCID.) GetCompartmentId() *string // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles GetPreferredTimeZone() *string }
BaseCreateAnnouncementsPreferencesDetails The model for the parameters of announcement email preferences configured for the tenancy (root compartment).
type BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum ¶
type BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum string
BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum Enum with underlying type: string
const ( BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeInTenantAnnouncements BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum = "OPT_IN_TENANT_ANNOUNCEMENTS" BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeInTenantAndInformationalAnnouncements BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum = "OPT_IN_TENANT_AND_INFORMATIONAL_ANNOUNCEMENTS" BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeOutAllAnnouncements BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum = "OPT_OUT_ALL_ANNOUNCEMENTS" )
Set of constants representing the allowable values for BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
func GetBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnumValues ¶
func GetBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnumValues() []BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
GetBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnumValues Enumerates the set of values for BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
func GetMappingBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum ¶
func GetMappingBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum(val string) (BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum, bool)
GetMappingBaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type BaseService ¶ added in v65.73.0
type BaseService interface { // ID of the service object. GetId() *string // Name of the service represented by this object. GetServiceName() *string // Short name of the team to whom this service object is related. GetShortName() *string // Team name to which this service object is related. GetTeamName() *string // The platform type this service object is related to. GetPlatformType() PlatformTypeEnum // Name of the comms manager team that manages Notifications to this service. GetCommsManagerName() CommsManagerNameEnum // The list of realms where this service is not available to be used. GetExcludedRealms() []string // The list of previously used names for this service object. GetPreviousServiceNames() []string // The date and time when the service object was created. GetTimeCreated() *common.SDKTime // The date and time when the service object was updated. GetTimeUpdated() *common.SDKTime // Current state of the service object. GetLifecycleState() BaseServiceLifecycleStateEnum }
BaseService Object representing a single service.
type BaseServiceLifecycleStateEnum ¶ added in v65.73.0
type BaseServiceLifecycleStateEnum string
BaseServiceLifecycleStateEnum Enum with underlying type: string
const ( BaseServiceLifecycleStateActive BaseServiceLifecycleStateEnum = "ACTIVE" BaseServiceLifecycleStateDeleted BaseServiceLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for BaseServiceLifecycleStateEnum
func GetBaseServiceLifecycleStateEnumValues ¶ added in v65.73.0
func GetBaseServiceLifecycleStateEnumValues() []BaseServiceLifecycleStateEnum
GetBaseServiceLifecycleStateEnumValues Enumerates the set of values for BaseServiceLifecycleStateEnum
func GetMappingBaseServiceLifecycleStateEnum ¶ added in v65.73.0
func GetMappingBaseServiceLifecycleStateEnum(val string) (BaseServiceLifecycleStateEnum, bool)
GetMappingBaseServiceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ChangeAnnouncementSubscriptionCompartmentDetails ¶
type ChangeAnnouncementSubscriptionCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // into which you want to move the announcement subscription. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeAnnouncementSubscriptionCompartmentDetails The details of the request to change the compartment of the announcement subscription.
func (ChangeAnnouncementSubscriptionCompartmentDetails) String ¶
func (m ChangeAnnouncementSubscriptionCompartmentDetails) String() string
func (ChangeAnnouncementSubscriptionCompartmentDetails) ValidateEnumValue ¶
func (m ChangeAnnouncementSubscriptionCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeAnnouncementSubscriptionCompartmentRequest ¶
type ChangeAnnouncementSubscriptionCompartmentRequest struct { // The OCID of the announcement subscription. AnnouncementSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"announcementSubscriptionId"` // The compartment information to update. ChangeAnnouncementSubscriptionCompartmentDetails `contributesTo:"body"` // The locking version, used for optimistic concurrency control. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeAnnouncementSubscriptionCompartmentRequest wrapper for the ChangeAnnouncementSubscriptionCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ChangeAnnouncementSubscriptionCompartment.go.html to see an example of how to use ChangeAnnouncementSubscriptionCompartmentRequest.
func (ChangeAnnouncementSubscriptionCompartmentRequest) BinaryRequestBody ¶
func (request ChangeAnnouncementSubscriptionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeAnnouncementSubscriptionCompartmentRequest) HTTPRequest ¶
func (request ChangeAnnouncementSubscriptionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeAnnouncementSubscriptionCompartmentRequest) RetryPolicy ¶
func (request ChangeAnnouncementSubscriptionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeAnnouncementSubscriptionCompartmentRequest) String ¶
func (request ChangeAnnouncementSubscriptionCompartmentRequest) String() string
func (ChangeAnnouncementSubscriptionCompartmentRequest) ValidateEnumValue ¶
func (request ChangeAnnouncementSubscriptionCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeAnnouncementSubscriptionCompartmentResponse ¶
type ChangeAnnouncementSubscriptionCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
ChangeAnnouncementSubscriptionCompartmentResponse wrapper for the ChangeAnnouncementSubscriptionCompartment operation
func (ChangeAnnouncementSubscriptionCompartmentResponse) HTTPResponse ¶
func (response ChangeAnnouncementSubscriptionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeAnnouncementSubscriptionCompartmentResponse) String ¶
func (response ChangeAnnouncementSubscriptionCompartmentResponse) String() string
type CommsManagerNameEnum ¶ added in v65.73.0
type CommsManagerNameEnum string
CommsManagerNameEnum Enum with underlying type: string
const ( CommsManagerNameCn CommsManagerNameEnum = "CN" CommsManagerNameFusion CommsManagerNameEnum = "FUSION" CommsManagerNameAs CommsManagerNameEnum = "AS" CommsManagerNameErf CommsManagerNameEnum = "ERF" )
Set of constants representing the allowable values for CommsManagerNameEnum
func GetCommsManagerNameEnumValues ¶ added in v65.73.0
func GetCommsManagerNameEnumValues() []CommsManagerNameEnum
GetCommsManagerNameEnumValues Enumerates the set of values for CommsManagerNameEnum
func GetMappingCommsManagerNameEnum ¶ added in v65.73.0
func GetMappingCommsManagerNameEnum(val string) (CommsManagerNameEnum, bool)
GetMappingCommsManagerNameEnum performs case Insensitive comparison on enum value and return the desired enum
type CreateAnnouncementSubscriptionDetails ¶
type CreateAnnouncementSubscriptionDetails struct { // A user-friendly name for the announcement subscription. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the announcement subscription. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see Details for Notifications (https://docs.cloud.oracle.com/Content/Identity/policyreference/notificationpolicyreference.htm). OnsTopicId *string `mandatory:"true" json:"onsTopicId"` // A description of the announcement subscription. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // A list of filter groups for the announcement subscription. A filter group combines one or more filters that the Announcements service applies to announcements for matching purposes. FilterGroups map[string]FilterGroupDetails `mandatory:"false" json:"filterGroups"` // (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage *string `mandatory:"false" json:"preferredLanguage"` // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone *string `mandatory:"false" json:"preferredTimeZone"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateAnnouncementSubscriptionDetails The details for creating a new announcement subscription.
func (CreateAnnouncementSubscriptionDetails) String ¶
func (m CreateAnnouncementSubscriptionDetails) String() string
func (CreateAnnouncementSubscriptionDetails) ValidateEnumValue ¶
func (m CreateAnnouncementSubscriptionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateAnnouncementSubscriptionRequest ¶
type CreateAnnouncementSubscriptionRequest struct { // Details of the new announcement subscription. CreateAnnouncementSubscriptionDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateAnnouncementSubscriptionRequest wrapper for the CreateAnnouncementSubscription operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/CreateAnnouncementSubscription.go.html to see an example of how to use CreateAnnouncementSubscriptionRequest.
func (CreateAnnouncementSubscriptionRequest) BinaryRequestBody ¶
func (request CreateAnnouncementSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateAnnouncementSubscriptionRequest) HTTPRequest ¶
func (request CreateAnnouncementSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateAnnouncementSubscriptionRequest) RetryPolicy ¶
func (request CreateAnnouncementSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateAnnouncementSubscriptionRequest) String ¶
func (request CreateAnnouncementSubscriptionRequest) String() string
func (CreateAnnouncementSubscriptionRequest) ValidateEnumValue ¶
func (request CreateAnnouncementSubscriptionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateAnnouncementSubscriptionResponse ¶
type CreateAnnouncementSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The AnnouncementSubscription instance AnnouncementSubscription `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateAnnouncementSubscriptionResponse wrapper for the CreateAnnouncementSubscription operation
func (CreateAnnouncementSubscriptionResponse) HTTPResponse ¶
func (response CreateAnnouncementSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateAnnouncementSubscriptionResponse) String ¶
func (response CreateAnnouncementSubscriptionResponse) String() string
type CreateAnnouncementsPreferenceRequest ¶
type CreateAnnouncementsPreferenceRequest struct { // The object that contains details about tenancy preferences for receiving announcements by email. AnnouncementsPreferenceDetails CreateAnnouncementsPreferencesDetails `contributesTo:"body"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Idempotency token OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateAnnouncementsPreferenceRequest wrapper for the CreateAnnouncementsPreference operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/CreateAnnouncementsPreference.go.html to see an example of how to use CreateAnnouncementsPreferenceRequest.
func (CreateAnnouncementsPreferenceRequest) BinaryRequestBody ¶
func (request CreateAnnouncementsPreferenceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateAnnouncementsPreferenceRequest) HTTPRequest ¶
func (request CreateAnnouncementsPreferenceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateAnnouncementsPreferenceRequest) RetryPolicy ¶
func (request CreateAnnouncementsPreferenceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateAnnouncementsPreferenceRequest) String ¶
func (request CreateAnnouncementsPreferenceRequest) String() string
func (CreateAnnouncementsPreferenceRequest) ValidateEnumValue ¶
func (request CreateAnnouncementsPreferenceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateAnnouncementsPreferenceResponse ¶
type CreateAnnouncementsPreferenceResponse struct { // The underlying http response RawResponse *http.Response // The AnnouncementsPreferencesSummary instance AnnouncementsPreferencesSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateAnnouncementsPreferenceResponse wrapper for the CreateAnnouncementsPreference operation
func (CreateAnnouncementsPreferenceResponse) HTTPResponse ¶
func (response CreateAnnouncementsPreferenceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateAnnouncementsPreferenceResponse) String ¶
func (response CreateAnnouncementsPreferenceResponse) String() string
type CreateAnnouncementsPreferencesDetails ¶
type CreateAnnouncementsPreferencesDetails struct { // A Boolean value to indicate whether the specified compartment chooses to not to receive informational announcements by email. // (Manage preferences for receiving announcements by email by specifying the `preferenceType` attribute instead.) IsUnsubscribed *bool `mandatory:"false" json:"isUnsubscribed"` // The OCID of the compartment for which you want to manage announcement email preferences. (Specify the tenancy by providing the // root compartment OCID.) CompartmentId *string `mandatory:"false" json:"compartmentId"` // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone *string `mandatory:"false" json:"preferredTimeZone"` // The string representing the user's preference, whether to opt in to only required announcements, to opt in to all announcements, including informational announcements, or to opt out of all announcements. PreferenceType BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum `mandatory:"true" json:"preferenceType"` }
CreateAnnouncementsPreferencesDetails The object used to create announcement email preferences.
func (CreateAnnouncementsPreferencesDetails) GetCompartmentId ¶
func (m CreateAnnouncementsPreferencesDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateAnnouncementsPreferencesDetails) GetIsUnsubscribed ¶
func (m CreateAnnouncementsPreferencesDetails) GetIsUnsubscribed() *bool
GetIsUnsubscribed returns IsUnsubscribed
func (CreateAnnouncementsPreferencesDetails) GetPreferenceType ¶
func (m CreateAnnouncementsPreferencesDetails) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
GetPreferenceType returns PreferenceType
func (CreateAnnouncementsPreferencesDetails) GetPreferredTimeZone ¶ added in v65.27.0
func (m CreateAnnouncementsPreferencesDetails) GetPreferredTimeZone() *string
GetPreferredTimeZone returns PreferredTimeZone
func (CreateAnnouncementsPreferencesDetails) MarshalJSON ¶
func (m CreateAnnouncementsPreferencesDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateAnnouncementsPreferencesDetails) String ¶
func (m CreateAnnouncementsPreferencesDetails) String() string
func (CreateAnnouncementsPreferencesDetails) ValidateEnumValue ¶
func (m CreateAnnouncementsPreferencesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateFilterGroupDetails ¶
type CreateFilterGroupDetails struct { // The name of the filter group. The name must be unique and it cannot be changed. Avoid entering confidential information. Name *string `mandatory:"true" json:"name"` // A list of filters against which the Announcements service will match announcements. You cannot have more than one of any given filter type within a filter group. Filters []Filter `mandatory:"true" json:"filters"` }
CreateFilterGroupDetails The details for creating a new filter group for an announcement subscription.
func (CreateFilterGroupDetails) String ¶
func (m CreateFilterGroupDetails) String() string
func (CreateFilterGroupDetails) ValidateEnumValue ¶
func (m CreateFilterGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateFilterGroupRequest ¶
type CreateFilterGroupRequest struct { // The OCID of the announcement subscription. AnnouncementSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"announcementSubscriptionId"` // Details of the new filter group. CreateFilterGroupDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The locking version, used for optimistic concurrency control. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
CreateFilterGroupRequest wrapper for the CreateFilterGroup operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/CreateFilterGroup.go.html to see an example of how to use CreateFilterGroupRequest.
func (CreateFilterGroupRequest) BinaryRequestBody ¶
func (request CreateFilterGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateFilterGroupRequest) HTTPRequest ¶
func (request CreateFilterGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateFilterGroupRequest) RetryPolicy ¶
func (request CreateFilterGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateFilterGroupRequest) String ¶
func (request CreateFilterGroupRequest) String() string
func (CreateFilterGroupRequest) ValidateEnumValue ¶
func (request CreateFilterGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateFilterGroupResponse ¶
type CreateFilterGroupResponse struct { // The underlying http response RawResponse *http.Response // The FilterGroup instance FilterGroup `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateFilterGroupResponse wrapper for the CreateFilterGroup operation
func (CreateFilterGroupResponse) HTTPResponse ¶
func (response CreateFilterGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateFilterGroupResponse) String ¶
func (response CreateFilterGroupResponse) String() string
type DeleteAnnouncementSubscriptionRequest ¶
type DeleteAnnouncementSubscriptionRequest struct { // The OCID of the announcement subscription. AnnouncementSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"announcementSubscriptionId"` // The locking version, used for optimistic concurrency control. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteAnnouncementSubscriptionRequest wrapper for the DeleteAnnouncementSubscription operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/DeleteAnnouncementSubscription.go.html to see an example of how to use DeleteAnnouncementSubscriptionRequest.
func (DeleteAnnouncementSubscriptionRequest) BinaryRequestBody ¶
func (request DeleteAnnouncementSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteAnnouncementSubscriptionRequest) HTTPRequest ¶
func (request DeleteAnnouncementSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteAnnouncementSubscriptionRequest) RetryPolicy ¶
func (request DeleteAnnouncementSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteAnnouncementSubscriptionRequest) String ¶
func (request DeleteAnnouncementSubscriptionRequest) String() string
func (DeleteAnnouncementSubscriptionRequest) ValidateEnumValue ¶
func (request DeleteAnnouncementSubscriptionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteAnnouncementSubscriptionResponse ¶
type DeleteAnnouncementSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteAnnouncementSubscriptionResponse wrapper for the DeleteAnnouncementSubscription operation
func (DeleteAnnouncementSubscriptionResponse) HTTPResponse ¶
func (response DeleteAnnouncementSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteAnnouncementSubscriptionResponse) String ¶
func (response DeleteAnnouncementSubscriptionResponse) String() string
type DeleteFilterGroupRequest ¶
type DeleteFilterGroupRequest struct { // The OCID of the announcement subscription. AnnouncementSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"announcementSubscriptionId"` // The name of the filter group. FilterGroupName *string `mandatory:"true" contributesTo:"path" name:"filterGroupName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The locking version, used for optimistic concurrency control. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
DeleteFilterGroupRequest wrapper for the DeleteFilterGroup operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/DeleteFilterGroup.go.html to see an example of how to use DeleteFilterGroupRequest.
func (DeleteFilterGroupRequest) BinaryRequestBody ¶
func (request DeleteFilterGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteFilterGroupRequest) HTTPRequest ¶
func (request DeleteFilterGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteFilterGroupRequest) RetryPolicy ¶
func (request DeleteFilterGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteFilterGroupRequest) String ¶
func (request DeleteFilterGroupRequest) String() string
func (DeleteFilterGroupRequest) ValidateEnumValue ¶
func (request DeleteFilterGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteFilterGroupResponse ¶
type DeleteFilterGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
DeleteFilterGroupResponse wrapper for the DeleteFilterGroup operation
func (DeleteFilterGroupResponse) HTTPResponse ¶
func (response DeleteFilterGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteFilterGroupResponse) String ¶
func (response DeleteFilterGroupResponse) String() string
type Filter ¶
type Filter struct { // The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Type FilterTypeEnum `mandatory:"true" json:"type"` // The value of the filter. Value *string `mandatory:"true" json:"value"` }
Filter Criteria that the Announcements service uses to match announcements so it can provide only desired announcements to subscribers.
func (Filter) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type FilterGroup ¶
type FilterGroup struct { // The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. Name *string `mandatory:"true" json:"name"` // A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Filters []Filter `mandatory:"true" json:"filters"` }
FilterGroup A group of filters to match announcements against.
func (FilterGroup) String ¶
func (m FilterGroup) String() string
func (FilterGroup) ValidateEnumValue ¶
func (m FilterGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type FilterGroupDetails ¶
type FilterGroupDetails struct { // A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Filters []Filter `mandatory:"true" json:"filters"` }
FilterGroupDetails The details of a group of filters to match announcements against. A filter group combines one or more individual filters.
func (FilterGroupDetails) String ¶
func (m FilterGroupDetails) String() string
func (FilterGroupDetails) ValidateEnumValue ¶
func (m FilterGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type FilterTypeEnum ¶
type FilterTypeEnum string
FilterTypeEnum Enum with underlying type: string
const ( FilterTypeCompartmentId FilterTypeEnum = "COMPARTMENT_ID" FilterTypePlatformType FilterTypeEnum = "PLATFORM_TYPE" FilterTypeRegion FilterTypeEnum = "REGION" FilterTypeService FilterTypeEnum = "SERVICE" FilterTypeResourceId FilterTypeEnum = "RESOURCE_ID" FilterTypeAnnouncementType FilterTypeEnum = "ANNOUNCEMENT_TYPE" )
Set of constants representing the allowable values for FilterTypeEnum
func GetFilterTypeEnumValues ¶
func GetFilterTypeEnumValues() []FilterTypeEnum
GetFilterTypeEnumValues Enumerates the set of values for FilterTypeEnum
func GetMappingFilterTypeEnum ¶
func GetMappingFilterTypeEnum(val string) (FilterTypeEnum, bool)
GetMappingFilterTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type GetAnnouncementCompartmentRequest ¶ added in v65.73.0
type GetAnnouncementCompartmentRequest struct { // The OCID of the announcement. AnnouncementId *string `mandatory:"true" contributesTo:"path" name:"announcementId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetAnnouncementCompartmentRequest wrapper for the GetAnnouncementCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncementCompartment.go.html to see an example of how to use GetAnnouncementCompartmentRequest.
func (GetAnnouncementCompartmentRequest) BinaryRequestBody ¶ added in v65.73.0
func (request GetAnnouncementCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetAnnouncementCompartmentRequest) HTTPRequest ¶ added in v65.73.0
func (request GetAnnouncementCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAnnouncementCompartmentRequest) RetryPolicy ¶ added in v65.73.0
func (request GetAnnouncementCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAnnouncementCompartmentRequest) String ¶ added in v65.73.0
func (request GetAnnouncementCompartmentRequest) String() string
func (GetAnnouncementCompartmentRequest) ValidateEnumValue ¶ added in v65.73.0
func (request GetAnnouncementCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetAnnouncementCompartmentResponse ¶ added in v65.73.0
type GetAnnouncementCompartmentResponse struct { // The underlying http response RawResponse *http.Response // The AnnouncementCompartment instance AnnouncementCompartment `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetAnnouncementCompartmentResponse wrapper for the GetAnnouncementCompartment operation
func (GetAnnouncementCompartmentResponse) HTTPResponse ¶ added in v65.73.0
func (response GetAnnouncementCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAnnouncementCompartmentResponse) String ¶ added in v65.73.0
func (response GetAnnouncementCompartmentResponse) String() string
type GetAnnouncementRequest ¶
type GetAnnouncementRequest struct { // The OCID of the announcement. AnnouncementId *string `mandatory:"true" contributesTo:"path" name:"announcementId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetAnnouncementRequest wrapper for the GetAnnouncement operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncement.go.html to see an example of how to use GetAnnouncementRequest.
func (GetAnnouncementRequest) BinaryRequestBody ¶
func (request GetAnnouncementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetAnnouncementRequest) HTTPRequest ¶
func (request GetAnnouncementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAnnouncementRequest) RetryPolicy ¶
func (request GetAnnouncementRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAnnouncementRequest) String ¶
func (request GetAnnouncementRequest) String() string
func (GetAnnouncementRequest) ValidateEnumValue ¶
func (request GetAnnouncementRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetAnnouncementResponse ¶
type GetAnnouncementResponse struct { // The underlying http response RawResponse *http.Response // The Announcement instance Announcement `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetAnnouncementResponse wrapper for the GetAnnouncement operation
func (GetAnnouncementResponse) HTTPResponse ¶
func (response GetAnnouncementResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAnnouncementResponse) String ¶
func (response GetAnnouncementResponse) String() string
type GetAnnouncementSubscriptionRequest ¶
type GetAnnouncementSubscriptionRequest struct { // The OCID of the announcement subscription. AnnouncementSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"announcementSubscriptionId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetAnnouncementSubscriptionRequest wrapper for the GetAnnouncementSubscription operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncementSubscription.go.html to see an example of how to use GetAnnouncementSubscriptionRequest.
func (GetAnnouncementSubscriptionRequest) BinaryRequestBody ¶
func (request GetAnnouncementSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetAnnouncementSubscriptionRequest) HTTPRequest ¶
func (request GetAnnouncementSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAnnouncementSubscriptionRequest) RetryPolicy ¶
func (request GetAnnouncementSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAnnouncementSubscriptionRequest) String ¶
func (request GetAnnouncementSubscriptionRequest) String() string
func (GetAnnouncementSubscriptionRequest) ValidateEnumValue ¶
func (request GetAnnouncementSubscriptionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetAnnouncementSubscriptionResponse ¶
type GetAnnouncementSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The AnnouncementSubscription instance AnnouncementSubscription `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetAnnouncementSubscriptionResponse wrapper for the GetAnnouncementSubscription operation
func (GetAnnouncementSubscriptionResponse) HTTPResponse ¶
func (response GetAnnouncementSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAnnouncementSubscriptionResponse) String ¶
func (response GetAnnouncementSubscriptionResponse) String() string
type GetAnnouncementUserStatusRequest ¶
type GetAnnouncementUserStatusRequest struct { // The OCID of the announcement. AnnouncementId *string `mandatory:"true" contributesTo:"path" name:"announcementId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetAnnouncementUserStatusRequest wrapper for the GetAnnouncementUserStatus operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncementUserStatus.go.html to see an example of how to use GetAnnouncementUserStatusRequest.
func (GetAnnouncementUserStatusRequest) BinaryRequestBody ¶
func (request GetAnnouncementUserStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetAnnouncementUserStatusRequest) HTTPRequest ¶
func (request GetAnnouncementUserStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAnnouncementUserStatusRequest) RetryPolicy ¶
func (request GetAnnouncementUserStatusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAnnouncementUserStatusRequest) String ¶
func (request GetAnnouncementUserStatusRequest) String() string
func (GetAnnouncementUserStatusRequest) ValidateEnumValue ¶
func (request GetAnnouncementUserStatusRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetAnnouncementUserStatusResponse ¶
type GetAnnouncementUserStatusResponse struct { // The underlying http response RawResponse *http.Response // The AnnouncementUserStatusDetails instance AnnouncementUserStatusDetails `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetAnnouncementUserStatusResponse wrapper for the GetAnnouncementUserStatus operation
func (GetAnnouncementUserStatusResponse) HTTPResponse ¶
func (response GetAnnouncementUserStatusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAnnouncementUserStatusResponse) String ¶
func (response GetAnnouncementUserStatusResponse) String() string
type GetAnnouncementsPreferenceRequest ¶
type GetAnnouncementsPreferenceRequest struct { // The ID of the preference. PreferenceId *string `mandatory:"true" contributesTo:"path" name:"preferenceId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetAnnouncementsPreferenceRequest wrapper for the GetAnnouncementsPreference operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/GetAnnouncementsPreference.go.html to see an example of how to use GetAnnouncementsPreferenceRequest.
func (GetAnnouncementsPreferenceRequest) BinaryRequestBody ¶
func (request GetAnnouncementsPreferenceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetAnnouncementsPreferenceRequest) HTTPRequest ¶
func (request GetAnnouncementsPreferenceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAnnouncementsPreferenceRequest) RetryPolicy ¶
func (request GetAnnouncementsPreferenceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAnnouncementsPreferenceRequest) String ¶
func (request GetAnnouncementsPreferenceRequest) String() string
func (GetAnnouncementsPreferenceRequest) ValidateEnumValue ¶
func (request GetAnnouncementsPreferenceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetAnnouncementsPreferenceResponse ¶
type GetAnnouncementsPreferenceResponse struct { // The underlying http response RawResponse *http.Response // The AnnouncementsPreferences instance AnnouncementsPreferences `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetAnnouncementsPreferenceResponse wrapper for the GetAnnouncementsPreference operation
func (GetAnnouncementsPreferenceResponse) HTTPResponse ¶
func (response GetAnnouncementsPreferenceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAnnouncementsPreferenceResponse) String ¶
func (response GetAnnouncementsPreferenceResponse) String() string
type ListAnnouncementSubscriptionsRequest ¶
type ListAnnouncementSubscriptionsRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only announcement subscriptions that match the given lifecycle state. LifecycleState AnnouncementSubscriptionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The OCID of the announcement subscription. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, whether ascending ('ASC') or descending ('DESC'). SortOrder ListAnnouncementSubscriptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The criteria to sort by. You can specify only one sort order. The default sort order for the creation date of resources is descending. The default sort order for display names is ascending. SortBy ListAnnouncementSubscriptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListAnnouncementSubscriptionsRequest wrapper for the ListAnnouncementSubscriptions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ListAnnouncementSubscriptions.go.html to see an example of how to use ListAnnouncementSubscriptionsRequest.
func (ListAnnouncementSubscriptionsRequest) BinaryRequestBody ¶
func (request ListAnnouncementSubscriptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListAnnouncementSubscriptionsRequest) HTTPRequest ¶
func (request ListAnnouncementSubscriptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAnnouncementSubscriptionsRequest) RetryPolicy ¶
func (request ListAnnouncementSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAnnouncementSubscriptionsRequest) String ¶
func (request ListAnnouncementSubscriptionsRequest) String() string
func (ListAnnouncementSubscriptionsRequest) ValidateEnumValue ¶
func (request ListAnnouncementSubscriptionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListAnnouncementSubscriptionsResponse ¶
type ListAnnouncementSubscriptionsResponse struct { // The underlying http response RawResponse *http.Response // A list of AnnouncementSubscriptionCollection instances AnnouncementSubscriptionCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListAnnouncementSubscriptionsResponse wrapper for the ListAnnouncementSubscriptions operation
func (ListAnnouncementSubscriptionsResponse) HTTPResponse ¶
func (response ListAnnouncementSubscriptionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAnnouncementSubscriptionsResponse) String ¶
func (response ListAnnouncementSubscriptionsResponse) String() string
type ListAnnouncementSubscriptionsSortByEnum ¶
type ListAnnouncementSubscriptionsSortByEnum string
ListAnnouncementSubscriptionsSortByEnum Enum with underlying type: string
const ( ListAnnouncementSubscriptionsSortByTimecreated ListAnnouncementSubscriptionsSortByEnum = "timeCreated" ListAnnouncementSubscriptionsSortByDisplayname ListAnnouncementSubscriptionsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListAnnouncementSubscriptionsSortByEnum
func GetListAnnouncementSubscriptionsSortByEnumValues ¶
func GetListAnnouncementSubscriptionsSortByEnumValues() []ListAnnouncementSubscriptionsSortByEnum
GetListAnnouncementSubscriptionsSortByEnumValues Enumerates the set of values for ListAnnouncementSubscriptionsSortByEnum
func GetMappingListAnnouncementSubscriptionsSortByEnum ¶
func GetMappingListAnnouncementSubscriptionsSortByEnum(val string) (ListAnnouncementSubscriptionsSortByEnum, bool)
GetMappingListAnnouncementSubscriptionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAnnouncementSubscriptionsSortOrderEnum ¶
type ListAnnouncementSubscriptionsSortOrderEnum string
ListAnnouncementSubscriptionsSortOrderEnum Enum with underlying type: string
const ( ListAnnouncementSubscriptionsSortOrderAsc ListAnnouncementSubscriptionsSortOrderEnum = "ASC" ListAnnouncementSubscriptionsSortOrderDesc ListAnnouncementSubscriptionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAnnouncementSubscriptionsSortOrderEnum
func GetListAnnouncementSubscriptionsSortOrderEnumValues ¶
func GetListAnnouncementSubscriptionsSortOrderEnumValues() []ListAnnouncementSubscriptionsSortOrderEnum
GetListAnnouncementSubscriptionsSortOrderEnumValues Enumerates the set of values for ListAnnouncementSubscriptionsSortOrderEnum
func GetMappingListAnnouncementSubscriptionsSortOrderEnum ¶
func GetMappingListAnnouncementSubscriptionsSortOrderEnum(val string) (ListAnnouncementSubscriptionsSortOrderEnum, bool)
GetMappingListAnnouncementSubscriptionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAnnouncementsLifecycleStateEnum ¶
type ListAnnouncementsLifecycleStateEnum string
ListAnnouncementsLifecycleStateEnum Enum with underlying type: string
const ( ListAnnouncementsLifecycleStateActive ListAnnouncementsLifecycleStateEnum = "ACTIVE" ListAnnouncementsLifecycleStateInactive ListAnnouncementsLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for ListAnnouncementsLifecycleStateEnum
func GetListAnnouncementsLifecycleStateEnumValues ¶
func GetListAnnouncementsLifecycleStateEnumValues() []ListAnnouncementsLifecycleStateEnum
GetListAnnouncementsLifecycleStateEnumValues Enumerates the set of values for ListAnnouncementsLifecycleStateEnum
func GetMappingListAnnouncementsLifecycleStateEnum ¶
func GetMappingListAnnouncementsLifecycleStateEnum(val string) (ListAnnouncementsLifecycleStateEnum, bool)
GetMappingListAnnouncementsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAnnouncementsPlatformTypeEnum ¶
type ListAnnouncementsPlatformTypeEnum string
ListAnnouncementsPlatformTypeEnum Enum with underlying type: string
const ( ListAnnouncementsPlatformTypeIaas ListAnnouncementsPlatformTypeEnum = "IAAS" ListAnnouncementsPlatformTypeSaas ListAnnouncementsPlatformTypeEnum = "SAAS" ListAnnouncementsPlatformTypePaas ListAnnouncementsPlatformTypeEnum = "PAAS" )
Set of constants representing the allowable values for ListAnnouncementsPlatformTypeEnum
func GetListAnnouncementsPlatformTypeEnumValues ¶
func GetListAnnouncementsPlatformTypeEnumValues() []ListAnnouncementsPlatformTypeEnum
GetListAnnouncementsPlatformTypeEnumValues Enumerates the set of values for ListAnnouncementsPlatformTypeEnum
func GetMappingListAnnouncementsPlatformTypeEnum ¶
func GetMappingListAnnouncementsPlatformTypeEnum(val string) (ListAnnouncementsPlatformTypeEnum, bool)
GetMappingListAnnouncementsPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAnnouncementsPreferencesRequest ¶
type ListAnnouncementsPreferencesRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListAnnouncementsPreferencesRequest wrapper for the ListAnnouncementsPreferences operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ListAnnouncementsPreferences.go.html to see an example of how to use ListAnnouncementsPreferencesRequest.
func (ListAnnouncementsPreferencesRequest) BinaryRequestBody ¶
func (request ListAnnouncementsPreferencesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListAnnouncementsPreferencesRequest) HTTPRequest ¶
func (request ListAnnouncementsPreferencesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAnnouncementsPreferencesRequest) RetryPolicy ¶
func (request ListAnnouncementsPreferencesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAnnouncementsPreferencesRequest) String ¶
func (request ListAnnouncementsPreferencesRequest) String() string
func (ListAnnouncementsPreferencesRequest) ValidateEnumValue ¶
func (request ListAnnouncementsPreferencesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListAnnouncementsPreferencesResponse ¶
type ListAnnouncementsPreferencesResponse struct { // The underlying http response RawResponse *http.Response // A list of []AnnouncementsPreferencesSummary instances Items []AnnouncementsPreferencesSummary `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListAnnouncementsPreferencesResponse wrapper for the ListAnnouncementsPreferences operation
func (ListAnnouncementsPreferencesResponse) HTTPResponse ¶
func (response ListAnnouncementsPreferencesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAnnouncementsPreferencesResponse) String ¶
func (response ListAnnouncementsPreferencesResponse) String() string
type ListAnnouncementsRequest ¶
type ListAnnouncementsRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The type of announcement. AnnouncementType *string `mandatory:"false" contributesTo:"query" name:"announcementType"` // The announcement's current lifecycle state. LifecycleState ListAnnouncementsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Whether the announcement is displayed as a console banner. IsBanner *bool `mandatory:"false" contributesTo:"query" name:"isBanner"` // The criteria to sort by. You can specify only one sort order. SortBy ListAnnouncementsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use. (Sorting by `announcementType` orders the announcements list according to importance.) SortOrder ListAnnouncementsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The boundary for the earliest `timeOneValue` date on announcements that you want to see. TimeOneEarliestTime *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeOneEarliestTime"` // The boundary for the latest `timeOneValue` date on announcements that you want to see. TimeOneLatestTime *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeOneLatestTime"` // A filter to return only announcements that match a specific environment name. EnvironmentName *string `mandatory:"false" contributesTo:"query" name:"environmentName"` // A filter to return only announcements affecting a specific service. Service *string `mandatory:"false" contributesTo:"query" name:"service"` // A filter to return only announcements affecting a specific platform. PlatformType ListAnnouncementsPlatformTypeEnum `mandatory:"false" contributesTo:"query" name:"platformType" omitEmpty:"true"` // Exclude The type of announcement. ExcludeAnnouncementTypes []string `contributesTo:"query" name:"excludeAnnouncementTypes" collectionFormat:"multi"` // A filter to display only the latest announcement in a chain. ShouldShowOnlyLatestInChain *bool `mandatory:"false" contributesTo:"query" name:"shouldShowOnlyLatestInChain"` // A filter to return only announcements belonging to the specified announcement chain ID. ChainId *string `mandatory:"false" contributesTo:"query" name:"chainId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListAnnouncementsRequest wrapper for the ListAnnouncements operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ListAnnouncements.go.html to see an example of how to use ListAnnouncementsRequest.
func (ListAnnouncementsRequest) BinaryRequestBody ¶
func (request ListAnnouncementsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListAnnouncementsRequest) HTTPRequest ¶
func (request ListAnnouncementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAnnouncementsRequest) RetryPolicy ¶
func (request ListAnnouncementsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAnnouncementsRequest) String ¶
func (request ListAnnouncementsRequest) String() string
func (ListAnnouncementsRequest) ValidateEnumValue ¶
func (request ListAnnouncementsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListAnnouncementsResponse ¶
type ListAnnouncementsResponse struct { // The underlying http response RawResponse *http.Response // A list of AnnouncementsCollection instances AnnouncementsCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For pagination of a list of items. Include this value as the `page` parameter for the // subsequent GET request to get the previous batch of items. OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListAnnouncementsResponse wrapper for the ListAnnouncements operation
func (ListAnnouncementsResponse) HTTPResponse ¶
func (response ListAnnouncementsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAnnouncementsResponse) String ¶
func (response ListAnnouncementsResponse) String() string
type ListAnnouncementsSortByEnum ¶
type ListAnnouncementsSortByEnum string
ListAnnouncementsSortByEnum Enum with underlying type: string
const ( ListAnnouncementsSortByTimeonevalue ListAnnouncementsSortByEnum = "timeOneValue" ListAnnouncementsSortByTimetwovalue ListAnnouncementsSortByEnum = "timeTwoValue" ListAnnouncementsSortByTimecreated ListAnnouncementsSortByEnum = "timeCreated" ListAnnouncementsSortByReferenceticketnumber ListAnnouncementsSortByEnum = "referenceTicketNumber" ListAnnouncementsSortBySummary ListAnnouncementsSortByEnum = "summary" ListAnnouncementsSortByAnnouncementtype ListAnnouncementsSortByEnum = "announcementType" )
Set of constants representing the allowable values for ListAnnouncementsSortByEnum
func GetListAnnouncementsSortByEnumValues ¶
func GetListAnnouncementsSortByEnumValues() []ListAnnouncementsSortByEnum
GetListAnnouncementsSortByEnumValues Enumerates the set of values for ListAnnouncementsSortByEnum
func GetMappingListAnnouncementsSortByEnum ¶
func GetMappingListAnnouncementsSortByEnum(val string) (ListAnnouncementsSortByEnum, bool)
GetMappingListAnnouncementsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAnnouncementsSortOrderEnum ¶
type ListAnnouncementsSortOrderEnum string
ListAnnouncementsSortOrderEnum Enum with underlying type: string
const ( ListAnnouncementsSortOrderAsc ListAnnouncementsSortOrderEnum = "ASC" ListAnnouncementsSortOrderDesc ListAnnouncementsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAnnouncementsSortOrderEnum
func GetListAnnouncementsSortOrderEnumValues ¶
func GetListAnnouncementsSortOrderEnumValues() []ListAnnouncementsSortOrderEnum
GetListAnnouncementsSortOrderEnumValues Enumerates the set of values for ListAnnouncementsSortOrderEnum
func GetMappingListAnnouncementsSortOrderEnum ¶
func GetMappingListAnnouncementsSortOrderEnum(val string) (ListAnnouncementsSortOrderEnum, bool)
GetMappingListAnnouncementsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServicesCommsManagerNameEnum ¶ added in v65.73.0
type ListServicesCommsManagerNameEnum string
ListServicesCommsManagerNameEnum Enum with underlying type: string
const ( ListServicesCommsManagerNameCn ListServicesCommsManagerNameEnum = "CN" ListServicesCommsManagerNameFusion ListServicesCommsManagerNameEnum = "FUSION" ListServicesCommsManagerNameAs ListServicesCommsManagerNameEnum = "AS" ListServicesCommsManagerNameErf ListServicesCommsManagerNameEnum = "ERF" )
Set of constants representing the allowable values for ListServicesCommsManagerNameEnum
func GetListServicesCommsManagerNameEnumValues ¶ added in v65.73.0
func GetListServicesCommsManagerNameEnumValues() []ListServicesCommsManagerNameEnum
GetListServicesCommsManagerNameEnumValues Enumerates the set of values for ListServicesCommsManagerNameEnum
func GetMappingListServicesCommsManagerNameEnum ¶ added in v65.73.0
func GetMappingListServicesCommsManagerNameEnum(val string) (ListServicesCommsManagerNameEnum, bool)
GetMappingListServicesCommsManagerNameEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServicesPlatformTypeEnum ¶ added in v65.73.0
type ListServicesPlatformTypeEnum string
ListServicesPlatformTypeEnum Enum with underlying type: string
const ( ListServicesPlatformTypeIaas ListServicesPlatformTypeEnum = "IAAS" ListServicesPlatformTypeSaas ListServicesPlatformTypeEnum = "SAAS" ListServicesPlatformTypePaas ListServicesPlatformTypeEnum = "PAAS" )
Set of constants representing the allowable values for ListServicesPlatformTypeEnum
func GetListServicesPlatformTypeEnumValues ¶ added in v65.73.0
func GetListServicesPlatformTypeEnumValues() []ListServicesPlatformTypeEnum
GetListServicesPlatformTypeEnumValues Enumerates the set of values for ListServicesPlatformTypeEnum
func GetMappingListServicesPlatformTypeEnum ¶ added in v65.73.0
func GetMappingListServicesPlatformTypeEnum(val string) (ListServicesPlatformTypeEnum, bool)
GetMappingListServicesPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServicesRequest ¶ added in v65.73.0
type ListServicesRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only announcements affecting a specific platform. PlatformType ListServicesPlatformTypeEnum `mandatory:"false" contributesTo:"query" name:"platformType" omitEmpty:"true"` // Filter by comms manager name CommsManagerName ListServicesCommsManagerNameEnum `mandatory:"false" contributesTo:"query" name:"commsManagerName" omitEmpty:"true"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Sort by service name parameter SortBy ListServicesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, whether ascending ('ASC') or descending ('DESC'). SortOrder ListServicesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListServicesRequest wrapper for the ListServices operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ListServices.go.html to see an example of how to use ListServicesRequest.
func (ListServicesRequest) BinaryRequestBody ¶ added in v65.73.0
func (request ListServicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListServicesRequest) HTTPRequest ¶ added in v65.73.0
func (request ListServicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListServicesRequest) RetryPolicy ¶ added in v65.73.0
func (request ListServicesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListServicesRequest) String ¶ added in v65.73.0
func (request ListServicesRequest) String() string
func (ListServicesRequest) ValidateEnumValue ¶ added in v65.73.0
func (request ListServicesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListServicesResponse ¶ added in v65.73.0
type ListServicesResponse struct { // The underlying http response RawResponse *http.Response // A list of ServicesCollection instances ServicesCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListServicesResponse wrapper for the ListServices operation
func (ListServicesResponse) HTTPResponse ¶ added in v65.73.0
func (response ListServicesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListServicesResponse) String ¶ added in v65.73.0
func (response ListServicesResponse) String() string
type ListServicesSortByEnum ¶ added in v65.73.0
type ListServicesSortByEnum string
ListServicesSortByEnum Enum with underlying type: string
const (
ListServicesSortByServicename ListServicesSortByEnum = "serviceName"
)
Set of constants representing the allowable values for ListServicesSortByEnum
func GetListServicesSortByEnumValues ¶ added in v65.73.0
func GetListServicesSortByEnumValues() []ListServicesSortByEnum
GetListServicesSortByEnumValues Enumerates the set of values for ListServicesSortByEnum
func GetMappingListServicesSortByEnum ¶ added in v65.73.0
func GetMappingListServicesSortByEnum(val string) (ListServicesSortByEnum, bool)
GetMappingListServicesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServicesSortOrderEnum ¶ added in v65.73.0
type ListServicesSortOrderEnum string
ListServicesSortOrderEnum Enum with underlying type: string
const ( ListServicesSortOrderAsc ListServicesSortOrderEnum = "ASC" ListServicesSortOrderDesc ListServicesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListServicesSortOrderEnum
func GetListServicesSortOrderEnumValues ¶ added in v65.73.0
func GetListServicesSortOrderEnumValues() []ListServicesSortOrderEnum
GetListServicesSortOrderEnumValues Enumerates the set of values for ListServicesSortOrderEnum
func GetMappingListServicesSortOrderEnum ¶ added in v65.73.0
func GetMappingListServicesSortOrderEnum(val string) (ListServicesSortOrderEnum, bool)
GetMappingListServicesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type NotificationsSummary ¶ added in v65.73.0
type NotificationsSummary struct { // ID of the service object. Id *string `mandatory:"true" json:"id"` // Name of the service represented by this object. ServiceName *string `mandatory:"true" json:"serviceName"` // Short name of the team to whom this service object is related. ShortName *string `mandatory:"true" json:"shortName"` // Team name to which this service object is related. TeamName *string `mandatory:"true" json:"teamName"` // The list of realms where this service is not available to be used. ExcludedRealms []string `mandatory:"true" json:"excludedRealms"` // The list of previously used names for this service object. PreviousServiceNames []string `mandatory:"true" json:"previousServiceNames"` // The date and time when the service object was created. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time when the service object was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The platform type this service object is related to. PlatformType PlatformTypeEnum `mandatory:"true" json:"platformType"` // Name of the comms manager team that manages Notifications to this service. CommsManagerName CommsManagerNameEnum `mandatory:"true" json:"commsManagerName"` // Current state of the service object. LifecycleState BaseServiceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
NotificationsSummary Summary of notification object, return by List API
func (NotificationsSummary) GetCommsManagerName ¶ added in v65.73.0
func (m NotificationsSummary) GetCommsManagerName() CommsManagerNameEnum
GetCommsManagerName returns CommsManagerName
func (NotificationsSummary) GetExcludedRealms ¶ added in v65.73.0
func (m NotificationsSummary) GetExcludedRealms() []string
GetExcludedRealms returns ExcludedRealms
func (NotificationsSummary) GetId ¶ added in v65.73.0
func (m NotificationsSummary) GetId() *string
GetId returns Id
func (NotificationsSummary) GetLifecycleState ¶ added in v65.73.0
func (m NotificationsSummary) GetLifecycleState() BaseServiceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (NotificationsSummary) GetPlatformType ¶ added in v65.73.0
func (m NotificationsSummary) GetPlatformType() PlatformTypeEnum
GetPlatformType returns PlatformType
func (NotificationsSummary) GetPreviousServiceNames ¶ added in v65.73.0
func (m NotificationsSummary) GetPreviousServiceNames() []string
GetPreviousServiceNames returns PreviousServiceNames
func (NotificationsSummary) GetServiceName ¶ added in v65.73.0
func (m NotificationsSummary) GetServiceName() *string
GetServiceName returns ServiceName
func (NotificationsSummary) GetShortName ¶ added in v65.73.0
func (m NotificationsSummary) GetShortName() *string
GetShortName returns ShortName
func (NotificationsSummary) GetTeamName ¶ added in v65.73.0
func (m NotificationsSummary) GetTeamName() *string
GetTeamName returns TeamName
func (NotificationsSummary) GetTimeCreated ¶ added in v65.73.0
func (m NotificationsSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (NotificationsSummary) GetTimeUpdated ¶ added in v65.73.0
func (m NotificationsSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (NotificationsSummary) MarshalJSON ¶ added in v65.73.0
func (m NotificationsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (NotificationsSummary) String ¶ added in v65.73.0
func (m NotificationsSummary) String() string
func (NotificationsSummary) ValidateEnumValue ¶ added in v65.73.0
func (m NotificationsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type PlatformTypeEnum ¶ added in v65.73.0
type PlatformTypeEnum string
PlatformTypeEnum Enum with underlying type: string
const ( PlatformTypeIaas PlatformTypeEnum = "IAAS" PlatformTypeSaas PlatformTypeEnum = "SAAS" PlatformTypePaas PlatformTypeEnum = "PAAS" )
Set of constants representing the allowable values for PlatformTypeEnum
func GetMappingPlatformTypeEnum ¶ added in v65.73.0
func GetMappingPlatformTypeEnum(val string) (PlatformTypeEnum, bool)
GetMappingPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPlatformTypeEnumValues ¶ added in v65.73.0
func GetPlatformTypeEnumValues() []PlatformTypeEnum
GetPlatformTypeEnumValues Enumerates the set of values for PlatformTypeEnum
type Property ¶
type Property struct { // The name of the property. Name *string `mandatory:"true" json:"name"` // The value of the property. Value *string `mandatory:"true" json:"value"` }
Property A generic property that might be associated with the affected resource.
func (Property) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type Service ¶ added in v65.73.0
type Service struct { // ID of the service object. Id *string `mandatory:"true" json:"id"` // Name of the service represented by this object. ServiceName *string `mandatory:"true" json:"serviceName"` // Short name of the team to whom this service object is related. ShortName *string `mandatory:"true" json:"shortName"` // Team name to which this service object is related. TeamName *string `mandatory:"true" json:"teamName"` // The list of realms where this service is not available to be used. ExcludedRealms []string `mandatory:"true" json:"excludedRealms"` // The list of previously used names for this service object. PreviousServiceNames []string `mandatory:"true" json:"previousServiceNames"` // The date and time when the service object was created. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time when the service object was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The platform type this service object is related to. PlatformType PlatformTypeEnum `mandatory:"true" json:"platformType"` // Name of the comms manager team that manages Notifications to this service. CommsManagerName CommsManagerNameEnum `mandatory:"true" json:"commsManagerName"` // Current state of the service object. LifecycleState BaseServiceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
Service Summary of the service object.
func (Service) GetCommsManagerName ¶ added in v65.73.0
func (m Service) GetCommsManagerName() CommsManagerNameEnum
GetCommsManagerName returns CommsManagerName
func (Service) GetExcludedRealms ¶ added in v65.73.0
GetExcludedRealms returns ExcludedRealms
func (Service) GetLifecycleState ¶ added in v65.73.0
func (m Service) GetLifecycleState() BaseServiceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (Service) GetPlatformType ¶ added in v65.73.0
func (m Service) GetPlatformType() PlatformTypeEnum
GetPlatformType returns PlatformType
func (Service) GetPreviousServiceNames ¶ added in v65.73.0
GetPreviousServiceNames returns PreviousServiceNames
func (Service) GetServiceName ¶ added in v65.73.0
GetServiceName returns ServiceName
func (Service) GetShortName ¶ added in v65.73.0
GetShortName returns ShortName
func (Service) GetTeamName ¶ added in v65.73.0
GetTeamName returns TeamName
func (Service) GetTimeCreated ¶ added in v65.73.0
GetTimeCreated returns TimeCreated
func (Service) GetTimeUpdated ¶ added in v65.73.0
GetTimeUpdated returns TimeUpdated
func (Service) MarshalJSON ¶ added in v65.73.0
MarshalJSON marshals to json representation
func (Service) ValidateEnumValue ¶ added in v65.73.0
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ServiceClient ¶ added in v65.73.0
type ServiceClient struct { common.BaseClient // contains filtered or unexported fields }
ServiceClient a client for Service
func NewServiceClientWithConfigurationProvider ¶ added in v65.73.0
func NewServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ServiceClient, err error)
NewServiceClientWithConfigurationProvider Creates a new default Service client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewServiceClientWithOboToken ¶ added in v65.73.0
func NewServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ServiceClient, err error)
NewServiceClientWithOboToken Creates a new default Service 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 (*ServiceClient) ConfigurationProvider ¶ added in v65.73.0
func (client *ServiceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (ServiceClient) ListServices ¶ added in v65.73.0
func (client ServiceClient) ListServices(ctx context.Context, request ListServicesRequest) (response ListServicesResponse, err error)
ListServices List all active services
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/ListServices.go.html to see an example of how to use ListServices API.
func (*ServiceClient) SetRegion ¶ added in v65.73.0
func (client *ServiceClient) SetRegion(region string)
SetRegion overrides the region of this client.
type ServiceSummary ¶ added in v65.73.0
type ServiceSummary struct { // ID of the service object. Id *string `mandatory:"true" json:"id"` // Name of the service represented by this object. ServiceName *string `mandatory:"true" json:"serviceName"` // Short name of the team to whom this service object is related. ShortName *string `mandatory:"true" json:"shortName"` // Team name to which this service object is related. TeamName *string `mandatory:"true" json:"teamName"` // The list of realms where this service is not available to be used. ExcludedRealms []string `mandatory:"true" json:"excludedRealms"` // The list of previously used names for this service object. PreviousServiceNames []string `mandatory:"true" json:"previousServiceNames"` // The date and time when the service object was created. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time when the service object was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The platform type this service object is related to. PlatformType PlatformTypeEnum `mandatory:"true" json:"platformType"` // Name of the comms manager team that manages Notifications to this service. CommsManagerName CommsManagerNameEnum `mandatory:"true" json:"commsManagerName"` // Current state of the service object. LifecycleState BaseServiceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
ServiceSummary Summary of the service object.
func (ServiceSummary) GetCommsManagerName ¶ added in v65.73.0
func (m ServiceSummary) GetCommsManagerName() CommsManagerNameEnum
GetCommsManagerName returns CommsManagerName
func (ServiceSummary) GetExcludedRealms ¶ added in v65.73.0
func (m ServiceSummary) GetExcludedRealms() []string
GetExcludedRealms returns ExcludedRealms
func (ServiceSummary) GetId ¶ added in v65.73.0
func (m ServiceSummary) GetId() *string
GetId returns Id
func (ServiceSummary) GetLifecycleState ¶ added in v65.73.0
func (m ServiceSummary) GetLifecycleState() BaseServiceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (ServiceSummary) GetPlatformType ¶ added in v65.73.0
func (m ServiceSummary) GetPlatformType() PlatformTypeEnum
GetPlatformType returns PlatformType
func (ServiceSummary) GetPreviousServiceNames ¶ added in v65.73.0
func (m ServiceSummary) GetPreviousServiceNames() []string
GetPreviousServiceNames returns PreviousServiceNames
func (ServiceSummary) GetServiceName ¶ added in v65.73.0
func (m ServiceSummary) GetServiceName() *string
GetServiceName returns ServiceName
func (ServiceSummary) GetShortName ¶ added in v65.73.0
func (m ServiceSummary) GetShortName() *string
GetShortName returns ShortName
func (ServiceSummary) GetTeamName ¶ added in v65.73.0
func (m ServiceSummary) GetTeamName() *string
GetTeamName returns TeamName
func (ServiceSummary) GetTimeCreated ¶ added in v65.73.0
func (m ServiceSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (ServiceSummary) GetTimeUpdated ¶ added in v65.73.0
func (m ServiceSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (ServiceSummary) MarshalJSON ¶ added in v65.73.0
func (m ServiceSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ServiceSummary) String ¶ added in v65.73.0
func (m ServiceSummary) String() string
func (ServiceSummary) ValidateEnumValue ¶ added in v65.73.0
func (m ServiceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ServicesCollection ¶ added in v65.73.0
type ServicesCollection struct { // List of all services. Items []ServiceSummary `mandatory:"true" json:"items"` }
ServicesCollection Collection of all services.
func (ServicesCollection) String ¶ added in v65.73.0
func (m ServicesCollection) String() string
func (ServicesCollection) ValidateEnumValue ¶ added in v65.73.0
func (m ServicesCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetMappingSortOrderEnum ¶
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type UpdateAnnouncementSubscriptionDetails ¶
type UpdateAnnouncementSubscriptionDetails struct { // A user-friendly name for the announcement subscription. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // A description of the announcement subscription. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see Details for Notifications (https://docs.cloud.oracle.com/Content/Identity/policyreference/notificationpolicyreference.htm). OnsTopicId *string `mandatory:"false" json:"onsTopicId"` // (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage *string `mandatory:"false" json:"preferredLanguage"` // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone *string `mandatory:"false" json:"preferredTimeZone"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateAnnouncementSubscriptionDetails The details for updating an announcement subscription.
func (UpdateAnnouncementSubscriptionDetails) String ¶
func (m UpdateAnnouncementSubscriptionDetails) String() string
func (UpdateAnnouncementSubscriptionDetails) ValidateEnumValue ¶
func (m UpdateAnnouncementSubscriptionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateAnnouncementSubscriptionRequest ¶
type UpdateAnnouncementSubscriptionRequest struct { // The OCID of the announcement subscription. AnnouncementSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"announcementSubscriptionId"` // The subscription information to update. UpdateAnnouncementSubscriptionDetails `contributesTo:"body"` // The locking version, used for optimistic concurrency control. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateAnnouncementSubscriptionRequest wrapper for the UpdateAnnouncementSubscription operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/UpdateAnnouncementSubscription.go.html to see an example of how to use UpdateAnnouncementSubscriptionRequest.
func (UpdateAnnouncementSubscriptionRequest) BinaryRequestBody ¶
func (request UpdateAnnouncementSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateAnnouncementSubscriptionRequest) HTTPRequest ¶
func (request UpdateAnnouncementSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAnnouncementSubscriptionRequest) RetryPolicy ¶
func (request UpdateAnnouncementSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAnnouncementSubscriptionRequest) String ¶
func (request UpdateAnnouncementSubscriptionRequest) String() string
func (UpdateAnnouncementSubscriptionRequest) ValidateEnumValue ¶
func (request UpdateAnnouncementSubscriptionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateAnnouncementSubscriptionResponse ¶
type UpdateAnnouncementSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The AnnouncementSubscription instance AnnouncementSubscription `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateAnnouncementSubscriptionResponse wrapper for the UpdateAnnouncementSubscription operation
func (UpdateAnnouncementSubscriptionResponse) HTTPResponse ¶
func (response UpdateAnnouncementSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAnnouncementSubscriptionResponse) String ¶
func (response UpdateAnnouncementSubscriptionResponse) String() string
type UpdateAnnouncementUserStatusRequest ¶
type UpdateAnnouncementUserStatusRequest struct { // The OCID of the announcement. AnnouncementId *string `mandatory:"true" contributesTo:"path" name:"announcementId"` // The information to use to update the announcement's read status. StatusDetails AnnouncementUserStatusDetails `contributesTo:"body"` // The locking version, used for optimistic concurrency control. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateAnnouncementUserStatusRequest wrapper for the UpdateAnnouncementUserStatus operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/UpdateAnnouncementUserStatus.go.html to see an example of how to use UpdateAnnouncementUserStatusRequest.
func (UpdateAnnouncementUserStatusRequest) BinaryRequestBody ¶
func (request UpdateAnnouncementUserStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateAnnouncementUserStatusRequest) HTTPRequest ¶
func (request UpdateAnnouncementUserStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAnnouncementUserStatusRequest) RetryPolicy ¶
func (request UpdateAnnouncementUserStatusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAnnouncementUserStatusRequest) String ¶
func (request UpdateAnnouncementUserStatusRequest) String() string
func (UpdateAnnouncementUserStatusRequest) ValidateEnumValue ¶
func (request UpdateAnnouncementUserStatusRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateAnnouncementUserStatusResponse ¶
type UpdateAnnouncementUserStatusResponse struct { // The underlying http response RawResponse *http.Response // The AnnouncementUserStatusDetails instance AnnouncementUserStatusDetails `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateAnnouncementUserStatusResponse wrapper for the UpdateAnnouncementUserStatus operation
func (UpdateAnnouncementUserStatusResponse) HTTPResponse ¶
func (response UpdateAnnouncementUserStatusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAnnouncementUserStatusResponse) String ¶
func (response UpdateAnnouncementUserStatusResponse) String() string
type UpdateAnnouncementsPreferenceRequest ¶
type UpdateAnnouncementsPreferenceRequest struct { // The ID of the preference. PreferenceId *string `mandatory:"true" contributesTo:"path" name:"preferenceId"` // The object that contains details about tenancy preferences for receiving announcements by email. AnnouncementsPreferenceDetails UpdateAnnouncementsPreferencesDetails `contributesTo:"body"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The locking version, used for optimistic concurrency control. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
UpdateAnnouncementsPreferenceRequest wrapper for the UpdateAnnouncementsPreference operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/UpdateAnnouncementsPreference.go.html to see an example of how to use UpdateAnnouncementsPreferenceRequest.
func (UpdateAnnouncementsPreferenceRequest) BinaryRequestBody ¶
func (request UpdateAnnouncementsPreferenceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateAnnouncementsPreferenceRequest) HTTPRequest ¶
func (request UpdateAnnouncementsPreferenceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAnnouncementsPreferenceRequest) RetryPolicy ¶
func (request UpdateAnnouncementsPreferenceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAnnouncementsPreferenceRequest) String ¶
func (request UpdateAnnouncementsPreferenceRequest) String() string
func (UpdateAnnouncementsPreferenceRequest) ValidateEnumValue ¶
func (request UpdateAnnouncementsPreferenceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateAnnouncementsPreferenceResponse ¶
type UpdateAnnouncementsPreferenceResponse struct { // The underlying http response RawResponse *http.Response // The AnnouncementsPreferencesSummary instance AnnouncementsPreferencesSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateAnnouncementsPreferenceResponse wrapper for the UpdateAnnouncementsPreference operation
func (UpdateAnnouncementsPreferenceResponse) HTTPResponse ¶
func (response UpdateAnnouncementsPreferenceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAnnouncementsPreferenceResponse) String ¶
func (response UpdateAnnouncementsPreferenceResponse) String() string
type UpdateAnnouncementsPreferencesDetails ¶
type UpdateAnnouncementsPreferencesDetails struct { // A Boolean value to indicate whether the specified compartment chooses to not to receive informational announcements by email. // (Manage preferences for receiving announcements by email by specifying the `preferenceType` attribute instead.) IsUnsubscribed *bool `mandatory:"false" json:"isUnsubscribed"` // The OCID of the compartment for which you want to manage announcement email preferences. (Specify the tenancy by providing the // root compartment OCID.) CompartmentId *string `mandatory:"false" json:"compartmentId"` // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone *string `mandatory:"false" json:"preferredTimeZone"` // The string representing the user's preference, whether to opt in to only required announcements, to opt in to all announcements, including informational announcements, or to opt out of all announcements. PreferenceType BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum `mandatory:"true" json:"preferenceType"` }
UpdateAnnouncementsPreferencesDetails The object used to update announcement email preferences.
func (UpdateAnnouncementsPreferencesDetails) GetCompartmentId ¶
func (m UpdateAnnouncementsPreferencesDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (UpdateAnnouncementsPreferencesDetails) GetIsUnsubscribed ¶
func (m UpdateAnnouncementsPreferencesDetails) GetIsUnsubscribed() *bool
GetIsUnsubscribed returns IsUnsubscribed
func (UpdateAnnouncementsPreferencesDetails) GetPreferenceType ¶
func (m UpdateAnnouncementsPreferencesDetails) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum
GetPreferenceType returns PreferenceType
func (UpdateAnnouncementsPreferencesDetails) GetPreferredTimeZone ¶ added in v65.27.0
func (m UpdateAnnouncementsPreferencesDetails) GetPreferredTimeZone() *string
GetPreferredTimeZone returns PreferredTimeZone
func (UpdateAnnouncementsPreferencesDetails) MarshalJSON ¶
func (m UpdateAnnouncementsPreferencesDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateAnnouncementsPreferencesDetails) String ¶
func (m UpdateAnnouncementsPreferencesDetails) String() string
func (UpdateAnnouncementsPreferencesDetails) ValidateEnumValue ¶
func (m UpdateAnnouncementsPreferencesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateFilterGroupDetails ¶
type UpdateFilterGroupDetails struct { // A list of filters against which the Announcements service will match announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Filters []Filter `mandatory:"true" json:"filters"` }
UpdateFilterGroupDetails The details for updating a filter group in an announcement subscription.
func (UpdateFilterGroupDetails) String ¶
func (m UpdateFilterGroupDetails) String() string
func (UpdateFilterGroupDetails) ValidateEnumValue ¶
func (m UpdateFilterGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateFilterGroupRequest ¶
type UpdateFilterGroupRequest struct { // The OCID of the announcement subscription. AnnouncementSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"announcementSubscriptionId"` // The name of the filter group. FilterGroupName *string `mandatory:"true" contributesTo:"path" name:"filterGroupName"` // The filter group information to update. UpdateFilterGroupDetails `contributesTo:"body"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The locking version, used for optimistic concurrency control. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
UpdateFilterGroupRequest wrapper for the UpdateFilterGroup operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/announcementsservice/UpdateFilterGroup.go.html to see an example of how to use UpdateFilterGroupRequest.
func (UpdateFilterGroupRequest) BinaryRequestBody ¶
func (request UpdateFilterGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateFilterGroupRequest) HTTPRequest ¶
func (request UpdateFilterGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateFilterGroupRequest) RetryPolicy ¶
func (request UpdateFilterGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateFilterGroupRequest) String ¶
func (request UpdateFilterGroupRequest) String() string
func (UpdateFilterGroupRequest) ValidateEnumValue ¶
func (request UpdateFilterGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateFilterGroupResponse ¶
type UpdateFilterGroupResponse struct { // The underlying http response RawResponse *http.Response // The FilterGroup instance FilterGroup `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateFilterGroupResponse wrapper for the UpdateFilterGroup operation
func (UpdateFilterGroupResponse) HTTPResponse ¶
func (response UpdateFilterGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateFilterGroupResponse) String ¶
func (response UpdateFilterGroupResponse) String() string
Source Files
¶
- affected_resource.go
- announcement.go
- announcement_compartment.go
- announcement_subscription.go
- announcement_subscription_collection.go
- announcement_subscription_summary.go
- announcement_summary.go
- announcement_user_status_details.go
- announcements_collection.go
- announcements_preferences.go
- announcements_preferences_summary.go
- announcementsservice_announcement_client.go
- announcementsservice_announcementspreferences_client.go
- announcementsservice_announcementsubscription_client.go
- announcementsservice_service_client.go
- base_announcement.go
- base_announcements_preferences.go
- base_create_announcements_preferences_details.go
- base_service.go
- change_announcement_subscription_compartment_details.go
- change_announcement_subscription_compartment_request_response.go
- comms_manager_name.go
- create_announcement_subscription_details.go
- create_announcement_subscription_request_response.go
- create_announcements_preference_request_response.go
- create_announcements_preferences_details.go
- create_filter_group_details.go
- create_filter_group_request_response.go
- delete_announcement_subscription_request_response.go
- delete_filter_group_request_response.go
- filter.go
- filter_group.go
- filter_group_details.go
- get_announcement_compartment_request_response.go
- get_announcement_request_response.go
- get_announcement_subscription_request_response.go
- get_announcement_user_status_request_response.go
- get_announcements_preference_request_response.go
- list_announcement_subscriptions_request_response.go
- list_announcements_preferences_request_response.go
- list_announcements_request_response.go
- list_services_request_response.go
- notifications_summary.go
- platform_type.go
- property.go
- service.go
- service_summary.go
- services_collection.go
- sort_order.go
- update_announcement_subscription_details.go
- update_announcement_subscription_request_response.go
- update_announcement_user_status_request_response.go
- update_announcements_preference_request_response.go
- update_announcements_preferences_details.go
- update_filter_group_details.go
- update_filter_group_request_response.go