...

Package onesubscription

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

Overview ▾

Index ▾

func GetAggregatedComputedUsageSummaryPricingModelEnumStringValues() []string
func GetBillingScheduleSummaryInvoiceStatusEnumStringValues() []string
func GetComputedUsageAggregationTypeEnumStringValues() []string
func GetComputedUsageSummaryTypeEnumStringValues() []string
func GetComputedUsageTypeEnumStringValues() []string
func GetInvoicelineComputedUsageSummaryTypeEnumStringValues() []string
func GetListAggregatedComputedUsagesGroupingEnumStringValues() []string
func GetListBillingSchedulesSortByEnumStringValues() []string
func GetListBillingSchedulesSortOrderEnumStringValues() []string
func GetListCommitmentsSortByEnumStringValues() []string
func GetListCommitmentsSortOrderEnumStringValues() []string
func GetListComputedUsagesSortByEnumStringValues() []string
func GetListComputedUsagesSortOrderEnumStringValues() []string
func GetListInvoicelineComputedUsagesSortByEnumStringValues() []string
func GetListInvoicelineComputedUsagesSortOrderEnumStringValues() []string
func GetListInvoicesSortByEnumStringValues() []string
func GetListInvoicesSortOrderEnumStringValues() []string
func GetListOrganizationSubscriptionsSortByEnumStringValues() []string
func GetListOrganizationSubscriptionsSortOrderEnumStringValues() []string
func GetListRateCardsSortByEnumStringValues() []string
func GetListRateCardsSortOrderEnumStringValues() []string
func GetListSubscribedServicesSortByEnumStringValues() []string
func GetListSubscribedServicesSortOrderEnumStringValues() []string
func GetListSubscriptionsSortByEnumStringValues() []string
func GetListSubscriptionsSortOrderEnumStringValues() []string
type AggregatedComputedUsageSummary
    func (m AggregatedComputedUsageSummary) String() string
    func (m AggregatedComputedUsageSummary) ValidateEnumValue() (bool, error)
type AggregatedComputedUsageSummaryPricingModelEnum
    func GetAggregatedComputedUsageSummaryPricingModelEnumValues() []AggregatedComputedUsageSummaryPricingModelEnum
    func GetMappingAggregatedComputedUsageSummaryPricingModelEnum(val string) (AggregatedComputedUsageSummaryPricingModelEnum, bool)
type BillingScheduleClient
    func NewBillingScheduleClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BillingScheduleClient, err error)
    func NewBillingScheduleClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BillingScheduleClient, err error)
    func (client *BillingScheduleClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client BillingScheduleClient) ListBillingSchedules(ctx context.Context, request ListBillingSchedulesRequest) (response ListBillingSchedulesResponse, err error)
    func (client *BillingScheduleClient) SetRegion(region string)
type BillingScheduleProduct
    func (m BillingScheduleProduct) String() string
    func (m BillingScheduleProduct) ValidateEnumValue() (bool, error)
type BillingScheduleSummary
    func (m BillingScheduleSummary) String() string
    func (m BillingScheduleSummary) ValidateEnumValue() (bool, error)
type BillingScheduleSummaryInvoiceStatusEnum
    func GetBillingScheduleSummaryInvoiceStatusEnumValues() []BillingScheduleSummaryInvoiceStatusEnum
    func GetMappingBillingScheduleSummaryInvoiceStatusEnum(val string) (BillingScheduleSummaryInvoiceStatusEnum, bool)
type Commitment
    func (m Commitment) String() string
    func (m Commitment) ValidateEnumValue() (bool, error)
type CommitmentClient
    func NewCommitmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CommitmentClient, err error)
    func NewCommitmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CommitmentClient, err error)
    func (client *CommitmentClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client CommitmentClient) GetCommitment(ctx context.Context, request GetCommitmentRequest) (response GetCommitmentResponse, err error)
    func (client CommitmentClient) ListCommitments(ctx context.Context, request ListCommitmentsRequest) (response ListCommitmentsResponse, err error)
    func (client *CommitmentClient) SetRegion(region string)
type CommitmentService
    func (m CommitmentService) String() string
    func (m CommitmentService) ValidateEnumValue() (bool, error)
type CommitmentSummary
    func (m CommitmentSummary) String() string
    func (m CommitmentSummary) ValidateEnumValue() (bool, error)
type ComputedUsage
    func (m ComputedUsage) String() string
    func (m ComputedUsage) ValidateEnumValue() (bool, error)
type ComputedUsageAggregation
    func (m ComputedUsageAggregation) String() string
    func (m ComputedUsageAggregation) ValidateEnumValue() (bool, error)
type ComputedUsageAggregationTypeEnum
    func GetComputedUsageAggregationTypeEnumValues() []ComputedUsageAggregationTypeEnum
    func GetMappingComputedUsageAggregationTypeEnum(val string) (ComputedUsageAggregationTypeEnum, bool)
type ComputedUsageClient
    func NewComputedUsageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ComputedUsageClient, err error)
    func NewComputedUsageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputedUsageClient, err error)
    func (client *ComputedUsageClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ComputedUsageClient) GetComputedUsage(ctx context.Context, request GetComputedUsageRequest) (response GetComputedUsageResponse, err error)
    func (client ComputedUsageClient) ListAggregatedComputedUsages(ctx context.Context, request ListAggregatedComputedUsagesRequest) (response ListAggregatedComputedUsagesResponse, err error)
    func (client ComputedUsageClient) ListComputedUsages(ctx context.Context, request ListComputedUsagesRequest) (response ListComputedUsagesResponse, err error)
    func (client *ComputedUsageClient) SetRegion(region string)
type ComputedUsageProduct
    func (m ComputedUsageProduct) String() string
    func (m ComputedUsageProduct) ValidateEnumValue() (bool, error)
type ComputedUsageSummary
    func (m ComputedUsageSummary) String() string
    func (m ComputedUsageSummary) ValidateEnumValue() (bool, error)
type ComputedUsageSummaryTypeEnum
    func GetComputedUsageSummaryTypeEnumValues() []ComputedUsageSummaryTypeEnum
    func GetMappingComputedUsageSummaryTypeEnum(val string) (ComputedUsageSummaryTypeEnum, bool)
type ComputedUsageTypeEnum
    func GetComputedUsageTypeEnumValues() []ComputedUsageTypeEnum
    func GetMappingComputedUsageTypeEnum(val string) (ComputedUsageTypeEnum, bool)
type GetCommitmentRequest
    func (request GetCommitmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCommitmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCommitmentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCommitmentRequest) String() string
    func (request GetCommitmentRequest) ValidateEnumValue() (bool, error)
type GetCommitmentResponse
    func (response GetCommitmentResponse) HTTPResponse() *http.Response
    func (response GetCommitmentResponse) String() string
type GetComputedUsageRequest
    func (request GetComputedUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetComputedUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetComputedUsageRequest) RetryPolicy() *common.RetryPolicy
    func (request GetComputedUsageRequest) String() string
    func (request GetComputedUsageRequest) ValidateEnumValue() (bool, error)
type GetComputedUsageResponse
    func (response GetComputedUsageResponse) HTTPResponse() *http.Response
    func (response GetComputedUsageResponse) String() string
type GetSubscribedServiceRequest
    func (request GetSubscribedServiceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetSubscribedServiceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetSubscribedServiceRequest) RetryPolicy() *common.RetryPolicy
    func (request GetSubscribedServiceRequest) String() string
    func (request GetSubscribedServiceRequest) ValidateEnumValue() (bool, error)
type GetSubscribedServiceResponse
    func (response GetSubscribedServiceResponse) HTTPResponse() *http.Response
    func (response GetSubscribedServiceResponse) String() string
type InvoiceLineSummary
    func (m InvoiceLineSummary) String() string
    func (m InvoiceLineSummary) ValidateEnumValue() (bool, error)
type InvoiceSummary
    func (m InvoiceSummary) String() string
    func (m InvoiceSummary) ValidateEnumValue() (bool, error)
type InvoiceSummaryClient
    func NewInvoiceSummaryClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client InvoiceSummaryClient, err error)
    func NewInvoiceSummaryClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client InvoiceSummaryClient, err error)
    func (client *InvoiceSummaryClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client InvoiceSummaryClient) ListInvoicelineComputedUsages(ctx context.Context, request ListInvoicelineComputedUsagesRequest) (response ListInvoicelineComputedUsagesResponse, err error)
    func (client InvoiceSummaryClient) ListInvoices(ctx context.Context, request ListInvoicesRequest) (response ListInvoicesResponse, err error)
    func (client *InvoiceSummaryClient) SetRegion(region string)
type InvoicelineComputedUsageSummary
    func (m InvoicelineComputedUsageSummary) String() string
    func (m InvoicelineComputedUsageSummary) ValidateEnumValue() (bool, error)
type InvoicelineComputedUsageSummaryTypeEnum
    func GetInvoicelineComputedUsageSummaryTypeEnumValues() []InvoicelineComputedUsageSummaryTypeEnum
    func GetMappingInvoicelineComputedUsageSummaryTypeEnum(val string) (InvoicelineComputedUsageSummaryTypeEnum, bool)
type InvoicingAddress
    func (m InvoicingAddress) String() string
    func (m InvoicingAddress) ValidateEnumValue() (bool, error)
type InvoicingBusinessPartner
    func (m InvoicingBusinessPartner) String() string
    func (m InvoicingBusinessPartner) ValidateEnumValue() (bool, error)
type InvoicingCurrency
    func (m InvoicingCurrency) String() string
    func (m InvoicingCurrency) ValidateEnumValue() (bool, error)
type InvoicingLocation
    func (m InvoicingLocation) String() string
    func (m InvoicingLocation) ValidateEnumValue() (bool, error)
type InvoicingOrganization
    func (m InvoicingOrganization) String() string
    func (m InvoicingOrganization) ValidateEnumValue() (bool, error)
type InvoicingPaymentTerm
    func (m InvoicingPaymentTerm) String() string
    func (m InvoicingPaymentTerm) ValidateEnumValue() (bool, error)
type InvoicingProduct
    func (m InvoicingProduct) String() string
    func (m InvoicingProduct) ValidateEnumValue() (bool, error)
type InvoicingUser
    func (m InvoicingUser) String() string
    func (m InvoicingUser) ValidateEnumValue() (bool, error)
type ListAggregatedComputedUsagesGroupingEnum
    func GetListAggregatedComputedUsagesGroupingEnumValues() []ListAggregatedComputedUsagesGroupingEnum
    func GetMappingListAggregatedComputedUsagesGroupingEnum(val string) (ListAggregatedComputedUsagesGroupingEnum, bool)
type ListAggregatedComputedUsagesRequest
    func (request ListAggregatedComputedUsagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAggregatedComputedUsagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAggregatedComputedUsagesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAggregatedComputedUsagesRequest) String() string
    func (request ListAggregatedComputedUsagesRequest) ValidateEnumValue() (bool, error)
type ListAggregatedComputedUsagesResponse
    func (response ListAggregatedComputedUsagesResponse) HTTPResponse() *http.Response
    func (response ListAggregatedComputedUsagesResponse) String() string
type ListBillingSchedulesRequest
    func (request ListBillingSchedulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBillingSchedulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBillingSchedulesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBillingSchedulesRequest) String() string
    func (request ListBillingSchedulesRequest) ValidateEnumValue() (bool, error)
type ListBillingSchedulesResponse
    func (response ListBillingSchedulesResponse) HTTPResponse() *http.Response
    func (response ListBillingSchedulesResponse) String() string
type ListBillingSchedulesSortByEnum
    func GetListBillingSchedulesSortByEnumValues() []ListBillingSchedulesSortByEnum
    func GetMappingListBillingSchedulesSortByEnum(val string) (ListBillingSchedulesSortByEnum, bool)
type ListBillingSchedulesSortOrderEnum
    func GetListBillingSchedulesSortOrderEnumValues() []ListBillingSchedulesSortOrderEnum
    func GetMappingListBillingSchedulesSortOrderEnum(val string) (ListBillingSchedulesSortOrderEnum, bool)
type ListCommitmentsRequest
    func (request ListCommitmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCommitmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCommitmentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCommitmentsRequest) String() string
    func (request ListCommitmentsRequest) ValidateEnumValue() (bool, error)
type ListCommitmentsResponse
    func (response ListCommitmentsResponse) HTTPResponse() *http.Response
    func (response ListCommitmentsResponse) String() string
type ListCommitmentsSortByEnum
    func GetListCommitmentsSortByEnumValues() []ListCommitmentsSortByEnum
    func GetMappingListCommitmentsSortByEnum(val string) (ListCommitmentsSortByEnum, bool)
type ListCommitmentsSortOrderEnum
    func GetListCommitmentsSortOrderEnumValues() []ListCommitmentsSortOrderEnum
    func GetMappingListCommitmentsSortOrderEnum(val string) (ListCommitmentsSortOrderEnum, bool)
type ListComputedUsagesRequest
    func (request ListComputedUsagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListComputedUsagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListComputedUsagesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListComputedUsagesRequest) String() string
    func (request ListComputedUsagesRequest) ValidateEnumValue() (bool, error)
type ListComputedUsagesResponse
    func (response ListComputedUsagesResponse) HTTPResponse() *http.Response
    func (response ListComputedUsagesResponse) String() string
type ListComputedUsagesSortByEnum
    func GetListComputedUsagesSortByEnumValues() []ListComputedUsagesSortByEnum
    func GetMappingListComputedUsagesSortByEnum(val string) (ListComputedUsagesSortByEnum, bool)
type ListComputedUsagesSortOrderEnum
    func GetListComputedUsagesSortOrderEnumValues() []ListComputedUsagesSortOrderEnum
    func GetMappingListComputedUsagesSortOrderEnum(val string) (ListComputedUsagesSortOrderEnum, bool)
type ListInvoicelineComputedUsagesRequest
    func (request ListInvoicelineComputedUsagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListInvoicelineComputedUsagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListInvoicelineComputedUsagesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListInvoicelineComputedUsagesRequest) String() string
    func (request ListInvoicelineComputedUsagesRequest) ValidateEnumValue() (bool, error)
type ListInvoicelineComputedUsagesResponse
    func (response ListInvoicelineComputedUsagesResponse) HTTPResponse() *http.Response
    func (response ListInvoicelineComputedUsagesResponse) String() string
type ListInvoicelineComputedUsagesSortByEnum
    func GetListInvoicelineComputedUsagesSortByEnumValues() []ListInvoicelineComputedUsagesSortByEnum
    func GetMappingListInvoicelineComputedUsagesSortByEnum(val string) (ListInvoicelineComputedUsagesSortByEnum, bool)
type ListInvoicelineComputedUsagesSortOrderEnum
    func GetListInvoicelineComputedUsagesSortOrderEnumValues() []ListInvoicelineComputedUsagesSortOrderEnum
    func GetMappingListInvoicelineComputedUsagesSortOrderEnum(val string) (ListInvoicelineComputedUsagesSortOrderEnum, bool)
type ListInvoicesRequest
    func (request ListInvoicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListInvoicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListInvoicesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListInvoicesRequest) String() string
    func (request ListInvoicesRequest) ValidateEnumValue() (bool, error)
type ListInvoicesResponse
    func (response ListInvoicesResponse) HTTPResponse() *http.Response
    func (response ListInvoicesResponse) String() string
type ListInvoicesSortByEnum
    func GetListInvoicesSortByEnumValues() []ListInvoicesSortByEnum
    func GetMappingListInvoicesSortByEnum(val string) (ListInvoicesSortByEnum, bool)
type ListInvoicesSortOrderEnum
    func GetListInvoicesSortOrderEnumValues() []ListInvoicesSortOrderEnum
    func GetMappingListInvoicesSortOrderEnum(val string) (ListInvoicesSortOrderEnum, bool)
type ListOrganizationSubscriptionsRequest
    func (request ListOrganizationSubscriptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOrganizationSubscriptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOrganizationSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOrganizationSubscriptionsRequest) String() string
    func (request ListOrganizationSubscriptionsRequest) ValidateEnumValue() (bool, error)
type ListOrganizationSubscriptionsResponse
    func (response ListOrganizationSubscriptionsResponse) HTTPResponse() *http.Response
    func (response ListOrganizationSubscriptionsResponse) String() string
type ListOrganizationSubscriptionsSortByEnum
    func GetListOrganizationSubscriptionsSortByEnumValues() []ListOrganizationSubscriptionsSortByEnum
    func GetMappingListOrganizationSubscriptionsSortByEnum(val string) (ListOrganizationSubscriptionsSortByEnum, bool)
type ListOrganizationSubscriptionsSortOrderEnum
    func GetListOrganizationSubscriptionsSortOrderEnumValues() []ListOrganizationSubscriptionsSortOrderEnum
    func GetMappingListOrganizationSubscriptionsSortOrderEnum(val string) (ListOrganizationSubscriptionsSortOrderEnum, bool)
type ListRateCardsRequest
    func (request ListRateCardsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListRateCardsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListRateCardsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListRateCardsRequest) String() string
    func (request ListRateCardsRequest) ValidateEnumValue() (bool, error)
type ListRateCardsResponse
    func (response ListRateCardsResponse) HTTPResponse() *http.Response
    func (response ListRateCardsResponse) String() string
type ListRateCardsSortByEnum
    func GetListRateCardsSortByEnumValues() []ListRateCardsSortByEnum
    func GetMappingListRateCardsSortByEnum(val string) (ListRateCardsSortByEnum, bool)
type ListRateCardsSortOrderEnum
    func GetListRateCardsSortOrderEnumValues() []ListRateCardsSortOrderEnum
    func GetMappingListRateCardsSortOrderEnum(val string) (ListRateCardsSortOrderEnum, bool)
type ListSubscribedServicesRequest
    func (request ListSubscribedServicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListSubscribedServicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListSubscribedServicesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListSubscribedServicesRequest) String() string
    func (request ListSubscribedServicesRequest) ValidateEnumValue() (bool, error)
type ListSubscribedServicesResponse
    func (response ListSubscribedServicesResponse) HTTPResponse() *http.Response
    func (response ListSubscribedServicesResponse) String() string
type ListSubscribedServicesSortByEnum
    func GetListSubscribedServicesSortByEnumValues() []ListSubscribedServicesSortByEnum
    func GetMappingListSubscribedServicesSortByEnum(val string) (ListSubscribedServicesSortByEnum, bool)
type ListSubscribedServicesSortOrderEnum
    func GetListSubscribedServicesSortOrderEnumValues() []ListSubscribedServicesSortOrderEnum
    func GetMappingListSubscribedServicesSortOrderEnum(val string) (ListSubscribedServicesSortOrderEnum, bool)
type ListSubscriptionsRequest
    func (request ListSubscriptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListSubscriptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListSubscriptionsRequest) String() string
    func (request ListSubscriptionsRequest) ValidateEnumValue() (bool, error)
type ListSubscriptionsResponse
    func (response ListSubscriptionsResponse) HTTPResponse() *http.Response
    func (response ListSubscriptionsResponse) String() string
type ListSubscriptionsSortByEnum
    func GetListSubscriptionsSortByEnumValues() []ListSubscriptionsSortByEnum
    func GetMappingListSubscriptionsSortByEnum(val string) (ListSubscriptionsSortByEnum, bool)
type ListSubscriptionsSortOrderEnum
    func GetListSubscriptionsSortOrderEnumValues() []ListSubscriptionsSortOrderEnum
    func GetMappingListSubscriptionsSortOrderEnum(val string) (ListSubscriptionsSortOrderEnum, bool)
type OrganizationSubscriptionClient
    func NewOrganizationSubscriptionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OrganizationSubscriptionClient, err error)
    func NewOrganizationSubscriptionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OrganizationSubscriptionClient, err error)
    func (client *OrganizationSubscriptionClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OrganizationSubscriptionClient) ListOrganizationSubscriptions(ctx context.Context, request ListOrganizationSubscriptionsRequest) (response ListOrganizationSubscriptionsResponse, err error)
    func (client *OrganizationSubscriptionClient) SetRegion(region string)
type OrganizationSubscriptionSummary
    func (m OrganizationSubscriptionSummary) String() string
    func (m OrganizationSubscriptionSummary) ValidateEnumValue() (bool, error)
type OrgnizationSubsCurrency
    func (m OrgnizationSubsCurrency) String() string
    func (m OrgnizationSubsCurrency) ValidateEnumValue() (bool, error)
type RateCardProduct
    func (m RateCardProduct) String() string
    func (m RateCardProduct) ValidateEnumValue() (bool, error)
type RateCardSummary
    func (m RateCardSummary) String() string
    func (m RateCardSummary) ValidateEnumValue() (bool, error)
type RateCardTier
    func (m RateCardTier) String() string
    func (m RateCardTier) ValidateEnumValue() (bool, error)
type RatecardClient
    func NewRatecardClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RatecardClient, err error)
    func NewRatecardClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RatecardClient, err error)
    func (client *RatecardClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client RatecardClient) ListRateCards(ctx context.Context, request ListRateCardsRequest) (response ListRateCardsResponse, err error)
    func (client *RatecardClient) SetRegion(region string)
type SubscribedService
    func (m SubscribedService) String() string
    func (m SubscribedService) ValidateEnumValue() (bool, error)
type SubscribedServiceAddress
    func (m SubscribedServiceAddress) String() string
    func (m SubscribedServiceAddress) ValidateEnumValue() (bool, error)
type SubscribedServiceBusinessPartner
    func (m SubscribedServiceBusinessPartner) String() string
    func (m SubscribedServiceBusinessPartner) ValidateEnumValue() (bool, error)
type SubscribedServiceClient
    func NewSubscribedServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client SubscribedServiceClient, err error)
    func NewSubscribedServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client SubscribedServiceClient, err error)
    func (client *SubscribedServiceClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client SubscribedServiceClient) GetSubscribedService(ctx context.Context, request GetSubscribedServiceRequest) (response GetSubscribedServiceResponse, err error)
    func (client SubscribedServiceClient) ListSubscribedServices(ctx context.Context, request ListSubscribedServicesRequest) (response ListSubscribedServicesResponse, err error)
    func (client *SubscribedServiceClient) SetRegion(region string)
type SubscribedServiceLocation
    func (m SubscribedServiceLocation) String() string
    func (m SubscribedServiceLocation) ValidateEnumValue() (bool, error)
type SubscribedServicePaymentTerm
    func (m SubscribedServicePaymentTerm) String() string
    func (m SubscribedServicePaymentTerm) ValidateEnumValue() (bool, error)
type SubscribedServiceSummary
    func (m SubscribedServiceSummary) String() string
    func (m SubscribedServiceSummary) ValidateEnumValue() (bool, error)
type SubscribedServiceUser
    func (m SubscribedServiceUser) String() string
    func (m SubscribedServiceUser) ValidateEnumValue() (bool, error)
type SubscriptionClient
    func NewSubscriptionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client SubscriptionClient, err error)
    func NewSubscriptionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client SubscriptionClient, err error)
    func (client *SubscriptionClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client SubscriptionClient) ListSubscriptions(ctx context.Context, request ListSubscriptionsRequest) (response ListSubscriptionsResponse, err error)
    func (client *SubscriptionClient) SetRegion(region string)
type SubscriptionCurrency
    func (m SubscriptionCurrency) String() string
    func (m SubscriptionCurrency) ValidateEnumValue() (bool, error)
type SubscriptionProduct
    func (m SubscriptionProduct) String() string
    func (m SubscriptionProduct) ValidateEnumValue() (bool, error)
type SubscriptionSubscribedService
    func (m SubscriptionSubscribedService) String() string
    func (m SubscriptionSubscribedService) ValidateEnumValue() (bool, error)
type SubscriptionSummary
    func (m SubscriptionSummary) String() string
    func (m SubscriptionSummary) ValidateEnumValue() (bool, error)

Package files

aggregated_computed_usage_summary.go billing_schedule_product.go billing_schedule_summary.go commitment.go commitment_service.go commitment_summary.go computed_usage.go computed_usage_aggregation.go computed_usage_product.go computed_usage_summary.go get_commitment_request_response.go get_computed_usage_request_response.go get_subscribed_service_request_response.go invoice_line_summary.go invoice_summary.go invoiceline_computed_usage_summary.go invoicing_address.go invoicing_business_partner.go invoicing_currency.go invoicing_location.go invoicing_organization.go invoicing_payment_term.go invoicing_product.go invoicing_user.go list_aggregated_computed_usages_request_response.go list_billing_schedules_request_response.go list_commitments_request_response.go list_computed_usages_request_response.go list_invoiceline_computed_usages_request_response.go list_invoices_request_response.go list_organization_subscriptions_request_response.go list_rate_cards_request_response.go list_subscribed_services_request_response.go list_subscriptions_request_response.go onesubscription_billingschedule_client.go onesubscription_commitment_client.go onesubscription_computedusage_client.go onesubscription_invoicesummary_client.go onesubscription_organizationsubscription_client.go onesubscription_ratecard_client.go onesubscription_subscribedservice_client.go onesubscription_subscription_client.go organization_subscription_summary.go orgnization_subs_currency.go rate_card_product.go rate_card_summary.go rate_card_tier.go subscribed_service.go subscribed_service_address.go subscribed_service_business_partner.go subscribed_service_location.go subscribed_service_payment_term.go subscribed_service_summary.go subscribed_service_user.go subscription_currency.go subscription_product.go subscription_subscribed_service.go subscription_summary.go

func GetAggregatedComputedUsageSummaryPricingModelEnumStringValues

func GetAggregatedComputedUsageSummaryPricingModelEnumStringValues() []string

GetAggregatedComputedUsageSummaryPricingModelEnumStringValues Enumerates the set of values in String for AggregatedComputedUsageSummaryPricingModelEnum

func GetBillingScheduleSummaryInvoiceStatusEnumStringValues

func GetBillingScheduleSummaryInvoiceStatusEnumStringValues() []string

GetBillingScheduleSummaryInvoiceStatusEnumStringValues Enumerates the set of values in String for BillingScheduleSummaryInvoiceStatusEnum

func GetComputedUsageAggregationTypeEnumStringValues

func GetComputedUsageAggregationTypeEnumStringValues() []string

GetComputedUsageAggregationTypeEnumStringValues Enumerates the set of values in String for ComputedUsageAggregationTypeEnum

func GetComputedUsageSummaryTypeEnumStringValues

func GetComputedUsageSummaryTypeEnumStringValues() []string

GetComputedUsageSummaryTypeEnumStringValues Enumerates the set of values in String for ComputedUsageSummaryTypeEnum

func GetComputedUsageTypeEnumStringValues

func GetComputedUsageTypeEnumStringValues() []string

GetComputedUsageTypeEnumStringValues Enumerates the set of values in String for ComputedUsageTypeEnum

func GetInvoicelineComputedUsageSummaryTypeEnumStringValues

func GetInvoicelineComputedUsageSummaryTypeEnumStringValues() []string

GetInvoicelineComputedUsageSummaryTypeEnumStringValues Enumerates the set of values in String for InvoicelineComputedUsageSummaryTypeEnum

func GetListAggregatedComputedUsagesGroupingEnumStringValues

func GetListAggregatedComputedUsagesGroupingEnumStringValues() []string

GetListAggregatedComputedUsagesGroupingEnumStringValues Enumerates the set of values in String for ListAggregatedComputedUsagesGroupingEnum

func GetListBillingSchedulesSortByEnumStringValues

func GetListBillingSchedulesSortByEnumStringValues() []string

GetListBillingSchedulesSortByEnumStringValues Enumerates the set of values in String for ListBillingSchedulesSortByEnum

func GetListBillingSchedulesSortOrderEnumStringValues

func GetListBillingSchedulesSortOrderEnumStringValues() []string

GetListBillingSchedulesSortOrderEnumStringValues Enumerates the set of values in String for ListBillingSchedulesSortOrderEnum

func GetListCommitmentsSortByEnumStringValues

func GetListCommitmentsSortByEnumStringValues() []string

GetListCommitmentsSortByEnumStringValues Enumerates the set of values in String for ListCommitmentsSortByEnum

func GetListCommitmentsSortOrderEnumStringValues

func GetListCommitmentsSortOrderEnumStringValues() []string

GetListCommitmentsSortOrderEnumStringValues Enumerates the set of values in String for ListCommitmentsSortOrderEnum

func GetListComputedUsagesSortByEnumStringValues

func GetListComputedUsagesSortByEnumStringValues() []string

GetListComputedUsagesSortByEnumStringValues Enumerates the set of values in String for ListComputedUsagesSortByEnum

func GetListComputedUsagesSortOrderEnumStringValues

func GetListComputedUsagesSortOrderEnumStringValues() []string

GetListComputedUsagesSortOrderEnumStringValues Enumerates the set of values in String for ListComputedUsagesSortOrderEnum

func GetListInvoicelineComputedUsagesSortByEnumStringValues

func GetListInvoicelineComputedUsagesSortByEnumStringValues() []string

GetListInvoicelineComputedUsagesSortByEnumStringValues Enumerates the set of values in String for ListInvoicelineComputedUsagesSortByEnum

func GetListInvoicelineComputedUsagesSortOrderEnumStringValues

func GetListInvoicelineComputedUsagesSortOrderEnumStringValues() []string

GetListInvoicelineComputedUsagesSortOrderEnumStringValues Enumerates the set of values in String for ListInvoicelineComputedUsagesSortOrderEnum

func GetListInvoicesSortByEnumStringValues

func GetListInvoicesSortByEnumStringValues() []string

GetListInvoicesSortByEnumStringValues Enumerates the set of values in String for ListInvoicesSortByEnum

func GetListInvoicesSortOrderEnumStringValues

func GetListInvoicesSortOrderEnumStringValues() []string

GetListInvoicesSortOrderEnumStringValues Enumerates the set of values in String for ListInvoicesSortOrderEnum

func GetListOrganizationSubscriptionsSortByEnumStringValues

func GetListOrganizationSubscriptionsSortByEnumStringValues() []string

GetListOrganizationSubscriptionsSortByEnumStringValues Enumerates the set of values in String for ListOrganizationSubscriptionsSortByEnum

func GetListOrganizationSubscriptionsSortOrderEnumStringValues

func GetListOrganizationSubscriptionsSortOrderEnumStringValues() []string

GetListOrganizationSubscriptionsSortOrderEnumStringValues Enumerates the set of values in String for ListOrganizationSubscriptionsSortOrderEnum

func GetListRateCardsSortByEnumStringValues

func GetListRateCardsSortByEnumStringValues() []string

GetListRateCardsSortByEnumStringValues Enumerates the set of values in String for ListRateCardsSortByEnum

func GetListRateCardsSortOrderEnumStringValues

func GetListRateCardsSortOrderEnumStringValues() []string

GetListRateCardsSortOrderEnumStringValues Enumerates the set of values in String for ListRateCardsSortOrderEnum

func GetListSubscribedServicesSortByEnumStringValues

func GetListSubscribedServicesSortByEnumStringValues() []string

GetListSubscribedServicesSortByEnumStringValues Enumerates the set of values in String for ListSubscribedServicesSortByEnum

func GetListSubscribedServicesSortOrderEnumStringValues

func GetListSubscribedServicesSortOrderEnumStringValues() []string

GetListSubscribedServicesSortOrderEnumStringValues Enumerates the set of values in String for ListSubscribedServicesSortOrderEnum

func GetListSubscriptionsSortByEnumStringValues

func GetListSubscriptionsSortByEnumStringValues() []string

GetListSubscriptionsSortByEnumStringValues Enumerates the set of values in String for ListSubscriptionsSortByEnum

func GetListSubscriptionsSortOrderEnumStringValues

func GetListSubscriptionsSortOrderEnumStringValues() []string

GetListSubscriptionsSortOrderEnumStringValues Enumerates the set of values in String for ListSubscriptionsSortOrderEnum

type AggregatedComputedUsageSummary

AggregatedComputedUsageSummary Subscribed Service Contract details

type AggregatedComputedUsageSummary struct {

    // Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
    SubscriptionId *string `mandatory:"true" json:"subscriptionId"`

    // Subscribed service line parent id
    ParentSubscribedServiceId *string `mandatory:"false" json:"parentSubscribedServiceId"`

    ParentProduct *ComputedUsageProduct `mandatory:"false" json:"parentProduct"`

    // Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    // Subscribed service asociated subscription plan number.
    PlanNumber *string `mandatory:"false" json:"planNumber"`

    // Currency code
    CurrencyCode *string `mandatory:"false" json:"currencyCode"`

    // Inernal SPM Ratecard Id at line level
    RateCardId *string `mandatory:"false" json:"rateCardId"`

    // Subscribed services pricing model
    PricingModel AggregatedComputedUsageSummaryPricingModelEnum `mandatory:"false" json:"pricingModel,omitempty"`

    // Aggregation of computed usages for the subscribed service.
    AggregatedComputedUsages []ComputedUsageAggregation `mandatory:"false" json:"aggregatedComputedUsages"`
}

func (AggregatedComputedUsageSummary) String

func (m AggregatedComputedUsageSummary) String() string

func (AggregatedComputedUsageSummary) ValidateEnumValue

func (m AggregatedComputedUsageSummary) 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 AggregatedComputedUsageSummaryPricingModelEnum

AggregatedComputedUsageSummaryPricingModelEnum Enum with underlying type: string

type AggregatedComputedUsageSummaryPricingModelEnum string

Set of constants representing the allowable values for AggregatedComputedUsageSummaryPricingModelEnum

const (
    AggregatedComputedUsageSummaryPricingModelPayAsYouGo       AggregatedComputedUsageSummaryPricingModelEnum = "PAY_AS_YOU_GO"
    AggregatedComputedUsageSummaryPricingModelMonthly          AggregatedComputedUsageSummaryPricingModelEnum = "MONTHLY"
    AggregatedComputedUsageSummaryPricingModelAnnual           AggregatedComputedUsageSummaryPricingModelEnum = "ANNUAL"
    AggregatedComputedUsageSummaryPricingModelPrepaid          AggregatedComputedUsageSummaryPricingModelEnum = "PREPAID"
    AggregatedComputedUsageSummaryPricingModelFundedAllocation AggregatedComputedUsageSummaryPricingModelEnum = "FUNDED_ALLOCATION"
)

func GetAggregatedComputedUsageSummaryPricingModelEnumValues

func GetAggregatedComputedUsageSummaryPricingModelEnumValues() []AggregatedComputedUsageSummaryPricingModelEnum

GetAggregatedComputedUsageSummaryPricingModelEnumValues Enumerates the set of values for AggregatedComputedUsageSummaryPricingModelEnum

func GetMappingAggregatedComputedUsageSummaryPricingModelEnum

func GetMappingAggregatedComputedUsageSummaryPricingModelEnum(val string) (AggregatedComputedUsageSummaryPricingModelEnum, bool)

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

type BillingScheduleClient

BillingScheduleClient a client for BillingSchedule

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

func NewBillingScheduleClientWithConfigurationProvider

func NewBillingScheduleClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BillingScheduleClient, err error)

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

func NewBillingScheduleClientWithOboToken

func NewBillingScheduleClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BillingScheduleClient, err error)

NewBillingScheduleClientWithOboToken Creates a new default BillingSchedule 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 (*BillingScheduleClient) ConfigurationProvider

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

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

func (BillingScheduleClient) ListBillingSchedules

func (client BillingScheduleClient) ListBillingSchedules(ctx context.Context, request ListBillingSchedulesRequest) (response ListBillingSchedulesResponse, err error)

ListBillingSchedules This list API returns all billing schedules for given subscription id and for a particular Subscribed Service if provided

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListBillingSchedules.go.html to see an example of how to use ListBillingSchedules API.

func (*BillingScheduleClient) SetRegion

func (client *BillingScheduleClient) SetRegion(region string)

SetRegion overrides the region of this client.

type BillingScheduleProduct

BillingScheduleProduct Product description

type BillingScheduleProduct struct {

    // Indicates the associated AR Invoice Number
    PartNumber *string `mandatory:"true" json:"partNumber"`

    // Product name
    Name *string `mandatory:"true" json:"name"`
}

func (BillingScheduleProduct) String

func (m BillingScheduleProduct) String() string

func (BillingScheduleProduct) ValidateEnumValue

func (m BillingScheduleProduct) 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 BillingScheduleSummary

BillingScheduleSummary Billing schedule details related to Subscription Id

type BillingScheduleSummary struct {

    // SPM internal Subscribed Service ID
    SubscribedServiceId *string `mandatory:"false" json:"subscribedServiceId"`

    // Billing schedule start date
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Billing schedule end date
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    // Billing schedule invoicing date
    TimeInvoicing *common.SDKTime `mandatory:"false" json:"timeInvoicing"`

    // Billing schedule invoice status
    InvoiceStatus BillingScheduleSummaryInvoiceStatusEnum `mandatory:"false" json:"invoiceStatus,omitempty"`

    // Billing schedule quantity
    Quantity *string `mandatory:"false" json:"quantity"`

    // Billing schedule net unit price
    NetUnitPrice *string `mandatory:"false" json:"netUnitPrice"`

    // Billing schedule line net amount
    Amount *string `mandatory:"false" json:"amount"`

    // Billing frequency
    BillingFrequency *string `mandatory:"false" json:"billingFrequency"`

    // Indicates the associated AR Invoice Number
    ArInvoiceNumber *string `mandatory:"false" json:"arInvoiceNumber"`

    // Indicates the associated AR Customer transaction id a unique identifier existing on AR.
    ArCustomerTransactionId *string `mandatory:"false" json:"arCustomerTransactionId"`

    // Order number associated with the Subscribed Service
    OrderNumber *string `mandatory:"false" json:"orderNumber"`

    Product *BillingScheduleProduct `mandatory:"false" json:"product"`
}

func (BillingScheduleSummary) String

func (m BillingScheduleSummary) String() string

func (BillingScheduleSummary) ValidateEnumValue

func (m BillingScheduleSummary) 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 BillingScheduleSummaryInvoiceStatusEnum

BillingScheduleSummaryInvoiceStatusEnum Enum with underlying type: string

type BillingScheduleSummaryInvoiceStatusEnum string

Set of constants representing the allowable values for BillingScheduleSummaryInvoiceStatusEnum

const (
    BillingScheduleSummaryInvoiceStatusInvoiced    BillingScheduleSummaryInvoiceStatusEnum = "INVOICED"
    BillingScheduleSummaryInvoiceStatusNotInvoiced BillingScheduleSummaryInvoiceStatusEnum = "NOT_INVOICED"
)

func GetBillingScheduleSummaryInvoiceStatusEnumValues

func GetBillingScheduleSummaryInvoiceStatusEnumValues() []BillingScheduleSummaryInvoiceStatusEnum

GetBillingScheduleSummaryInvoiceStatusEnumValues Enumerates the set of values for BillingScheduleSummaryInvoiceStatusEnum

func GetMappingBillingScheduleSummaryInvoiceStatusEnum

func GetMappingBillingScheduleSummaryInvoiceStatusEnum(val string) (BillingScheduleSummaryInvoiceStatusEnum, bool)

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

type Commitment

Commitment Subscribed Service commitment summary

type Commitment struct {

    // SPM internal Commitment ID
    Id *string `mandatory:"true" json:"id"`

    // SPM internal Subscribed Service ID
    SubscribedServiceId *string `mandatory:"false" json:"subscribedServiceId"`

    // Commitment start date
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Commitment end date
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    // Commitment quantity
    Quantity *string `mandatory:"false" json:"quantity"`

    // Commitment used amount
    UsedAmount *string `mandatory:"false" json:"usedAmount"`

    // Commitment available amount
    AvailableAmount *string `mandatory:"false" json:"availableAmount"`

    // Funded Allocation line value
    // example: 12000.00
    FundedAllocationValue *string `mandatory:"false" json:"fundedAllocationValue"`
}

func (Commitment) String

func (m Commitment) String() string

func (Commitment) ValidateEnumValue

func (m Commitment) 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 CommitmentClient

CommitmentClient a client for Commitment

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

func NewCommitmentClientWithConfigurationProvider

func NewCommitmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CommitmentClient, err error)

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

func NewCommitmentClientWithOboToken

func NewCommitmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CommitmentClient, err error)

NewCommitmentClientWithOboToken Creates a new default Commitment 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 (*CommitmentClient) ConfigurationProvider

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

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

func (CommitmentClient) GetCommitment

func (client CommitmentClient) GetCommitment(ctx context.Context, request GetCommitmentRequest) (response GetCommitmentResponse, err error)

GetCommitment This API returns the commitment details corresponding to the id provided

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/GetCommitment.go.html to see an example of how to use GetCommitment API.

func (CommitmentClient) ListCommitments

func (client CommitmentClient) ListCommitments(ctx context.Context, request ListCommitmentsRequest) (response ListCommitmentsResponse, err error)

ListCommitments This list API returns all commitments for a particular Subscribed Service

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListCommitments.go.html to see an example of how to use ListCommitments API.

func (*CommitmentClient) SetRegion

func (client *CommitmentClient) SetRegion(region string)

SetRegion overrides the region of this client.

type CommitmentService

CommitmentService Subscribed service commitment details

type CommitmentService struct {

    // Commitment start date
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Commitment end date
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    // Commitment quantity
    Quantity *string `mandatory:"false" json:"quantity"`

    // Commitment available amount
    AvailableAmount *string `mandatory:"false" json:"availableAmount"`

    // Commitment line net amount
    LineNetAmount *string `mandatory:"false" json:"lineNetAmount"`

    // Funded Allocation line value
    FundedAllocationValue *string `mandatory:"false" json:"fundedAllocationValue"`
}

func (CommitmentService) String

func (m CommitmentService) String() string

func (CommitmentService) ValidateEnumValue

func (m CommitmentService) 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 CommitmentSummary

CommitmentSummary Subscribed Service commitment summary

type CommitmentSummary struct {

    // SPM internal Commitment ID
    Id *string `mandatory:"true" json:"id"`

    // SPM internal Subscribed Service ID
    SubscribedServiceId *string `mandatory:"false" json:"subscribedServiceId"`

    // Commitment start date
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Commitment end date
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    // Commitment quantity
    Quantity *string `mandatory:"false" json:"quantity"`

    // Commitment used amount
    UsedAmount *string `mandatory:"false" json:"usedAmount"`

    // Commitment available amount
    AvailableAmount *string `mandatory:"false" json:"availableAmount"`

    // Funded Allocation line value
    // example: 12000.00
    FundedAllocationValue *string `mandatory:"false" json:"fundedAllocationValue"`
}

func (CommitmentSummary) String

func (m CommitmentSummary) String() string

func (CommitmentSummary) ValidateEnumValue

func (m CommitmentSummary) 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 ComputedUsage

ComputedUsage Computed Usage Summary object

type ComputedUsage struct {

    // SPM Internal computed usage Id , 32 character string
    Id *string `mandatory:"true" json:"id"`

    // Computed Usage created time, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // Computed Usage updated time, expressed in RFC 3339 timestamp format.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Subscribed service line parent id
    ParentSubscribedServiceId *string `mandatory:"false" json:"parentSubscribedServiceId"`

    ParentProduct *ComputedUsageProduct `mandatory:"false" json:"parentProduct"`

    // Subscription plan number
    PlanNumber *string `mandatory:"false" json:"planNumber"`

    // Currency code
    CurrencyCode *string `mandatory:"false" json:"currencyCode"`

    // References the tier in the ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER.
    RateCardTierdId *string `mandatory:"false" json:"rateCardTierdId"`

    // Ratecard Id at subscribed service level
    RateCardId *string `mandatory:"false" json:"rateCardId"`

    // SPM Internal compute records source .
    ComputeSource *string `mandatory:"false" json:"computeSource"`

    // Data Center Attribute as sent by MQS to SPM.
    DataCenter *string `mandatory:"false" json:"dataCenter"`

    // MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.
    MqsMessageId *string `mandatory:"false" json:"mqsMessageId"`

    // Total Quantity that was used for computation
    Quantity *string `mandatory:"false" json:"quantity"`

    // SPM Internal usage Line number identifier in SPM coming from Metered Services entity.
    UsageNumber *string `mandatory:"false" json:"usageNumber"`

    // SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.
    OriginalUsageNumber *string `mandatory:"false" json:"originalUsageNumber"`

    // Subscribed service commitmentId.
    CommitmentServiceId *string `mandatory:"false" json:"commitmentServiceId"`

    // Invoicing status for the aggregated compute usage
    IsInvoiced *bool `mandatory:"false" json:"isInvoiced"`

    // Usage compute type in SPM.
    Type ComputedUsageTypeEnum `mandatory:"false" json:"type,omitempty"`

    // Usae computation date, expressed in RFC 3339 timestamp format.
    TimeOfArrival *common.SDKTime `mandatory:"false" json:"timeOfArrival"`

    // Metered Service date, expressed in RFC 3339 timestamp format.
    TimeMeteredOn *common.SDKTime `mandatory:"false" json:"timeMeteredOn"`

    // Net Unit Price for the product in consideration, price actual.
    NetUnitPrice *string `mandatory:"false" json:"netUnitPrice"`

    // Computed Line Amount rounded.
    CostRounded *string `mandatory:"false" json:"costRounded"`

    // Computed Line Amount not rounded
    Cost *string `mandatory:"false" json:"cost"`

    Product *ComputedUsageProduct `mandatory:"false" json:"product"`

    // Unit of Messure
    UnitOfMeasure *string `mandatory:"false" json:"unitOfMeasure"`
}

func (ComputedUsage) String

func (m ComputedUsage) String() string

func (ComputedUsage) ValidateEnumValue

func (m ComputedUsage) 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 ComputedUsageAggregation

ComputedUsageAggregation Computed Usage Aggregation object

type ComputedUsageAggregation struct {

    // Total Quantity that was used for computation
    Quantity *string `mandatory:"false" json:"quantity"`

    Product *ComputedUsageProduct `mandatory:"false" json:"product"`

    // Data Center Attribute as sent by MQS to SPM.
    DataCenter *string `mandatory:"false" json:"dataCenter"`

    // Metered Service date , expressed in RFC 3339 timestamp format.
    TimeMeteredOn *common.SDKTime `mandatory:"false" json:"timeMeteredOn"`

    // Net Unit Price for the product in consideration.
    NetUnitPrice *string `mandatory:"false" json:"netUnitPrice"`

    // Sum of Computed Line Amount unrounded
    CostUnrounded *string `mandatory:"false" json:"costUnrounded"`

    // Sum of Computed Line Amount rounded
    Cost *string `mandatory:"false" json:"cost"`

    // Usage compute type in SPM.
    Type ComputedUsageAggregationTypeEnum `mandatory:"false" json:"type,omitempty"`
}

func (ComputedUsageAggregation) String

func (m ComputedUsageAggregation) String() string

func (ComputedUsageAggregation) ValidateEnumValue

func (m ComputedUsageAggregation) 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 ComputedUsageAggregationTypeEnum

ComputedUsageAggregationTypeEnum Enum with underlying type: string

type ComputedUsageAggregationTypeEnum string

Set of constants representing the allowable values for ComputedUsageAggregationTypeEnum

const (
    ComputedUsageAggregationTypePromotion                     ComputedUsageAggregationTypeEnum = "PROMOTION"
    ComputedUsageAggregationTypeDoNotBill                     ComputedUsageAggregationTypeEnum = "DO_NOT_BILL"
    ComputedUsageAggregationTypeUsage                         ComputedUsageAggregationTypeEnum = "USAGE"
    ComputedUsageAggregationTypeCommit                        ComputedUsageAggregationTypeEnum = "COMMIT"
    ComputedUsageAggregationTypeOverage                       ComputedUsageAggregationTypeEnum = "OVERAGE"
    ComputedUsageAggregationTypePayAsYouGo                    ComputedUsageAggregationTypeEnum = "PAY_AS_YOU_GO"
    ComputedUsageAggregationTypeMonthlyMinimum                ComputedUsageAggregationTypeEnum = "MONTHLY_MINIMUM"
    ComputedUsageAggregationTypeDelayedUsageInvoiceTiming     ComputedUsageAggregationTypeEnum = "DELAYED_USAGE_INVOICE_TIMING"
    ComputedUsageAggregationTypeDelayedUsageCommitmentExp     ComputedUsageAggregationTypeEnum = "DELAYED_USAGE_COMMITMENT_EXP"
    ComputedUsageAggregationTypeOnAccountCredit               ComputedUsageAggregationTypeEnum = "ON_ACCOUNT_CREDIT"
    ComputedUsageAggregationTypeServiceCredit                 ComputedUsageAggregationTypeEnum = "SERVICE_CREDIT"
    ComputedUsageAggregationTypeCommitmentExpiration          ComputedUsageAggregationTypeEnum = "COMMITMENT_EXPIRATION"
    ComputedUsageAggregationTypeFundedAllocation              ComputedUsageAggregationTypeEnum = "FUNDED_ALLOCATION"
    ComputedUsageAggregationTypeDonotBillUsagePostTermination ComputedUsageAggregationTypeEnum = "DONOT_BILL_USAGE_POST_TERMINATION"
    ComputedUsageAggregationTypeDelayedUsagePostTermination   ComputedUsageAggregationTypeEnum = "DELAYED_USAGE_POST_TERMINATION"
)

func GetComputedUsageAggregationTypeEnumValues

func GetComputedUsageAggregationTypeEnumValues() []ComputedUsageAggregationTypeEnum

GetComputedUsageAggregationTypeEnumValues Enumerates the set of values for ComputedUsageAggregationTypeEnum

func GetMappingComputedUsageAggregationTypeEnum

func GetMappingComputedUsageAggregationTypeEnum(val string) (ComputedUsageAggregationTypeEnum, bool)

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

type ComputedUsageClient

ComputedUsageClient a client for ComputedUsage

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

func NewComputedUsageClientWithConfigurationProvider

func NewComputedUsageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ComputedUsageClient, err error)

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

func NewComputedUsageClientWithOboToken

func NewComputedUsageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputedUsageClient, err error)

NewComputedUsageClientWithOboToken Creates a new default ComputedUsage 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 (*ComputedUsageClient) ConfigurationProvider

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

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

func (ComputedUsageClient) GetComputedUsage

func (client ComputedUsageClient) GetComputedUsage(ctx context.Context, request GetComputedUsageRequest) (response GetComputedUsageResponse, err error)

GetComputedUsage This is an API which returns Computed Usage corresponding to the id passed

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/GetComputedUsage.go.html to see an example of how to use GetComputedUsage API.

func (ComputedUsageClient) ListAggregatedComputedUsages

func (client ComputedUsageClient) ListAggregatedComputedUsages(ctx context.Context, request ListAggregatedComputedUsagesRequest) (response ListAggregatedComputedUsagesResponse, err error)

ListAggregatedComputedUsages This is a collection API which returns a list of aggregated computed usage details (there can be multiple Parent Products under a given SubID each of which is represented under Subscription Service Line # in SPM).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListAggregatedComputedUsages.go.html to see an example of how to use ListAggregatedComputedUsages API.

func (ComputedUsageClient) ListComputedUsages

func (client ComputedUsageClient) ListComputedUsages(ctx context.Context, request ListComputedUsagesRequest) (response ListComputedUsagesResponse, err error)

ListComputedUsages This is a collection API which returns a list of Computed Usages for given filters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListComputedUsages.go.html to see an example of how to use ListComputedUsages API.

func (*ComputedUsageClient) SetRegion

func (client *ComputedUsageClient) SetRegion(region string)

SetRegion overrides the region of this client.

type ComputedUsageProduct

ComputedUsageProduct Product description

type ComputedUsageProduct struct {

    // Product part number
    PartNumber *string `mandatory:"true" json:"partNumber"`

    // Product name
    Name *string `mandatory:"true" json:"name"`

    // Unit of Measure
    UnitOfMeasure *string `mandatory:"false" json:"unitOfMeasure"`

    // Product provisioning group
    ProvisioningGroup *string `mandatory:"false" json:"provisioningGroup"`

    // Metered service billing category
    BillingCategory *string `mandatory:"false" json:"billingCategory"`

    // Product category
    ProductCategory *string `mandatory:"false" json:"productCategory"`

    // Rate card part type of Product
    UcmRateCardPartType *string `mandatory:"false" json:"ucmRateCardPartType"`
}

func (ComputedUsageProduct) String

func (m ComputedUsageProduct) String() string

func (ComputedUsageProduct) ValidateEnumValue

func (m ComputedUsageProduct) 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 ComputedUsageSummary

ComputedUsageSummary Computed Usage Summary object

type ComputedUsageSummary struct {

    // SPM Internal computed usage Id , 32 character string
    ComputedUsageId *string `mandatory:"true" json:"computedUsageId"`

    // Computed Usage created time, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // Computed Usage updated time, expressed in RFC 3339 timestamp format.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Subscribed service line parent id
    ParentSubscribedServiceId *string `mandatory:"false" json:"parentSubscribedServiceId"`

    ParentProduct *ComputedUsageProduct `mandatory:"false" json:"parentProduct"`

    // Subscription plan number
    PlanNumber *string `mandatory:"false" json:"planNumber"`

    // Currency code
    CurrencyCode *string `mandatory:"false" json:"currencyCode"`

    // References the tier in the ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER.
    RateCardTierdId *string `mandatory:"false" json:"rateCardTierdId"`

    // Ratecard Id at subscribed service level
    RateCardId *string `mandatory:"false" json:"rateCardId"`

    // SPM Internal compute records source .
    ComputeSource *string `mandatory:"false" json:"computeSource"`

    // Data Center Attribute as sent by MQS to SPM.
    DataCenter *string `mandatory:"false" json:"dataCenter"`

    // MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.
    MqsMessageId *string `mandatory:"false" json:"mqsMessageId"`

    // Total Quantity that was used for computation
    Quantity *string `mandatory:"false" json:"quantity"`

    // SPM Internal usage Line number identifier in SPM coming from Metered Services entity.
    UsageNumber *string `mandatory:"false" json:"usageNumber"`

    // SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.
    OriginalUsageNumber *string `mandatory:"false" json:"originalUsageNumber"`

    // Subscribed service commitmentId.
    CommitmentServiceId *string `mandatory:"false" json:"commitmentServiceId"`

    // Invoicing status for the aggregated compute usage
    IsInvoiced *bool `mandatory:"false" json:"isInvoiced"`

    // Usage compute type in SPM.
    Type ComputedUsageSummaryTypeEnum `mandatory:"false" json:"type,omitempty"`

    // Usae computation date, expressed in RFC 3339 timestamp format.
    TimeOfArrival *common.SDKTime `mandatory:"false" json:"timeOfArrival"`

    // Metered Service date, expressed in RFC 3339 timestamp format.
    TimeMeteredOn *common.SDKTime `mandatory:"false" json:"timeMeteredOn"`

    // Net Unit Price for the product in consideration, price actual.
    NetUnitPrice *string `mandatory:"false" json:"netUnitPrice"`

    // Computed Line Amount rounded.
    CostRounded *string `mandatory:"false" json:"costRounded"`

    // Computed Line Amount not rounded
    Cost *string `mandatory:"false" json:"cost"`

    Product *ComputedUsageProduct `mandatory:"false" json:"product"`

    // Unit of Messure
    UnitOfMeasure *string `mandatory:"false" json:"unitOfMeasure"`
}

func (ComputedUsageSummary) String

func (m ComputedUsageSummary) String() string

func (ComputedUsageSummary) ValidateEnumValue

func (m ComputedUsageSummary) 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 ComputedUsageSummaryTypeEnum

ComputedUsageSummaryTypeEnum Enum with underlying type: string

type ComputedUsageSummaryTypeEnum string

Set of constants representing the allowable values for ComputedUsageSummaryTypeEnum

const (
    ComputedUsageSummaryTypePromotion                     ComputedUsageSummaryTypeEnum = "PROMOTION"
    ComputedUsageSummaryTypeDoNotBill                     ComputedUsageSummaryTypeEnum = "DO_NOT_BILL"
    ComputedUsageSummaryTypeUsage                         ComputedUsageSummaryTypeEnum = "USAGE"
    ComputedUsageSummaryTypeCommit                        ComputedUsageSummaryTypeEnum = "COMMIT"
    ComputedUsageSummaryTypeOverage                       ComputedUsageSummaryTypeEnum = "OVERAGE"
    ComputedUsageSummaryTypePayAsYouGo                    ComputedUsageSummaryTypeEnum = "PAY_AS_YOU_GO"
    ComputedUsageSummaryTypeMonthlyMinimum                ComputedUsageSummaryTypeEnum = "MONTHLY_MINIMUM"
    ComputedUsageSummaryTypeDelayedUsageInvoiceTiming     ComputedUsageSummaryTypeEnum = "DELAYED_USAGE_INVOICE_TIMING"
    ComputedUsageSummaryTypeDelayedUsageCommitmentExp     ComputedUsageSummaryTypeEnum = "DELAYED_USAGE_COMMITMENT_EXP"
    ComputedUsageSummaryTypeOnAccountCredit               ComputedUsageSummaryTypeEnum = "ON_ACCOUNT_CREDIT"
    ComputedUsageSummaryTypeServiceCredit                 ComputedUsageSummaryTypeEnum = "SERVICE_CREDIT"
    ComputedUsageSummaryTypeCommitmentExpiration          ComputedUsageSummaryTypeEnum = "COMMITMENT_EXPIRATION"
    ComputedUsageSummaryTypeFundedAllocation              ComputedUsageSummaryTypeEnum = "FUNDED_ALLOCATION"
    ComputedUsageSummaryTypeDonotBillUsagePostTermination ComputedUsageSummaryTypeEnum = "DONOT_BILL_USAGE_POST_TERMINATION"
    ComputedUsageSummaryTypeDelayedUsagePostTermination   ComputedUsageSummaryTypeEnum = "DELAYED_USAGE_POST_TERMINATION"
)

func GetComputedUsageSummaryTypeEnumValues

func GetComputedUsageSummaryTypeEnumValues() []ComputedUsageSummaryTypeEnum

GetComputedUsageSummaryTypeEnumValues Enumerates the set of values for ComputedUsageSummaryTypeEnum

func GetMappingComputedUsageSummaryTypeEnum

func GetMappingComputedUsageSummaryTypeEnum(val string) (ComputedUsageSummaryTypeEnum, bool)

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

type ComputedUsageTypeEnum

ComputedUsageTypeEnum Enum with underlying type: string

type ComputedUsageTypeEnum string

Set of constants representing the allowable values for ComputedUsageTypeEnum

const (
    ComputedUsageTypePromotion                     ComputedUsageTypeEnum = "PROMOTION"
    ComputedUsageTypeDoNotBill                     ComputedUsageTypeEnum = "DO_NOT_BILL"
    ComputedUsageTypeUsage                         ComputedUsageTypeEnum = "USAGE"
    ComputedUsageTypeCommit                        ComputedUsageTypeEnum = "COMMIT"
    ComputedUsageTypeOverage                       ComputedUsageTypeEnum = "OVERAGE"
    ComputedUsageTypePayAsYouGo                    ComputedUsageTypeEnum = "PAY_AS_YOU_GO"
    ComputedUsageTypeMonthlyMinimum                ComputedUsageTypeEnum = "MONTHLY_MINIMUM"
    ComputedUsageTypeDelayedUsageInvoiceTiming     ComputedUsageTypeEnum = "DELAYED_USAGE_INVOICE_TIMING"
    ComputedUsageTypeDelayedUsageCommitmentExp     ComputedUsageTypeEnum = "DELAYED_USAGE_COMMITMENT_EXP"
    ComputedUsageTypeOnAccountCredit               ComputedUsageTypeEnum = "ON_ACCOUNT_CREDIT"
    ComputedUsageTypeServiceCredit                 ComputedUsageTypeEnum = "SERVICE_CREDIT"
    ComputedUsageTypeCommitmentExpiration          ComputedUsageTypeEnum = "COMMITMENT_EXPIRATION"
    ComputedUsageTypeFundedAllocation              ComputedUsageTypeEnum = "FUNDED_ALLOCATION"
    ComputedUsageTypeDonotBillUsagePostTermination ComputedUsageTypeEnum = "DONOT_BILL_USAGE_POST_TERMINATION"
    ComputedUsageTypeDelayedUsagePostTermination   ComputedUsageTypeEnum = "DELAYED_USAGE_POST_TERMINATION"
)

func GetComputedUsageTypeEnumValues

func GetComputedUsageTypeEnumValues() []ComputedUsageTypeEnum

GetComputedUsageTypeEnumValues Enumerates the set of values for ComputedUsageTypeEnum

func GetMappingComputedUsageTypeEnum

func GetMappingComputedUsageTypeEnum(val string) (ComputedUsageTypeEnum, bool)

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

type GetCommitmentRequest

GetCommitmentRequest wrapper for the GetCommitment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/GetCommitment.go.html to see an example of how to use GetCommitmentRequest.

type GetCommitmentRequest struct {

    // The Commitment Id
    CommitmentId *string `mandatory:"true" contributesTo:"path" name:"commitmentId"`

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

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

func (GetCommitmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetCommitmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetCommitmentRequest) RetryPolicy

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

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

func (GetCommitmentRequest) String

func (request GetCommitmentRequest) String() string

func (GetCommitmentRequest) ValidateEnumValue

func (request GetCommitmentRequest) 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 GetCommitmentResponse

GetCommitmentResponse wrapper for the GetCommitment operation

type GetCommitmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (GetCommitmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCommitmentResponse) String

func (response GetCommitmentResponse) String() string

type GetComputedUsageRequest

GetComputedUsageRequest wrapper for the GetComputedUsage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/GetComputedUsage.go.html to see an example of how to use GetComputedUsageRequest.

type GetComputedUsageRequest struct {

    // The Computed Usage Id
    ComputedUsageId *string `mandatory:"true" contributesTo:"path" name:"computedUsageId"`

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Partial response refers to an optimization technique offered
    // by the RESTful web APIs to return only the information
    // (fields) required by the client. This parameter is used to control what fields to
    // return.
    Fields []string `contributesTo:"query" name:"fields" collectionFormat:"multi"`

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

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

func (GetComputedUsageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetComputedUsageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetComputedUsageRequest) RetryPolicy

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

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

func (GetComputedUsageRequest) String

func (request GetComputedUsageRequest) String() string

func (GetComputedUsageRequest) ValidateEnumValue

func (request GetComputedUsageRequest) 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 GetComputedUsageResponse

GetComputedUsageResponse wrapper for the GetComputedUsage operation

type GetComputedUsageResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (GetComputedUsageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetComputedUsageResponse) String

func (response GetComputedUsageResponse) String() string

type GetSubscribedServiceRequest

GetSubscribedServiceRequest wrapper for the GetSubscribedService operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/GetSubscribedService.go.html to see an example of how to use GetSubscribedServiceRequest.

type GetSubscribedServiceRequest struct {

    // The Subscribed Service Id
    SubscribedServiceId *string `mandatory:"true" contributesTo:"path" name:"subscribedServiceId"`

    // Partial response refers to an optimization technique offered
    // by the RESTful web APIs to return only the information
    // (fields) required by the client. In this mechanism, the client
    // sends the required field names as the query parameters for
    // an API to the server, and the server trims down the default
    // response content by removing the fields that are not required
    // by the client. The parameter used to control what fields to
    // return should be a query string parameter called "fields" of
    // type array, and usecollectionFormat
    Fields []string `contributesTo:"query" name:"fields" collectionFormat:"multi"`

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

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

func (GetSubscribedServiceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetSubscribedServiceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetSubscribedServiceRequest) RetryPolicy

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

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

func (GetSubscribedServiceRequest) String

func (request GetSubscribedServiceRequest) String() string

func (GetSubscribedServiceRequest) ValidateEnumValue

func (request GetSubscribedServiceRequest) 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 GetSubscribedServiceResponse

GetSubscribedServiceResponse wrapper for the GetSubscribedService operation

type GetSubscribedServiceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (GetSubscribedServiceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetSubscribedServiceResponse) String

func (response GetSubscribedServiceResponse) String() string

type InvoiceLineSummary

InvoiceLineSummary Invoice Line

type InvoiceLineSummary struct {

    // SPM Invoice Line internal identifier
    Id *string `mandatory:"true" json:"id"`

    Product *InvoicingProduct `mandatory:"true" json:"product"`

    // Data Center Attribute.
    DataCenter *string `mandatory:"true" json:"dataCenter"`

    // Usage start time
    TimeStart *common.SDKTime `mandatory:"true" json:"timeStart"`

    // Usage end time
    TimeEnd *common.SDKTime `mandatory:"true" json:"timeEnd"`

    // AR Invoice Number for Invoice Line
    ArInvoiceNumber *string `mandatory:"false" json:"arInvoiceNumber"`
}

func (InvoiceLineSummary) String

func (m InvoiceLineSummary) String() string

func (InvoiceLineSummary) ValidateEnumValue

func (m InvoiceLineSummary) 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 InvoiceSummary

InvoiceSummary Invoice details

type InvoiceSummary struct {

    // SPM Document Number is an functional identifier for invoice in SPM
    SpmInvoiceNumber *string `mandatory:"true" json:"spmInvoiceNumber"`

    BillToCustomer *InvoicingBusinessPartner `mandatory:"true" json:"billToCustomer"`

    BillToContact *InvoicingUser `mandatory:"true" json:"billToContact"`

    BillToAddress *InvoicingAddress `mandatory:"true" json:"billToAddress"`

    // Payment Method
    PaymentMethod *string `mandatory:"true" json:"paymentMethod"`

    PaymentTerm *InvoicingPaymentTerm `mandatory:"true" json:"paymentTerm"`

    Currency *InvoicingCurrency `mandatory:"true" json:"currency"`

    Organization *InvoicingOrganization `mandatory:"true" json:"organization"`

    // Document Type in SPM like SPM Invoice,SPM Credit Memo etc.,
    Type *string `mandatory:"true" json:"type"`

    // Document Status in SPM which depicts current state of invoice
    Status *string `mandatory:"true" json:"status"`

    // Invoice associated subscription plan number.
    SubscriptionNumber *string `mandatory:"true" json:"subscriptionNumber"`

    // Invoice Date
    TimeInvoiceDate *common.SDKTime `mandatory:"true" json:"timeInvoiceDate"`

    // AR Invoice Numbers comma separated under one invoice
    ArInvoices *string `mandatory:"false" json:"arInvoices"`

    // Receipt Method of Payment Mode
    ReceiptMethod *string `mandatory:"false" json:"receiptMethod"`

    // SPM Invocie creation date
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // User that executed SPM Invoice process
    CreatedBy *string `mandatory:"false" json:"createdBy"`

    // SPM Invoice updated date
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // User that updated SPM Invoice
    UpdatedBy *string `mandatory:"false" json:"updatedBy"`

    // Invoice Lines under particular invoice.
    InvoiceLines []InvoiceLineSummary `mandatory:"false" json:"invoiceLines"`
}

func (InvoiceSummary) String

func (m InvoiceSummary) String() string

func (InvoiceSummary) ValidateEnumValue

func (m InvoiceSummary) 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 InvoiceSummaryClient

InvoiceSummaryClient a client for InvoiceSummary

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

func NewInvoiceSummaryClientWithConfigurationProvider

func NewInvoiceSummaryClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client InvoiceSummaryClient, err error)

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

func NewInvoiceSummaryClientWithOboToken

func NewInvoiceSummaryClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client InvoiceSummaryClient, err error)

NewInvoiceSummaryClientWithOboToken Creates a new default InvoiceSummary 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 (*InvoiceSummaryClient) ConfigurationProvider

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

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

func (InvoiceSummaryClient) ListInvoicelineComputedUsages

func (client InvoiceSummaryClient) ListInvoicelineComputedUsages(ctx context.Context, request ListInvoicelineComputedUsagesRequest) (response ListInvoicelineComputedUsagesResponse, err error)

ListInvoicelineComputedUsages This is a collection API which returns a list of Invoiced Computed Usages for given Invoiceline id.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListInvoicelineComputedUsages.go.html to see an example of how to use ListInvoicelineComputedUsages API.

func (InvoiceSummaryClient) ListInvoices

func (client InvoiceSummaryClient) ListInvoices(ctx context.Context, request ListInvoicesRequest) (response ListInvoicesResponse, err error)

ListInvoices This is a collection API which returns a list of Invoices for given filters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListInvoices.go.html to see an example of how to use ListInvoices API.

func (*InvoiceSummaryClient) SetRegion

func (client *InvoiceSummaryClient) SetRegion(region string)

SetRegion overrides the region of this client.

type InvoicelineComputedUsageSummary

InvoicelineComputedUsageSummary Computed Usage Summary object

type InvoicelineComputedUsageSummary struct {
    ParentProduct *InvoicingProduct `mandatory:"true" json:"parentProduct"`

    // Total Quantity that was used for computation
    Quantity *float64 `mandatory:"true" json:"quantity"`

    // Net Unit Price for the product in consideration, price actual.
    NetUnitPrice *float64 `mandatory:"true" json:"netUnitPrice"`

    // Metered Service date.
    TimeMeteredOn *common.SDKTime `mandatory:"true" json:"timeMeteredOn"`

    // Usage compute type in SPM.
    Type InvoicelineComputedUsageSummaryTypeEnum `mandatory:"true" json:"type"`

    // Computed Line Amount rounded.
    CostRounded *float64 `mandatory:"true" json:"costRounded"`

    Product *InvoicingProduct `mandatory:"false" json:"product"`

    // Sum of Usage/Service Billing Line net Amount
    Cost *float64 `mandatory:"false" json:"cost"`
}

func (InvoicelineComputedUsageSummary) String

func (m InvoicelineComputedUsageSummary) String() string

func (InvoicelineComputedUsageSummary) ValidateEnumValue

func (m InvoicelineComputedUsageSummary) 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 InvoicelineComputedUsageSummaryTypeEnum

InvoicelineComputedUsageSummaryTypeEnum Enum with underlying type: string

type InvoicelineComputedUsageSummaryTypeEnum string

Set of constants representing the allowable values for InvoicelineComputedUsageSummaryTypeEnum

const (
    InvoicelineComputedUsageSummaryTypePromotion                 InvoicelineComputedUsageSummaryTypeEnum = "PROMOTION"
    InvoicelineComputedUsageSummaryTypeDoNotBill                 InvoicelineComputedUsageSummaryTypeEnum = "DO_NOT_BILL"
    InvoicelineComputedUsageSummaryTypeUsage                     InvoicelineComputedUsageSummaryTypeEnum = "USAGE"
    InvoicelineComputedUsageSummaryTypeCommit                    InvoicelineComputedUsageSummaryTypeEnum = "COMMIT"
    InvoicelineComputedUsageSummaryTypeOverage                   InvoicelineComputedUsageSummaryTypeEnum = "OVERAGE"
    InvoicelineComputedUsageSummaryTypePayAsYouGo                InvoicelineComputedUsageSummaryTypeEnum = "PAY_AS_YOU_GO"
    InvoicelineComputedUsageSummaryTypeMonthlyMinimum            InvoicelineComputedUsageSummaryTypeEnum = "MONTHLY_MINIMUM"
    InvoicelineComputedUsageSummaryTypeDelayedUsageInvoiceTiming InvoicelineComputedUsageSummaryTypeEnum = "DELAYED_USAGE_INVOICE_TIMING"
    InvoicelineComputedUsageSummaryTypeDelayedUsageCommitmentExp InvoicelineComputedUsageSummaryTypeEnum = "DELAYED_USAGE_COMMITMENT_EXP"
    InvoicelineComputedUsageSummaryTypeOnAccountCredit           InvoicelineComputedUsageSummaryTypeEnum = "ON_ACCOUNT_CREDIT"
    InvoicelineComputedUsageSummaryTypeServiceCredit             InvoicelineComputedUsageSummaryTypeEnum = "SERVICE_CREDIT"
)

func GetInvoicelineComputedUsageSummaryTypeEnumValues

func GetInvoicelineComputedUsageSummaryTypeEnumValues() []InvoicelineComputedUsageSummaryTypeEnum

GetInvoicelineComputedUsageSummaryTypeEnumValues Enumerates the set of values for InvoicelineComputedUsageSummaryTypeEnum

func GetMappingInvoicelineComputedUsageSummaryTypeEnum

func GetMappingInvoicelineComputedUsageSummaryTypeEnum(val string) (InvoicelineComputedUsageSummaryTypeEnum, bool)

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

type InvoicingAddress

InvoicingAddress Address.

type InvoicingAddress struct {
    Location *InvoicingLocation `mandatory:"false" json:"location"`

    // Address name identifier.
    Name *string `mandatory:"false" json:"name"`

    // Phone.
    Phone *string `mandatory:"false" json:"phone"`

    // Identify as the customer's billing address.
    IsBillTo *bool `mandatory:"false" json:"isBillTo"`

    // Identify as the customer's shipping address.
    IsShipTo *bool `mandatory:"false" json:"isShipTo"`

    // Bill to site use Id.
    BillSiteUseId *int64 `mandatory:"false" json:"billSiteUseId"`

    // Service to site use Id.
    Service2SiteUseId *int64 `mandatory:"false" json:"service2SiteUseId"`

    // TCA customer account site Id.
    TcaCustAcctSiteId *int64 `mandatory:"false" json:"tcaCustAcctSiteId"`

    // Party site number.
    TcaPartySiteNumber *string `mandatory:"false" json:"tcaPartySiteNumber"`
}

func (InvoicingAddress) String

func (m InvoicingAddress) String() string

func (InvoicingAddress) ValidateEnumValue

func (m InvoicingAddress) 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 InvoicingBusinessPartner

InvoicingBusinessPartner Business partner.

type InvoicingBusinessPartner struct {

    // Commercial name also called customer name.
    Name *string `mandatory:"false" json:"name"`

    // Phonetic name.
    NamePhonetic *string `mandatory:"false" json:"namePhonetic"`

    // TCA customer account number.
    TcaCustomerAccountNumber *string `mandatory:"false" json:"tcaCustomerAccountNumber"`

    // The business partner is part of the public sector or not.
    IsPublicSector *bool `mandatory:"false" json:"isPublicSector"`

    // The business partner is chain customer or not.
    IsChainCustomer *bool `mandatory:"false" json:"isChainCustomer"`

    // Customer chain type.
    CustomerChainType *string `mandatory:"false" json:"customerChainType"`

    // TCA party number.
    TcaPartyNumber *string `mandatory:"false" json:"tcaPartyNumber"`

    // TCA party ID.
    TcaPartyId *int64 `mandatory:"false" json:"tcaPartyId"`

    // TCA customer account ID.
    TcaCustomerAccountId *int64 `mandatory:"false" json:"tcaCustomerAccountId"`
}

func (InvoicingBusinessPartner) String

func (m InvoicingBusinessPartner) String() string

func (InvoicingBusinessPartner) ValidateEnumValue

func (m InvoicingBusinessPartner) 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 InvoicingCurrency

InvoicingCurrency Currency details

type InvoicingCurrency struct {

    // Currency Code
    IsoCode *string `mandatory:"true" json:"isoCode"`

    // Currency name
    Name *string `mandatory:"false" json:"name"`

    // Standard Precision of the Currency
    StdPrecision *int64 `mandatory:"false" json:"stdPrecision"`
}

func (InvoicingCurrency) String

func (m InvoicingCurrency) String() string

func (InvoicingCurrency) ValidateEnumValue

func (m InvoicingCurrency) 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 InvoicingLocation

InvoicingLocation Address location.

type InvoicingLocation struct {

    // Address first line.
    Address1 *string `mandatory:"false" json:"address1"`

    // Address second line.
    Address2 *string `mandatory:"false" json:"address2"`

    // Postal code.
    PostalCode *string `mandatory:"false" json:"postalCode"`

    // City.
    City *string `mandatory:"false" json:"city"`

    // Country.
    Country *string `mandatory:"false" json:"country"`

    // Region.
    Region *string `mandatory:"false" json:"region"`

    // TCA Location identifier.
    TcaLocationId *int64 `mandatory:"false" json:"tcaLocationId"`
}

func (InvoicingLocation) String

func (m InvoicingLocation) String() string

func (InvoicingLocation) ValidateEnumValue

func (m InvoicingLocation) 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 InvoicingOrganization

InvoicingOrganization Organization details

type InvoicingOrganization struct {

    // Organization name
    Name *string `mandatory:"true" json:"name"`

    // Organization ID
    Number *float64 `mandatory:"true" json:"number"`
}

func (InvoicingOrganization) String

func (m InvoicingOrganization) String() string

func (InvoicingOrganization) ValidateEnumValue

func (m InvoicingOrganization) 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 InvoicingPaymentTerm

InvoicingPaymentTerm Payment Term details

type InvoicingPaymentTerm struct {

    // Payment Term name
    Name *string `mandatory:"true" json:"name"`

    // Payment Term value
    Value *string `mandatory:"false" json:"value"`

    // Payment term Description
    Description *string `mandatory:"false" json:"description"`

    // Payment term active flag
    IsActive *bool `mandatory:"false" json:"isActive"`

    // Payment term last update date
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // User that created the Payment term
    CreatedBy *string `mandatory:"false" json:"createdBy"`

    // Payment term last update date
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // User that updated the Payment term
    UpdatedBy *string `mandatory:"false" json:"updatedBy"`
}

func (InvoicingPaymentTerm) String

func (m InvoicingPaymentTerm) String() string

func (InvoicingPaymentTerm) ValidateEnumValue

func (m InvoicingPaymentTerm) 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 InvoicingProduct

InvoicingProduct Product description

type InvoicingProduct struct {

    // Product part number
    PartNumber *string `mandatory:"true" json:"partNumber"`

    // Product name
    Name *string `mandatory:"true" json:"name"`

    // Unit of Measure
    UnitOfMeasure *string `mandatory:"true" json:"unitOfMeasure"`

    // Rate card part type of Product
    UcmRateCardPartType *string `mandatory:"true" json:"ucmRateCardPartType"`

    // Metered service billing category
    BillingCategory *string `mandatory:"false" json:"billingCategory"`

    // Product category
    ProductCategory *string `mandatory:"false" json:"productCategory"`
}

func (InvoicingProduct) String

func (m InvoicingProduct) String() string

func (InvoicingProduct) ValidateEnumValue

func (m InvoicingProduct) 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 InvoicingUser

InvoicingUser User.

type InvoicingUser struct {

    // Name.
    Name *string `mandatory:"false" json:"name"`

    // userName.
    UserName *string `mandatory:"false" json:"userName"`

    // First name.
    FirstName *string `mandatory:"false" json:"firstName"`

    // Last name.
    LastName *string `mandatory:"false" json:"lastName"`

    // Email.
    Email *string `mandatory:"false" json:"email"`

    // TCA contact ID.
    TcaContactId *int64 `mandatory:"false" json:"tcaContactId"`

    // TCA customer account site ID.
    TcaCustAccntSiteId *int64 `mandatory:"false" json:"tcaCustAccntSiteId"`

    // TCA party ID.
    TcaPartyId *int64 `mandatory:"false" json:"tcaPartyId"`
}

func (InvoicingUser) String

func (m InvoicingUser) String() string

func (InvoicingUser) ValidateEnumValue

func (m InvoicingUser) 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 ListAggregatedComputedUsagesGroupingEnum

ListAggregatedComputedUsagesGroupingEnum Enum with underlying type: string

type ListAggregatedComputedUsagesGroupingEnum string

Set of constants representing the allowable values for ListAggregatedComputedUsagesGroupingEnum

const (
    ListAggregatedComputedUsagesGroupingHourly  ListAggregatedComputedUsagesGroupingEnum = "HOURLY"
    ListAggregatedComputedUsagesGroupingDaily   ListAggregatedComputedUsagesGroupingEnum = "DAILY"
    ListAggregatedComputedUsagesGroupingMonthly ListAggregatedComputedUsagesGroupingEnum = "MONTHLY"
    ListAggregatedComputedUsagesGroupingNone    ListAggregatedComputedUsagesGroupingEnum = "NONE"
)

func GetListAggregatedComputedUsagesGroupingEnumValues

func GetListAggregatedComputedUsagesGroupingEnumValues() []ListAggregatedComputedUsagesGroupingEnum

GetListAggregatedComputedUsagesGroupingEnumValues Enumerates the set of values for ListAggregatedComputedUsagesGroupingEnum

func GetMappingListAggregatedComputedUsagesGroupingEnum

func GetMappingListAggregatedComputedUsagesGroupingEnum(val string) (ListAggregatedComputedUsagesGroupingEnum, bool)

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

type ListAggregatedComputedUsagesRequest

ListAggregatedComputedUsagesRequest wrapper for the ListAggregatedComputedUsages operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListAggregatedComputedUsages.go.html to see an example of how to use ListAggregatedComputedUsagesRequest.

type ListAggregatedComputedUsagesRequest struct {

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
    SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"`

    // Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format.
    TimeFrom *common.SDKTime `mandatory:"true" contributesTo:"query" name:"timeFrom"`

    // Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
    TimeTo *common.SDKTime `mandatory:"true" contributesTo:"query" name:"timeTo"`

    // Product part number for subscribed service line, called parent product.
    ParentProduct *string `mandatory:"false" contributesTo:"query" name:"parentProduct"`

    // Grouping criteria to use for aggregate the computed Usage, either hourly (`HOURLY`), daily (`DAILY`), monthly(`MONTHLY`) or none (`NONE`) to not follow a grouping criteria by date.
    Grouping ListAggregatedComputedUsagesGroupingEnum `mandatory:"false" contributesTo:"query" name:"grouping" omitEmpty:"true"`

    // The maximum number aggregatedComputedUsages of items to return within the Subscription "List" call, this
    // counts the overall count across all items
    // Example: `500`
    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"`

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

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

func (ListAggregatedComputedUsagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAggregatedComputedUsagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAggregatedComputedUsagesRequest) RetryPolicy

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

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

func (ListAggregatedComputedUsagesRequest) String

func (request ListAggregatedComputedUsagesRequest) String() string

func (ListAggregatedComputedUsagesRequest) ValidateEnumValue

func (request ListAggregatedComputedUsagesRequest) 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 ListAggregatedComputedUsagesResponse

ListAggregatedComputedUsagesResponse wrapper for the ListAggregatedComputedUsages operation

type ListAggregatedComputedUsagesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []AggregatedComputedUsageSummary instances
    Items []AggregatedComputedUsageSummary `presentIn:"body"`

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

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

func (ListAggregatedComputedUsagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAggregatedComputedUsagesResponse) String

func (response ListAggregatedComputedUsagesResponse) String() string

type ListBillingSchedulesRequest

ListBillingSchedulesRequest wrapper for the ListBillingSchedules operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListBillingSchedules.go.html to see an example of how to use ListBillingSchedulesRequest.

type ListBillingSchedulesRequest struct {

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // This param is used to get only the billing schedules for a particular Subscription Id
    SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"`

    // This param is used to get only the billing schedules for a particular Subscribed Service
    SubscribedServiceId *string `mandatory:"false" contributesTo:"query" name:"subscribedServiceId"`

    // The maximum number of items to return in a paginated "List" call. Default: (`50`)
    // Example: '500'
    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, either ascending ('ASC') or descending ('DESC').
    SortOrder ListBillingSchedulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order ('sortOrder').
    SortBy ListBillingSchedulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListBillingSchedulesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBillingSchedulesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBillingSchedulesRequest) RetryPolicy

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

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

func (ListBillingSchedulesRequest) String

func (request ListBillingSchedulesRequest) String() string

func (ListBillingSchedulesRequest) ValidateEnumValue

func (request ListBillingSchedulesRequest) 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 ListBillingSchedulesResponse

ListBillingSchedulesResponse wrapper for the ListBillingSchedules operation

type ListBillingSchedulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []BillingScheduleSummary instances
    Items []BillingScheduleSummary `presentIn:"body"`

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

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

func (ListBillingSchedulesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBillingSchedulesResponse) String

func (response ListBillingSchedulesResponse) String() string

type ListBillingSchedulesSortByEnum

ListBillingSchedulesSortByEnum Enum with underlying type: string

type ListBillingSchedulesSortByEnum string

Set of constants representing the allowable values for ListBillingSchedulesSortByEnum

const (
    ListBillingSchedulesSortByOrdernumber   ListBillingSchedulesSortByEnum = "ORDERNUMBER"
    ListBillingSchedulesSortByTimeinvoicing ListBillingSchedulesSortByEnum = "TIMEINVOICING"
)

func GetListBillingSchedulesSortByEnumValues

func GetListBillingSchedulesSortByEnumValues() []ListBillingSchedulesSortByEnum

GetListBillingSchedulesSortByEnumValues Enumerates the set of values for ListBillingSchedulesSortByEnum

func GetMappingListBillingSchedulesSortByEnum

func GetMappingListBillingSchedulesSortByEnum(val string) (ListBillingSchedulesSortByEnum, bool)

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

type ListBillingSchedulesSortOrderEnum

ListBillingSchedulesSortOrderEnum Enum with underlying type: string

type ListBillingSchedulesSortOrderEnum string

Set of constants representing the allowable values for ListBillingSchedulesSortOrderEnum

const (
    ListBillingSchedulesSortOrderAsc  ListBillingSchedulesSortOrderEnum = "ASC"
    ListBillingSchedulesSortOrderDesc ListBillingSchedulesSortOrderEnum = "DESC"
)

func GetListBillingSchedulesSortOrderEnumValues

func GetListBillingSchedulesSortOrderEnumValues() []ListBillingSchedulesSortOrderEnum

GetListBillingSchedulesSortOrderEnumValues Enumerates the set of values for ListBillingSchedulesSortOrderEnum

func GetMappingListBillingSchedulesSortOrderEnum

func GetMappingListBillingSchedulesSortOrderEnum(val string) (ListBillingSchedulesSortOrderEnum, bool)

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

type ListCommitmentsRequest

ListCommitmentsRequest wrapper for the ListCommitments operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListCommitments.go.html to see an example of how to use ListCommitmentsRequest.

type ListCommitmentsRequest struct {

    // This param is used to get the commitments for a particular subscribed service
    SubscribedServiceId *string `mandatory:"true" contributesTo:"query" name:"subscribedServiceId"`

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The maximum number of items to return in a paginated "List" call. Default: (`50`)
    // Example: '500'
    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, either ascending ('ASC') or descending ('DESC').
    SortOrder ListCommitmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order ('sortOrder').
    SortBy ListCommitmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListCommitmentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListCommitmentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListCommitmentsRequest) RetryPolicy

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

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

func (ListCommitmentsRequest) String

func (request ListCommitmentsRequest) String() string

func (ListCommitmentsRequest) ValidateEnumValue

func (request ListCommitmentsRequest) 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 ListCommitmentsResponse

ListCommitmentsResponse wrapper for the ListCommitments operation

type ListCommitmentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []CommitmentSummary instances
    Items []CommitmentSummary `presentIn:"body"`

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

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

func (ListCommitmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCommitmentsResponse) String

func (response ListCommitmentsResponse) String() string

type ListCommitmentsSortByEnum

ListCommitmentsSortByEnum Enum with underlying type: string

type ListCommitmentsSortByEnum string

Set of constants representing the allowable values for ListCommitmentsSortByEnum

const (
    ListCommitmentsSortByOrdernumber   ListCommitmentsSortByEnum = "ORDERNUMBER"
    ListCommitmentsSortByTimeinvoicing ListCommitmentsSortByEnum = "TIMEINVOICING"
)

func GetListCommitmentsSortByEnumValues

func GetListCommitmentsSortByEnumValues() []ListCommitmentsSortByEnum

GetListCommitmentsSortByEnumValues Enumerates the set of values for ListCommitmentsSortByEnum

func GetMappingListCommitmentsSortByEnum

func GetMappingListCommitmentsSortByEnum(val string) (ListCommitmentsSortByEnum, bool)

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

type ListCommitmentsSortOrderEnum

ListCommitmentsSortOrderEnum Enum with underlying type: string

type ListCommitmentsSortOrderEnum string

Set of constants representing the allowable values for ListCommitmentsSortOrderEnum

const (
    ListCommitmentsSortOrderAsc  ListCommitmentsSortOrderEnum = "ASC"
    ListCommitmentsSortOrderDesc ListCommitmentsSortOrderEnum = "DESC"
)

func GetListCommitmentsSortOrderEnumValues

func GetListCommitmentsSortOrderEnumValues() []ListCommitmentsSortOrderEnum

GetListCommitmentsSortOrderEnumValues Enumerates the set of values for ListCommitmentsSortOrderEnum

func GetMappingListCommitmentsSortOrderEnum

func GetMappingListCommitmentsSortOrderEnum(val string) (ListCommitmentsSortOrderEnum, bool)

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

type ListComputedUsagesRequest

ListComputedUsagesRequest wrapper for the ListComputedUsages operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListComputedUsages.go.html to see an example of how to use ListComputedUsagesRequest.

type ListComputedUsagesRequest struct {

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
    SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"`

    // Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format.
    TimeFrom *common.SDKTime `mandatory:"true" contributesTo:"query" name:"timeFrom"`

    // Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
    TimeTo *common.SDKTime `mandatory:"true" contributesTo:"query" name:"timeTo"`

    // Product part number for subscribed service line, called parent product.
    ParentProduct *string `mandatory:"false" contributesTo:"query" name:"parentProduct"`

    // Product part number for Computed Usage .
    ComputedProduct *string `mandatory:"false" contributesTo:"query" name:"computedProduct"`

    // The maximum number of items to return in a paginated "List" call. Default: (`50`)
    // Example: '500'
    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, either ascending ('ASC') or descending ('DESC').
    SortOrder ListComputedUsagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order (`sortOrder`).
    SortBy ListComputedUsagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListComputedUsagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListComputedUsagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListComputedUsagesRequest) RetryPolicy

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

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

func (ListComputedUsagesRequest) String

func (request ListComputedUsagesRequest) String() string

func (ListComputedUsagesRequest) ValidateEnumValue

func (request ListComputedUsagesRequest) 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 ListComputedUsagesResponse

ListComputedUsagesResponse wrapper for the ListComputedUsages operation

type ListComputedUsagesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ComputedUsageSummary instances
    Items []ComputedUsageSummary `presentIn:"body"`

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

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

func (ListComputedUsagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListComputedUsagesResponse) String

func (response ListComputedUsagesResponse) String() string

type ListComputedUsagesSortByEnum

ListComputedUsagesSortByEnum Enum with underlying type: string

type ListComputedUsagesSortByEnum string

Set of constants representing the allowable values for ListComputedUsagesSortByEnum

const (
    ListComputedUsagesSortByTimecreated   ListComputedUsagesSortByEnum = "timeCreated"
    ListComputedUsagesSortByTimeofarrival ListComputedUsagesSortByEnum = "timeOfArrival"
    ListComputedUsagesSortByTimemeteredon ListComputedUsagesSortByEnum = "timeMeteredOn"
)

func GetListComputedUsagesSortByEnumValues

func GetListComputedUsagesSortByEnumValues() []ListComputedUsagesSortByEnum

GetListComputedUsagesSortByEnumValues Enumerates the set of values for ListComputedUsagesSortByEnum

func GetMappingListComputedUsagesSortByEnum

func GetMappingListComputedUsagesSortByEnum(val string) (ListComputedUsagesSortByEnum, bool)

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

type ListComputedUsagesSortOrderEnum

ListComputedUsagesSortOrderEnum Enum with underlying type: string

type ListComputedUsagesSortOrderEnum string

Set of constants representing the allowable values for ListComputedUsagesSortOrderEnum

const (
    ListComputedUsagesSortOrderAsc  ListComputedUsagesSortOrderEnum = "ASC"
    ListComputedUsagesSortOrderDesc ListComputedUsagesSortOrderEnum = "DESC"
)

func GetListComputedUsagesSortOrderEnumValues

func GetListComputedUsagesSortOrderEnumValues() []ListComputedUsagesSortOrderEnum

GetListComputedUsagesSortOrderEnumValues Enumerates the set of values for ListComputedUsagesSortOrderEnum

func GetMappingListComputedUsagesSortOrderEnum

func GetMappingListComputedUsagesSortOrderEnum(val string) (ListComputedUsagesSortOrderEnum, bool)

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

type ListInvoicelineComputedUsagesRequest

ListInvoicelineComputedUsagesRequest wrapper for the ListInvoicelineComputedUsages operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListInvoicelineComputedUsages.go.html to see an example of how to use ListInvoicelineComputedUsagesRequest.

type ListInvoicelineComputedUsagesRequest struct {

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Invoice Line Identifier - Primary Key SPM
    InvoiceLineId *string `mandatory:"true" contributesTo:"query" name:"invoiceLineId"`

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

    // The field to sort by Invoiced Computed Usages. You can provide one sort order (`sortOrder`).
    SortBy ListInvoicelineComputedUsagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The maximum number of items to return in a paginated "List" call. Default: (`50`)
    // Example: '500'
    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"`

    // Partial response refers to an optimization technique offered
    // by the RESTful web APIs to return only the information
    // (fields) required by the client. This parameter is used to control what fields to
    // return.
    Fields []string `contributesTo:"query" name:"fields" collectionFormat:"multi"`

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

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

func (ListInvoicelineComputedUsagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListInvoicelineComputedUsagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListInvoicelineComputedUsagesRequest) RetryPolicy

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

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

func (ListInvoicelineComputedUsagesRequest) String

func (request ListInvoicelineComputedUsagesRequest) String() string

func (ListInvoicelineComputedUsagesRequest) ValidateEnumValue

func (request ListInvoicelineComputedUsagesRequest) 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 ListInvoicelineComputedUsagesResponse

ListInvoicelineComputedUsagesResponse wrapper for the ListInvoicelineComputedUsages operation

type ListInvoicelineComputedUsagesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []InvoicelineComputedUsageSummary instances
    Items []InvoicelineComputedUsageSummary `presentIn:"body"`

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

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

func (ListInvoicelineComputedUsagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListInvoicelineComputedUsagesResponse) String

func (response ListInvoicelineComputedUsagesResponse) String() string

type ListInvoicelineComputedUsagesSortByEnum

ListInvoicelineComputedUsagesSortByEnum Enum with underlying type: string

type ListInvoicelineComputedUsagesSortByEnum string

Set of constants representing the allowable values for ListInvoicelineComputedUsagesSortByEnum

const (
    ListInvoicelineComputedUsagesSortByTimecreated   ListInvoicelineComputedUsagesSortByEnum = "timeCreated"
    ListInvoicelineComputedUsagesSortByMeteredondate ListInvoicelineComputedUsagesSortByEnum = "meteredOnDate"
)

func GetListInvoicelineComputedUsagesSortByEnumValues

func GetListInvoicelineComputedUsagesSortByEnumValues() []ListInvoicelineComputedUsagesSortByEnum

GetListInvoicelineComputedUsagesSortByEnumValues Enumerates the set of values for ListInvoicelineComputedUsagesSortByEnum

func GetMappingListInvoicelineComputedUsagesSortByEnum

func GetMappingListInvoicelineComputedUsagesSortByEnum(val string) (ListInvoicelineComputedUsagesSortByEnum, bool)

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

type ListInvoicelineComputedUsagesSortOrderEnum

ListInvoicelineComputedUsagesSortOrderEnum Enum with underlying type: string

type ListInvoicelineComputedUsagesSortOrderEnum string

Set of constants representing the allowable values for ListInvoicelineComputedUsagesSortOrderEnum

const (
    ListInvoicelineComputedUsagesSortOrderAsc  ListInvoicelineComputedUsagesSortOrderEnum = "ASC"
    ListInvoicelineComputedUsagesSortOrderDesc ListInvoicelineComputedUsagesSortOrderEnum = "DESC"
)

func GetListInvoicelineComputedUsagesSortOrderEnumValues

func GetListInvoicelineComputedUsagesSortOrderEnumValues() []ListInvoicelineComputedUsagesSortOrderEnum

GetListInvoicelineComputedUsagesSortOrderEnumValues Enumerates the set of values for ListInvoicelineComputedUsagesSortOrderEnum

func GetMappingListInvoicelineComputedUsagesSortOrderEnum

func GetMappingListInvoicelineComputedUsagesSortOrderEnum(val string) (ListInvoicelineComputedUsagesSortOrderEnum, bool)

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

type ListInvoicesRequest

ListInvoicesRequest wrapper for the ListInvoices operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListInvoices.go.html to see an example of how to use ListInvoicesRequest.

type ListInvoicesRequest struct {

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // AR Unique identifier for an invoice .
    ArCustomerTransactionId *string `mandatory:"true" contributesTo:"query" name:"arCustomerTransactionId"`

    // Initial date to filter Invoice data in SPM.
    TimeFrom *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeFrom"`

    // Final date to filter Invoice data in SPM.
    TimeTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeTo"`

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

    // The field to sort by. You can provide one sort order ('sortOrder').
    SortBy ListInvoicesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The maximum number of items to return in a paginated "List" call. Default: (`50`)
    // Example: '500'
    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"`

    // Partial response refers to an optimization technique offered
    // by the RESTful web APIs to return only the information
    // (fields) required by the client. This parameter is used to control what fields to
    // return.
    Fields []string `contributesTo:"query" name:"fields" collectionFormat:"multi"`

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

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

func (ListInvoicesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListInvoicesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListInvoicesRequest) RetryPolicy

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

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

func (ListInvoicesRequest) String

func (request ListInvoicesRequest) String() string

func (ListInvoicesRequest) ValidateEnumValue

func (request ListInvoicesRequest) 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 ListInvoicesResponse

ListInvoicesResponse wrapper for the ListInvoices operation

type ListInvoicesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []InvoiceSummary instances
    Items []InvoiceSummary `presentIn:"body"`

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

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

func (ListInvoicesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListInvoicesResponse) String

func (response ListInvoicesResponse) String() string

type ListInvoicesSortByEnum

ListInvoicesSortByEnum Enum with underlying type: string

type ListInvoicesSortByEnum string

Set of constants representing the allowable values for ListInvoicesSortByEnum

const (
    ListInvoicesSortByOrdernumber   ListInvoicesSortByEnum = "ORDERNUMBER"
    ListInvoicesSortByTimeinvoicing ListInvoicesSortByEnum = "TIMEINVOICING"
)

func GetListInvoicesSortByEnumValues

func GetListInvoicesSortByEnumValues() []ListInvoicesSortByEnum

GetListInvoicesSortByEnumValues Enumerates the set of values for ListInvoicesSortByEnum

func GetMappingListInvoicesSortByEnum

func GetMappingListInvoicesSortByEnum(val string) (ListInvoicesSortByEnum, bool)

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

type ListInvoicesSortOrderEnum

ListInvoicesSortOrderEnum Enum with underlying type: string

type ListInvoicesSortOrderEnum string

Set of constants representing the allowable values for ListInvoicesSortOrderEnum

const (
    ListInvoicesSortOrderAsc  ListInvoicesSortOrderEnum = "ASC"
    ListInvoicesSortOrderDesc ListInvoicesSortOrderEnum = "DESC"
)

func GetListInvoicesSortOrderEnumValues

func GetListInvoicesSortOrderEnumValues() []ListInvoicesSortOrderEnum

GetListInvoicesSortOrderEnumValues Enumerates the set of values for ListInvoicesSortOrderEnum

func GetMappingListInvoicesSortOrderEnum

func GetMappingListInvoicesSortOrderEnum(val string) (ListInvoicesSortOrderEnum, bool)

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

type ListOrganizationSubscriptionsRequest

ListOrganizationSubscriptionsRequest wrapper for the ListOrganizationSubscriptions operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListOrganizationSubscriptions.go.html to see an example of how to use ListOrganizationSubscriptionsRequest.

type ListOrganizationSubscriptionsRequest struct {

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The maximum number of items to return in a paginated "List" call. Default: (`50`)
    // Example: '500'
    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, either ascending ('ASC') or descending ('DESC').
    SortOrder ListOrganizationSubscriptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order ('sortOrder').
    SortBy ListOrganizationSubscriptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListOrganizationSubscriptionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOrganizationSubscriptionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOrganizationSubscriptionsRequest) RetryPolicy

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

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

func (ListOrganizationSubscriptionsRequest) String

func (request ListOrganizationSubscriptionsRequest) String() string

func (ListOrganizationSubscriptionsRequest) ValidateEnumValue

func (request ListOrganizationSubscriptionsRequest) 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 ListOrganizationSubscriptionsResponse

ListOrganizationSubscriptionsResponse wrapper for the ListOrganizationSubscriptions operation

type ListOrganizationSubscriptionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []OrganizationSubscriptionSummary instances
    Items []OrganizationSubscriptionSummary `presentIn:"body"`

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

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

func (ListOrganizationSubscriptionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOrganizationSubscriptionsResponse) String

func (response ListOrganizationSubscriptionsResponse) String() string

type ListOrganizationSubscriptionsSortByEnum

ListOrganizationSubscriptionsSortByEnum Enum with underlying type: string

type ListOrganizationSubscriptionsSortByEnum string

Set of constants representing the allowable values for ListOrganizationSubscriptionsSortByEnum

const (
    ListOrganizationSubscriptionsSortByOrdernumber   ListOrganizationSubscriptionsSortByEnum = "ORDERNUMBER"
    ListOrganizationSubscriptionsSortByTimeinvoicing ListOrganizationSubscriptionsSortByEnum = "TIMEINVOICING"
)

func GetListOrganizationSubscriptionsSortByEnumValues

func GetListOrganizationSubscriptionsSortByEnumValues() []ListOrganizationSubscriptionsSortByEnum

GetListOrganizationSubscriptionsSortByEnumValues Enumerates the set of values for ListOrganizationSubscriptionsSortByEnum

func GetMappingListOrganizationSubscriptionsSortByEnum

func GetMappingListOrganizationSubscriptionsSortByEnum(val string) (ListOrganizationSubscriptionsSortByEnum, bool)

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

type ListOrganizationSubscriptionsSortOrderEnum

ListOrganizationSubscriptionsSortOrderEnum Enum with underlying type: string

type ListOrganizationSubscriptionsSortOrderEnum string

Set of constants representing the allowable values for ListOrganizationSubscriptionsSortOrderEnum

const (
    ListOrganizationSubscriptionsSortOrderAsc  ListOrganizationSubscriptionsSortOrderEnum = "ASC"
    ListOrganizationSubscriptionsSortOrderDesc ListOrganizationSubscriptionsSortOrderEnum = "DESC"
)

func GetListOrganizationSubscriptionsSortOrderEnumValues

func GetListOrganizationSubscriptionsSortOrderEnumValues() []ListOrganizationSubscriptionsSortOrderEnum

GetListOrganizationSubscriptionsSortOrderEnumValues Enumerates the set of values for ListOrganizationSubscriptionsSortOrderEnum

func GetMappingListOrganizationSubscriptionsSortOrderEnum

func GetMappingListOrganizationSubscriptionsSortOrderEnum(val string) (ListOrganizationSubscriptionsSortOrderEnum, bool)

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

type ListRateCardsRequest

ListRateCardsRequest wrapper for the ListRateCards operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListRateCards.go.html to see an example of how to use ListRateCardsRequest.

type ListRateCardsRequest struct {

    // Line level Subscription Id
    SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"`

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // This param is used to get the rate card(s) whose effective start date starts on or after a particular date
    TimeFrom *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeFrom"`

    // This param is used to get the rate card(s) whose effective end date ends on or before a particular date
    TimeTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeTo"`

    // This param is used to get the rate card(s) filterd by the partNumber
    PartNumber *string `mandatory:"false" contributesTo:"query" name:"partNumber"`

    // The maximum number of items to return in a paginated "List" call. Default: (`50`)
    // Example: '500'
    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, either ascending ('ASC') or descending ('DESC').
    SortOrder ListRateCardsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order ('sortOrder').
    SortBy ListRateCardsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListRateCardsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListRateCardsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListRateCardsRequest) RetryPolicy

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

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

func (ListRateCardsRequest) String

func (request ListRateCardsRequest) String() string

func (ListRateCardsRequest) ValidateEnumValue

func (request ListRateCardsRequest) 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 ListRateCardsResponse

ListRateCardsResponse wrapper for the ListRateCards operation

type ListRateCardsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []RateCardSummary instances
    Items []RateCardSummary `presentIn:"body"`

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

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

func (ListRateCardsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListRateCardsResponse) String

func (response ListRateCardsResponse) String() string

type ListRateCardsSortByEnum

ListRateCardsSortByEnum Enum with underlying type: string

type ListRateCardsSortByEnum string

Set of constants representing the allowable values for ListRateCardsSortByEnum

const (
    ListRateCardsSortByOrdernumber   ListRateCardsSortByEnum = "ORDERNUMBER"
    ListRateCardsSortByTimeinvoicing ListRateCardsSortByEnum = "TIMEINVOICING"
)

func GetListRateCardsSortByEnumValues

func GetListRateCardsSortByEnumValues() []ListRateCardsSortByEnum

GetListRateCardsSortByEnumValues Enumerates the set of values for ListRateCardsSortByEnum

func GetMappingListRateCardsSortByEnum

func GetMappingListRateCardsSortByEnum(val string) (ListRateCardsSortByEnum, bool)

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

type ListRateCardsSortOrderEnum

ListRateCardsSortOrderEnum Enum with underlying type: string

type ListRateCardsSortOrderEnum string

Set of constants representing the allowable values for ListRateCardsSortOrderEnum

const (
    ListRateCardsSortOrderAsc  ListRateCardsSortOrderEnum = "ASC"
    ListRateCardsSortOrderDesc ListRateCardsSortOrderEnum = "DESC"
)

func GetListRateCardsSortOrderEnumValues

func GetListRateCardsSortOrderEnumValues() []ListRateCardsSortOrderEnum

GetListRateCardsSortOrderEnumValues Enumerates the set of values for ListRateCardsSortOrderEnum

func GetMappingListRateCardsSortOrderEnum

func GetMappingListRateCardsSortOrderEnum(val string) (ListRateCardsSortOrderEnum, bool)

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

type ListSubscribedServicesRequest

ListSubscribedServicesRequest wrapper for the ListSubscribedServices operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListSubscribedServices.go.html to see an example of how to use ListSubscribedServicesRequest.

type ListSubscribedServicesRequest struct {

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Line level Subscription Id
    SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"`

    // Order Line identifier at subscribed service level . This identifier is originated in Order Management module. Default is null.
    OrderLineId *int64 `mandatory:"false" contributesTo:"query" name:"orderLineId"`

    // This param is used to filter subscribed services based on its status
    Status *string `mandatory:"false" contributesTo:"query" name:"status"`

    // The maximum number of items to return in a paginated "List" call. Default: (`50`)
    // Example: '500'
    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, either ascending ('ASC') or descending ('DESC').
    SortOrder ListSubscribedServicesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order ('sortOrder').
    SortBy ListSubscribedServicesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListSubscribedServicesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListSubscribedServicesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListSubscribedServicesRequest) RetryPolicy

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

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

func (ListSubscribedServicesRequest) String

func (request ListSubscribedServicesRequest) String() string

func (ListSubscribedServicesRequest) ValidateEnumValue

func (request ListSubscribedServicesRequest) 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 ListSubscribedServicesResponse

ListSubscribedServicesResponse wrapper for the ListSubscribedServices operation

type ListSubscribedServicesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []SubscribedServiceSummary instances
    Items []SubscribedServiceSummary `presentIn:"body"`

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

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

func (ListSubscribedServicesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSubscribedServicesResponse) String

func (response ListSubscribedServicesResponse) String() string

type ListSubscribedServicesSortByEnum

ListSubscribedServicesSortByEnum Enum with underlying type: string

type ListSubscribedServicesSortByEnum string

Set of constants representing the allowable values for ListSubscribedServicesSortByEnum

const (
    ListSubscribedServicesSortByOrdernumber   ListSubscribedServicesSortByEnum = "ORDERNUMBER"
    ListSubscribedServicesSortByTimeinvoicing ListSubscribedServicesSortByEnum = "TIMEINVOICING"
)

func GetListSubscribedServicesSortByEnumValues

func GetListSubscribedServicesSortByEnumValues() []ListSubscribedServicesSortByEnum

GetListSubscribedServicesSortByEnumValues Enumerates the set of values for ListSubscribedServicesSortByEnum

func GetMappingListSubscribedServicesSortByEnum

func GetMappingListSubscribedServicesSortByEnum(val string) (ListSubscribedServicesSortByEnum, bool)

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

type ListSubscribedServicesSortOrderEnum

ListSubscribedServicesSortOrderEnum Enum with underlying type: string

type ListSubscribedServicesSortOrderEnum string

Set of constants representing the allowable values for ListSubscribedServicesSortOrderEnum

const (
    ListSubscribedServicesSortOrderAsc  ListSubscribedServicesSortOrderEnum = "ASC"
    ListSubscribedServicesSortOrderDesc ListSubscribedServicesSortOrderEnum = "DESC"
)

func GetListSubscribedServicesSortOrderEnumValues

func GetListSubscribedServicesSortOrderEnumValues() []ListSubscribedServicesSortOrderEnum

GetListSubscribedServicesSortOrderEnumValues Enumerates the set of values for ListSubscribedServicesSortOrderEnum

func GetMappingListSubscribedServicesSortOrderEnum

func GetMappingListSubscribedServicesSortOrderEnum(val string) (ListSubscribedServicesSortOrderEnum, bool)

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

type ListSubscriptionsRequest

ListSubscriptionsRequest wrapper for the ListSubscriptions operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListSubscriptions.go.html to see an example of how to use ListSubscriptionsRequest.

type ListSubscriptionsRequest struct {

    // The OCID of the root compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The Plan Number
    PlanNumber *string `mandatory:"false" contributesTo:"query" name:"planNumber"`

    // Line level Subscription Id
    SubscriptionId *string `mandatory:"false" contributesTo:"query" name:"subscriptionId"`

    // Buyer Email Id
    BuyerEmail *string `mandatory:"false" contributesTo:"query" name:"buyerEmail"`

    // Boolean value to decide whether commitment services will be shown
    IsCommitInfoRequired *bool `mandatory:"false" contributesTo:"query" name:"isCommitInfoRequired"`

    // The maximum number of items to return in a paginated "List" call. Default: (`50`)
    // Example: '500'
    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, either ascending ('ASC') or descending ('DESC').
    SortOrder ListSubscriptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order ('sortOrder').
    SortBy ListSubscriptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListSubscriptionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListSubscriptionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListSubscriptionsRequest) RetryPolicy

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

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

func (ListSubscriptionsRequest) String

func (request ListSubscriptionsRequest) String() string

func (ListSubscriptionsRequest) ValidateEnumValue

func (request ListSubscriptionsRequest) 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 ListSubscriptionsResponse

ListSubscriptionsResponse wrapper for the ListSubscriptions operation

type ListSubscriptionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []SubscriptionSummary instances
    Items []SubscriptionSummary `presentIn:"body"`

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

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

func (ListSubscriptionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSubscriptionsResponse) String

func (response ListSubscriptionsResponse) String() string

type ListSubscriptionsSortByEnum

ListSubscriptionsSortByEnum Enum with underlying type: string

type ListSubscriptionsSortByEnum string

Set of constants representing the allowable values for ListSubscriptionsSortByEnum

const (
    ListSubscriptionsSortByOrdernumber   ListSubscriptionsSortByEnum = "ORDERNUMBER"
    ListSubscriptionsSortByTimeinvoicing ListSubscriptionsSortByEnum = "TIMEINVOICING"
)

func GetListSubscriptionsSortByEnumValues

func GetListSubscriptionsSortByEnumValues() []ListSubscriptionsSortByEnum

GetListSubscriptionsSortByEnumValues Enumerates the set of values for ListSubscriptionsSortByEnum

func GetMappingListSubscriptionsSortByEnum

func GetMappingListSubscriptionsSortByEnum(val string) (ListSubscriptionsSortByEnum, bool)

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

type ListSubscriptionsSortOrderEnum

ListSubscriptionsSortOrderEnum Enum with underlying type: string

type ListSubscriptionsSortOrderEnum string

Set of constants representing the allowable values for ListSubscriptionsSortOrderEnum

const (
    ListSubscriptionsSortOrderAsc  ListSubscriptionsSortOrderEnum = "ASC"
    ListSubscriptionsSortOrderDesc ListSubscriptionsSortOrderEnum = "DESC"
)

func GetListSubscriptionsSortOrderEnumValues

func GetListSubscriptionsSortOrderEnumValues() []ListSubscriptionsSortOrderEnum

GetListSubscriptionsSortOrderEnumValues Enumerates the set of values for ListSubscriptionsSortOrderEnum

func GetMappingListSubscriptionsSortOrderEnum

func GetMappingListSubscriptionsSortOrderEnum(val string) (ListSubscriptionsSortOrderEnum, bool)

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

type OrganizationSubscriptionClient

OrganizationSubscriptionClient a client for OrganizationSubscription

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

func NewOrganizationSubscriptionClientWithConfigurationProvider

func NewOrganizationSubscriptionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OrganizationSubscriptionClient, err error)

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

func NewOrganizationSubscriptionClientWithOboToken

func NewOrganizationSubscriptionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OrganizationSubscriptionClient, err error)

NewOrganizationSubscriptionClientWithOboToken Creates a new default OrganizationSubscription 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 (*OrganizationSubscriptionClient) ConfigurationProvider

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

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

func (OrganizationSubscriptionClient) ListOrganizationSubscriptions

func (client OrganizationSubscriptionClient) ListOrganizationSubscriptions(ctx context.Context, request ListOrganizationSubscriptionsRequest) (response ListOrganizationSubscriptionsResponse, err error)

ListOrganizationSubscriptions API that returns data for the list of subscription ids returned from Organizations API

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListOrganizationSubscriptions.go.html to see an example of how to use ListOrganizationSubscriptions API.

func (*OrganizationSubscriptionClient) SetRegion

func (client *OrganizationSubscriptionClient) SetRegion(region string)

SetRegion overrides the region of this client.

type OrganizationSubscriptionSummary

OrganizationSubscriptionSummary Subscription summary

type OrganizationSubscriptionSummary struct {

    // SPM internal Subscription ID
    Id *string `mandatory:"true" json:"id"`

    // Customer friendly service name provided by PRG
    ServiceName *string `mandatory:"false" json:"serviceName"`

    // Subscription Type i.e. IAAS,SAAS,PAAS
    Type *string `mandatory:"false" json:"type"`

    // Status of the plan
    Status *string `mandatory:"false" json:"status"`

    // Represents the date when the first service of the subscription was activated
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Represents the date when the last service of the subscription ends
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    Currency *OrgnizationSubsCurrency `mandatory:"false" json:"currency"`

    // Total aggregate TCLV of all lines for the subscription including expired, active, and signed
    TotalValue *string `mandatory:"false" json:"totalValue"`
}

func (OrganizationSubscriptionSummary) String

func (m OrganizationSubscriptionSummary) String() string

func (OrganizationSubscriptionSummary) ValidateEnumValue

func (m OrganizationSubscriptionSummary) 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 OrgnizationSubsCurrency

OrgnizationSubsCurrency Currency details

type OrgnizationSubsCurrency struct {

    // Currency Code
    IsoCode *string `mandatory:"true" json:"isoCode"`

    // Currency name
    Name *string `mandatory:"false" json:"name"`

    // Standard Precision of the Currency
    StdPrecision *int64 `mandatory:"false" json:"stdPrecision"`
}

func (OrgnizationSubsCurrency) String

func (m OrgnizationSubsCurrency) String() string

func (OrgnizationSubsCurrency) ValidateEnumValue

func (m OrgnizationSubsCurrency) 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 RateCardProduct

RateCardProduct Product description

type RateCardProduct struct {

    // Product part numner
    PartNumber *string `mandatory:"true" json:"partNumber"`

    // Product name
    Name *string `mandatory:"true" json:"name"`

    // Unit of measure
    UnitOfMeasure *string `mandatory:"true" json:"unitOfMeasure"`

    // Metered service billing category
    BillingCategory *string `mandatory:"false" json:"billingCategory"`

    // Product category
    ProductCategory *string `mandatory:"false" json:"productCategory"`

    // Rate card part type of Product
    UcmRateCardPartType *string `mandatory:"false" json:"ucmRateCardPartType"`
}

func (RateCardProduct) String

func (m RateCardProduct) String() string

func (RateCardProduct) ValidateEnumValue

func (m RateCardProduct) 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 RateCardSummary

RateCardSummary Rate Card Summary

type RateCardSummary struct {
    Product *RateCardProduct `mandatory:"true" json:"product"`

    // Rate card net unit price
    NetUnitPrice *string `mandatory:"true" json:"netUnitPrice"`

    // Rate card overage price
    OveragePrice *string `mandatory:"true" json:"overagePrice"`

    // SPM internal Subscribed Service ID
    SubscribedServiceId *string `mandatory:"false" json:"subscribedServiceId"`

    // Rate card start date
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Rate card end date
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    // Rate card discretionary discount percentage
    DiscretionaryDiscountPercentage *string `mandatory:"false" json:"discretionaryDiscountPercentage"`

    // Rate card price tier flag
    IsTier *bool `mandatory:"false" json:"isTier"`

    Currency *SubscriptionCurrency `mandatory:"false" json:"currency"`

    // List of tiered rate card prices
    RateCardTiers []RateCardTier `mandatory:"false" json:"rateCardTiers"`
}

func (RateCardSummary) String

func (m RateCardSummary) String() string

func (RateCardSummary) ValidateEnumValue

func (m RateCardSummary) 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 RateCardTier

RateCardTier Rate Card Tier details

type RateCardTier struct {

    // Rate card tier quantity range
    UpToQuantity *string `mandatory:"false" json:"upToQuantity"`

    // Rate card tier net unit price
    NetUnitPrice *string `mandatory:"false" json:"netUnitPrice"`

    // Rate card tier overage price
    OveragePrice *string `mandatory:"false" json:"overagePrice"`
}

func (RateCardTier) String

func (m RateCardTier) String() string

func (RateCardTier) ValidateEnumValue

func (m RateCardTier) 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 RatecardClient

RatecardClient a client for Ratecard

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

func NewRatecardClientWithConfigurationProvider

func NewRatecardClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RatecardClient, err error)

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

func NewRatecardClientWithOboToken

func NewRatecardClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RatecardClient, err error)

NewRatecardClientWithOboToken Creates a new default Ratecard 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 (*RatecardClient) ConfigurationProvider

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

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

func (RatecardClient) ListRateCards

func (client RatecardClient) ListRateCards(ctx context.Context, request ListRateCardsRequest) (response ListRateCardsResponse, err error)

ListRateCards List API that returns all ratecards for given Subscription Id and Account ID (if provided) and for a particular date range

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListRateCards.go.html to see an example of how to use ListRateCards API.

func (*RatecardClient) SetRegion

func (client *RatecardClient) SetRegion(region string)

SetRegion overrides the region of this client.

type SubscribedService

SubscribedService Subscribed service contract details

type SubscribedService struct {

    // SPM internal Subscribed Service ID
    Id *string `mandatory:"false" json:"id"`

    // Subscribed Service line type
    Type *string `mandatory:"false" json:"type"`

    // Subscribed service line number
    SerialNumber *string `mandatory:"false" json:"serialNumber"`

    // Subscription ID associated to the subscribed service
    SubscriptionId *string `mandatory:"false" json:"subscriptionId"`

    Product *RateCardProduct `mandatory:"false" json:"product"`

    // Subscribed service start date
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Subscribed service end date
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    // Subscribed service quantity
    Quantity *string `mandatory:"false" json:"quantity"`

    // Subscribed service status
    Status *string `mandatory:"false" json:"status"`

    // Subscribed service operation type
    OperationType *string `mandatory:"false" json:"operationType"`

    // Subscribed service net unit price
    NetUnitPrice *string `mandatory:"false" json:"netUnitPrice"`

    // Indicates the period for which the commitment amount can be utilised exceeding which the amount lapses. Also used in calculation of total contract line value
    PricePeriod *string `mandatory:"false" json:"pricePeriod"`

    // Subscribed service line net amount
    LineNetAmount *string `mandatory:"false" json:"lineNetAmount"`

    // Indicates if the commitment lines can have different quantities
    IsVariableCommitment *bool `mandatory:"false" json:"isVariableCommitment"`

    // Indicates if a service can recieve usages and consequently have available amounts computed
    IsAllowance *bool `mandatory:"false" json:"isAllowance"`

    // Subscribed service used amount
    UsedAmount *string `mandatory:"false" json:"usedAmount"`

    // Subscribed sercice available or remaining amount
    AvailableAmount *string `mandatory:"false" json:"availableAmount"`

    // Funded Allocation line value
    // example: 12000.00
    FundedAllocationValue *string `mandatory:"false" json:"fundedAllocationValue"`

    // Indicator on whether or not there has been usage for the subscribed service
    IsHavingUsage *bool `mandatory:"false" json:"isHavingUsage"`

    // If true compares rate between ratecard and the active pricelist and minimum rate would be fetched
    IsCapToPriceList *bool `mandatory:"false" json:"isCapToPriceList"`

    // Subscribed service credit percentage
    CreditPercentage *string `mandatory:"false" json:"creditPercentage"`

    // This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differ
    PartnerTransactionType *string `mandatory:"false" json:"partnerTransactionType"`

    // Used in context of service credit lines
    IsCreditEnabled *bool `mandatory:"false" json:"isCreditEnabled"`

    // Overage Policy of Subscribed Service
    OveragePolicy *string `mandatory:"false" json:"overagePolicy"`

    // Overage Bill To of Subscribed Service
    OverageBillTo *string `mandatory:"false" json:"overageBillTo"`

    // Pay As You Go policy of Subscribed Service (Can be null - indicating no payg policy)
    PaygPolicy *string `mandatory:"false" json:"paygPolicy"`

    // Not null if this service has an associated promotion line in SPM. Contains the line identifier from Order Management of
    // the associated promo line.
    PromoOrderLineId *int64 `mandatory:"false" json:"promoOrderLineId"`

    // Promotion Pricing Type of Subscribed Service (Can be null - indicating no promotion pricing)
    PromotionPricingType *string `mandatory:"false" json:"promotionPricingType"`

    // Subscribed service Rate Card Discount Percentage
    RateCardDiscountPercentage *string `mandatory:"false" json:"rateCardDiscountPercentage"`

    // Subscribed service Overage Discount Percentage
    OverageDiscountPercentage *string `mandatory:"false" json:"overageDiscountPercentage"`

    BillToCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"billToCustomer"`

    BillToContact *SubscribedServiceUser `mandatory:"false" json:"billToContact"`

    BillToAddress *SubscribedServiceAddress `mandatory:"false" json:"billToAddress"`

    // Payment Number of Subscribed Service
    PaymentNumber *string `mandatory:"false" json:"paymentNumber"`

    // Subscribed service payment expiry date
    TimePaymentExpiry *common.SDKTime `mandatory:"false" json:"timePaymentExpiry"`

    PaymentTerm *SubscribedServicePaymentTerm `mandatory:"false" json:"paymentTerm"`

    // Payment Method of Subscribed Service
    PaymentMethod *string `mandatory:"false" json:"paymentMethod"`

    // Subscribed service Transaction Extension Id
    TransactionExtensionId *int64 `mandatory:"false" json:"transactionExtensionId"`

    // Sales Channel of Subscribed Service
    SalesChannel *string `mandatory:"false" json:"salesChannel"`

    // Subscribed service eligible to renew field
    EligibleToRenew *string `mandatory:"false" json:"eligibleToRenew"`

    // SPM renewed Subscription ID
    RenewedSubscribedServiceId *string `mandatory:"false" json:"renewedSubscribedServiceId"`

    // Term value in Months
    TermValue *int64 `mandatory:"false" json:"termValue"`

    // Term value UOM
    TermValueUom *string `mandatory:"false" json:"termValueUom"`

    // Subscribed service Opportunity Id
    RenewalOptyId *int64 `mandatory:"false" json:"renewalOptyId"`

    // Renewal Opportunity Number of Subscribed Service
    RenewalOptyNumber *string `mandatory:"false" json:"renewalOptyNumber"`

    // Renewal Opportunity Type of Subscribed Service
    RenewalOptyType *string `mandatory:"false" json:"renewalOptyType"`

    // Booking Opportunity Number of Subscribed Service
    BookingOptyNumber *string `mandatory:"false" json:"bookingOptyNumber"`

    // Subscribed service Revenue Line Id
    RevenueLineId *int64 `mandatory:"false" json:"revenueLineId"`

    // Revenue Line NUmber of Subscribed Service
    RevenueLineNumber *string `mandatory:"false" json:"revenueLineNumber"`

    // Subscribed service Major Set
    MajorSet *int64 `mandatory:"false" json:"majorSet"`

    // Subscribed service Major Set Start date
    TimeMajorsetStart *common.SDKTime `mandatory:"false" json:"timeMajorsetStart"`

    // Subscribed service Major Set End date
    TimeMajorsetEnd *common.SDKTime `mandatory:"false" json:"timeMajorsetEnd"`

    // Subscribed service System ARR
    SystemArrInLc *string `mandatory:"false" json:"systemArrInLc"`

    // Subscribed service System ARR in Standard Currency
    SystemArrInSc *string `mandatory:"false" json:"systemArrInSc"`

    // Subscribed service System ATR-ARR
    SystemAtrArrInLc *string `mandatory:"false" json:"systemAtrArrInLc"`

    // Subscribed service System ATR-ARR in Standard Currency
    SystemAtrArrInSc *string `mandatory:"false" json:"systemAtrArrInSc"`

    // Subscribed service Revised ARR
    RevisedArrInLc *string `mandatory:"false" json:"revisedArrInLc"`

    // Subscribed service Revised ARR in Standard Currency
    RevisedArrInSc *string `mandatory:"false" json:"revisedArrInSc"`

    // Subscribed service total value
    TotalValue *string `mandatory:"false" json:"totalValue"`

    // Subscribed service Promotion Amount
    OriginalPromoAmount *string `mandatory:"false" json:"originalPromoAmount"`

    // Sales Order Header associated to the subscribed service
    OrderHeaderId *int64 `mandatory:"false" json:"orderHeaderId"`

    // Sales Order Number associated to the subscribed service
    OrderNumber *int64 `mandatory:"false" json:"orderNumber"`

    // Order Type of Subscribed Service
    OrderType *string `mandatory:"false" json:"orderType"`

    // Sales Order Line Id associated to the subscribed service
    OrderLineId *int64 `mandatory:"false" json:"orderLineId"`

    // Sales Order Line Number associated to the subscribed service
    OrderLineNumber *int `mandatory:"false" json:"orderLineNumber"`

    // Subscribed service commitment schedule Id
    CommitmentScheduleId *string `mandatory:"false" json:"commitmentScheduleId"`

    // Subscribed service sales account party id
    SalesAccountPartyId *int64 `mandatory:"false" json:"salesAccountPartyId"`

    // Subscribed service data center
    DataCenter *string `mandatory:"false" json:"dataCenter"`

    // Subscribed service data center region
    DataCenterRegion *string `mandatory:"false" json:"dataCenterRegion"`

    // Subscribed service admin email id
    AdminEmail *string `mandatory:"false" json:"adminEmail"`

    // Subscribed service buyer email id
    BuyerEmail *string `mandatory:"false" json:"buyerEmail"`

    // Subscribed service source
    SubscriptionSource *string `mandatory:"false" json:"subscriptionSource"`

    // Subscribed service provisioning source
    ProvisioningSource *string `mandatory:"false" json:"provisioningSource"`

    // Subscribed service fulfillment set
    FulfillmentSet *string `mandatory:"false" json:"fulfillmentSet"`

    // Subscribed service intent to pay flag
    IsIntentToPay *bool `mandatory:"false" json:"isIntentToPay"`

    // Subscribed service payg flag
    IsPayg *bool `mandatory:"false" json:"isPayg"`

    // Subscribed service pricing model
    PricingModel *string `mandatory:"false" json:"pricingModel"`

    // Subscribed service program type
    ProgramType *string `mandatory:"false" json:"programType"`

    // Subscribed service start date type
    StartDateType *string `mandatory:"false" json:"startDateType"`

    // Subscribed service provisioning date
    TimeProvisioned *common.SDKTime `mandatory:"false" json:"timeProvisioned"`

    // Subscribed service promotion type
    PromoType *string `mandatory:"false" json:"promoType"`

    ServiceToCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"serviceToCustomer"`

    ServiceToContact *SubscribedServiceUser `mandatory:"false" json:"serviceToContact"`

    ServiceToAddress *SubscribedServiceAddress `mandatory:"false" json:"serviceToAddress"`

    SoldToCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"soldToCustomer"`

    SoldToContact *SubscribedServiceUser `mandatory:"false" json:"soldToContact"`

    EndUserCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"endUserCustomer"`

    EndUserContact *SubscribedServiceUser `mandatory:"false" json:"endUserContact"`

    EndUserAddress *SubscribedServiceAddress `mandatory:"false" json:"endUserAddress"`

    ResellerCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"resellerCustomer"`

    ResellerContact *SubscribedServiceUser `mandatory:"false" json:"resellerContact"`

    ResellerAddress *SubscribedServiceAddress `mandatory:"false" json:"resellerAddress"`

    // Subscribed service CSI number
    Csi *int64 `mandatory:"false" json:"csi"`

    // Identifier for a customer's transactions for purchase of ay oracle services
    CustomerTransactionReference *string `mandatory:"false" json:"customerTransactionReference"`

    // Subscribed service partner credit amount
    PartnerCreditAmount *string `mandatory:"false" json:"partnerCreditAmount"`

    // Indicates if the Subscribed service has a single ratecard
    IsSingleRateCard *bool `mandatory:"false" json:"isSingleRateCard"`

    // Subscribed service agreement ID
    AgreementId *int64 `mandatory:"false" json:"agreementId"`

    // Subscribed service agrrement name
    AgreementName *string `mandatory:"false" json:"agreementName"`

    // Subscribed service agrrement type
    AgreementType *string `mandatory:"false" json:"agreementType"`

    // Subscribed service invoice frequency
    BillingFrequency *string `mandatory:"false" json:"billingFrequency"`

    // Subscribed service welcome email sent date
    TimeWelcomeEmailSent *common.SDKTime `mandatory:"false" json:"timeWelcomeEmailSent"`

    // Subscribed service service configuration email sent date
    TimeServiceConfigurationEmailSent *common.SDKTime `mandatory:"false" json:"timeServiceConfigurationEmailSent"`

    // Subscribed service customer config date
    TimeCustomerConfig *common.SDKTime `mandatory:"false" json:"timeCustomerConfig"`

    // Subscribed service agrrement end date
    TimeAgreementEnd *common.SDKTime `mandatory:"false" json:"timeAgreementEnd"`

    // List of Commitment services of a line
    CommitmentServices []CommitmentService `mandatory:"false" json:"commitmentServices"`

    // List of Rate Cards of a Subscribed Service
    RateCards []RateCardSummary `mandatory:"false" json:"rateCards"`

    // Subscribed service creation date
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // User that created the subscribed service
    CreatedBy *string `mandatory:"false" json:"createdBy"`

    // Subscribed service last update date
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // User that updated the subscribed service
    UpdatedBy *string `mandatory:"false" json:"updatedBy"`

    // SPM Ratecard Type
    RatecardType *string `mandatory:"false" json:"ratecardType"`
}

func (SubscribedService) String

func (m SubscribedService) String() string

func (SubscribedService) ValidateEnumValue

func (m SubscribedService) 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 SubscribedServiceAddress

SubscribedServiceAddress Address.

type SubscribedServiceAddress struct {
    Location *SubscribedServiceLocation `mandatory:"false" json:"location"`

    // Address name identifier.
    Name *string `mandatory:"false" json:"name"`

    // Phone.
    Phone *string `mandatory:"false" json:"phone"`

    // Identify as the customer shipping address.
    IsBillTo *bool `mandatory:"false" json:"isBillTo"`

    // Identify as the customer invoicing address.
    IsShipTo *bool `mandatory:"false" json:"isShipTo"`

    // Bill to site use Id.
    BillSiteUseId *int64 `mandatory:"false" json:"billSiteUseId"`

    // Service to site use Id.
    Service2SiteUseId *int64 `mandatory:"false" json:"service2SiteUseId"`

    // TCA customer account site Id.
    TcaCustAcctSiteId *int64 `mandatory:"false" json:"tcaCustAcctSiteId"`

    // Party site number.
    TcaPartySiteNumber *string `mandatory:"false" json:"tcaPartySiteNumber"`
}

func (SubscribedServiceAddress) String

func (m SubscribedServiceAddress) String() string

func (SubscribedServiceAddress) ValidateEnumValue

func (m SubscribedServiceAddress) 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 SubscribedServiceBusinessPartner

SubscribedServiceBusinessPartner Business partner.

type SubscribedServiceBusinessPartner struct {

    // Commercial name also called customer name.
    Name *string `mandatory:"false" json:"name"`

    // Phonetic name.
    NamePhonetic *string `mandatory:"false" json:"namePhonetic"`

    // TCA customer account number.
    TcaCustAccountNumber *string `mandatory:"false" json:"tcaCustAccountNumber"`

    // The business partner is part of the public sector or not.
    IsPublicSector *bool `mandatory:"false" json:"isPublicSector"`

    // The business partner is chain customer or not.
    IsChainCustomer *bool `mandatory:"false" json:"isChainCustomer"`

    // Customer chain type.
    CustomerChainType *string `mandatory:"false" json:"customerChainType"`

    // TCA party number.
    TcaPartyNumber *string `mandatory:"false" json:"tcaPartyNumber"`

    // TCA party ID.
    TcaPartyId *int64 `mandatory:"false" json:"tcaPartyId"`

    // TCA customer account ID.
    TcaCustomerAccountId *int64 `mandatory:"false" json:"tcaCustomerAccountId"`
}

func (SubscribedServiceBusinessPartner) String

func (m SubscribedServiceBusinessPartner) String() string

func (SubscribedServiceBusinessPartner) ValidateEnumValue

func (m SubscribedServiceBusinessPartner) 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 SubscribedServiceClient

SubscribedServiceClient a client for SubscribedService

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

func NewSubscribedServiceClientWithConfigurationProvider

func NewSubscribedServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client SubscribedServiceClient, err error)

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

func NewSubscribedServiceClientWithOboToken

func NewSubscribedServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client SubscribedServiceClient, err error)

NewSubscribedServiceClientWithOboToken Creates a new default SubscribedService 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 (*SubscribedServiceClient) ConfigurationProvider

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

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

func (SubscribedServiceClient) GetSubscribedService

func (client SubscribedServiceClient) GetSubscribedService(ctx context.Context, request GetSubscribedServiceRequest) (response GetSubscribedServiceResponse, err error)

GetSubscribedService This API returns the subscribed service details corresponding to the id provided

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/GetSubscribedService.go.html to see an example of how to use GetSubscribedService API.

func (SubscribedServiceClient) ListSubscribedServices

func (client SubscribedServiceClient) ListSubscribedServices(ctx context.Context, request ListSubscribedServicesRequest) (response ListSubscribedServicesResponse, err error)

ListSubscribedServices This list API returns all subscribed services for given Subscription ID

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListSubscribedServices.go.html to see an example of how to use ListSubscribedServices API.

func (*SubscribedServiceClient) SetRegion

func (client *SubscribedServiceClient) SetRegion(region string)

SetRegion overrides the region of this client.

type SubscribedServiceLocation

SubscribedServiceLocation Address location.

type SubscribedServiceLocation struct {

    // Address first line.
    Address1 *string `mandatory:"false" json:"address1"`

    // Address second line.
    Address2 *string `mandatory:"false" json:"address2"`

    // Postal code.
    PostalCode *string `mandatory:"false" json:"postalCode"`

    // City.
    City *string `mandatory:"false" json:"city"`

    // Country.
    Country *string `mandatory:"false" json:"country"`

    // Region.
    Region *string `mandatory:"false" json:"region"`

    // Region.
    TcaLocationId *int64 `mandatory:"false" json:"tcaLocationId"`
}

func (SubscribedServiceLocation) String

func (m SubscribedServiceLocation) String() string

func (SubscribedServiceLocation) ValidateEnumValue

func (m SubscribedServiceLocation) 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 SubscribedServicePaymentTerm

SubscribedServicePaymentTerm Payment Term details

type SubscribedServicePaymentTerm struct {

    // Payment Term name
    Name *string `mandatory:"false" json:"name"`

    // Payment Term value
    Value *string `mandatory:"false" json:"value"`

    // Payment term Description
    Description *string `mandatory:"false" json:"description"`

    // Payment term active flag
    IsActive *bool `mandatory:"false" json:"isActive"`

    // Payment term last update date
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // User that created the Payment term
    CreatedBy *string `mandatory:"false" json:"createdBy"`

    // Payment term last update date
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // User that updated the Payment term
    UpdatedBy *string `mandatory:"false" json:"updatedBy"`
}

func (SubscribedServicePaymentTerm) String

func (m SubscribedServicePaymentTerm) String() string

func (SubscribedServicePaymentTerm) ValidateEnumValue

func (m SubscribedServicePaymentTerm) 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 SubscribedServiceSummary

SubscribedServiceSummary Subscribed service contract details

type SubscribedServiceSummary struct {

    // SPM internal Subscribed Service ID
    Id *string `mandatory:"true" json:"id"`

    // Subscribed Service line type
    Type *string `mandatory:"false" json:"type"`

    // Subscribed service line number
    SerialNumber *string `mandatory:"false" json:"serialNumber"`

    // Subscription ID associated to the subscribed service
    SubscriptionId *string `mandatory:"false" json:"subscriptionId"`

    Product *RateCardProduct `mandatory:"false" json:"product"`

    // Subscribed service start date
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Subscribed service end date
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    // Subscribed service quantity
    Quantity *string `mandatory:"false" json:"quantity"`

    // Subscribed service status
    Status *string `mandatory:"false" json:"status"`

    // Subscribed service operation type
    OperationType *string `mandatory:"false" json:"operationType"`

    // Subscribed service net unit price
    NetUnitPrice *string `mandatory:"false" json:"netUnitPrice"`

    // Indicates the period for which the commitment amount can be utilised exceeding which the amount lapses. Also used in calculation of total contract line value
    PricePeriod *string `mandatory:"false" json:"pricePeriod"`

    // Subscribed service line net amount
    LineNetAmount *string `mandatory:"false" json:"lineNetAmount"`

    // Indicates if the commitment lines can have different quantities
    IsVariableCommitment *bool `mandatory:"false" json:"isVariableCommitment"`

    // Indicates if a service can recieve usages and consequently have available amounts computed
    IsAllowance *bool `mandatory:"false" json:"isAllowance"`

    // Subscribed service used amount
    UsedAmount *string `mandatory:"false" json:"usedAmount"`

    // Subscribed sercice available or remaining amount
    AvailableAmount *string `mandatory:"false" json:"availableAmount"`

    // Funded Allocation line value
    // example: 12000.00
    FundedAllocationValue *string `mandatory:"false" json:"fundedAllocationValue"`

    // Indicator on whether or not there has been usage for the subscribed service
    IsHavingUsage *bool `mandatory:"false" json:"isHavingUsage"`

    // If true compares rate between ratecard and the active pricelist and minimum rate would be fetched
    IsCapToPriceList *bool `mandatory:"false" json:"isCapToPriceList"`

    // Subscribed service credit percentage
    CreditPercentage *string `mandatory:"false" json:"creditPercentage"`

    // This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differ
    PartnerTransactionType *string `mandatory:"false" json:"partnerTransactionType"`

    // Used in context of service credit lines
    IsCreditEnabled *bool `mandatory:"false" json:"isCreditEnabled"`

    // Overage Policy of Subscribed Service
    OveragePolicy *string `mandatory:"false" json:"overagePolicy"`

    // Overage Bill To of Subscribed Service
    OverageBillTo *string `mandatory:"false" json:"overageBillTo"`

    // Pay As You Go policy of Subscribed Service (Can be null - indicating no payg policy)
    PaygPolicy *string `mandatory:"false" json:"paygPolicy"`

    // Not null if this service has an associated promotion line in SPM. Contains the line identifier from Order Management of
    // the associated promo line.
    PromoOrderLineId *int64 `mandatory:"false" json:"promoOrderLineId"`

    // Promotion Pricing Type of Subscribed Service (Can be null - indicating no promotion pricing)
    PromotionPricingType *string `mandatory:"false" json:"promotionPricingType"`

    // Subscribed service Rate Card Discount Percentage
    RateCardDiscountPercentage *string `mandatory:"false" json:"rateCardDiscountPercentage"`

    // Subscribed service Overage Discount Percentage
    OverageDiscountPercentage *string `mandatory:"false" json:"overageDiscountPercentage"`

    BillToCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"billToCustomer"`

    BillToContact *SubscribedServiceUser `mandatory:"false" json:"billToContact"`

    BillToAddress *SubscribedServiceAddress `mandatory:"false" json:"billToAddress"`

    // Payment Number of Subscribed Service
    PaymentNumber *string `mandatory:"false" json:"paymentNumber"`

    // Subscribed service payment expiry date
    TimePaymentExpiry *common.SDKTime `mandatory:"false" json:"timePaymentExpiry"`

    PaymentTerm *SubscribedServicePaymentTerm `mandatory:"false" json:"paymentTerm"`

    // Payment Method of Subscribed Service
    PaymentMethod *string `mandatory:"false" json:"paymentMethod"`

    // Subscribed service Transaction Extension Id
    TransactionExtensionId *int64 `mandatory:"false" json:"transactionExtensionId"`

    // Sales Channel of Subscribed Service
    SalesChannel *string `mandatory:"false" json:"salesChannel"`

    // Subscribed service eligible to renew field
    EligibleToRenew *string `mandatory:"false" json:"eligibleToRenew"`

    // SPM renewed Subscription ID
    RenewedSubscribedServiceId *string `mandatory:"false" json:"renewedSubscribedServiceId"`

    // Term value in Months
    TermValue *int64 `mandatory:"false" json:"termValue"`

    // Term value UOM
    TermValueUom *string `mandatory:"false" json:"termValueUom"`

    // Subscribed service Opportunity Id
    RenewalOptyId *int64 `mandatory:"false" json:"renewalOptyId"`

    // Renewal Opportunity Number of Subscribed Service
    RenewalOptyNumber *string `mandatory:"false" json:"renewalOptyNumber"`

    // Renewal Opportunity Type of Subscribed Service
    RenewalOptyType *string `mandatory:"false" json:"renewalOptyType"`

    // Booking Opportunity Number of Subscribed Service
    BookingOptyNumber *string `mandatory:"false" json:"bookingOptyNumber"`

    // Subscribed service Revenue Line Id
    RevenueLineId *int64 `mandatory:"false" json:"revenueLineId"`

    // Revenue Line NUmber of Subscribed Service
    RevenueLineNumber *string `mandatory:"false" json:"revenueLineNumber"`

    // Subscribed service Major Set
    MajorSet *int64 `mandatory:"false" json:"majorSet"`

    // Subscribed service Major Set Start date
    TimeMajorsetStart *common.SDKTime `mandatory:"false" json:"timeMajorsetStart"`

    // Subscribed service Major Set End date
    TimeMajorsetEnd *common.SDKTime `mandatory:"false" json:"timeMajorsetEnd"`

    // Subscribed service System ARR
    SystemArrInLc *string `mandatory:"false" json:"systemArrInLc"`

    // Subscribed service System ARR in Standard Currency
    SystemArrInSc *string `mandatory:"false" json:"systemArrInSc"`

    // Subscribed service System ATR-ARR
    SystemAtrArrInLc *string `mandatory:"false" json:"systemAtrArrInLc"`

    // Subscribed service System ATR-ARR in Standard Currency
    SystemAtrArrInSc *string `mandatory:"false" json:"systemAtrArrInSc"`

    // Subscribed service Revised ARR
    RevisedArrInLc *string `mandatory:"false" json:"revisedArrInLc"`

    // Subscribed service Revised ARR in Standard Currency
    RevisedArrInSc *string `mandatory:"false" json:"revisedArrInSc"`

    // Subscribed service total value
    TotalValue *string `mandatory:"false" json:"totalValue"`

    // Subscribed service Promotion Amount
    OriginalPromoAmount *string `mandatory:"false" json:"originalPromoAmount"`

    // Sales Order Header associated to the subscribed service
    OrderHeaderId *int64 `mandatory:"false" json:"orderHeaderId"`

    // Sales Order Number associated to the subscribed service
    OrderNumber *int64 `mandatory:"false" json:"orderNumber"`

    // Order Type of Subscribed Service
    OrderType *string `mandatory:"false" json:"orderType"`

    // Sales Order Line Id associated to the subscribed service
    OrderLineId *int64 `mandatory:"false" json:"orderLineId"`

    // Sales Order Line Number associated to the subscribed service
    OrderLineNumber *int `mandatory:"false" json:"orderLineNumber"`

    // Subscribed service commitment schedule Id
    CommitmentScheduleId *string `mandatory:"false" json:"commitmentScheduleId"`

    // Subscribed service sales account party id
    SalesAccountPartyId *int64 `mandatory:"false" json:"salesAccountPartyId"`

    // Subscribed service data center
    DataCenter *string `mandatory:"false" json:"dataCenter"`

    // Subscribed service data center region
    DataCenterRegion *string `mandatory:"false" json:"dataCenterRegion"`

    // Subscribed service admin email id
    AdminEmail *string `mandatory:"false" json:"adminEmail"`

    // Subscribed service buyer email id
    BuyerEmail *string `mandatory:"false" json:"buyerEmail"`

    // Subscribed service source
    SubscriptionSource *string `mandatory:"false" json:"subscriptionSource"`

    // Subscribed service provisioning source
    ProvisioningSource *string `mandatory:"false" json:"provisioningSource"`

    // Subscribed service fulfillment set
    FulfillmentSet *string `mandatory:"false" json:"fulfillmentSet"`

    // Subscribed service intent to pay flag
    IsIntentToPay *bool `mandatory:"false" json:"isIntentToPay"`

    // Subscribed service payg flag
    IsPayg *bool `mandatory:"false" json:"isPayg"`

    // Subscribed service pricing model
    PricingModel *string `mandatory:"false" json:"pricingModel"`

    // Subscribed service program type
    ProgramType *string `mandatory:"false" json:"programType"`

    // Subscribed service start date type
    StartDateType *string `mandatory:"false" json:"startDateType"`

    // Subscribed service provisioning date
    TimeProvisioned *common.SDKTime `mandatory:"false" json:"timeProvisioned"`

    // Subscribed service promotion type
    PromoType *string `mandatory:"false" json:"promoType"`

    ServiceToCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"serviceToCustomer"`

    ServiceToContact *SubscribedServiceUser `mandatory:"false" json:"serviceToContact"`

    ServiceToAddress *SubscribedServiceAddress `mandatory:"false" json:"serviceToAddress"`

    SoldToCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"soldToCustomer"`

    SoldToContact *SubscribedServiceUser `mandatory:"false" json:"soldToContact"`

    EndUserCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"endUserCustomer"`

    EndUserContact *SubscribedServiceUser `mandatory:"false" json:"endUserContact"`

    EndUserAddress *SubscribedServiceAddress `mandatory:"false" json:"endUserAddress"`

    ResellerCustomer *SubscribedServiceBusinessPartner `mandatory:"false" json:"resellerCustomer"`

    ResellerContact *SubscribedServiceUser `mandatory:"false" json:"resellerContact"`

    ResellerAddress *SubscribedServiceAddress `mandatory:"false" json:"resellerAddress"`

    // Subscribed service CSI number
    Csi *int64 `mandatory:"false" json:"csi"`

    // Identifier for a customer's transactions for purchase of ay oracle services
    CustomerTransactionReference *string `mandatory:"false" json:"customerTransactionReference"`

    // Subscribed service partner credit amount
    PartnerCreditAmount *string `mandatory:"false" json:"partnerCreditAmount"`

    // Indicates if the Subscribed service has a single ratecard
    IsSingleRateCard *bool `mandatory:"false" json:"isSingleRateCard"`

    // Subscribed service agreement ID
    AgreementId *int64 `mandatory:"false" json:"agreementId"`

    // Subscribed service agrrement name
    AgreementName *string `mandatory:"false" json:"agreementName"`

    // Subscribed service agrrement type
    AgreementType *string `mandatory:"false" json:"agreementType"`

    // Subscribed service invoice frequency
    BillingFrequency *string `mandatory:"false" json:"billingFrequency"`

    // Subscribed service welcome email sent date
    TimeWelcomeEmailSent *common.SDKTime `mandatory:"false" json:"timeWelcomeEmailSent"`

    // Subscribed service service configuration email sent date
    TimeServiceConfigurationEmailSent *common.SDKTime `mandatory:"false" json:"timeServiceConfigurationEmailSent"`

    // Subscribed service customer config date
    TimeCustomerConfig *common.SDKTime `mandatory:"false" json:"timeCustomerConfig"`

    // Subscribed service agrrement end date
    TimeAgreementEnd *common.SDKTime `mandatory:"false" json:"timeAgreementEnd"`

    // Subscribed service creation date
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // User that created the subscribed service
    CreatedBy *string `mandatory:"false" json:"createdBy"`

    // Subscribed service last update date
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // User that updated the subscribed service
    UpdatedBy *string `mandatory:"false" json:"updatedBy"`

    // SPM Ratecard Type
    RatecardType *string `mandatory:"false" json:"ratecardType"`
}

func (SubscribedServiceSummary) String

func (m SubscribedServiceSummary) String() string

func (SubscribedServiceSummary) ValidateEnumValue

func (m SubscribedServiceSummary) 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 SubscribedServiceUser

SubscribedServiceUser User.

type SubscribedServiceUser struct {

    // Name.
    Name *string `mandatory:"false" json:"name"`

    // Username.
    Username *string `mandatory:"false" json:"username"`

    // First name.
    FirstName *string `mandatory:"false" json:"firstName"`

    // Last name.
    LastName *string `mandatory:"false" json:"lastName"`

    // Email.
    Email *string `mandatory:"false" json:"email"`

    // TCA contact ID.
    TcaContactId *int64 `mandatory:"false" json:"tcaContactId"`

    // TCA customer account site ID.
    TcaCustAccntSiteId *int64 `mandatory:"false" json:"tcaCustAccntSiteId"`

    // TCA party ID.
    TcaPartyId *int64 `mandatory:"false" json:"tcaPartyId"`
}

func (SubscribedServiceUser) String

func (m SubscribedServiceUser) String() string

func (SubscribedServiceUser) ValidateEnumValue

func (m SubscribedServiceUser) 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 SubscriptionClient

SubscriptionClient a client for Subscription

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

func NewSubscriptionClientWithConfigurationProvider

func NewSubscriptionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client SubscriptionClient, err error)

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

func NewSubscriptionClientWithOboToken

func NewSubscriptionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client SubscriptionClient, err error)

NewSubscriptionClientWithOboToken Creates a new default Subscription 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 (*SubscriptionClient) ConfigurationProvider

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

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

func (SubscriptionClient) ListSubscriptions

func (client SubscriptionClient) ListSubscriptions(ctx context.Context, request ListSubscriptionsRequest) (response ListSubscriptionsResponse, err error)

ListSubscriptions This list API returns all subscriptions for a given plan number or subscription id or buyer email and provides additional parameters to include ratecard and commitment details. This API expects exactly one of the above mentioned parameters as input. If more than one parameters are provided the API will throw a 400 - invalid parameters exception and if no parameters are provided it will throw a 400 - missing parameter exception

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/onesubscription/ListSubscriptions.go.html to see an example of how to use ListSubscriptions API.

func (*SubscriptionClient) SetRegion

func (client *SubscriptionClient) SetRegion(region string)

SetRegion overrides the region of this client.

type SubscriptionCurrency

SubscriptionCurrency Currency details

type SubscriptionCurrency struct {

    // Currency Code
    IsoCode *string `mandatory:"true" json:"isoCode"`

    // Currency name
    Name *string `mandatory:"false" json:"name"`

    // Standard Precision of the Currency
    StdPrecision *int64 `mandatory:"false" json:"stdPrecision"`
}

func (SubscriptionCurrency) String

func (m SubscriptionCurrency) String() string

func (SubscriptionCurrency) ValidateEnumValue

func (m SubscriptionCurrency) 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 SubscriptionProduct

SubscriptionProduct Product description

type SubscriptionProduct struct {

    // Product part numner
    PartNumber *string `mandatory:"true" json:"partNumber"`

    // Product name
    Name *string `mandatory:"true" json:"name"`

    // Unit of measure
    UnitOfMeasure *string `mandatory:"true" json:"unitOfMeasure"`

    // Product provisioning group
    ProvisioningGroup *string `mandatory:"false" json:"provisioningGroup"`
}

func (SubscriptionProduct) String

func (m SubscriptionProduct) String() string

func (SubscriptionProduct) ValidateEnumValue

func (m SubscriptionProduct) 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 SubscriptionSubscribedService

SubscriptionSubscribedService Subscribed Service summary

type SubscriptionSubscribedService struct {

    // SPM internal Subscribed Service ID
    Id *string `mandatory:"true" json:"id"`

    Product *SubscriptionProduct `mandatory:"false" json:"product"`

    // Subscribed service quantity
    Quantity *string `mandatory:"false" json:"quantity"`

    // Subscribed service status
    Status *string `mandatory:"false" json:"status"`

    // Subscribed service operation type
    OperationType *string `mandatory:"false" json:"operationType"`

    // Subscribed service net unit price
    NetUnitPrice *string `mandatory:"false" json:"netUnitPrice"`

    // Subscribed service used amount
    UsedAmount *string `mandatory:"false" json:"usedAmount"`

    // Subscribed sercice available or remaining amount
    AvailableAmount *string `mandatory:"false" json:"availableAmount"`

    // Funded Allocation line value
    // example: 12000.00
    FundedAllocationValue *string `mandatory:"false" json:"fundedAllocationValue"`

    // This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differ
    PartnerTransactionType *string `mandatory:"false" json:"partnerTransactionType"`

    // Term value in Months
    TermValue *int64 `mandatory:"false" json:"termValue"`

    // Term value UOM
    TermValueUom *string `mandatory:"false" json:"termValueUom"`

    // Booking Opportunity Number of Subscribed Service
    BookingOptyNumber *string `mandatory:"false" json:"bookingOptyNumber"`

    // Subscribed service total value
    TotalValue *string `mandatory:"false" json:"totalValue"`

    // Subscribed service Promotion Amount
    OriginalPromoAmount *string `mandatory:"false" json:"originalPromoAmount"`

    // Sales Order Number associated to the subscribed service
    OrderNumber *int64 `mandatory:"false" json:"orderNumber"`

    // Subscribed service data center region
    DataCenterRegion *string `mandatory:"false" json:"dataCenterRegion"`

    // Subscribed service pricing model
    PricingModel *string `mandatory:"false" json:"pricingModel"`

    // Subscribed service program type
    ProgramType *string `mandatory:"false" json:"programType"`

    // Subscribed service promotion type
    PromoType *string `mandatory:"false" json:"promoType"`

    // Subscribed service CSI number
    Csi *int64 `mandatory:"false" json:"csi"`

    // Subscribed service intent to pay flag
    IsIntentToPay *bool `mandatory:"false" json:"isIntentToPay"`

    // Subscribed service start date
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Subscribed service end date
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    // List of Commitment services of a line
    CommitmentServices []CommitmentService `mandatory:"false" json:"commitmentServices"`
}

func (SubscriptionSubscribedService) String

func (m SubscriptionSubscribedService) String() string

func (SubscriptionSubscribedService) ValidateEnumValue

func (m SubscriptionSubscribedService) 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 SubscriptionSummary

SubscriptionSummary Subscription summary

type SubscriptionSummary struct {

    // Status of the plan
    Status *string `mandatory:"false" json:"status"`

    // Represents the date when the first service of the subscription was activated
    TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`

    // Represents the date when the last service of the subscription ends
    TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`

    Currency *SubscriptionCurrency `mandatory:"false" json:"currency"`

    // Customer friendly service name provided by PRG
    ServiceName *string `mandatory:"false" json:"serviceName"`

    // Hold reason of the plan
    HoldReason *string `mandatory:"false" json:"holdReason"`

    // Represents the date of the hold release
    TimeHoldReleaseEta *common.SDKTime `mandatory:"false" json:"timeHoldReleaseEta"`

    // List of Subscribed Services of the plan
    SubscribedServices []SubscriptionSubscribedService `mandatory:"false" json:"subscribedServices"`
}

func (SubscriptionSummary) String

func (m SubscriptionSummary) String() string

func (SubscriptionSummary) ValidateEnumValue

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