Documentation
¶
Index ¶
- Constants
- func MarshalAccessToken(object *AccessToken, writer io.Writer) error
- func MarshalAccessTokenAuth(object *AccessTokenAuth, writer io.Writer) error
- func MarshalAccessTokenAuthList(list []*AccessTokenAuth, writer io.Writer) error
- func MarshalAccessTokenList(list []*AccessToken, writer io.Writer) error
- func MarshalAccount(object *Account, writer io.Writer) error
- func MarshalAccountList(list []*Account, writer io.Writer) error
- func MarshalActionList(list []Action, writer io.Writer) error
- func MarshalBillingModelItem(object *BillingModelItem, writer io.Writer) error
- func MarshalBillingModelItemList(list []*BillingModelItem, writer io.Writer) error
- func MarshalBillingModelList(list []BillingModel, writer io.Writer) error
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalCapability(object *Capability, writer io.Writer) error
- func MarshalCapabilityList(list []*Capability, writer io.Writer) error
- func MarshalCloudAccount(object *CloudAccount, writer io.Writer) error
- func MarshalCloudAccountList(list []*CloudAccount, writer io.Writer) error
- func MarshalCloudResource(object *CloudResource, writer io.Writer) error
- func MarshalCloudResourceList(list []*CloudResource, writer io.Writer) error
- func MarshalClusterAuthorizationRequest(object *ClusterAuthorizationRequest, writer io.Writer) error
- func MarshalClusterAuthorizationRequestList(list []*ClusterAuthorizationRequest, writer io.Writer) error
- func MarshalClusterAuthorizationResponse(object *ClusterAuthorizationResponse, writer io.Writer) error
- func MarshalClusterAuthorizationResponseList(list []*ClusterAuthorizationResponse, writer io.Writer) error
- func MarshalClusterMetricsNodes(object *ClusterMetricsNodes, writer io.Writer) error
- func MarshalClusterMetricsNodesList(list []*ClusterMetricsNodes, writer io.Writer) error
- func MarshalClusterRegistrationRequest(object *ClusterRegistrationRequest, writer io.Writer) error
- func MarshalClusterRegistrationRequestList(list []*ClusterRegistrationRequest, writer io.Writer) error
- func MarshalClusterRegistrationResponse(object *ClusterRegistrationResponse, writer io.Writer) error
- func MarshalClusterRegistrationResponseList(list []*ClusterRegistrationResponse, writer io.Writer) error
- func MarshalClusterResource(object *ClusterResource, writer io.Writer) error
- func MarshalClusterResourceList(list []*ClusterResource, writer io.Writer) error
- func MarshalClusterUpgrade(object *ClusterUpgrade, writer io.Writer) error
- func MarshalClusterUpgradeList(list []*ClusterUpgrade, writer io.Writer) error
- func MarshalContract(object *Contract, writer io.Writer) error
- func MarshalContractDimension(object *ContractDimension, writer io.Writer) error
- func MarshalContractDimensionList(list []*ContractDimension, writer io.Writer) error
- func MarshalContractList(list []*Contract, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalDefaultCapability(object *DefaultCapability, writer io.Writer) error
- func MarshalDefaultCapabilityList(list []*DefaultCapability, writer io.Writer) error
- func MarshalDeletedSubscription(object *DeletedSubscription, writer io.Writer) error
- func MarshalDeletedSubscriptionList(list []*DeletedSubscription, writer io.Writer) error
- func MarshalFeatureToggle(object *FeatureToggle, writer io.Writer) error
- func MarshalFeatureToggleList(list []*FeatureToggle, writer io.Writer) error
- func MarshalFeatureToggleQueryRequest(object *FeatureToggleQueryRequest, writer io.Writer) error
- func MarshalFeatureToggleQueryRequestList(list []*FeatureToggleQueryRequest, writer io.Writer) error
- func MarshalFloatList(list []float64, writer io.Writer) error
- func MarshalGenericNotifyDetailsResponse(object *GenericNotifyDetailsResponse, writer io.Writer) error
- func MarshalGenericNotifyDetailsResponseList(list []*GenericNotifyDetailsResponse, writer io.Writer) error
- func MarshalIntegerList(list []int, writer io.Writer) error
- func MarshalInterfaceList(list []interface{}, writer io.Writer) error
- func MarshalLabel(object *Label, writer io.Writer) error
- func MarshalLabelList(list []*Label, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalNotificationDetailsRequest(object *NotificationDetailsRequest, writer io.Writer) error
- func MarshalNotificationDetailsRequestList(list []*NotificationDetailsRequest, writer io.Writer) error
- func MarshalNotificationDetailsResponse(object *NotificationDetailsResponse, writer io.Writer) error
- func MarshalNotificationDetailsResponseList(list []*NotificationDetailsResponse, writer io.Writer) error
- func MarshalOrganization(object *Organization, writer io.Writer) error
- func MarshalOrganizationList(list []*Organization, writer io.Writer) error
- func MarshalPermission(object *Permission, writer io.Writer) error
- func MarshalPermissionList(list []*Permission, writer io.Writer) error
- func MarshalPlan(object *Plan, writer io.Writer) error
- func MarshalPlanIDList(list []PlanID, writer io.Writer) error
- func MarshalPlanList(list []*Plan, writer io.Writer) error
- func MarshalPullSecretsRequest(object *PullSecretsRequest, writer io.Writer) error
- func MarshalPullSecretsRequestList(list []*PullSecretsRequest, writer io.Writer) error
- func MarshalQuotaAuthorizationRequest(object *QuotaAuthorizationRequest, writer io.Writer) error
- func MarshalQuotaAuthorizationRequestList(list []*QuotaAuthorizationRequest, writer io.Writer) error
- func MarshalQuotaAuthorizationResponse(object *QuotaAuthorizationResponse, writer io.Writer) error
- func MarshalQuotaAuthorizationResponseList(list []*QuotaAuthorizationResponse, writer io.Writer) error
- func MarshalQuotaCost(object *QuotaCost, writer io.Writer) error
- func MarshalQuotaCostList(list []*QuotaCost, writer io.Writer) error
- func MarshalQuotaRules(object *QuotaRules, writer io.Writer) error
- func MarshalQuotaRulesList(list []*QuotaRules, writer io.Writer) error
- func MarshalRegistry(object *Registry, writer io.Writer) error
- func MarshalRegistryCredential(object *RegistryCredential, writer io.Writer) error
- func MarshalRegistryCredentialList(list []*RegistryCredential, writer io.Writer) error
- func MarshalRegistryList(list []*Registry, writer io.Writer) error
- func MarshalRelatedResource(object *RelatedResource, writer io.Writer) error
- func MarshalRelatedResourceList(list []*RelatedResource, writer io.Writer) error
- func MarshalReservedResource(object *ReservedResource, writer io.Writer) error
- func MarshalReservedResourceList(list []*ReservedResource, writer io.Writer) error
- func MarshalResource(object *Resource, writer io.Writer) error
- func MarshalResourceList(list []*Resource, writer io.Writer) error
- func MarshalResourceQuota(object *ResourceQuota, writer io.Writer) error
- func MarshalResourceQuotaList(list []*ResourceQuota, writer io.Writer) error
- func MarshalRole(object *Role, writer io.Writer) error
- func MarshalRoleBinding(object *RoleBinding, writer io.Writer) error
- func MarshalRoleBindingList(list []*RoleBinding, writer io.Writer) error
- func MarshalRoleList(list []*Role, writer io.Writer) error
- func MarshalSkuRule(object *SkuRule, writer io.Writer) error
- func MarshalSkuRuleList(list []*SkuRule, writer io.Writer) error
- func MarshalStringList(list []string, writer io.Writer) error
- func MarshalSubscription(object *Subscription, writer io.Writer) error
- func MarshalSubscriptionList(list []*Subscription, writer io.Writer) error
- func MarshalSubscriptionMetrics(object *SubscriptionMetrics, writer io.Writer) error
- func MarshalSubscriptionMetricsList(list []*SubscriptionMetrics, writer io.Writer) error
- func MarshalSubscriptionRegistration(object *SubscriptionRegistration, writer io.Writer) error
- func MarshalSubscriptionRegistrationList(list []*SubscriptionRegistration, writer io.Writer) error
- func MarshalSummaryDashboard(object *SummaryDashboard, writer io.Writer) error
- func MarshalSummaryDashboardList(list []*SummaryDashboard, writer io.Writer) error
- func MarshalSummaryMetrics(object *SummaryMetrics, writer io.Writer) error
- func MarshalSummaryMetricsList(list []*SummaryMetrics, writer io.Writer) error
- func MarshalSummarySample(object *SummarySample, writer io.Writer) error
- func MarshalSummarySampleList(list []*SummarySample, writer io.Writer) error
- func MarshalSupportCaseRequest(object *SupportCaseRequest, writer io.Writer) error
- func MarshalSupportCaseRequestList(list []*SupportCaseRequest, writer io.Writer) error
- func MarshalSupportCaseResponse(object *SupportCaseResponse, writer io.Writer) error
- func MarshalSupportCaseResponseList(list []*SupportCaseResponse, writer io.Writer) error
- func MarshalTemplateParameter(object *TemplateParameter, writer io.Writer) error
- func MarshalTemplateParameterList(list []*TemplateParameter, writer io.Writer) error
- func MarshalTokenAuthorizationRequest(object *TokenAuthorizationRequest, writer io.Writer) error
- func MarshalTokenAuthorizationRequestList(list []*TokenAuthorizationRequest, writer io.Writer) error
- func MarshalTokenAuthorizationResponse(object *TokenAuthorizationResponse, writer io.Writer) error
- func MarshalTokenAuthorizationResponseList(list []*TokenAuthorizationResponse, writer io.Writer) error
- func MarshalValueUnit(object *ValueUnit, writer io.Writer) error
- func MarshalValueUnitList(list []*ValueUnit, writer io.Writer) error
- func ReadBooleanList(iterator *jsoniter.Iterator) []bool
- func ReadDateList(iterator *jsoniter.Iterator) []time.Time
- func ReadFloatList(iterator *jsoniter.Iterator) []float64
- func ReadIntegerList(iterator *jsoniter.Iterator) []int
- func ReadInterfaceList(iterator *jsoniter.Iterator) []interface{}
- func ReadLongList(iterator *jsoniter.Iterator) []int64
- func ReadStringList(iterator *jsoniter.Iterator) []string
- func UnmarshalBooleanList(source interface{}) (items []bool, err error)
- func UnmarshalDateList(source interface{}) (items []time.Time, err error)
- func UnmarshalFloatList(source interface{}) (items []float64, err error)
- func UnmarshalIntegerList(source interface{}) (items []int, err error)
- func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
- func UnmarshalLongList(source interface{}) (items []int64, err error)
- func UnmarshalStringList(source interface{}) (items []string, err error)
- func WriteAccessToken(object *AccessToken, stream *jsoniter.Stream)
- func WriteAccessTokenAuth(object *AccessTokenAuth, stream *jsoniter.Stream)
- func WriteAccessTokenAuthList(list []*AccessTokenAuth, stream *jsoniter.Stream)
- func WriteAccessTokenList(list []*AccessToken, stream *jsoniter.Stream)
- func WriteAccount(object *Account, stream *jsoniter.Stream)
- func WriteAccountList(list []*Account, stream *jsoniter.Stream)
- func WriteActionList(list []Action, stream *jsoniter.Stream)
- func WriteBillingModelItem(object *BillingModelItem, stream *jsoniter.Stream)
- func WriteBillingModelItemList(list []*BillingModelItem, stream *jsoniter.Stream)
- func WriteBillingModelList(list []BillingModel, stream *jsoniter.Stream)
- func WriteBooleanList(list []bool, stream *jsoniter.Stream)
- func WriteCapability(object *Capability, stream *jsoniter.Stream)
- func WriteCapabilityList(list []*Capability, stream *jsoniter.Stream)
- func WriteCloudAccount(object *CloudAccount, stream *jsoniter.Stream)
- func WriteCloudAccountList(list []*CloudAccount, stream *jsoniter.Stream)
- func WriteCloudResource(object *CloudResource, stream *jsoniter.Stream)
- func WriteCloudResourceList(list []*CloudResource, stream *jsoniter.Stream)
- func WriteClusterAuthorizationRequest(object *ClusterAuthorizationRequest, stream *jsoniter.Stream)
- func WriteClusterAuthorizationRequestList(list []*ClusterAuthorizationRequest, stream *jsoniter.Stream)
- func WriteClusterAuthorizationResponse(object *ClusterAuthorizationResponse, stream *jsoniter.Stream)
- func WriteClusterAuthorizationResponseList(list []*ClusterAuthorizationResponse, stream *jsoniter.Stream)
- func WriteClusterMetricsNodes(object *ClusterMetricsNodes, stream *jsoniter.Stream)
- func WriteClusterMetricsNodesList(list []*ClusterMetricsNodes, stream *jsoniter.Stream)
- func WriteClusterRegistrationRequest(object *ClusterRegistrationRequest, stream *jsoniter.Stream)
- func WriteClusterRegistrationRequestList(list []*ClusterRegistrationRequest, stream *jsoniter.Stream)
- func WriteClusterRegistrationResponse(object *ClusterRegistrationResponse, stream *jsoniter.Stream)
- func WriteClusterRegistrationResponseList(list []*ClusterRegistrationResponse, stream *jsoniter.Stream)
- func WriteClusterResource(object *ClusterResource, stream *jsoniter.Stream)
- func WriteClusterResourceList(list []*ClusterResource, stream *jsoniter.Stream)
- func WriteClusterUpgrade(object *ClusterUpgrade, stream *jsoniter.Stream)
- func WriteClusterUpgradeList(list []*ClusterUpgrade, stream *jsoniter.Stream)
- func WriteContract(object *Contract, stream *jsoniter.Stream)
- func WriteContractDimension(object *ContractDimension, stream *jsoniter.Stream)
- func WriteContractDimensionList(list []*ContractDimension, stream *jsoniter.Stream)
- func WriteContractList(list []*Contract, stream *jsoniter.Stream)
- func WriteDateList(list []time.Time, stream *jsoniter.Stream)
- func WriteDefaultCapability(object *DefaultCapability, stream *jsoniter.Stream)
- func WriteDefaultCapabilityList(list []*DefaultCapability, stream *jsoniter.Stream)
- func WriteDeletedSubscription(object *DeletedSubscription, stream *jsoniter.Stream)
- func WriteDeletedSubscriptionList(list []*DeletedSubscription, stream *jsoniter.Stream)
- func WriteFeatureToggle(object *FeatureToggle, stream *jsoniter.Stream)
- func WriteFeatureToggleList(list []*FeatureToggle, stream *jsoniter.Stream)
- func WriteFeatureToggleQueryRequest(object *FeatureToggleQueryRequest, stream *jsoniter.Stream)
- func WriteFeatureToggleQueryRequestList(list []*FeatureToggleQueryRequest, stream *jsoniter.Stream)
- func WriteFloatList(list []float64, stream *jsoniter.Stream)
- func WriteGenericNotifyDetailsResponse(object *GenericNotifyDetailsResponse, stream *jsoniter.Stream)
- func WriteGenericNotifyDetailsResponseList(list []*GenericNotifyDetailsResponse, stream *jsoniter.Stream)
- func WriteIntegerList(list []int, stream *jsoniter.Stream)
- func WriteInterfaceList(list []interface{}, stream *jsoniter.Stream)
- func WriteLabel(object *Label, stream *jsoniter.Stream)
- func WriteLabelList(list []*Label, stream *jsoniter.Stream)
- func WriteLongList(list []int64, stream *jsoniter.Stream)
- func WriteNotificationDetailsRequest(object *NotificationDetailsRequest, stream *jsoniter.Stream)
- func WriteNotificationDetailsRequestList(list []*NotificationDetailsRequest, stream *jsoniter.Stream)
- func WriteNotificationDetailsResponse(object *NotificationDetailsResponse, stream *jsoniter.Stream)
- func WriteNotificationDetailsResponseList(list []*NotificationDetailsResponse, stream *jsoniter.Stream)
- func WriteOrganization(object *Organization, stream *jsoniter.Stream)
- func WriteOrganizationList(list []*Organization, stream *jsoniter.Stream)
- func WritePermission(object *Permission, stream *jsoniter.Stream)
- func WritePermissionList(list []*Permission, stream *jsoniter.Stream)
- func WritePlan(object *Plan, stream *jsoniter.Stream)
- func WritePlanIDList(list []PlanID, stream *jsoniter.Stream)
- func WritePlanList(list []*Plan, stream *jsoniter.Stream)
- func WritePullSecretsRequest(object *PullSecretsRequest, stream *jsoniter.Stream)
- func WritePullSecretsRequestList(list []*PullSecretsRequest, stream *jsoniter.Stream)
- func WriteQuotaAuthorizationRequest(object *QuotaAuthorizationRequest, stream *jsoniter.Stream)
- func WriteQuotaAuthorizationRequestList(list []*QuotaAuthorizationRequest, stream *jsoniter.Stream)
- func WriteQuotaAuthorizationResponse(object *QuotaAuthorizationResponse, stream *jsoniter.Stream)
- func WriteQuotaAuthorizationResponseList(list []*QuotaAuthorizationResponse, stream *jsoniter.Stream)
- func WriteQuotaCost(object *QuotaCost, stream *jsoniter.Stream)
- func WriteQuotaCostList(list []*QuotaCost, stream *jsoniter.Stream)
- func WriteQuotaRules(object *QuotaRules, stream *jsoniter.Stream)
- func WriteQuotaRulesList(list []*QuotaRules, stream *jsoniter.Stream)
- func WriteRegistry(object *Registry, stream *jsoniter.Stream)
- func WriteRegistryCredential(object *RegistryCredential, stream *jsoniter.Stream)
- func WriteRegistryCredentialList(list []*RegistryCredential, stream *jsoniter.Stream)
- func WriteRegistryList(list []*Registry, stream *jsoniter.Stream)
- func WriteRelatedResource(object *RelatedResource, stream *jsoniter.Stream)
- func WriteRelatedResourceList(list []*RelatedResource, stream *jsoniter.Stream)
- func WriteReservedResource(object *ReservedResource, stream *jsoniter.Stream)
- func WriteReservedResourceList(list []*ReservedResource, stream *jsoniter.Stream)
- func WriteResource(object *Resource, stream *jsoniter.Stream)
- func WriteResourceList(list []*Resource, stream *jsoniter.Stream)
- func WriteResourceQuota(object *ResourceQuota, stream *jsoniter.Stream)
- func WriteResourceQuotaList(list []*ResourceQuota, stream *jsoniter.Stream)
- func WriteRole(object *Role, stream *jsoniter.Stream)
- func WriteRoleBinding(object *RoleBinding, stream *jsoniter.Stream)
- func WriteRoleBindingList(list []*RoleBinding, stream *jsoniter.Stream)
- func WriteRoleList(list []*Role, stream *jsoniter.Stream)
- func WriteSkuRule(object *SkuRule, stream *jsoniter.Stream)
- func WriteSkuRuleList(list []*SkuRule, stream *jsoniter.Stream)
- func WriteStringList(list []string, stream *jsoniter.Stream)
- func WriteSubscription(object *Subscription, stream *jsoniter.Stream)
- func WriteSubscriptionList(list []*Subscription, stream *jsoniter.Stream)
- func WriteSubscriptionMetrics(object *SubscriptionMetrics, stream *jsoniter.Stream)
- func WriteSubscriptionMetricsList(list []*SubscriptionMetrics, stream *jsoniter.Stream)
- func WriteSubscriptionRegistration(object *SubscriptionRegistration, stream *jsoniter.Stream)
- func WriteSubscriptionRegistrationList(list []*SubscriptionRegistration, stream *jsoniter.Stream)
- func WriteSummaryDashboard(object *SummaryDashboard, stream *jsoniter.Stream)
- func WriteSummaryDashboardList(list []*SummaryDashboard, stream *jsoniter.Stream)
- func WriteSummaryMetrics(object *SummaryMetrics, stream *jsoniter.Stream)
- func WriteSummaryMetricsList(list []*SummaryMetrics, stream *jsoniter.Stream)
- func WriteSummarySample(object *SummarySample, stream *jsoniter.Stream)
- func WriteSummarySampleList(list []*SummarySample, stream *jsoniter.Stream)
- func WriteSupportCaseRequest(object *SupportCaseRequest, stream *jsoniter.Stream)
- func WriteSupportCaseRequestList(list []*SupportCaseRequest, stream *jsoniter.Stream)
- func WriteSupportCaseResponse(object *SupportCaseResponse, stream *jsoniter.Stream)
- func WriteSupportCaseResponseList(list []*SupportCaseResponse, stream *jsoniter.Stream)
- func WriteTemplateParameter(object *TemplateParameter, stream *jsoniter.Stream)
- func WriteTemplateParameterList(list []*TemplateParameter, stream *jsoniter.Stream)
- func WriteTokenAuthorizationRequest(object *TokenAuthorizationRequest, stream *jsoniter.Stream)
- func WriteTokenAuthorizationRequestList(list []*TokenAuthorizationRequest, stream *jsoniter.Stream)
- func WriteTokenAuthorizationResponse(object *TokenAuthorizationResponse, stream *jsoniter.Stream)
- func WriteTokenAuthorizationResponseList(list []*TokenAuthorizationResponse, stream *jsoniter.Stream)
- func WriteValueUnit(object *ValueUnit, stream *jsoniter.Stream)
- func WriteValueUnitList(list []*ValueUnit, stream *jsoniter.Stream)
- type AccessToken
- type AccessTokenAuth
- func ReadAccessTokenAuth(iterator *jsoniter.Iterator) *AccessTokenAuth
- func ReadAccessTokenAuthList(iterator *jsoniter.Iterator) []*AccessTokenAuth
- func UnmarshalAccessTokenAuth(source interface{}) (object *AccessTokenAuth, err error)
- func UnmarshalAccessTokenAuthList(source interface{}) (items []*AccessTokenAuth, err error)
- type AccessTokenAuthBuilder
- func (b *AccessTokenAuthBuilder) Auth(value string) *AccessTokenAuthBuilder
- func (b *AccessTokenAuthBuilder) Build() (object *AccessTokenAuth, err error)
- func (b *AccessTokenAuthBuilder) Copy(object *AccessTokenAuth) *AccessTokenAuthBuilder
- func (b *AccessTokenAuthBuilder) Email(value string) *AccessTokenAuthBuilder
- func (b *AccessTokenAuthBuilder) Empty() bool
- type AccessTokenAuthList
- func (l *AccessTokenAuthList) Each(f func(item *AccessTokenAuth) bool)
- func (l *AccessTokenAuthList) Empty() bool
- func (l *AccessTokenAuthList) Get(i int) *AccessTokenAuth
- func (l *AccessTokenAuthList) Items() []*AccessTokenAuth
- func (l *AccessTokenAuthList) Len() int
- func (l *AccessTokenAuthList) Range(f func(index int, item *AccessTokenAuth) bool)
- func (l *AccessTokenAuthList) SetHREF(href string)
- func (l *AccessTokenAuthList) SetItems(items []*AccessTokenAuth)
- func (l *AccessTokenAuthList) SetLink(link bool)
- func (l *AccessTokenAuthList) Slice() []*AccessTokenAuth
- type AccessTokenAuthListBuilder
- func (b *AccessTokenAuthListBuilder) Build() (list *AccessTokenAuthList, err error)
- func (b *AccessTokenAuthListBuilder) Copy(list *AccessTokenAuthList) *AccessTokenAuthListBuilder
- func (b *AccessTokenAuthListBuilder) Empty() bool
- func (b *AccessTokenAuthListBuilder) Items(values ...*AccessTokenAuthBuilder) *AccessTokenAuthListBuilder
- type AccessTokenBuilder
- type AccessTokenList
- func (l *AccessTokenList) Each(f func(item *AccessToken) bool)
- func (l *AccessTokenList) Empty() bool
- func (l *AccessTokenList) Get(i int) *AccessToken
- func (l *AccessTokenList) Items() []*AccessToken
- func (l *AccessTokenList) Len() int
- func (l *AccessTokenList) Range(f func(index int, item *AccessToken) bool)
- func (l *AccessTokenList) SetHREF(href string)
- func (l *AccessTokenList) SetItems(items []*AccessToken)
- func (l *AccessTokenList) SetLink(link bool)
- func (l *AccessTokenList) Slice() []*AccessToken
- type AccessTokenListBuilder
- func (b *AccessTokenListBuilder) Build() (list *AccessTokenList, err error)
- func (b *AccessTokenListBuilder) Copy(list *AccessTokenList) *AccessTokenListBuilder
- func (b *AccessTokenListBuilder) Empty() bool
- func (b *AccessTokenListBuilder) Items(values ...*AccessTokenBuilder) *AccessTokenListBuilder
- type Account
- func (o *Account) BanCode() string
- func (o *Account) BanDescription() string
- func (o *Account) Banned() bool
- func (o *Account) Capabilities() []*Capability
- func (o *Account) CreatedAt() time.Time
- func (o *Account) Email() string
- func (o *Account) Empty() bool
- func (o *Account) FirstName() string
- func (o *Account) GetBanCode() (value string, ok bool)
- func (o *Account) GetBanDescription() (value string, ok bool)
- func (o *Account) GetBanned() (value bool, ok bool)
- func (o *Account) GetCapabilities() (value []*Capability, ok bool)
- func (o *Account) GetCreatedAt() (value time.Time, ok bool)
- func (o *Account) GetEmail() (value string, ok bool)
- func (o *Account) GetFirstName() (value string, ok bool)
- func (o *Account) GetHREF() (value string, ok bool)
- func (o *Account) GetID() (value string, ok bool)
- func (o *Account) GetLabels() (value []*Label, ok bool)
- func (o *Account) GetLastName() (value string, ok bool)
- func (o *Account) GetOrganization() (value *Organization, ok bool)
- func (o *Account) GetRhitAccountID() (value string, ok bool)
- func (o *Account) GetRhitWebUserId() (value string, ok bool)
- func (o *Account) GetServiceAccount() (value bool, ok bool)
- func (o *Account) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Account) GetUsername() (value string, ok bool)
- func (o *Account) HREF() string
- func (o *Account) ID() string
- func (o *Account) Kind() string
- func (o *Account) Labels() []*Label
- func (o *Account) LastName() string
- func (o *Account) Link() bool
- func (o *Account) Organization() *Organization
- func (o *Account) RhitAccountID() string
- func (o *Account) RhitWebUserId() string
- func (o *Account) ServiceAccount() bool
- func (o *Account) UpdatedAt() time.Time
- func (o *Account) Username() string
- type AccountBuilder
- func (b *AccountBuilder) BanCode(value string) *AccountBuilder
- func (b *AccountBuilder) BanDescription(value string) *AccountBuilder
- func (b *AccountBuilder) Banned(value bool) *AccountBuilder
- func (b *AccountBuilder) Build() (object *Account, err error)
- func (b *AccountBuilder) Capabilities(values ...*CapabilityBuilder) *AccountBuilder
- func (b *AccountBuilder) Copy(object *Account) *AccountBuilder
- func (b *AccountBuilder) CreatedAt(value time.Time) *AccountBuilder
- func (b *AccountBuilder) Email(value string) *AccountBuilder
- func (b *AccountBuilder) Empty() bool
- func (b *AccountBuilder) FirstName(value string) *AccountBuilder
- func (b *AccountBuilder) HREF(value string) *AccountBuilder
- func (b *AccountBuilder) ID(value string) *AccountBuilder
- func (b *AccountBuilder) Labels(values ...*LabelBuilder) *AccountBuilder
- func (b *AccountBuilder) LastName(value string) *AccountBuilder
- func (b *AccountBuilder) Link(value bool) *AccountBuilder
- func (b *AccountBuilder) Organization(value *OrganizationBuilder) *AccountBuilder
- func (b *AccountBuilder) RhitAccountID(value string) *AccountBuilder
- func (b *AccountBuilder) RhitWebUserId(value string) *AccountBuilder
- func (b *AccountBuilder) ServiceAccount(value bool) *AccountBuilder
- func (b *AccountBuilder) UpdatedAt(value time.Time) *AccountBuilder
- func (b *AccountBuilder) Username(value string) *AccountBuilder
- type AccountList
- func (l *AccountList) Each(f func(item *Account) bool)
- func (l *AccountList) Empty() bool
- func (l *AccountList) Get(i int) *Account
- func (l *AccountList) GetHREF() (value string, ok bool)
- func (l *AccountList) HREF() string
- func (l *AccountList) Items() []*Account
- func (l *AccountList) Kind() string
- func (l *AccountList) Len() int
- func (l *AccountList) Link() bool
- func (l *AccountList) Range(f func(index int, item *Account) bool)
- func (l *AccountList) SetHREF(href string)
- func (l *AccountList) SetItems(items []*Account)
- func (l *AccountList) SetLink(link bool)
- func (l *AccountList) Slice() []*Account
- type AccountListBuilder
- type Action
- type BillingModel
- type BillingModelItem
- func ReadBillingModelItem(iterator *jsoniter.Iterator) *BillingModelItem
- func ReadBillingModelItemList(iterator *jsoniter.Iterator) []*BillingModelItem
- func UnmarshalBillingModelItem(source interface{}) (object *BillingModelItem, err error)
- func UnmarshalBillingModelItemList(source interface{}) (items []*BillingModelItem, err error)
- func (o *BillingModelItem) BillingModelType() string
- func (o *BillingModelItem) Description() string
- func (o *BillingModelItem) DisplayName() string
- func (o *BillingModelItem) Empty() bool
- func (o *BillingModelItem) GetBillingModelType() (value string, ok bool)
- func (o *BillingModelItem) GetDescription() (value string, ok bool)
- func (o *BillingModelItem) GetDisplayName() (value string, ok bool)
- func (o *BillingModelItem) GetHREF() (value string, ok bool)
- func (o *BillingModelItem) GetID() (value string, ok bool)
- func (o *BillingModelItem) GetMarketplace() (value string, ok bool)
- func (o *BillingModelItem) HREF() string
- func (o *BillingModelItem) ID() string
- func (o *BillingModelItem) Kind() string
- func (o *BillingModelItem) Link() bool
- func (o *BillingModelItem) Marketplace() string
- type BillingModelItemBuilder
- func (b *BillingModelItemBuilder) BillingModelType(value string) *BillingModelItemBuilder
- func (b *BillingModelItemBuilder) Build() (object *BillingModelItem, err error)
- func (b *BillingModelItemBuilder) Copy(object *BillingModelItem) *BillingModelItemBuilder
- func (b *BillingModelItemBuilder) Description(value string) *BillingModelItemBuilder
- func (b *BillingModelItemBuilder) DisplayName(value string) *BillingModelItemBuilder
- func (b *BillingModelItemBuilder) Empty() bool
- func (b *BillingModelItemBuilder) HREF(value string) *BillingModelItemBuilder
- func (b *BillingModelItemBuilder) ID(value string) *BillingModelItemBuilder
- func (b *BillingModelItemBuilder) Link(value bool) *BillingModelItemBuilder
- func (b *BillingModelItemBuilder) Marketplace(value string) *BillingModelItemBuilder
- type BillingModelItemList
- func (l *BillingModelItemList) Each(f func(item *BillingModelItem) bool)
- func (l *BillingModelItemList) Empty() bool
- func (l *BillingModelItemList) Get(i int) *BillingModelItem
- func (l *BillingModelItemList) GetHREF() (value string, ok bool)
- func (l *BillingModelItemList) HREF() string
- func (l *BillingModelItemList) Items() []*BillingModelItem
- func (l *BillingModelItemList) Kind() string
- func (l *BillingModelItemList) Len() int
- func (l *BillingModelItemList) Link() bool
- func (l *BillingModelItemList) Range(f func(index int, item *BillingModelItem) bool)
- func (l *BillingModelItemList) SetHREF(href string)
- func (l *BillingModelItemList) SetItems(items []*BillingModelItem)
- func (l *BillingModelItemList) SetLink(link bool)
- func (l *BillingModelItemList) Slice() []*BillingModelItem
- type BillingModelItemListBuilder
- func (b *BillingModelItemListBuilder) Build() (list *BillingModelItemList, err error)
- func (b *BillingModelItemListBuilder) Copy(list *BillingModelItemList) *BillingModelItemListBuilder
- func (b *BillingModelItemListBuilder) Empty() bool
- func (b *BillingModelItemListBuilder) Items(values ...*BillingModelItemBuilder) *BillingModelItemListBuilder
- type Capability
- func (o *Capability) Empty() bool
- func (o *Capability) GetInherited() (value bool, ok bool)
- func (o *Capability) GetName() (value string, ok bool)
- func (o *Capability) GetValue() (value string, ok bool)
- func (o *Capability) Inherited() bool
- func (o *Capability) Name() string
- func (o *Capability) Value() string
- type CapabilityBuilder
- func (b *CapabilityBuilder) Build() (object *Capability, err error)
- func (b *CapabilityBuilder) Copy(object *Capability) *CapabilityBuilder
- func (b *CapabilityBuilder) Empty() bool
- func (b *CapabilityBuilder) Inherited(value bool) *CapabilityBuilder
- func (b *CapabilityBuilder) Name(value string) *CapabilityBuilder
- func (b *CapabilityBuilder) Value(value string) *CapabilityBuilder
- type CapabilityList
- func (l *CapabilityList) Each(f func(item *Capability) bool)
- func (l *CapabilityList) Empty() bool
- func (l *CapabilityList) Get(i int) *Capability
- func (l *CapabilityList) Items() []*Capability
- func (l *CapabilityList) Len() int
- func (l *CapabilityList) Range(f func(index int, item *Capability) bool)
- func (l *CapabilityList) SetHREF(href string)
- func (l *CapabilityList) SetItems(items []*Capability)
- func (l *CapabilityList) SetLink(link bool)
- func (l *CapabilityList) Slice() []*Capability
- type CapabilityListBuilder
- type CloudAccount
- func ReadCloudAccount(iterator *jsoniter.Iterator) *CloudAccount
- func ReadCloudAccountList(iterator *jsoniter.Iterator) []*CloudAccount
- func UnmarshalCloudAccount(source interface{}) (object *CloudAccount, err error)
- func UnmarshalCloudAccountList(source interface{}) (items []*CloudAccount, err error)
- func (o *CloudAccount) CloudAccountID() string
- func (o *CloudAccount) CloudProviderID() string
- func (o *CloudAccount) Contracts() []*Contract
- func (o *CloudAccount) Empty() bool
- func (o *CloudAccount) GetCloudAccountID() (value string, ok bool)
- func (o *CloudAccount) GetCloudProviderID() (value string, ok bool)
- func (o *CloudAccount) GetContracts() (value []*Contract, ok bool)
- type CloudAccountBuilder
- func (b *CloudAccountBuilder) Build() (object *CloudAccount, err error)
- func (b *CloudAccountBuilder) CloudAccountID(value string) *CloudAccountBuilder
- func (b *CloudAccountBuilder) CloudProviderID(value string) *CloudAccountBuilder
- func (b *CloudAccountBuilder) Contracts(values ...*ContractBuilder) *CloudAccountBuilder
- func (b *CloudAccountBuilder) Copy(object *CloudAccount) *CloudAccountBuilder
- func (b *CloudAccountBuilder) Empty() bool
- type CloudAccountList
- func (l *CloudAccountList) Each(f func(item *CloudAccount) bool)
- func (l *CloudAccountList) Empty() bool
- func (l *CloudAccountList) Get(i int) *CloudAccount
- func (l *CloudAccountList) Items() []*CloudAccount
- func (l *CloudAccountList) Len() int
- func (l *CloudAccountList) Range(f func(index int, item *CloudAccount) bool)
- func (l *CloudAccountList) SetHREF(href string)
- func (l *CloudAccountList) SetItems(items []*CloudAccount)
- func (l *CloudAccountList) SetLink(link bool)
- func (l *CloudAccountList) Slice() []*CloudAccount
- type CloudAccountListBuilder
- func (b *CloudAccountListBuilder) Build() (list *CloudAccountList, err error)
- func (b *CloudAccountListBuilder) Copy(list *CloudAccountList) *CloudAccountListBuilder
- func (b *CloudAccountListBuilder) Empty() bool
- func (b *CloudAccountListBuilder) Items(values ...*CloudAccountBuilder) *CloudAccountListBuilder
- type CloudResource
- func ReadCloudResource(iterator *jsoniter.Iterator) *CloudResource
- func ReadCloudResourceList(iterator *jsoniter.Iterator) []*CloudResource
- func UnmarshalCloudResource(source interface{}) (object *CloudResource, err error)
- func UnmarshalCloudResourceList(source interface{}) (items []*CloudResource, err error)
- func (o *CloudResource) Active() bool
- func (o *CloudResource) Category() string
- func (o *CloudResource) CategoryPretty() string
- func (o *CloudResource) CloudProvider() string
- func (o *CloudResource) CpuCores() int
- func (o *CloudResource) CreatedAt() time.Time
- func (o *CloudResource) Empty() bool
- func (o *CloudResource) GenericName() string
- func (o *CloudResource) GetActive() (value bool, ok bool)
- func (o *CloudResource) GetCategory() (value string, ok bool)
- func (o *CloudResource) GetCategoryPretty() (value string, ok bool)
- func (o *CloudResource) GetCloudProvider() (value string, ok bool)
- func (o *CloudResource) GetCpuCores() (value int, ok bool)
- func (o *CloudResource) GetCreatedAt() (value time.Time, ok bool)
- func (o *CloudResource) GetGenericName() (value string, ok bool)
- func (o *CloudResource) GetHREF() (value string, ok bool)
- func (o *CloudResource) GetID() (value string, ok bool)
- func (o *CloudResource) GetMemory() (value int, ok bool)
- func (o *CloudResource) GetMemoryPretty() (value string, ok bool)
- func (o *CloudResource) GetNamePretty() (value string, ok bool)
- func (o *CloudResource) GetResourceType() (value string, ok bool)
- func (o *CloudResource) GetSizePretty() (value string, ok bool)
- func (o *CloudResource) GetUpdatedAt() (value time.Time, ok bool)
- func (o *CloudResource) HREF() string
- func (o *CloudResource) ID() string
- func (o *CloudResource) Kind() string
- func (o *CloudResource) Link() bool
- func (o *CloudResource) Memory() int
- func (o *CloudResource) MemoryPretty() string
- func (o *CloudResource) NamePretty() string
- func (o *CloudResource) ResourceType() string
- func (o *CloudResource) SizePretty() string
- func (o *CloudResource) UpdatedAt() time.Time
- type CloudResourceBuilder
- func (b *CloudResourceBuilder) Active(value bool) *CloudResourceBuilder
- func (b *CloudResourceBuilder) Build() (object *CloudResource, err error)
- func (b *CloudResourceBuilder) Category(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) CategoryPretty(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) CloudProvider(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) Copy(object *CloudResource) *CloudResourceBuilder
- func (b *CloudResourceBuilder) CpuCores(value int) *CloudResourceBuilder
- func (b *CloudResourceBuilder) CreatedAt(value time.Time) *CloudResourceBuilder
- func (b *CloudResourceBuilder) Empty() bool
- func (b *CloudResourceBuilder) GenericName(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) HREF(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) ID(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) Link(value bool) *CloudResourceBuilder
- func (b *CloudResourceBuilder) Memory(value int) *CloudResourceBuilder
- func (b *CloudResourceBuilder) MemoryPretty(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) NamePretty(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) ResourceType(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) SizePretty(value string) *CloudResourceBuilder
- func (b *CloudResourceBuilder) UpdatedAt(value time.Time) *CloudResourceBuilder
- type CloudResourceList
- func (l *CloudResourceList) Each(f func(item *CloudResource) bool)
- func (l *CloudResourceList) Empty() bool
- func (l *CloudResourceList) Get(i int) *CloudResource
- func (l *CloudResourceList) GetHREF() (value string, ok bool)
- func (l *CloudResourceList) HREF() string
- func (l *CloudResourceList) Items() []*CloudResource
- func (l *CloudResourceList) Kind() string
- func (l *CloudResourceList) Len() int
- func (l *CloudResourceList) Link() bool
- func (l *CloudResourceList) Range(f func(index int, item *CloudResource) bool)
- func (l *CloudResourceList) SetHREF(href string)
- func (l *CloudResourceList) SetItems(items []*CloudResource)
- func (l *CloudResourceList) SetLink(link bool)
- func (l *CloudResourceList) Slice() []*CloudResource
- type CloudResourceListBuilder
- func (b *CloudResourceListBuilder) Build() (list *CloudResourceList, err error)
- func (b *CloudResourceListBuilder) Copy(list *CloudResourceList) *CloudResourceListBuilder
- func (b *CloudResourceListBuilder) Empty() bool
- func (b *CloudResourceListBuilder) Items(values ...*CloudResourceBuilder) *CloudResourceListBuilder
- type ClusterAuthorizationRequest
- func ReadClusterAuthorizationRequest(iterator *jsoniter.Iterator) *ClusterAuthorizationRequest
- func ReadClusterAuthorizationRequestList(iterator *jsoniter.Iterator) []*ClusterAuthorizationRequest
- func UnmarshalClusterAuthorizationRequest(source interface{}) (object *ClusterAuthorizationRequest, err error)
- func UnmarshalClusterAuthorizationRequestList(source interface{}) (items []*ClusterAuthorizationRequest, err error)
- func (o *ClusterAuthorizationRequest) AccountUsername() string
- func (o *ClusterAuthorizationRequest) AvailabilityZone() string
- func (o *ClusterAuthorizationRequest) BYOC() bool
- func (o *ClusterAuthorizationRequest) CloudAccountID() string
- func (o *ClusterAuthorizationRequest) CloudProviderID() string
- func (o *ClusterAuthorizationRequest) ClusterID() string
- func (o *ClusterAuthorizationRequest) Disconnected() bool
- func (o *ClusterAuthorizationRequest) DisplayName() string
- func (o *ClusterAuthorizationRequest) Empty() bool
- func (o *ClusterAuthorizationRequest) ExternalClusterID() string
- func (o *ClusterAuthorizationRequest) GetAccountUsername() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetAvailabilityZone() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetBYOC() (value bool, ok bool)
- func (o *ClusterAuthorizationRequest) GetCloudAccountID() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetCloudProviderID() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetClusterID() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetDisconnected() (value bool, ok bool)
- func (o *ClusterAuthorizationRequest) GetDisplayName() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetExternalClusterID() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetManaged() (value bool, ok bool)
- func (o *ClusterAuthorizationRequest) GetProductCategory() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetProductID() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetQuotaVersion() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetReserve() (value bool, ok bool)
- func (o *ClusterAuthorizationRequest) GetResources() (value []*ReservedResource, ok bool)
- func (o *ClusterAuthorizationRequest) GetRhRegionID() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetScope() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) Managed() bool
- func (o *ClusterAuthorizationRequest) ProductCategory() string
- func (o *ClusterAuthorizationRequest) ProductID() string
- func (o *ClusterAuthorizationRequest) QuotaVersion() string
- func (o *ClusterAuthorizationRequest) Reserve() bool
- func (o *ClusterAuthorizationRequest) Resources() []*ReservedResource
- func (o *ClusterAuthorizationRequest) RhRegionID() string
- func (o *ClusterAuthorizationRequest) Scope() string
- type ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) AccountUsername(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) AvailabilityZone(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) BYOC(value bool) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Build() (object *ClusterAuthorizationRequest, err error)
- func (b *ClusterAuthorizationRequestBuilder) CloudAccountID(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) CloudProviderID(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) ClusterID(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Copy(object *ClusterAuthorizationRequest) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Disconnected(value bool) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) DisplayName(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Empty() bool
- func (b *ClusterAuthorizationRequestBuilder) ExternalClusterID(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Managed(value bool) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) ProductCategory(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) ProductID(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) QuotaVersion(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Reserve(value bool) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Resources(values ...*ReservedResourceBuilder) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) RhRegionID(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Scope(value string) *ClusterAuthorizationRequestBuilder
- type ClusterAuthorizationRequestList
- func (l *ClusterAuthorizationRequestList) Each(f func(item *ClusterAuthorizationRequest) bool)
- func (l *ClusterAuthorizationRequestList) Empty() bool
- func (l *ClusterAuthorizationRequestList) Get(i int) *ClusterAuthorizationRequest
- func (l *ClusterAuthorizationRequestList) Items() []*ClusterAuthorizationRequest
- func (l *ClusterAuthorizationRequestList) Len() int
- func (l *ClusterAuthorizationRequestList) Range(f func(index int, item *ClusterAuthorizationRequest) bool)
- func (l *ClusterAuthorizationRequestList) SetHREF(href string)
- func (l *ClusterAuthorizationRequestList) SetItems(items []*ClusterAuthorizationRequest)
- func (l *ClusterAuthorizationRequestList) SetLink(link bool)
- func (l *ClusterAuthorizationRequestList) Slice() []*ClusterAuthorizationRequest
- type ClusterAuthorizationRequestListBuilder
- func (b *ClusterAuthorizationRequestListBuilder) Build() (list *ClusterAuthorizationRequestList, err error)
- func (b *ClusterAuthorizationRequestListBuilder) Copy(list *ClusterAuthorizationRequestList) *ClusterAuthorizationRequestListBuilder
- func (b *ClusterAuthorizationRequestListBuilder) Empty() bool
- func (b *ClusterAuthorizationRequestListBuilder) Items(values ...*ClusterAuthorizationRequestBuilder) *ClusterAuthorizationRequestListBuilder
- type ClusterAuthorizationResponse
- func ReadClusterAuthorizationResponse(iterator *jsoniter.Iterator) *ClusterAuthorizationResponse
- func ReadClusterAuthorizationResponseList(iterator *jsoniter.Iterator) []*ClusterAuthorizationResponse
- func UnmarshalClusterAuthorizationResponse(source interface{}) (object *ClusterAuthorizationResponse, err error)
- func UnmarshalClusterAuthorizationResponseList(source interface{}) (items []*ClusterAuthorizationResponse, err error)
- func (o *ClusterAuthorizationResponse) Allowed() bool
- func (o *ClusterAuthorizationResponse) Empty() bool
- func (o *ClusterAuthorizationResponse) ExcessResources() []*ReservedResource
- func (o *ClusterAuthorizationResponse) GetAllowed() (value bool, ok bool)
- func (o *ClusterAuthorizationResponse) GetExcessResources() (value []*ReservedResource, ok bool)
- func (o *ClusterAuthorizationResponse) GetSubscription() (value *Subscription, ok bool)
- func (o *ClusterAuthorizationResponse) Subscription() *Subscription
- type ClusterAuthorizationResponseBuilder
- func (b *ClusterAuthorizationResponseBuilder) Allowed(value bool) *ClusterAuthorizationResponseBuilder
- func (b *ClusterAuthorizationResponseBuilder) Build() (object *ClusterAuthorizationResponse, err error)
- func (b *ClusterAuthorizationResponseBuilder) Copy(object *ClusterAuthorizationResponse) *ClusterAuthorizationResponseBuilder
- func (b *ClusterAuthorizationResponseBuilder) Empty() bool
- func (b *ClusterAuthorizationResponseBuilder) ExcessResources(values ...*ReservedResourceBuilder) *ClusterAuthorizationResponseBuilder
- func (b *ClusterAuthorizationResponseBuilder) Subscription(value *SubscriptionBuilder) *ClusterAuthorizationResponseBuilder
- type ClusterAuthorizationResponseList
- func (l *ClusterAuthorizationResponseList) Each(f func(item *ClusterAuthorizationResponse) bool)
- func (l *ClusterAuthorizationResponseList) Empty() bool
- func (l *ClusterAuthorizationResponseList) Get(i int) *ClusterAuthorizationResponse
- func (l *ClusterAuthorizationResponseList) Items() []*ClusterAuthorizationResponse
- func (l *ClusterAuthorizationResponseList) Len() int
- func (l *ClusterAuthorizationResponseList) Range(f func(index int, item *ClusterAuthorizationResponse) bool)
- func (l *ClusterAuthorizationResponseList) SetHREF(href string)
- func (l *ClusterAuthorizationResponseList) SetItems(items []*ClusterAuthorizationResponse)
- func (l *ClusterAuthorizationResponseList) SetLink(link bool)
- func (l *ClusterAuthorizationResponseList) Slice() []*ClusterAuthorizationResponse
- type ClusterAuthorizationResponseListBuilder
- func (b *ClusterAuthorizationResponseListBuilder) Build() (list *ClusterAuthorizationResponseList, err error)
- func (b *ClusterAuthorizationResponseListBuilder) Copy(list *ClusterAuthorizationResponseList) *ClusterAuthorizationResponseListBuilder
- func (b *ClusterAuthorizationResponseListBuilder) Empty() bool
- func (b *ClusterAuthorizationResponseListBuilder) Items(values ...*ClusterAuthorizationResponseBuilder) *ClusterAuthorizationResponseListBuilder
- type ClusterMetricsNodes
- func ReadClusterMetricsNodes(iterator *jsoniter.Iterator) *ClusterMetricsNodes
- func ReadClusterMetricsNodesList(iterator *jsoniter.Iterator) []*ClusterMetricsNodes
- func UnmarshalClusterMetricsNodes(source interface{}) (object *ClusterMetricsNodes, err error)
- func UnmarshalClusterMetricsNodesList(source interface{}) (items []*ClusterMetricsNodes, err error)
- func (o *ClusterMetricsNodes) Compute() float64
- func (o *ClusterMetricsNodes) Empty() bool
- func (o *ClusterMetricsNodes) GetCompute() (value float64, ok bool)
- func (o *ClusterMetricsNodes) GetInfra() (value float64, ok bool)
- func (o *ClusterMetricsNodes) GetMaster() (value float64, ok bool)
- func (o *ClusterMetricsNodes) GetTotal() (value float64, ok bool)
- func (o *ClusterMetricsNodes) Infra() float64
- func (o *ClusterMetricsNodes) Master() float64
- func (o *ClusterMetricsNodes) Total() float64
- type ClusterMetricsNodesBuilder
- func (b *ClusterMetricsNodesBuilder) Build() (object *ClusterMetricsNodes, err error)
- func (b *ClusterMetricsNodesBuilder) Compute(value float64) *ClusterMetricsNodesBuilder
- func (b *ClusterMetricsNodesBuilder) Copy(object *ClusterMetricsNodes) *ClusterMetricsNodesBuilder
- func (b *ClusterMetricsNodesBuilder) Empty() bool
- func (b *ClusterMetricsNodesBuilder) Infra(value float64) *ClusterMetricsNodesBuilder
- func (b *ClusterMetricsNodesBuilder) Master(value float64) *ClusterMetricsNodesBuilder
- func (b *ClusterMetricsNodesBuilder) Total(value float64) *ClusterMetricsNodesBuilder
- type ClusterMetricsNodesList
- func (l *ClusterMetricsNodesList) Each(f func(item *ClusterMetricsNodes) bool)
- func (l *ClusterMetricsNodesList) Empty() bool
- func (l *ClusterMetricsNodesList) Get(i int) *ClusterMetricsNodes
- func (l *ClusterMetricsNodesList) Items() []*ClusterMetricsNodes
- func (l *ClusterMetricsNodesList) Len() int
- func (l *ClusterMetricsNodesList) Range(f func(index int, item *ClusterMetricsNodes) bool)
- func (l *ClusterMetricsNodesList) SetHREF(href string)
- func (l *ClusterMetricsNodesList) SetItems(items []*ClusterMetricsNodes)
- func (l *ClusterMetricsNodesList) SetLink(link bool)
- func (l *ClusterMetricsNodesList) Slice() []*ClusterMetricsNodes
- type ClusterMetricsNodesListBuilder
- func (b *ClusterMetricsNodesListBuilder) Build() (list *ClusterMetricsNodesList, err error)
- func (b *ClusterMetricsNodesListBuilder) Copy(list *ClusterMetricsNodesList) *ClusterMetricsNodesListBuilder
- func (b *ClusterMetricsNodesListBuilder) Empty() bool
- func (b *ClusterMetricsNodesListBuilder) Items(values ...*ClusterMetricsNodesBuilder) *ClusterMetricsNodesListBuilder
- type ClusterRegistrationRequest
- func ReadClusterRegistrationRequest(iterator *jsoniter.Iterator) *ClusterRegistrationRequest
- func ReadClusterRegistrationRequestList(iterator *jsoniter.Iterator) []*ClusterRegistrationRequest
- func UnmarshalClusterRegistrationRequest(source interface{}) (object *ClusterRegistrationRequest, err error)
- func UnmarshalClusterRegistrationRequestList(source interface{}) (items []*ClusterRegistrationRequest, err error)
- func (o *ClusterRegistrationRequest) AuthorizationToken() string
- func (o *ClusterRegistrationRequest) ClusterID() string
- func (o *ClusterRegistrationRequest) Empty() bool
- func (o *ClusterRegistrationRequest) GetAuthorizationToken() (value string, ok bool)
- func (o *ClusterRegistrationRequest) GetClusterID() (value string, ok bool)
- type ClusterRegistrationRequestBuilder
- func (b *ClusterRegistrationRequestBuilder) AuthorizationToken(value string) *ClusterRegistrationRequestBuilder
- func (b *ClusterRegistrationRequestBuilder) Build() (object *ClusterRegistrationRequest, err error)
- func (b *ClusterRegistrationRequestBuilder) ClusterID(value string) *ClusterRegistrationRequestBuilder
- func (b *ClusterRegistrationRequestBuilder) Copy(object *ClusterRegistrationRequest) *ClusterRegistrationRequestBuilder
- func (b *ClusterRegistrationRequestBuilder) Empty() bool
- type ClusterRegistrationRequestList
- func (l *ClusterRegistrationRequestList) Each(f func(item *ClusterRegistrationRequest) bool)
- func (l *ClusterRegistrationRequestList) Empty() bool
- func (l *ClusterRegistrationRequestList) Get(i int) *ClusterRegistrationRequest
- func (l *ClusterRegistrationRequestList) Items() []*ClusterRegistrationRequest
- func (l *ClusterRegistrationRequestList) Len() int
- func (l *ClusterRegistrationRequestList) Range(f func(index int, item *ClusterRegistrationRequest) bool)
- func (l *ClusterRegistrationRequestList) SetHREF(href string)
- func (l *ClusterRegistrationRequestList) SetItems(items []*ClusterRegistrationRequest)
- func (l *ClusterRegistrationRequestList) SetLink(link bool)
- func (l *ClusterRegistrationRequestList) Slice() []*ClusterRegistrationRequest
- type ClusterRegistrationRequestListBuilder
- func (b *ClusterRegistrationRequestListBuilder) Build() (list *ClusterRegistrationRequestList, err error)
- func (b *ClusterRegistrationRequestListBuilder) Copy(list *ClusterRegistrationRequestList) *ClusterRegistrationRequestListBuilder
- func (b *ClusterRegistrationRequestListBuilder) Empty() bool
- func (b *ClusterRegistrationRequestListBuilder) Items(values ...*ClusterRegistrationRequestBuilder) *ClusterRegistrationRequestListBuilder
- type ClusterRegistrationResponse
- func ReadClusterRegistrationResponse(iterator *jsoniter.Iterator) *ClusterRegistrationResponse
- func ReadClusterRegistrationResponseList(iterator *jsoniter.Iterator) []*ClusterRegistrationResponse
- func UnmarshalClusterRegistrationResponse(source interface{}) (object *ClusterRegistrationResponse, err error)
- func UnmarshalClusterRegistrationResponseList(source interface{}) (items []*ClusterRegistrationResponse, err error)
- func (o *ClusterRegistrationResponse) AccountID() string
- func (o *ClusterRegistrationResponse) AuthorizationToken() string
- func (o *ClusterRegistrationResponse) ClusterID() string
- func (o *ClusterRegistrationResponse) Empty() bool
- func (o *ClusterRegistrationResponse) ExpiresAt() string
- func (o *ClusterRegistrationResponse) GetAccountID() (value string, ok bool)
- func (o *ClusterRegistrationResponse) GetAuthorizationToken() (value string, ok bool)
- func (o *ClusterRegistrationResponse) GetClusterID() (value string, ok bool)
- func (o *ClusterRegistrationResponse) GetExpiresAt() (value string, ok bool)
- type ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) AccountID(value string) *ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) AuthorizationToken(value string) *ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) Build() (object *ClusterRegistrationResponse, err error)
- func (b *ClusterRegistrationResponseBuilder) ClusterID(value string) *ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) Copy(object *ClusterRegistrationResponse) *ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) Empty() bool
- func (b *ClusterRegistrationResponseBuilder) ExpiresAt(value string) *ClusterRegistrationResponseBuilder
- type ClusterRegistrationResponseList
- func (l *ClusterRegistrationResponseList) Each(f func(item *ClusterRegistrationResponse) bool)
- func (l *ClusterRegistrationResponseList) Empty() bool
- func (l *ClusterRegistrationResponseList) Get(i int) *ClusterRegistrationResponse
- func (l *ClusterRegistrationResponseList) Items() []*ClusterRegistrationResponse
- func (l *ClusterRegistrationResponseList) Len() int
- func (l *ClusterRegistrationResponseList) Range(f func(index int, item *ClusterRegistrationResponse) bool)
- func (l *ClusterRegistrationResponseList) SetHREF(href string)
- func (l *ClusterRegistrationResponseList) SetItems(items []*ClusterRegistrationResponse)
- func (l *ClusterRegistrationResponseList) SetLink(link bool)
- func (l *ClusterRegistrationResponseList) Slice() []*ClusterRegistrationResponse
- type ClusterRegistrationResponseListBuilder
- func (b *ClusterRegistrationResponseListBuilder) Build() (list *ClusterRegistrationResponseList, err error)
- func (b *ClusterRegistrationResponseListBuilder) Copy(list *ClusterRegistrationResponseList) *ClusterRegistrationResponseListBuilder
- func (b *ClusterRegistrationResponseListBuilder) Empty() bool
- func (b *ClusterRegistrationResponseListBuilder) Items(values ...*ClusterRegistrationResponseBuilder) *ClusterRegistrationResponseListBuilder
- type ClusterResource
- func ReadClusterResource(iterator *jsoniter.Iterator) *ClusterResource
- func ReadClusterResourceList(iterator *jsoniter.Iterator) []*ClusterResource
- func UnmarshalClusterResource(source interface{}) (object *ClusterResource, err error)
- func UnmarshalClusterResourceList(source interface{}) (items []*ClusterResource, err error)
- func (o *ClusterResource) Empty() bool
- func (o *ClusterResource) GetTotal() (value *ValueUnit, ok bool)
- func (o *ClusterResource) GetUpdatedTimestamp() (value time.Time, ok bool)
- func (o *ClusterResource) GetUsed() (value *ValueUnit, ok bool)
- func (o *ClusterResource) Total() *ValueUnit
- func (o *ClusterResource) UpdatedTimestamp() time.Time
- func (o *ClusterResource) Used() *ValueUnit
- type ClusterResourceBuilder
- func (b *ClusterResourceBuilder) Build() (object *ClusterResource, err error)
- func (b *ClusterResourceBuilder) Copy(object *ClusterResource) *ClusterResourceBuilder
- func (b *ClusterResourceBuilder) Empty() bool
- func (b *ClusterResourceBuilder) Total(value *ValueUnitBuilder) *ClusterResourceBuilder
- func (b *ClusterResourceBuilder) UpdatedTimestamp(value time.Time) *ClusterResourceBuilder
- func (b *ClusterResourceBuilder) Used(value *ValueUnitBuilder) *ClusterResourceBuilder
- type ClusterResourceList
- func (l *ClusterResourceList) Each(f func(item *ClusterResource) bool)
- func (l *ClusterResourceList) Empty() bool
- func (l *ClusterResourceList) Get(i int) *ClusterResource
- func (l *ClusterResourceList) Items() []*ClusterResource
- func (l *ClusterResourceList) Len() int
- func (l *ClusterResourceList) Range(f func(index int, item *ClusterResource) bool)
- func (l *ClusterResourceList) SetHREF(href string)
- func (l *ClusterResourceList) SetItems(items []*ClusterResource)
- func (l *ClusterResourceList) SetLink(link bool)
- func (l *ClusterResourceList) Slice() []*ClusterResource
- type ClusterResourceListBuilder
- func (b *ClusterResourceListBuilder) Build() (list *ClusterResourceList, err error)
- func (b *ClusterResourceListBuilder) Copy(list *ClusterResourceList) *ClusterResourceListBuilder
- func (b *ClusterResourceListBuilder) Empty() bool
- func (b *ClusterResourceListBuilder) Items(values ...*ClusterResourceBuilder) *ClusterResourceListBuilder
- type ClusterUpgrade
- func ReadClusterUpgrade(iterator *jsoniter.Iterator) *ClusterUpgrade
- func ReadClusterUpgradeList(iterator *jsoniter.Iterator) []*ClusterUpgrade
- func UnmarshalClusterUpgrade(source interface{}) (object *ClusterUpgrade, err error)
- func UnmarshalClusterUpgradeList(source interface{}) (items []*ClusterUpgrade, err error)
- func (o *ClusterUpgrade) Available() bool
- func (o *ClusterUpgrade) Empty() bool
- func (o *ClusterUpgrade) GetAvailable() (value bool, ok bool)
- func (o *ClusterUpgrade) GetState() (value string, ok bool)
- func (o *ClusterUpgrade) GetUpdatedTimestamp() (value time.Time, ok bool)
- func (o *ClusterUpgrade) GetVersion() (value string, ok bool)
- func (o *ClusterUpgrade) State() string
- func (o *ClusterUpgrade) UpdatedTimestamp() time.Time
- func (o *ClusterUpgrade) Version() string
- type ClusterUpgradeBuilder
- func (b *ClusterUpgradeBuilder) Available(value bool) *ClusterUpgradeBuilder
- func (b *ClusterUpgradeBuilder) Build() (object *ClusterUpgrade, err error)
- func (b *ClusterUpgradeBuilder) Copy(object *ClusterUpgrade) *ClusterUpgradeBuilder
- func (b *ClusterUpgradeBuilder) Empty() bool
- func (b *ClusterUpgradeBuilder) State(value string) *ClusterUpgradeBuilder
- func (b *ClusterUpgradeBuilder) UpdatedTimestamp(value time.Time) *ClusterUpgradeBuilder
- func (b *ClusterUpgradeBuilder) Version(value string) *ClusterUpgradeBuilder
- type ClusterUpgradeList
- func (l *ClusterUpgradeList) Each(f func(item *ClusterUpgrade) bool)
- func (l *ClusterUpgradeList) Empty() bool
- func (l *ClusterUpgradeList) Get(i int) *ClusterUpgrade
- func (l *ClusterUpgradeList) Items() []*ClusterUpgrade
- func (l *ClusterUpgradeList) Len() int
- func (l *ClusterUpgradeList) Range(f func(index int, item *ClusterUpgrade) bool)
- func (l *ClusterUpgradeList) SetHREF(href string)
- func (l *ClusterUpgradeList) SetItems(items []*ClusterUpgrade)
- func (l *ClusterUpgradeList) SetLink(link bool)
- func (l *ClusterUpgradeList) Slice() []*ClusterUpgrade
- type ClusterUpgradeListBuilder
- func (b *ClusterUpgradeListBuilder) Build() (list *ClusterUpgradeList, err error)
- func (b *ClusterUpgradeListBuilder) Copy(list *ClusterUpgradeList) *ClusterUpgradeListBuilder
- func (b *ClusterUpgradeListBuilder) Empty() bool
- func (b *ClusterUpgradeListBuilder) Items(values ...*ClusterUpgradeBuilder) *ClusterUpgradeListBuilder
- type Contract
- func (o *Contract) Dimensions() []*ContractDimension
- func (o *Contract) Empty() bool
- func (o *Contract) EndDate() time.Time
- func (o *Contract) GetDimensions() (value []*ContractDimension, ok bool)
- func (o *Contract) GetEndDate() (value time.Time, ok bool)
- func (o *Contract) GetStartDate() (value time.Time, ok bool)
- func (o *Contract) StartDate() time.Time
- type ContractBuilder
- func (b *ContractBuilder) Build() (object *Contract, err error)
- func (b *ContractBuilder) Copy(object *Contract) *ContractBuilder
- func (b *ContractBuilder) Dimensions(values ...*ContractDimensionBuilder) *ContractBuilder
- func (b *ContractBuilder) Empty() bool
- func (b *ContractBuilder) EndDate(value time.Time) *ContractBuilder
- func (b *ContractBuilder) StartDate(value time.Time) *ContractBuilder
- type ContractDimension
- func ReadContractDimension(iterator *jsoniter.Iterator) *ContractDimension
- func ReadContractDimensionList(iterator *jsoniter.Iterator) []*ContractDimension
- func UnmarshalContractDimension(source interface{}) (object *ContractDimension, err error)
- func UnmarshalContractDimensionList(source interface{}) (items []*ContractDimension, err error)
- type ContractDimensionBuilder
- func (b *ContractDimensionBuilder) Build() (object *ContractDimension, err error)
- func (b *ContractDimensionBuilder) Copy(object *ContractDimension) *ContractDimensionBuilder
- func (b *ContractDimensionBuilder) Empty() bool
- func (b *ContractDimensionBuilder) Name(value string) *ContractDimensionBuilder
- func (b *ContractDimensionBuilder) Value(value string) *ContractDimensionBuilder
- type ContractDimensionList
- func (l *ContractDimensionList) Each(f func(item *ContractDimension) bool)
- func (l *ContractDimensionList) Empty() bool
- func (l *ContractDimensionList) Get(i int) *ContractDimension
- func (l *ContractDimensionList) Items() []*ContractDimension
- func (l *ContractDimensionList) Len() int
- func (l *ContractDimensionList) Range(f func(index int, item *ContractDimension) bool)
- func (l *ContractDimensionList) SetHREF(href string)
- func (l *ContractDimensionList) SetItems(items []*ContractDimension)
- func (l *ContractDimensionList) SetLink(link bool)
- func (l *ContractDimensionList) Slice() []*ContractDimension
- type ContractDimensionListBuilder
- func (b *ContractDimensionListBuilder) Build() (list *ContractDimensionList, err error)
- func (b *ContractDimensionListBuilder) Copy(list *ContractDimensionList) *ContractDimensionListBuilder
- func (b *ContractDimensionListBuilder) Empty() bool
- func (b *ContractDimensionListBuilder) Items(values ...*ContractDimensionBuilder) *ContractDimensionListBuilder
- type ContractList
- func (l *ContractList) Each(f func(item *Contract) bool)
- func (l *ContractList) Empty() bool
- func (l *ContractList) Get(i int) *Contract
- func (l *ContractList) Items() []*Contract
- func (l *ContractList) Len() int
- func (l *ContractList) Range(f func(index int, item *Contract) bool)
- func (l *ContractList) SetHREF(href string)
- func (l *ContractList) SetItems(items []*Contract)
- func (l *ContractList) SetLink(link bool)
- func (l *ContractList) Slice() []*Contract
- type ContractListBuilder
- type DefaultCapability
- func ReadDefaultCapability(iterator *jsoniter.Iterator) *DefaultCapability
- func ReadDefaultCapabilityList(iterator *jsoniter.Iterator) []*DefaultCapability
- func UnmarshalDefaultCapability(source interface{}) (object *DefaultCapability, err error)
- func UnmarshalDefaultCapabilityList(source interface{}) (items []*DefaultCapability, err error)
- type DefaultCapabilityBuilder
- func (b *DefaultCapabilityBuilder) Build() (object *DefaultCapability, err error)
- func (b *DefaultCapabilityBuilder) Copy(object *DefaultCapability) *DefaultCapabilityBuilder
- func (b *DefaultCapabilityBuilder) Empty() bool
- func (b *DefaultCapabilityBuilder) Name(value string) *DefaultCapabilityBuilder
- func (b *DefaultCapabilityBuilder) Value(value string) *DefaultCapabilityBuilder
- type DefaultCapabilityList
- func (l *DefaultCapabilityList) Each(f func(item *DefaultCapability) bool)
- func (l *DefaultCapabilityList) Empty() bool
- func (l *DefaultCapabilityList) Get(i int) *DefaultCapability
- func (l *DefaultCapabilityList) Items() []*DefaultCapability
- func (l *DefaultCapabilityList) Len() int
- func (l *DefaultCapabilityList) Range(f func(index int, item *DefaultCapability) bool)
- func (l *DefaultCapabilityList) SetHREF(href string)
- func (l *DefaultCapabilityList) SetItems(items []*DefaultCapability)
- func (l *DefaultCapabilityList) SetLink(link bool)
- func (l *DefaultCapabilityList) Slice() []*DefaultCapability
- type DefaultCapabilityListBuilder
- func (b *DefaultCapabilityListBuilder) Build() (list *DefaultCapabilityList, err error)
- func (b *DefaultCapabilityListBuilder) Copy(list *DefaultCapabilityList) *DefaultCapabilityListBuilder
- func (b *DefaultCapabilityListBuilder) Empty() bool
- func (b *DefaultCapabilityListBuilder) Items(values ...*DefaultCapabilityBuilder) *DefaultCapabilityListBuilder
- type DeletedSubscription
- func ReadDeletedSubscription(iterator *jsoniter.Iterator) *DeletedSubscription
- func ReadDeletedSubscriptionList(iterator *jsoniter.Iterator) []*DeletedSubscription
- func UnmarshalDeletedSubscription(source interface{}) (object *DeletedSubscription, err error)
- func UnmarshalDeletedSubscriptionList(source interface{}) (items []*DeletedSubscription, err error)
- func (o *DeletedSubscription) BillingExpirationDate() time.Time
- func (o *DeletedSubscription) BillingMarketplaceAccount() string
- func (o *DeletedSubscription) CloudAccountID() string
- func (o *DeletedSubscription) CloudProviderID() string
- func (o *DeletedSubscription) ClusterBillingModel() BillingModel
- func (o *DeletedSubscription) ClusterID() string
- func (o *DeletedSubscription) ConsoleURL() string
- func (o *DeletedSubscription) ConsumerUUID() string
- func (o *DeletedSubscription) CpuTotal() int
- func (o *DeletedSubscription) CreatedAt() time.Time
- func (o *DeletedSubscription) CreatorId() string
- func (o *DeletedSubscription) DisplayName() string
- func (o *DeletedSubscription) Empty() bool
- func (o *DeletedSubscription) ExternalClusterID() string
- func (o *DeletedSubscription) GetBillingExpirationDate() (value time.Time, ok bool)
- func (o *DeletedSubscription) GetBillingMarketplaceAccount() (value string, ok bool)
- func (o *DeletedSubscription) GetCloudAccountID() (value string, ok bool)
- func (o *DeletedSubscription) GetCloudProviderID() (value string, ok bool)
- func (o *DeletedSubscription) GetClusterBillingModel() (value BillingModel, ok bool)
- func (o *DeletedSubscription) GetClusterID() (value string, ok bool)
- func (o *DeletedSubscription) GetConsoleURL() (value string, ok bool)
- func (o *DeletedSubscription) GetConsumerUUID() (value string, ok bool)
- func (o *DeletedSubscription) GetCpuTotal() (value int, ok bool)
- func (o *DeletedSubscription) GetCreatedAt() (value time.Time, ok bool)
- func (o *DeletedSubscription) GetCreatorId() (value string, ok bool)
- func (o *DeletedSubscription) GetDisplayName() (value string, ok bool)
- func (o *DeletedSubscription) GetExternalClusterID() (value string, ok bool)
- func (o *DeletedSubscription) GetHREF() (value string, ok bool)
- func (o *DeletedSubscription) GetID() (value string, ok bool)
- func (o *DeletedSubscription) GetLastReconcileDate() (value time.Time, ok bool)
- func (o *DeletedSubscription) GetLastReleasedAt() (value time.Time, ok bool)
- func (o *DeletedSubscription) GetLastTelemetryDate() (value time.Time, ok bool)
- func (o *DeletedSubscription) GetManaged() (value bool, ok bool)
- func (o *DeletedSubscription) GetMetrics() (value string, ok bool)
- func (o *DeletedSubscription) GetOrganizationID() (value string, ok bool)
- func (o *DeletedSubscription) GetPlanID() (value string, ok bool)
- func (o *DeletedSubscription) GetProductBundle() (value string, ok bool)
- func (o *DeletedSubscription) GetProvenance() (value string, ok bool)
- func (o *DeletedSubscription) GetQueryTimestamp() (value time.Time, ok bool)
- func (o *DeletedSubscription) GetRegionID() (value string, ok bool)
- func (o *DeletedSubscription) GetReleased() (value bool, ok bool)
- func (o *DeletedSubscription) GetServiceLevel() (value string, ok bool)
- func (o *DeletedSubscription) GetSocketTotal() (value int, ok bool)
- func (o *DeletedSubscription) GetStatus() (value string, ok bool)
- func (o *DeletedSubscription) GetSupportLevel() (value string, ok bool)
- func (o *DeletedSubscription) GetSystemUnits() (value string, ok bool)
- func (o *DeletedSubscription) GetTrialEndDate() (value time.Time, ok bool)
- func (o *DeletedSubscription) GetUsage() (value string, ok bool)
- func (o *DeletedSubscription) HREF() string
- func (o *DeletedSubscription) ID() string
- func (o *DeletedSubscription) Kind() string
- func (o *DeletedSubscription) LastReconcileDate() time.Time
- func (o *DeletedSubscription) LastReleasedAt() time.Time
- func (o *DeletedSubscription) LastTelemetryDate() time.Time
- func (o *DeletedSubscription) Link() bool
- func (o *DeletedSubscription) Managed() bool
- func (o *DeletedSubscription) Metrics() string
- func (o *DeletedSubscription) OrganizationID() string
- func (o *DeletedSubscription) PlanID() string
- func (o *DeletedSubscription) ProductBundle() string
- func (o *DeletedSubscription) Provenance() string
- func (o *DeletedSubscription) QueryTimestamp() time.Time
- func (o *DeletedSubscription) RegionID() string
- func (o *DeletedSubscription) Released() bool
- func (o *DeletedSubscription) ServiceLevel() string
- func (o *DeletedSubscription) SocketTotal() int
- func (o *DeletedSubscription) Status() string
- func (o *DeletedSubscription) SupportLevel() string
- func (o *DeletedSubscription) SystemUnits() string
- func (o *DeletedSubscription) TrialEndDate() time.Time
- func (o *DeletedSubscription) Usage() string
- type DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) BillingExpirationDate(value time.Time) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) BillingMarketplaceAccount(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Build() (object *DeletedSubscription, err error)
- func (b *DeletedSubscriptionBuilder) CloudAccountID(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) CloudProviderID(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) ClusterBillingModel(value BillingModel) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) ClusterID(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) ConsoleURL(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) ConsumerUUID(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Copy(object *DeletedSubscription) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) CpuTotal(value int) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) CreatedAt(value time.Time) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) CreatorId(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) DisplayName(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Empty() bool
- func (b *DeletedSubscriptionBuilder) ExternalClusterID(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) HREF(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) ID(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) LastReconcileDate(value time.Time) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) LastReleasedAt(value time.Time) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) LastTelemetryDate(value time.Time) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Link(value bool) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Managed(value bool) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Metrics(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) OrganizationID(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) PlanID(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) ProductBundle(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Provenance(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) QueryTimestamp(value time.Time) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) RegionID(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Released(value bool) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) ServiceLevel(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) SocketTotal(value int) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Status(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) SupportLevel(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) SystemUnits(value string) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) TrialEndDate(value time.Time) *DeletedSubscriptionBuilder
- func (b *DeletedSubscriptionBuilder) Usage(value string) *DeletedSubscriptionBuilder
- type DeletedSubscriptionList
- func (l *DeletedSubscriptionList) Each(f func(item *DeletedSubscription) bool)
- func (l *DeletedSubscriptionList) Empty() bool
- func (l *DeletedSubscriptionList) Get(i int) *DeletedSubscription
- func (l *DeletedSubscriptionList) GetHREF() (value string, ok bool)
- func (l *DeletedSubscriptionList) HREF() string
- func (l *DeletedSubscriptionList) Items() []*DeletedSubscription
- func (l *DeletedSubscriptionList) Kind() string
- func (l *DeletedSubscriptionList) Len() int
- func (l *DeletedSubscriptionList) Link() bool
- func (l *DeletedSubscriptionList) Range(f func(index int, item *DeletedSubscription) bool)
- func (l *DeletedSubscriptionList) SetHREF(href string)
- func (l *DeletedSubscriptionList) SetItems(items []*DeletedSubscription)
- func (l *DeletedSubscriptionList) SetLink(link bool)
- func (l *DeletedSubscriptionList) Slice() []*DeletedSubscription
- type DeletedSubscriptionListBuilder
- func (b *DeletedSubscriptionListBuilder) Build() (list *DeletedSubscriptionList, err error)
- func (b *DeletedSubscriptionListBuilder) Copy(list *DeletedSubscriptionList) *DeletedSubscriptionListBuilder
- func (b *DeletedSubscriptionListBuilder) Empty() bool
- func (b *DeletedSubscriptionListBuilder) Items(values ...*DeletedSubscriptionBuilder) *DeletedSubscriptionListBuilder
- type FeatureToggle
- func ReadFeatureToggle(iterator *jsoniter.Iterator) *FeatureToggle
- func ReadFeatureToggleList(iterator *jsoniter.Iterator) []*FeatureToggle
- func UnmarshalFeatureToggle(source interface{}) (object *FeatureToggle, err error)
- func UnmarshalFeatureToggleList(source interface{}) (items []*FeatureToggle, err error)
- func (o *FeatureToggle) Empty() bool
- func (o *FeatureToggle) Enabled() bool
- func (o *FeatureToggle) GetEnabled() (value bool, ok bool)
- func (o *FeatureToggle) GetHREF() (value string, ok bool)
- func (o *FeatureToggle) GetID() (value string, ok bool)
- func (o *FeatureToggle) HREF() string
- func (o *FeatureToggle) ID() string
- func (o *FeatureToggle) Kind() string
- func (o *FeatureToggle) Link() bool
- type FeatureToggleBuilder
- func (b *FeatureToggleBuilder) Build() (object *FeatureToggle, err error)
- func (b *FeatureToggleBuilder) Copy(object *FeatureToggle) *FeatureToggleBuilder
- func (b *FeatureToggleBuilder) Empty() bool
- func (b *FeatureToggleBuilder) Enabled(value bool) *FeatureToggleBuilder
- func (b *FeatureToggleBuilder) HREF(value string) *FeatureToggleBuilder
- func (b *FeatureToggleBuilder) ID(value string) *FeatureToggleBuilder
- func (b *FeatureToggleBuilder) Link(value bool) *FeatureToggleBuilder
- type FeatureToggleList
- func (l *FeatureToggleList) Each(f func(item *FeatureToggle) bool)
- func (l *FeatureToggleList) Empty() bool
- func (l *FeatureToggleList) Get(i int) *FeatureToggle
- func (l *FeatureToggleList) GetHREF() (value string, ok bool)
- func (l *FeatureToggleList) HREF() string
- func (l *FeatureToggleList) Items() []*FeatureToggle
- func (l *FeatureToggleList) Kind() string
- func (l *FeatureToggleList) Len() int
- func (l *FeatureToggleList) Link() bool
- func (l *FeatureToggleList) Range(f func(index int, item *FeatureToggle) bool)
- func (l *FeatureToggleList) SetHREF(href string)
- func (l *FeatureToggleList) SetItems(items []*FeatureToggle)
- func (l *FeatureToggleList) SetLink(link bool)
- func (l *FeatureToggleList) Slice() []*FeatureToggle
- type FeatureToggleListBuilder
- func (b *FeatureToggleListBuilder) Build() (list *FeatureToggleList, err error)
- func (b *FeatureToggleListBuilder) Copy(list *FeatureToggleList) *FeatureToggleListBuilder
- func (b *FeatureToggleListBuilder) Empty() bool
- func (b *FeatureToggleListBuilder) Items(values ...*FeatureToggleBuilder) *FeatureToggleListBuilder
- type FeatureToggleQueryRequest
- func ReadFeatureToggleQueryRequest(iterator *jsoniter.Iterator) *FeatureToggleQueryRequest
- func ReadFeatureToggleQueryRequestList(iterator *jsoniter.Iterator) []*FeatureToggleQueryRequest
- func UnmarshalFeatureToggleQueryRequest(source interface{}) (object *FeatureToggleQueryRequest, err error)
- func UnmarshalFeatureToggleQueryRequestList(source interface{}) (items []*FeatureToggleQueryRequest, err error)
- type FeatureToggleQueryRequestBuilder
- func (b *FeatureToggleQueryRequestBuilder) Build() (object *FeatureToggleQueryRequest, err error)
- func (b *FeatureToggleQueryRequestBuilder) Copy(object *FeatureToggleQueryRequest) *FeatureToggleQueryRequestBuilder
- func (b *FeatureToggleQueryRequestBuilder) Empty() bool
- func (b *FeatureToggleQueryRequestBuilder) OrganizationID(value string) *FeatureToggleQueryRequestBuilder
- type FeatureToggleQueryRequestList
- func (l *FeatureToggleQueryRequestList) Each(f func(item *FeatureToggleQueryRequest) bool)
- func (l *FeatureToggleQueryRequestList) Empty() bool
- func (l *FeatureToggleQueryRequestList) Get(i int) *FeatureToggleQueryRequest
- func (l *FeatureToggleQueryRequestList) Items() []*FeatureToggleQueryRequest
- func (l *FeatureToggleQueryRequestList) Len() int
- func (l *FeatureToggleQueryRequestList) Range(f func(index int, item *FeatureToggleQueryRequest) bool)
- func (l *FeatureToggleQueryRequestList) SetHREF(href string)
- func (l *FeatureToggleQueryRequestList) SetItems(items []*FeatureToggleQueryRequest)
- func (l *FeatureToggleQueryRequestList) SetLink(link bool)
- func (l *FeatureToggleQueryRequestList) Slice() []*FeatureToggleQueryRequest
- type FeatureToggleQueryRequestListBuilder
- func (b *FeatureToggleQueryRequestListBuilder) Build() (list *FeatureToggleQueryRequestList, err error)
- func (b *FeatureToggleQueryRequestListBuilder) Copy(list *FeatureToggleQueryRequestList) *FeatureToggleQueryRequestListBuilder
- func (b *FeatureToggleQueryRequestListBuilder) Empty() bool
- func (b *FeatureToggleQueryRequestListBuilder) Items(values ...*FeatureToggleQueryRequestBuilder) *FeatureToggleQueryRequestListBuilder
- type GenericNotifyDetailsResponse
- func ReadGenericNotifyDetailsResponse(iterator *jsoniter.Iterator) *GenericNotifyDetailsResponse
- func ReadGenericNotifyDetailsResponseList(iterator *jsoniter.Iterator) []*GenericNotifyDetailsResponse
- func UnmarshalGenericNotifyDetailsResponse(source interface{}) (object *GenericNotifyDetailsResponse, err error)
- func UnmarshalGenericNotifyDetailsResponseList(source interface{}) (items []*GenericNotifyDetailsResponse, err error)
- func (o *GenericNotifyDetailsResponse) Associates() []string
- func (o *GenericNotifyDetailsResponse) Empty() bool
- func (o *GenericNotifyDetailsResponse) GetAssociates() (value []string, ok bool)
- func (o *GenericNotifyDetailsResponse) GetHREF() (value string, ok bool)
- func (o *GenericNotifyDetailsResponse) GetID() (value string, ok bool)
- func (o *GenericNotifyDetailsResponse) GetItems() (value []*NotificationDetailsResponse, ok bool)
- func (o *GenericNotifyDetailsResponse) GetRecipients() (value []string, ok bool)
- func (o *GenericNotifyDetailsResponse) HREF() string
- func (o *GenericNotifyDetailsResponse) ID() string
- func (o *GenericNotifyDetailsResponse) Items() []*NotificationDetailsResponse
- func (o *GenericNotifyDetailsResponse) Kind() string
- func (o *GenericNotifyDetailsResponse) Link() bool
- func (o *GenericNotifyDetailsResponse) Recipients() []string
- type GenericNotifyDetailsResponseBuilder
- func (b *GenericNotifyDetailsResponseBuilder) Associates(values ...string) *GenericNotifyDetailsResponseBuilder
- func (b *GenericNotifyDetailsResponseBuilder) Build() (object *GenericNotifyDetailsResponse, err error)
- func (b *GenericNotifyDetailsResponseBuilder) Copy(object *GenericNotifyDetailsResponse) *GenericNotifyDetailsResponseBuilder
- func (b *GenericNotifyDetailsResponseBuilder) Empty() bool
- func (b *GenericNotifyDetailsResponseBuilder) HREF(value string) *GenericNotifyDetailsResponseBuilder
- func (b *GenericNotifyDetailsResponseBuilder) ID(value string) *GenericNotifyDetailsResponseBuilder
- func (b *GenericNotifyDetailsResponseBuilder) Items(values ...*NotificationDetailsResponseBuilder) *GenericNotifyDetailsResponseBuilder
- func (b *GenericNotifyDetailsResponseBuilder) Link(value bool) *GenericNotifyDetailsResponseBuilder
- func (b *GenericNotifyDetailsResponseBuilder) Recipients(values ...string) *GenericNotifyDetailsResponseBuilder
- type GenericNotifyDetailsResponseList
- func (l *GenericNotifyDetailsResponseList) Each(f func(item *GenericNotifyDetailsResponse) bool)
- func (l *GenericNotifyDetailsResponseList) Empty() bool
- func (l *GenericNotifyDetailsResponseList) Get(i int) *GenericNotifyDetailsResponse
- func (l *GenericNotifyDetailsResponseList) GetHREF() (value string, ok bool)
- func (l *GenericNotifyDetailsResponseList) HREF() string
- func (l *GenericNotifyDetailsResponseList) Items() []*GenericNotifyDetailsResponse
- func (l *GenericNotifyDetailsResponseList) Kind() string
- func (l *GenericNotifyDetailsResponseList) Len() int
- func (l *GenericNotifyDetailsResponseList) Link() bool
- func (l *GenericNotifyDetailsResponseList) Range(f func(index int, item *GenericNotifyDetailsResponse) bool)
- func (l *GenericNotifyDetailsResponseList) SetHREF(href string)
- func (l *GenericNotifyDetailsResponseList) SetItems(items []*GenericNotifyDetailsResponse)
- func (l *GenericNotifyDetailsResponseList) SetLink(link bool)
- func (l *GenericNotifyDetailsResponseList) Slice() []*GenericNotifyDetailsResponse
- type GenericNotifyDetailsResponseListBuilder
- func (b *GenericNotifyDetailsResponseListBuilder) Build() (list *GenericNotifyDetailsResponseList, err error)
- func (b *GenericNotifyDetailsResponseListBuilder) Copy(list *GenericNotifyDetailsResponseList) *GenericNotifyDetailsResponseListBuilder
- func (b *GenericNotifyDetailsResponseListBuilder) Empty() bool
- func (b *GenericNotifyDetailsResponseListBuilder) Items(values ...*GenericNotifyDetailsResponseBuilder) *GenericNotifyDetailsResponseListBuilder
- type Label
- func (o *Label) AccountID() string
- func (o *Label) CreatedAt() time.Time
- func (o *Label) Empty() bool
- func (o *Label) GetAccountID() (value string, ok bool)
- func (o *Label) GetCreatedAt() (value time.Time, ok bool)
- func (o *Label) GetHREF() (value string, ok bool)
- func (o *Label) GetID() (value string, ok bool)
- func (o *Label) GetInternal() (value bool, ok bool)
- func (o *Label) GetKey() (value string, ok bool)
- func (o *Label) GetManagedBy() (value string, ok bool)
- func (o *Label) GetOrganizationID() (value string, ok bool)
- func (o *Label) GetSubscriptionID() (value string, ok bool)
- func (o *Label) GetType() (value string, ok bool)
- func (o *Label) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Label) GetValue() (value string, ok bool)
- func (o *Label) HREF() string
- func (o *Label) ID() string
- func (o *Label) Internal() bool
- func (o *Label) Key() string
- func (o *Label) Kind() string
- func (o *Label) Link() bool
- func (o *Label) ManagedBy() string
- func (o *Label) OrganizationID() string
- func (o *Label) SubscriptionID() string
- func (o *Label) Type() string
- func (o *Label) UpdatedAt() time.Time
- func (o *Label) Value() string
- type LabelBuilder
- func (b *LabelBuilder) AccountID(value string) *LabelBuilder
- func (b *LabelBuilder) Build() (object *Label, err error)
- func (b *LabelBuilder) Copy(object *Label) *LabelBuilder
- func (b *LabelBuilder) CreatedAt(value time.Time) *LabelBuilder
- func (b *LabelBuilder) Empty() bool
- func (b *LabelBuilder) HREF(value string) *LabelBuilder
- func (b *LabelBuilder) ID(value string) *LabelBuilder
- func (b *LabelBuilder) Internal(value bool) *LabelBuilder
- func (b *LabelBuilder) Key(value string) *LabelBuilder
- func (b *LabelBuilder) Link(value bool) *LabelBuilder
- func (b *LabelBuilder) ManagedBy(value string) *LabelBuilder
- func (b *LabelBuilder) OrganizationID(value string) *LabelBuilder
- func (b *LabelBuilder) SubscriptionID(value string) *LabelBuilder
- func (b *LabelBuilder) Type(value string) *LabelBuilder
- func (b *LabelBuilder) UpdatedAt(value time.Time) *LabelBuilder
- func (b *LabelBuilder) Value(value string) *LabelBuilder
- type LabelList
- func (l *LabelList) Each(f func(item *Label) bool)
- func (l *LabelList) Empty() bool
- func (l *LabelList) Get(i int) *Label
- func (l *LabelList) GetHREF() (value string, ok bool)
- func (l *LabelList) HREF() string
- func (l *LabelList) Items() []*Label
- func (l *LabelList) Kind() string
- func (l *LabelList) Len() int
- func (l *LabelList) Link() bool
- func (l *LabelList) Range(f func(index int, item *Label) bool)
- func (l *LabelList) SetHREF(href string)
- func (l *LabelList) SetItems(items []*Label)
- func (l *LabelList) SetLink(link bool)
- func (l *LabelList) Slice() []*Label
- type LabelListBuilder
- type Metadata
- type NotificationDetailsRequest
- func ReadNotificationDetailsRequest(iterator *jsoniter.Iterator) *NotificationDetailsRequest
- func ReadNotificationDetailsRequestList(iterator *jsoniter.Iterator) []*NotificationDetailsRequest
- func UnmarshalNotificationDetailsRequest(source interface{}) (object *NotificationDetailsRequest, err error)
- func UnmarshalNotificationDetailsRequestList(source interface{}) (items []*NotificationDetailsRequest, err error)
- func (o *NotificationDetailsRequest) BccAddress() string
- func (o *NotificationDetailsRequest) ClusterID() string
- func (o *NotificationDetailsRequest) ClusterUUID() string
- func (o *NotificationDetailsRequest) Empty() bool
- func (o *NotificationDetailsRequest) GetBccAddress() (value string, ok bool)
- func (o *NotificationDetailsRequest) GetClusterID() (value string, ok bool)
- func (o *NotificationDetailsRequest) GetClusterUUID() (value string, ok bool)
- func (o *NotificationDetailsRequest) GetIncludeRedHatAssociates() (value bool, ok bool)
- func (o *NotificationDetailsRequest) GetInternalOnly() (value bool, ok bool)
- func (o *NotificationDetailsRequest) GetLogType() (value string, ok bool)
- func (o *NotificationDetailsRequest) GetSubject() (value string, ok bool)
- func (o *NotificationDetailsRequest) GetSubscriptionID() (value string, ok bool)
- func (o *NotificationDetailsRequest) IncludeRedHatAssociates() bool
- func (o *NotificationDetailsRequest) InternalOnly() bool
- func (o *NotificationDetailsRequest) LogType() string
- func (o *NotificationDetailsRequest) Subject() string
- func (o *NotificationDetailsRequest) SubscriptionID() string
- type NotificationDetailsRequestBuilder
- func (b *NotificationDetailsRequestBuilder) BccAddress(value string) *NotificationDetailsRequestBuilder
- func (b *NotificationDetailsRequestBuilder) Build() (object *NotificationDetailsRequest, err error)
- func (b *NotificationDetailsRequestBuilder) ClusterID(value string) *NotificationDetailsRequestBuilder
- func (b *NotificationDetailsRequestBuilder) ClusterUUID(value string) *NotificationDetailsRequestBuilder
- func (b *NotificationDetailsRequestBuilder) Copy(object *NotificationDetailsRequest) *NotificationDetailsRequestBuilder
- func (b *NotificationDetailsRequestBuilder) Empty() bool
- func (b *NotificationDetailsRequestBuilder) IncludeRedHatAssociates(value bool) *NotificationDetailsRequestBuilder
- func (b *NotificationDetailsRequestBuilder) InternalOnly(value bool) *NotificationDetailsRequestBuilder
- func (b *NotificationDetailsRequestBuilder) LogType(value string) *NotificationDetailsRequestBuilder
- func (b *NotificationDetailsRequestBuilder) Subject(value string) *NotificationDetailsRequestBuilder
- func (b *NotificationDetailsRequestBuilder) SubscriptionID(value string) *NotificationDetailsRequestBuilder
- type NotificationDetailsRequestList
- func (l *NotificationDetailsRequestList) Each(f func(item *NotificationDetailsRequest) bool)
- func (l *NotificationDetailsRequestList) Empty() bool
- func (l *NotificationDetailsRequestList) Get(i int) *NotificationDetailsRequest
- func (l *NotificationDetailsRequestList) Items() []*NotificationDetailsRequest
- func (l *NotificationDetailsRequestList) Len() int
- func (l *NotificationDetailsRequestList) Range(f func(index int, item *NotificationDetailsRequest) bool)
- func (l *NotificationDetailsRequestList) SetHREF(href string)
- func (l *NotificationDetailsRequestList) SetItems(items []*NotificationDetailsRequest)
- func (l *NotificationDetailsRequestList) SetLink(link bool)
- func (l *NotificationDetailsRequestList) Slice() []*NotificationDetailsRequest
- type NotificationDetailsRequestListBuilder
- func (b *NotificationDetailsRequestListBuilder) Build() (list *NotificationDetailsRequestList, err error)
- func (b *NotificationDetailsRequestListBuilder) Copy(list *NotificationDetailsRequestList) *NotificationDetailsRequestListBuilder
- func (b *NotificationDetailsRequestListBuilder) Empty() bool
- func (b *NotificationDetailsRequestListBuilder) Items(values ...*NotificationDetailsRequestBuilder) *NotificationDetailsRequestListBuilder
- type NotificationDetailsResponse
- func ReadNotificationDetailsResponse(iterator *jsoniter.Iterator) *NotificationDetailsResponse
- func ReadNotificationDetailsResponseList(iterator *jsoniter.Iterator) []*NotificationDetailsResponse
- func UnmarshalNotificationDetailsResponse(source interface{}) (object *NotificationDetailsResponse, err error)
- func UnmarshalNotificationDetailsResponseList(source interface{}) (items []*NotificationDetailsResponse, err error)
- func (o *NotificationDetailsResponse) Empty() bool
- func (o *NotificationDetailsResponse) GetHREF() (value string, ok bool)
- func (o *NotificationDetailsResponse) GetID() (value string, ok bool)
- func (o *NotificationDetailsResponse) GetKey() (value string, ok bool)
- func (o *NotificationDetailsResponse) GetValue() (value string, ok bool)
- func (o *NotificationDetailsResponse) HREF() string
- func (o *NotificationDetailsResponse) ID() string
- func (o *NotificationDetailsResponse) Key() string
- func (o *NotificationDetailsResponse) Kind() string
- func (o *NotificationDetailsResponse) Link() bool
- func (o *NotificationDetailsResponse) Value() string
- type NotificationDetailsResponseBuilder
- func (b *NotificationDetailsResponseBuilder) Build() (object *NotificationDetailsResponse, err error)
- func (b *NotificationDetailsResponseBuilder) Copy(object *NotificationDetailsResponse) *NotificationDetailsResponseBuilder
- func (b *NotificationDetailsResponseBuilder) Empty() bool
- func (b *NotificationDetailsResponseBuilder) HREF(value string) *NotificationDetailsResponseBuilder
- func (b *NotificationDetailsResponseBuilder) ID(value string) *NotificationDetailsResponseBuilder
- func (b *NotificationDetailsResponseBuilder) Key(value string) *NotificationDetailsResponseBuilder
- func (b *NotificationDetailsResponseBuilder) Link(value bool) *NotificationDetailsResponseBuilder
- func (b *NotificationDetailsResponseBuilder) Value(value string) *NotificationDetailsResponseBuilder
- type NotificationDetailsResponseList
- func (l *NotificationDetailsResponseList) Each(f func(item *NotificationDetailsResponse) bool)
- func (l *NotificationDetailsResponseList) Empty() bool
- func (l *NotificationDetailsResponseList) Get(i int) *NotificationDetailsResponse
- func (l *NotificationDetailsResponseList) GetHREF() (value string, ok bool)
- func (l *NotificationDetailsResponseList) HREF() string
- func (l *NotificationDetailsResponseList) Items() []*NotificationDetailsResponse
- func (l *NotificationDetailsResponseList) Kind() string
- func (l *NotificationDetailsResponseList) Len() int
- func (l *NotificationDetailsResponseList) Link() bool
- func (l *NotificationDetailsResponseList) Range(f func(index int, item *NotificationDetailsResponse) bool)
- func (l *NotificationDetailsResponseList) SetHREF(href string)
- func (l *NotificationDetailsResponseList) SetItems(items []*NotificationDetailsResponse)
- func (l *NotificationDetailsResponseList) SetLink(link bool)
- func (l *NotificationDetailsResponseList) Slice() []*NotificationDetailsResponse
- type NotificationDetailsResponseListBuilder
- func (b *NotificationDetailsResponseListBuilder) Build() (list *NotificationDetailsResponseList, err error)
- func (b *NotificationDetailsResponseListBuilder) Copy(list *NotificationDetailsResponseList) *NotificationDetailsResponseListBuilder
- func (b *NotificationDetailsResponseListBuilder) Empty() bool
- func (b *NotificationDetailsResponseListBuilder) Items(values ...*NotificationDetailsResponseBuilder) *NotificationDetailsResponseListBuilder
- type Organization
- func ReadOrganization(iterator *jsoniter.Iterator) *Organization
- func ReadOrganizationList(iterator *jsoniter.Iterator) []*Organization
- func UnmarshalOrganization(source interface{}) (object *Organization, err error)
- func UnmarshalOrganizationList(source interface{}) (items []*Organization, err error)
- func (o *Organization) Capabilities() []*Capability
- func (o *Organization) CreatedAt() time.Time
- func (o *Organization) EbsAccountID() string
- func (o *Organization) Empty() bool
- func (o *Organization) ExternalID() string
- func (o *Organization) GetCapabilities() (value []*Capability, ok bool)
- func (o *Organization) GetCreatedAt() (value time.Time, ok bool)
- func (o *Organization) GetEbsAccountID() (value string, ok bool)
- func (o *Organization) GetExternalID() (value string, ok bool)
- func (o *Organization) GetHREF() (value string, ok bool)
- func (o *Organization) GetID() (value string, ok bool)
- func (o *Organization) GetLabels() (value []*Label, ok bool)
- func (o *Organization) GetName() (value string, ok bool)
- func (o *Organization) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Organization) HREF() string
- func (o *Organization) ID() string
- func (o *Organization) Kind() string
- func (o *Organization) Labels() []*Label
- func (o *Organization) Link() bool
- func (o *Organization) Name() string
- func (o *Organization) UpdatedAt() time.Time
- type OrganizationBuilder
- func (b *OrganizationBuilder) Build() (object *Organization, err error)
- func (b *OrganizationBuilder) Capabilities(values ...*CapabilityBuilder) *OrganizationBuilder
- func (b *OrganizationBuilder) Copy(object *Organization) *OrganizationBuilder
- func (b *OrganizationBuilder) CreatedAt(value time.Time) *OrganizationBuilder
- func (b *OrganizationBuilder) EbsAccountID(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) Empty() bool
- func (b *OrganizationBuilder) ExternalID(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) HREF(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) ID(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) Labels(values ...*LabelBuilder) *OrganizationBuilder
- func (b *OrganizationBuilder) Link(value bool) *OrganizationBuilder
- func (b *OrganizationBuilder) Name(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) UpdatedAt(value time.Time) *OrganizationBuilder
- type OrganizationList
- func (l *OrganizationList) Each(f func(item *Organization) bool)
- func (l *OrganizationList) Empty() bool
- func (l *OrganizationList) Get(i int) *Organization
- func (l *OrganizationList) GetHREF() (value string, ok bool)
- func (l *OrganizationList) HREF() string
- func (l *OrganizationList) Items() []*Organization
- func (l *OrganizationList) Kind() string
- func (l *OrganizationList) Len() int
- func (l *OrganizationList) Link() bool
- func (l *OrganizationList) Range(f func(index int, item *Organization) bool)
- func (l *OrganizationList) SetHREF(href string)
- func (l *OrganizationList) SetItems(items []*Organization)
- func (l *OrganizationList) SetLink(link bool)
- func (l *OrganizationList) Slice() []*Organization
- type OrganizationListBuilder
- func (b *OrganizationListBuilder) Build() (list *OrganizationList, err error)
- func (b *OrganizationListBuilder) Copy(list *OrganizationList) *OrganizationListBuilder
- func (b *OrganizationListBuilder) Empty() bool
- func (b *OrganizationListBuilder) Items(values ...*OrganizationBuilder) *OrganizationListBuilder
- type Permission
- func (o *Permission) Action() Action
- func (o *Permission) Empty() bool
- func (o *Permission) GetAction() (value Action, ok bool)
- func (o *Permission) GetHREF() (value string, ok bool)
- func (o *Permission) GetID() (value string, ok bool)
- func (o *Permission) GetResource() (value string, ok bool)
- func (o *Permission) HREF() string
- func (o *Permission) ID() string
- func (o *Permission) Kind() string
- func (o *Permission) Link() bool
- func (o *Permission) Resource() string
- type PermissionBuilder
- func (b *PermissionBuilder) Action(value Action) *PermissionBuilder
- func (b *PermissionBuilder) Build() (object *Permission, err error)
- func (b *PermissionBuilder) Copy(object *Permission) *PermissionBuilder
- func (b *PermissionBuilder) Empty() bool
- func (b *PermissionBuilder) HREF(value string) *PermissionBuilder
- func (b *PermissionBuilder) ID(value string) *PermissionBuilder
- func (b *PermissionBuilder) Link(value bool) *PermissionBuilder
- func (b *PermissionBuilder) Resource(value string) *PermissionBuilder
- type PermissionList
- func (l *PermissionList) Each(f func(item *Permission) bool)
- func (l *PermissionList) Empty() bool
- func (l *PermissionList) Get(i int) *Permission
- func (l *PermissionList) GetHREF() (value string, ok bool)
- func (l *PermissionList) HREF() string
- func (l *PermissionList) Items() []*Permission
- func (l *PermissionList) Kind() string
- func (l *PermissionList) Len() int
- func (l *PermissionList) Link() bool
- func (l *PermissionList) Range(f func(index int, item *Permission) bool)
- func (l *PermissionList) SetHREF(href string)
- func (l *PermissionList) SetItems(items []*Permission)
- func (l *PermissionList) SetLink(link bool)
- func (l *PermissionList) Slice() []*Permission
- type PermissionListBuilder
- type Plan
- func (o *Plan) Category() string
- func (o *Plan) Empty() bool
- func (o *Plan) GetCategory() (value string, ok bool)
- func (o *Plan) GetHREF() (value string, ok bool)
- func (o *Plan) GetID() (value string, ok bool)
- func (o *Plan) GetName() (value string, ok bool)
- func (o *Plan) GetType() (value string, ok bool)
- func (o *Plan) HREF() string
- func (o *Plan) ID() string
- func (o *Plan) Kind() string
- func (o *Plan) Link() bool
- func (o *Plan) Name() string
- func (o *Plan) Type() string
- type PlanBuilder
- func (b *PlanBuilder) Build() (object *Plan, err error)
- func (b *PlanBuilder) Category(value string) *PlanBuilder
- func (b *PlanBuilder) Copy(object *Plan) *PlanBuilder
- func (b *PlanBuilder) Empty() bool
- func (b *PlanBuilder) HREF(value string) *PlanBuilder
- func (b *PlanBuilder) ID(value string) *PlanBuilder
- func (b *PlanBuilder) Link(value bool) *PlanBuilder
- func (b *PlanBuilder) Name(value string) *PlanBuilder
- func (b *PlanBuilder) Type(value string) *PlanBuilder
- type PlanID
- type PlanList
- func (l *PlanList) Each(f func(item *Plan) bool)
- func (l *PlanList) Empty() bool
- func (l *PlanList) Get(i int) *Plan
- func (l *PlanList) GetHREF() (value string, ok bool)
- func (l *PlanList) HREF() string
- func (l *PlanList) Items() []*Plan
- func (l *PlanList) Kind() string
- func (l *PlanList) Len() int
- func (l *PlanList) Link() bool
- func (l *PlanList) Range(f func(index int, item *Plan) bool)
- func (l *PlanList) SetHREF(href string)
- func (l *PlanList) SetItems(items []*Plan)
- func (l *PlanList) SetLink(link bool)
- func (l *PlanList) Slice() []*Plan
- type PlanListBuilder
- type PullSecretsRequest
- func ReadPullSecretsRequest(iterator *jsoniter.Iterator) *PullSecretsRequest
- func ReadPullSecretsRequestList(iterator *jsoniter.Iterator) []*PullSecretsRequest
- func UnmarshalPullSecretsRequest(source interface{}) (object *PullSecretsRequest, err error)
- func UnmarshalPullSecretsRequestList(source interface{}) (items []*PullSecretsRequest, err error)
- type PullSecretsRequestBuilder
- func (b *PullSecretsRequestBuilder) Build() (object *PullSecretsRequest, err error)
- func (b *PullSecretsRequestBuilder) Copy(object *PullSecretsRequest) *PullSecretsRequestBuilder
- func (b *PullSecretsRequestBuilder) Empty() bool
- func (b *PullSecretsRequestBuilder) ExternalResourceId(value string) *PullSecretsRequestBuilder
- type PullSecretsRequestList
- func (l *PullSecretsRequestList) Each(f func(item *PullSecretsRequest) bool)
- func (l *PullSecretsRequestList) Empty() bool
- func (l *PullSecretsRequestList) Get(i int) *PullSecretsRequest
- func (l *PullSecretsRequestList) Items() []*PullSecretsRequest
- func (l *PullSecretsRequestList) Len() int
- func (l *PullSecretsRequestList) Range(f func(index int, item *PullSecretsRequest) bool)
- func (l *PullSecretsRequestList) SetHREF(href string)
- func (l *PullSecretsRequestList) SetItems(items []*PullSecretsRequest)
- func (l *PullSecretsRequestList) SetLink(link bool)
- func (l *PullSecretsRequestList) Slice() []*PullSecretsRequest
- type PullSecretsRequestListBuilder
- func (b *PullSecretsRequestListBuilder) Build() (list *PullSecretsRequestList, err error)
- func (b *PullSecretsRequestListBuilder) Copy(list *PullSecretsRequestList) *PullSecretsRequestListBuilder
- func (b *PullSecretsRequestListBuilder) Empty() bool
- func (b *PullSecretsRequestListBuilder) Items(values ...*PullSecretsRequestBuilder) *PullSecretsRequestListBuilder
- type QuotaAuthorizationRequest
- func ReadQuotaAuthorizationRequest(iterator *jsoniter.Iterator) *QuotaAuthorizationRequest
- func ReadQuotaAuthorizationRequestList(iterator *jsoniter.Iterator) []*QuotaAuthorizationRequest
- func UnmarshalQuotaAuthorizationRequest(source interface{}) (object *QuotaAuthorizationRequest, err error)
- func UnmarshalQuotaAuthorizationRequestList(source interface{}) (items []*QuotaAuthorizationRequest, err error)
- func (o *QuotaAuthorizationRequest) AccountUsername() string
- func (o *QuotaAuthorizationRequest) AvailabilityZone() string
- func (o *QuotaAuthorizationRequest) DisplayName() string
- func (o *QuotaAuthorizationRequest) Empty() bool
- func (o *QuotaAuthorizationRequest) GetAccountUsername() (value string, ok bool)
- func (o *QuotaAuthorizationRequest) GetAvailabilityZone() (value string, ok bool)
- func (o *QuotaAuthorizationRequest) GetDisplayName() (value string, ok bool)
- func (o *QuotaAuthorizationRequest) GetProductCategory() (value string, ok bool)
- func (o *QuotaAuthorizationRequest) GetProductID() (value string, ok bool)
- func (o *QuotaAuthorizationRequest) GetQuotaVersion() (value string, ok bool)
- func (o *QuotaAuthorizationRequest) GetReserve() (value bool, ok bool)
- func (o *QuotaAuthorizationRequest) GetResources() (value []*ReservedResource, ok bool)
- func (o *QuotaAuthorizationRequest) ProductCategory() string
- func (o *QuotaAuthorizationRequest) ProductID() string
- func (o *QuotaAuthorizationRequest) QuotaVersion() string
- func (o *QuotaAuthorizationRequest) Reserve() bool
- func (o *QuotaAuthorizationRequest) Resources() []*ReservedResource
- type QuotaAuthorizationRequestBuilder
- func (b *QuotaAuthorizationRequestBuilder) AccountUsername(value string) *QuotaAuthorizationRequestBuilder
- func (b *QuotaAuthorizationRequestBuilder) AvailabilityZone(value string) *QuotaAuthorizationRequestBuilder
- func (b *QuotaAuthorizationRequestBuilder) Build() (object *QuotaAuthorizationRequest, err error)
- func (b *QuotaAuthorizationRequestBuilder) Copy(object *QuotaAuthorizationRequest) *QuotaAuthorizationRequestBuilder
- func (b *QuotaAuthorizationRequestBuilder) DisplayName(value string) *QuotaAuthorizationRequestBuilder
- func (b *QuotaAuthorizationRequestBuilder) Empty() bool
- func (b *QuotaAuthorizationRequestBuilder) ProductCategory(value string) *QuotaAuthorizationRequestBuilder
- func (b *QuotaAuthorizationRequestBuilder) ProductID(value string) *QuotaAuthorizationRequestBuilder
- func (b *QuotaAuthorizationRequestBuilder) QuotaVersion(value string) *QuotaAuthorizationRequestBuilder
- func (b *QuotaAuthorizationRequestBuilder) Reserve(value bool) *QuotaAuthorizationRequestBuilder
- func (b *QuotaAuthorizationRequestBuilder) Resources(values ...*ReservedResourceBuilder) *QuotaAuthorizationRequestBuilder
- type QuotaAuthorizationRequestList
- func (l *QuotaAuthorizationRequestList) Each(f func(item *QuotaAuthorizationRequest) bool)
- func (l *QuotaAuthorizationRequestList) Empty() bool
- func (l *QuotaAuthorizationRequestList) Get(i int) *QuotaAuthorizationRequest
- func (l *QuotaAuthorizationRequestList) Items() []*QuotaAuthorizationRequest
- func (l *QuotaAuthorizationRequestList) Len() int
- func (l *QuotaAuthorizationRequestList) Range(f func(index int, item *QuotaAuthorizationRequest) bool)
- func (l *QuotaAuthorizationRequestList) SetHREF(href string)
- func (l *QuotaAuthorizationRequestList) SetItems(items []*QuotaAuthorizationRequest)
- func (l *QuotaAuthorizationRequestList) SetLink(link bool)
- func (l *QuotaAuthorizationRequestList) Slice() []*QuotaAuthorizationRequest
- type QuotaAuthorizationRequestListBuilder
- func (b *QuotaAuthorizationRequestListBuilder) Build() (list *QuotaAuthorizationRequestList, err error)
- func (b *QuotaAuthorizationRequestListBuilder) Copy(list *QuotaAuthorizationRequestList) *QuotaAuthorizationRequestListBuilder
- func (b *QuotaAuthorizationRequestListBuilder) Empty() bool
- func (b *QuotaAuthorizationRequestListBuilder) Items(values ...*QuotaAuthorizationRequestBuilder) *QuotaAuthorizationRequestListBuilder
- type QuotaAuthorizationResponse
- func ReadQuotaAuthorizationResponse(iterator *jsoniter.Iterator) *QuotaAuthorizationResponse
- func ReadQuotaAuthorizationResponseList(iterator *jsoniter.Iterator) []*QuotaAuthorizationResponse
- func UnmarshalQuotaAuthorizationResponse(source interface{}) (object *QuotaAuthorizationResponse, err error)
- func UnmarshalQuotaAuthorizationResponseList(source interface{}) (items []*QuotaAuthorizationResponse, err error)
- func (o *QuotaAuthorizationResponse) Allowed() bool
- func (o *QuotaAuthorizationResponse) Empty() bool
- func (o *QuotaAuthorizationResponse) ExcessResources() []*ReservedResource
- func (o *QuotaAuthorizationResponse) GetAllowed() (value bool, ok bool)
- func (o *QuotaAuthorizationResponse) GetExcessResources() (value []*ReservedResource, ok bool)
- func (o *QuotaAuthorizationResponse) GetSubscription() (value *Subscription, ok bool)
- func (o *QuotaAuthorizationResponse) Subscription() *Subscription
- type QuotaAuthorizationResponseBuilder
- func (b *QuotaAuthorizationResponseBuilder) Allowed(value bool) *QuotaAuthorizationResponseBuilder
- func (b *QuotaAuthorizationResponseBuilder) Build() (object *QuotaAuthorizationResponse, err error)
- func (b *QuotaAuthorizationResponseBuilder) Copy(object *QuotaAuthorizationResponse) *QuotaAuthorizationResponseBuilder
- func (b *QuotaAuthorizationResponseBuilder) Empty() bool
- func (b *QuotaAuthorizationResponseBuilder) ExcessResources(values ...*ReservedResourceBuilder) *QuotaAuthorizationResponseBuilder
- func (b *QuotaAuthorizationResponseBuilder) Subscription(value *SubscriptionBuilder) *QuotaAuthorizationResponseBuilder
- type QuotaAuthorizationResponseList
- func (l *QuotaAuthorizationResponseList) Each(f func(item *QuotaAuthorizationResponse) bool)
- func (l *QuotaAuthorizationResponseList) Empty() bool
- func (l *QuotaAuthorizationResponseList) Get(i int) *QuotaAuthorizationResponse
- func (l *QuotaAuthorizationResponseList) Items() []*QuotaAuthorizationResponse
- func (l *QuotaAuthorizationResponseList) Len() int
- func (l *QuotaAuthorizationResponseList) Range(f func(index int, item *QuotaAuthorizationResponse) bool)
- func (l *QuotaAuthorizationResponseList) SetHREF(href string)
- func (l *QuotaAuthorizationResponseList) SetItems(items []*QuotaAuthorizationResponse)
- func (l *QuotaAuthorizationResponseList) SetLink(link bool)
- func (l *QuotaAuthorizationResponseList) Slice() []*QuotaAuthorizationResponse
- type QuotaAuthorizationResponseListBuilder
- func (b *QuotaAuthorizationResponseListBuilder) Build() (list *QuotaAuthorizationResponseList, err error)
- func (b *QuotaAuthorizationResponseListBuilder) Copy(list *QuotaAuthorizationResponseList) *QuotaAuthorizationResponseListBuilder
- func (b *QuotaAuthorizationResponseListBuilder) Empty() bool
- func (b *QuotaAuthorizationResponseListBuilder) Items(values ...*QuotaAuthorizationResponseBuilder) *QuotaAuthorizationResponseListBuilder
- type QuotaCost
- func (o *QuotaCost) Allowed() int
- func (o *QuotaCost) CloudAccounts() []*CloudAccount
- func (o *QuotaCost) Consumed() int
- func (o *QuotaCost) Empty() bool
- func (o *QuotaCost) GetAllowed() (value int, ok bool)
- func (o *QuotaCost) GetCloudAccounts() (value []*CloudAccount, ok bool)
- func (o *QuotaCost) GetConsumed() (value int, ok bool)
- func (o *QuotaCost) GetOrganizationID() (value string, ok bool)
- func (o *QuotaCost) GetQuotaID() (value string, ok bool)
- func (o *QuotaCost) GetRelatedResources() (value []*RelatedResource, ok bool)
- func (o *QuotaCost) GetVersion() (value string, ok bool)
- func (o *QuotaCost) OrganizationID() string
- func (o *QuotaCost) QuotaID() string
- func (o *QuotaCost) RelatedResources() []*RelatedResource
- func (o *QuotaCost) Version() string
- type QuotaCostBuilder
- func (b *QuotaCostBuilder) Allowed(value int) *QuotaCostBuilder
- func (b *QuotaCostBuilder) Build() (object *QuotaCost, err error)
- func (b *QuotaCostBuilder) CloudAccounts(values ...*CloudAccountBuilder) *QuotaCostBuilder
- func (b *QuotaCostBuilder) Consumed(value int) *QuotaCostBuilder
- func (b *QuotaCostBuilder) Copy(object *QuotaCost) *QuotaCostBuilder
- func (b *QuotaCostBuilder) Empty() bool
- func (b *QuotaCostBuilder) OrganizationID(value string) *QuotaCostBuilder
- func (b *QuotaCostBuilder) QuotaID(value string) *QuotaCostBuilder
- func (b *QuotaCostBuilder) RelatedResources(values ...*RelatedResourceBuilder) *QuotaCostBuilder
- func (b *QuotaCostBuilder) Version(value string) *QuotaCostBuilder
- type QuotaCostList
- func (l *QuotaCostList) Each(f func(item *QuotaCost) bool)
- func (l *QuotaCostList) Empty() bool
- func (l *QuotaCostList) Get(i int) *QuotaCost
- func (l *QuotaCostList) Items() []*QuotaCost
- func (l *QuotaCostList) Len() int
- func (l *QuotaCostList) Range(f func(index int, item *QuotaCost) bool)
- func (l *QuotaCostList) SetHREF(href string)
- func (l *QuotaCostList) SetItems(items []*QuotaCost)
- func (l *QuotaCostList) SetLink(link bool)
- func (l *QuotaCostList) Slice() []*QuotaCost
- type QuotaCostListBuilder
- type QuotaRules
- func (o *QuotaRules) AvailabilityZone() string
- func (o *QuotaRules) BillingModel() string
- func (o *QuotaRules) Byoc() string
- func (o *QuotaRules) Cloud() string
- func (o *QuotaRules) Cost() int
- func (o *QuotaRules) Empty() bool
- func (o *QuotaRules) GetAvailabilityZone() (value string, ok bool)
- func (o *QuotaRules) GetBillingModel() (value string, ok bool)
- func (o *QuotaRules) GetByoc() (value string, ok bool)
- func (o *QuotaRules) GetCloud() (value string, ok bool)
- func (o *QuotaRules) GetCost() (value int, ok bool)
- func (o *QuotaRules) GetName() (value string, ok bool)
- func (o *QuotaRules) GetProduct() (value string, ok bool)
- func (o *QuotaRules) GetQuotaId() (value string, ok bool)
- func (o *QuotaRules) Name() string
- func (o *QuotaRules) Product() string
- func (o *QuotaRules) QuotaId() string
- type QuotaRulesBuilder
- func (b *QuotaRulesBuilder) AvailabilityZone(value string) *QuotaRulesBuilder
- func (b *QuotaRulesBuilder) BillingModel(value string) *QuotaRulesBuilder
- func (b *QuotaRulesBuilder) Build() (object *QuotaRules, err error)
- func (b *QuotaRulesBuilder) Byoc(value string) *QuotaRulesBuilder
- func (b *QuotaRulesBuilder) Cloud(value string) *QuotaRulesBuilder
- func (b *QuotaRulesBuilder) Copy(object *QuotaRules) *QuotaRulesBuilder
- func (b *QuotaRulesBuilder) Cost(value int) *QuotaRulesBuilder
- func (b *QuotaRulesBuilder) Empty() bool
- func (b *QuotaRulesBuilder) Name(value string) *QuotaRulesBuilder
- func (b *QuotaRulesBuilder) Product(value string) *QuotaRulesBuilder
- func (b *QuotaRulesBuilder) QuotaId(value string) *QuotaRulesBuilder
- type QuotaRulesList
- func (l *QuotaRulesList) Each(f func(item *QuotaRules) bool)
- func (l *QuotaRulesList) Empty() bool
- func (l *QuotaRulesList) Get(i int) *QuotaRules
- func (l *QuotaRulesList) Items() []*QuotaRules
- func (l *QuotaRulesList) Len() int
- func (l *QuotaRulesList) Range(f func(index int, item *QuotaRules) bool)
- func (l *QuotaRulesList) SetHREF(href string)
- func (l *QuotaRulesList) SetItems(items []*QuotaRules)
- func (l *QuotaRulesList) SetLink(link bool)
- func (l *QuotaRulesList) Slice() []*QuotaRules
- type QuotaRulesListBuilder
- type Registry
- func (o *Registry) CloudAlias() bool
- func (o *Registry) CreatedAt() time.Time
- func (o *Registry) Empty() bool
- func (o *Registry) GetCloudAlias() (value bool, ok bool)
- func (o *Registry) GetCreatedAt() (value time.Time, ok bool)
- func (o *Registry) GetHREF() (value string, ok bool)
- func (o *Registry) GetID() (value string, ok bool)
- func (o *Registry) GetName() (value string, ok bool)
- func (o *Registry) GetOrgName() (value string, ok bool)
- func (o *Registry) GetTeamName() (value string, ok bool)
- func (o *Registry) GetType() (value string, ok bool)
- func (o *Registry) GetURL() (value string, ok bool)
- func (o *Registry) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Registry) HREF() string
- func (o *Registry) ID() string
- func (o *Registry) Kind() string
- func (o *Registry) Link() bool
- func (o *Registry) Name() string
- func (o *Registry) OrgName() string
- func (o *Registry) TeamName() string
- func (o *Registry) Type() string
- func (o *Registry) URL() string
- func (o *Registry) UpdatedAt() time.Time
- type RegistryBuilder
- func (b *RegistryBuilder) Build() (object *Registry, err error)
- func (b *RegistryBuilder) CloudAlias(value bool) *RegistryBuilder
- func (b *RegistryBuilder) Copy(object *Registry) *RegistryBuilder
- func (b *RegistryBuilder) CreatedAt(value time.Time) *RegistryBuilder
- func (b *RegistryBuilder) Empty() bool
- func (b *RegistryBuilder) HREF(value string) *RegistryBuilder
- func (b *RegistryBuilder) ID(value string) *RegistryBuilder
- func (b *RegistryBuilder) Link(value bool) *RegistryBuilder
- func (b *RegistryBuilder) Name(value string) *RegistryBuilder
- func (b *RegistryBuilder) OrgName(value string) *RegistryBuilder
- func (b *RegistryBuilder) TeamName(value string) *RegistryBuilder
- func (b *RegistryBuilder) Type(value string) *RegistryBuilder
- func (b *RegistryBuilder) URL(value string) *RegistryBuilder
- func (b *RegistryBuilder) UpdatedAt(value time.Time) *RegistryBuilder
- type RegistryCredential
- func ReadRegistryCredential(iterator *jsoniter.Iterator) *RegistryCredential
- func ReadRegistryCredentialList(iterator *jsoniter.Iterator) []*RegistryCredential
- func UnmarshalRegistryCredential(source interface{}) (object *RegistryCredential, err error)
- func UnmarshalRegistryCredentialList(source interface{}) (items []*RegistryCredential, err error)
- func (o *RegistryCredential) Account() *Account
- func (o *RegistryCredential) CreatedAt() time.Time
- func (o *RegistryCredential) Empty() bool
- func (o *RegistryCredential) ExternalResourceID() string
- func (o *RegistryCredential) GetAccount() (value *Account, ok bool)
- func (o *RegistryCredential) GetCreatedAt() (value time.Time, ok bool)
- func (o *RegistryCredential) GetExternalResourceID() (value string, ok bool)
- func (o *RegistryCredential) GetHREF() (value string, ok bool)
- func (o *RegistryCredential) GetID() (value string, ok bool)
- func (o *RegistryCredential) GetRegistry() (value *Registry, ok bool)
- func (o *RegistryCredential) GetToken() (value string, ok bool)
- func (o *RegistryCredential) GetUpdatedAt() (value time.Time, ok bool)
- func (o *RegistryCredential) GetUsername() (value string, ok bool)
- func (o *RegistryCredential) HREF() string
- func (o *RegistryCredential) ID() string
- func (o *RegistryCredential) Kind() string
- func (o *RegistryCredential) Link() bool
- func (o *RegistryCredential) Registry() *Registry
- func (o *RegistryCredential) Token() string
- func (o *RegistryCredential) UpdatedAt() time.Time
- func (o *RegistryCredential) Username() string
- type RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Account(value *AccountBuilder) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Build() (object *RegistryCredential, err error)
- func (b *RegistryCredentialBuilder) Copy(object *RegistryCredential) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) CreatedAt(value time.Time) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Empty() bool
- func (b *RegistryCredentialBuilder) ExternalResourceID(value string) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) HREF(value string) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) ID(value string) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Link(value bool) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Registry(value *RegistryBuilder) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Token(value string) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) UpdatedAt(value time.Time) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Username(value string) *RegistryCredentialBuilder
- type RegistryCredentialList
- func (l *RegistryCredentialList) Each(f func(item *RegistryCredential) bool)
- func (l *RegistryCredentialList) Empty() bool
- func (l *RegistryCredentialList) Get(i int) *RegistryCredential
- func (l *RegistryCredentialList) GetHREF() (value string, ok bool)
- func (l *RegistryCredentialList) HREF() string
- func (l *RegistryCredentialList) Items() []*RegistryCredential
- func (l *RegistryCredentialList) Kind() string
- func (l *RegistryCredentialList) Len() int
- func (l *RegistryCredentialList) Link() bool
- func (l *RegistryCredentialList) Range(f func(index int, item *RegistryCredential) bool)
- func (l *RegistryCredentialList) SetHREF(href string)
- func (l *RegistryCredentialList) SetItems(items []*RegistryCredential)
- func (l *RegistryCredentialList) SetLink(link bool)
- func (l *RegistryCredentialList) Slice() []*RegistryCredential
- type RegistryCredentialListBuilder
- func (b *RegistryCredentialListBuilder) Build() (list *RegistryCredentialList, err error)
- func (b *RegistryCredentialListBuilder) Copy(list *RegistryCredentialList) *RegistryCredentialListBuilder
- func (b *RegistryCredentialListBuilder) Empty() bool
- func (b *RegistryCredentialListBuilder) Items(values ...*RegistryCredentialBuilder) *RegistryCredentialListBuilder
- type RegistryList
- func (l *RegistryList) Each(f func(item *Registry) bool)
- func (l *RegistryList) Empty() bool
- func (l *RegistryList) Get(i int) *Registry
- func (l *RegistryList) GetHREF() (value string, ok bool)
- func (l *RegistryList) HREF() string
- func (l *RegistryList) Items() []*Registry
- func (l *RegistryList) Kind() string
- func (l *RegistryList) Len() int
- func (l *RegistryList) Link() bool
- func (l *RegistryList) Range(f func(index int, item *Registry) bool)
- func (l *RegistryList) SetHREF(href string)
- func (l *RegistryList) SetItems(items []*Registry)
- func (l *RegistryList) SetLink(link bool)
- func (l *RegistryList) Slice() []*Registry
- type RegistryListBuilder
- type RelatedResource
- func ReadRelatedResource(iterator *jsoniter.Iterator) *RelatedResource
- func ReadRelatedResourceList(iterator *jsoniter.Iterator) []*RelatedResource
- func UnmarshalRelatedResource(source interface{}) (object *RelatedResource, err error)
- func UnmarshalRelatedResourceList(source interface{}) (items []*RelatedResource, err error)
- func (o *RelatedResource) AvailabilityZoneType() string
- func (o *RelatedResource) BYOC() string
- func (o *RelatedResource) BillingModel() string
- func (o *RelatedResource) CloudProvider() string
- func (o *RelatedResource) Cost() int
- func (o *RelatedResource) Empty() bool
- func (o *RelatedResource) GetAvailabilityZoneType() (value string, ok bool)
- func (o *RelatedResource) GetBYOC() (value string, ok bool)
- func (o *RelatedResource) GetBillingModel() (value string, ok bool)
- func (o *RelatedResource) GetCloudProvider() (value string, ok bool)
- func (o *RelatedResource) GetCost() (value int, ok bool)
- func (o *RelatedResource) GetProduct() (value string, ok bool)
- func (o *RelatedResource) GetResourceName() (value string, ok bool)
- func (o *RelatedResource) GetResourceType() (value string, ok bool)
- func (o *RelatedResource) Product() string
- func (o *RelatedResource) ResourceName() string
- func (o *RelatedResource) ResourceType() string
- type RelatedResourceBuilder
- func (b *RelatedResourceBuilder) AvailabilityZoneType(value string) *RelatedResourceBuilder
- func (b *RelatedResourceBuilder) BYOC(value string) *RelatedResourceBuilder
- func (b *RelatedResourceBuilder) BillingModel(value string) *RelatedResourceBuilder
- func (b *RelatedResourceBuilder) Build() (object *RelatedResource, err error)
- func (b *RelatedResourceBuilder) CloudProvider(value string) *RelatedResourceBuilder
- func (b *RelatedResourceBuilder) Copy(object *RelatedResource) *RelatedResourceBuilder
- func (b *RelatedResourceBuilder) Cost(value int) *RelatedResourceBuilder
- func (b *RelatedResourceBuilder) Empty() bool
- func (b *RelatedResourceBuilder) Product(value string) *RelatedResourceBuilder
- func (b *RelatedResourceBuilder) ResourceName(value string) *RelatedResourceBuilder
- func (b *RelatedResourceBuilder) ResourceType(value string) *RelatedResourceBuilder
- type RelatedResourceList
- func (l *RelatedResourceList) Each(f func(item *RelatedResource) bool)
- func (l *RelatedResourceList) Empty() bool
- func (l *RelatedResourceList) Get(i int) *RelatedResource
- func (l *RelatedResourceList) Items() []*RelatedResource
- func (l *RelatedResourceList) Len() int
- func (l *RelatedResourceList) Range(f func(index int, item *RelatedResource) bool)
- func (l *RelatedResourceList) SetHREF(href string)
- func (l *RelatedResourceList) SetItems(items []*RelatedResource)
- func (l *RelatedResourceList) SetLink(link bool)
- func (l *RelatedResourceList) Slice() []*RelatedResource
- type RelatedResourceListBuilder
- func (b *RelatedResourceListBuilder) Build() (list *RelatedResourceList, err error)
- func (b *RelatedResourceListBuilder) Copy(list *RelatedResourceList) *RelatedResourceListBuilder
- func (b *RelatedResourceListBuilder) Empty() bool
- func (b *RelatedResourceListBuilder) Items(values ...*RelatedResourceBuilder) *RelatedResourceListBuilder
- type ReservedResource
- func ReadReservedResource(iterator *jsoniter.Iterator) *ReservedResource
- func ReadReservedResourceList(iterator *jsoniter.Iterator) []*ReservedResource
- func UnmarshalReservedResource(source interface{}) (object *ReservedResource, err error)
- func UnmarshalReservedResourceList(source interface{}) (items []*ReservedResource, err error)
- func (o *ReservedResource) AvailabilityZoneType() string
- func (o *ReservedResource) BYOC() bool
- func (o *ReservedResource) BillingMarketplaceAccount() string
- func (o *ReservedResource) BillingModel() BillingModel
- func (o *ReservedResource) Count() int
- func (o *ReservedResource) CreatedAt() time.Time
- func (o *ReservedResource) Empty() bool
- func (o *ReservedResource) GetAvailabilityZoneType() (value string, ok bool)
- func (o *ReservedResource) GetBYOC() (value bool, ok bool)
- func (o *ReservedResource) GetBillingMarketplaceAccount() (value string, ok bool)
- func (o *ReservedResource) GetBillingModel() (value BillingModel, ok bool)
- func (o *ReservedResource) GetCount() (value int, ok bool)
- func (o *ReservedResource) GetCreatedAt() (value time.Time, ok bool)
- func (o *ReservedResource) GetResourceName() (value string, ok bool)
- func (o *ReservedResource) GetResourceType() (value string, ok bool)
- func (o *ReservedResource) GetScope() (value string, ok bool)
- func (o *ReservedResource) GetUpdatedAt() (value time.Time, ok bool)
- func (o *ReservedResource) ResourceName() string
- func (o *ReservedResource) ResourceType() string
- func (o *ReservedResource) Scope() string
- func (o *ReservedResource) UpdatedAt() time.Time
- type ReservedResourceBuilder
- func (b *ReservedResourceBuilder) AvailabilityZoneType(value string) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) BYOC(value bool) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) BillingMarketplaceAccount(value string) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) BillingModel(value BillingModel) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) Build() (object *ReservedResource, err error)
- func (b *ReservedResourceBuilder) Copy(object *ReservedResource) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) Count(value int) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) CreatedAt(value time.Time) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) Empty() bool
- func (b *ReservedResourceBuilder) ResourceName(value string) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) ResourceType(value string) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) Scope(value string) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) UpdatedAt(value time.Time) *ReservedResourceBuilder
- type ReservedResourceList
- func (l *ReservedResourceList) Each(f func(item *ReservedResource) bool)
- func (l *ReservedResourceList) Empty() bool
- func (l *ReservedResourceList) Get(i int) *ReservedResource
- func (l *ReservedResourceList) Items() []*ReservedResource
- func (l *ReservedResourceList) Len() int
- func (l *ReservedResourceList) Range(f func(index int, item *ReservedResource) bool)
- func (l *ReservedResourceList) SetHREF(href string)
- func (l *ReservedResourceList) SetItems(items []*ReservedResource)
- func (l *ReservedResourceList) SetLink(link bool)
- func (l *ReservedResourceList) Slice() []*ReservedResource
- type ReservedResourceListBuilder
- func (b *ReservedResourceListBuilder) Build() (list *ReservedResourceList, err error)
- func (b *ReservedResourceListBuilder) Copy(list *ReservedResourceList) *ReservedResourceListBuilder
- func (b *ReservedResourceListBuilder) Empty() bool
- func (b *ReservedResourceListBuilder) Items(values ...*ReservedResourceBuilder) *ReservedResourceListBuilder
- type Resource
- func (o *Resource) Allowed() int
- func (o *Resource) AvailabilityZoneType() string
- func (o *Resource) BYOC() bool
- func (o *Resource) Empty() bool
- func (o *Resource) GetAllowed() (value int, ok bool)
- func (o *Resource) GetAvailabilityZoneType() (value string, ok bool)
- func (o *Resource) GetBYOC() (value bool, ok bool)
- func (o *Resource) GetHREF() (value string, ok bool)
- func (o *Resource) GetID() (value string, ok bool)
- func (o *Resource) GetResourceName() (value string, ok bool)
- func (o *Resource) GetResourceType() (value string, ok bool)
- func (o *Resource) GetSKU() (value string, ok bool)
- func (o *Resource) HREF() string
- func (o *Resource) ID() string
- func (o *Resource) Kind() string
- func (o *Resource) Link() bool
- func (o *Resource) ResourceName() string
- func (o *Resource) ResourceType() string
- func (o *Resource) SKU() string
- type ResourceBuilder
- func (b *ResourceBuilder) Allowed(value int) *ResourceBuilder
- func (b *ResourceBuilder) AvailabilityZoneType(value string) *ResourceBuilder
- func (b *ResourceBuilder) BYOC(value bool) *ResourceBuilder
- func (b *ResourceBuilder) Build() (object *Resource, err error)
- func (b *ResourceBuilder) Copy(object *Resource) *ResourceBuilder
- func (b *ResourceBuilder) Empty() bool
- func (b *ResourceBuilder) HREF(value string) *ResourceBuilder
- func (b *ResourceBuilder) ID(value string) *ResourceBuilder
- func (b *ResourceBuilder) Link(value bool) *ResourceBuilder
- func (b *ResourceBuilder) ResourceName(value string) *ResourceBuilder
- func (b *ResourceBuilder) ResourceType(value string) *ResourceBuilder
- func (b *ResourceBuilder) SKU(value string) *ResourceBuilder
- type ResourceList
- func (l *ResourceList) Each(f func(item *Resource) bool)
- func (l *ResourceList) Empty() bool
- func (l *ResourceList) Get(i int) *Resource
- func (l *ResourceList) GetHREF() (value string, ok bool)
- func (l *ResourceList) HREF() string
- func (l *ResourceList) Items() []*Resource
- func (l *ResourceList) Kind() string
- func (l *ResourceList) Len() int
- func (l *ResourceList) Link() bool
- func (l *ResourceList) Range(f func(index int, item *Resource) bool)
- func (l *ResourceList) SetHREF(href string)
- func (l *ResourceList) SetItems(items []*Resource)
- func (l *ResourceList) SetLink(link bool)
- func (l *ResourceList) Slice() []*Resource
- type ResourceListBuilder
- type ResourceQuota
- func ReadResourceQuota(iterator *jsoniter.Iterator) *ResourceQuota
- func ReadResourceQuotaList(iterator *jsoniter.Iterator) []*ResourceQuota
- func UnmarshalResourceQuota(source interface{}) (object *ResourceQuota, err error)
- func UnmarshalResourceQuotaList(source interface{}) (items []*ResourceQuota, err error)
- func (o *ResourceQuota) CreatedAt() time.Time
- func (o *ResourceQuota) Empty() bool
- func (o *ResourceQuota) GetCreatedAt() (value time.Time, ok bool)
- func (o *ResourceQuota) GetHREF() (value string, ok bool)
- func (o *ResourceQuota) GetID() (value string, ok bool)
- func (o *ResourceQuota) GetOrganizationID() (value string, ok bool)
- func (o *ResourceQuota) GetSKU() (value string, ok bool)
- func (o *ResourceQuota) GetSkuCount() (value int, ok bool)
- func (o *ResourceQuota) GetType() (value string, ok bool)
- func (o *ResourceQuota) GetUpdatedAt() (value time.Time, ok bool)
- func (o *ResourceQuota) HREF() string
- func (o *ResourceQuota) ID() string
- func (o *ResourceQuota) Kind() string
- func (o *ResourceQuota) Link() bool
- func (o *ResourceQuota) OrganizationID() string
- func (o *ResourceQuota) SKU() string
- func (o *ResourceQuota) SkuCount() int
- func (o *ResourceQuota) Type() string
- func (o *ResourceQuota) UpdatedAt() time.Time
- type ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) Build() (object *ResourceQuota, err error)
- func (b *ResourceQuotaBuilder) Copy(object *ResourceQuota) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) CreatedAt(value time.Time) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) Empty() bool
- func (b *ResourceQuotaBuilder) HREF(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) ID(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) Link(value bool) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) OrganizationID(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) SKU(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) SkuCount(value int) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) Type(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) UpdatedAt(value time.Time) *ResourceQuotaBuilder
- type ResourceQuotaList
- func (l *ResourceQuotaList) Each(f func(item *ResourceQuota) bool)
- func (l *ResourceQuotaList) Empty() bool
- func (l *ResourceQuotaList) Get(i int) *ResourceQuota
- func (l *ResourceQuotaList) GetHREF() (value string, ok bool)
- func (l *ResourceQuotaList) HREF() string
- func (l *ResourceQuotaList) Items() []*ResourceQuota
- func (l *ResourceQuotaList) Kind() string
- func (l *ResourceQuotaList) Len() int
- func (l *ResourceQuotaList) Link() bool
- func (l *ResourceQuotaList) Range(f func(index int, item *ResourceQuota) bool)
- func (l *ResourceQuotaList) SetHREF(href string)
- func (l *ResourceQuotaList) SetItems(items []*ResourceQuota)
- func (l *ResourceQuotaList) SetLink(link bool)
- func (l *ResourceQuotaList) Slice() []*ResourceQuota
- type ResourceQuotaListBuilder
- func (b *ResourceQuotaListBuilder) Build() (list *ResourceQuotaList, err error)
- func (b *ResourceQuotaListBuilder) Copy(list *ResourceQuotaList) *ResourceQuotaListBuilder
- func (b *ResourceQuotaListBuilder) Empty() bool
- func (b *ResourceQuotaListBuilder) Items(values ...*ResourceQuotaBuilder) *ResourceQuotaListBuilder
- type Role
- func (o *Role) Empty() bool
- func (o *Role) GetHREF() (value string, ok bool)
- func (o *Role) GetID() (value string, ok bool)
- func (o *Role) GetName() (value string, ok bool)
- func (o *Role) GetPermissions() (value []*Permission, ok bool)
- func (o *Role) HREF() string
- func (o *Role) ID() string
- func (o *Role) Kind() string
- func (o *Role) Link() bool
- func (o *Role) Name() string
- func (o *Role) Permissions() []*Permission
- type RoleBinding
- func (o *RoleBinding) Account() *Account
- func (o *RoleBinding) AccountID() string
- func (o *RoleBinding) ConfigManaged() bool
- func (o *RoleBinding) CreatedAt() time.Time
- func (o *RoleBinding) Empty() bool
- func (o *RoleBinding) GetAccount() (value *Account, ok bool)
- func (o *RoleBinding) GetAccountID() (value string, ok bool)
- func (o *RoleBinding) GetConfigManaged() (value bool, ok bool)
- func (o *RoleBinding) GetCreatedAt() (value time.Time, ok bool)
- func (o *RoleBinding) GetHREF() (value string, ok bool)
- func (o *RoleBinding) GetID() (value string, ok bool)
- func (o *RoleBinding) GetManagedBy() (value string, ok bool)
- func (o *RoleBinding) GetOrganization() (value *Organization, ok bool)
- func (o *RoleBinding) GetOrganizationID() (value string, ok bool)
- func (o *RoleBinding) GetRole() (value *Role, ok bool)
- func (o *RoleBinding) GetRoleID() (value string, ok bool)
- func (o *RoleBinding) GetSubscription() (value *Subscription, ok bool)
- func (o *RoleBinding) GetSubscriptionID() (value string, ok bool)
- func (o *RoleBinding) GetType() (value string, ok bool)
- func (o *RoleBinding) GetUpdatedAt() (value time.Time, ok bool)
- func (o *RoleBinding) HREF() string
- func (o *RoleBinding) ID() string
- func (o *RoleBinding) Kind() string
- func (o *RoleBinding) Link() bool
- func (o *RoleBinding) ManagedBy() string
- func (o *RoleBinding) Organization() *Organization
- func (o *RoleBinding) OrganizationID() string
- func (o *RoleBinding) Role() *Role
- func (o *RoleBinding) RoleID() string
- func (o *RoleBinding) Subscription() *Subscription
- func (o *RoleBinding) SubscriptionID() string
- func (o *RoleBinding) Type() string
- func (o *RoleBinding) UpdatedAt() time.Time
- type RoleBindingBuilder
- func (b *RoleBindingBuilder) Account(value *AccountBuilder) *RoleBindingBuilder
- func (b *RoleBindingBuilder) AccountID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Build() (object *RoleBinding, err error)
- func (b *RoleBindingBuilder) ConfigManaged(value bool) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Copy(object *RoleBinding) *RoleBindingBuilder
- func (b *RoleBindingBuilder) CreatedAt(value time.Time) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Empty() bool
- func (b *RoleBindingBuilder) HREF(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) ID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Link(value bool) *RoleBindingBuilder
- func (b *RoleBindingBuilder) ManagedBy(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Organization(value *OrganizationBuilder) *RoleBindingBuilder
- func (b *RoleBindingBuilder) OrganizationID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Role(value *RoleBuilder) *RoleBindingBuilder
- func (b *RoleBindingBuilder) RoleID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Subscription(value *SubscriptionBuilder) *RoleBindingBuilder
- func (b *RoleBindingBuilder) SubscriptionID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Type(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) UpdatedAt(value time.Time) *RoleBindingBuilder
- type RoleBindingList
- func (l *RoleBindingList) Each(f func(item *RoleBinding) bool)
- func (l *RoleBindingList) Empty() bool
- func (l *RoleBindingList) Get(i int) *RoleBinding
- func (l *RoleBindingList) GetHREF() (value string, ok bool)
- func (l *RoleBindingList) HREF() string
- func (l *RoleBindingList) Items() []*RoleBinding
- func (l *RoleBindingList) Kind() string
- func (l *RoleBindingList) Len() int
- func (l *RoleBindingList) Link() bool
- func (l *RoleBindingList) Range(f func(index int, item *RoleBinding) bool)
- func (l *RoleBindingList) SetHREF(href string)
- func (l *RoleBindingList) SetItems(items []*RoleBinding)
- func (l *RoleBindingList) SetLink(link bool)
- func (l *RoleBindingList) Slice() []*RoleBinding
- type RoleBindingListBuilder
- func (b *RoleBindingListBuilder) Build() (list *RoleBindingList, err error)
- func (b *RoleBindingListBuilder) Copy(list *RoleBindingList) *RoleBindingListBuilder
- func (b *RoleBindingListBuilder) Empty() bool
- func (b *RoleBindingListBuilder) Items(values ...*RoleBindingBuilder) *RoleBindingListBuilder
- type RoleBuilder
- func (b *RoleBuilder) Build() (object *Role, err error)
- func (b *RoleBuilder) Copy(object *Role) *RoleBuilder
- func (b *RoleBuilder) Empty() bool
- func (b *RoleBuilder) HREF(value string) *RoleBuilder
- func (b *RoleBuilder) ID(value string) *RoleBuilder
- func (b *RoleBuilder) Link(value bool) *RoleBuilder
- func (b *RoleBuilder) Name(value string) *RoleBuilder
- func (b *RoleBuilder) Permissions(values ...*PermissionBuilder) *RoleBuilder
- type RoleList
- func (l *RoleList) Each(f func(item *Role) bool)
- func (l *RoleList) Empty() bool
- func (l *RoleList) Get(i int) *Role
- func (l *RoleList) GetHREF() (value string, ok bool)
- func (l *RoleList) HREF() string
- func (l *RoleList) Items() []*Role
- func (l *RoleList) Kind() string
- func (l *RoleList) Len() int
- func (l *RoleList) Link() bool
- func (l *RoleList) Range(f func(index int, item *Role) bool)
- func (l *RoleList) SetHREF(href string)
- func (l *RoleList) SetItems(items []*Role)
- func (l *RoleList) SetLink(link bool)
- func (l *RoleList) Slice() []*Role
- type RoleListBuilder
- type SkuRule
- func (o *SkuRule) Allowed() int
- func (o *SkuRule) Empty() bool
- func (o *SkuRule) GetAllowed() (value int, ok bool)
- func (o *SkuRule) GetHREF() (value string, ok bool)
- func (o *SkuRule) GetID() (value string, ok bool)
- func (o *SkuRule) GetQuotaId() (value string, ok bool)
- func (o *SkuRule) GetSku() (value string, ok bool)
- func (o *SkuRule) HREF() string
- func (o *SkuRule) ID() string
- func (o *SkuRule) Kind() string
- func (o *SkuRule) Link() bool
- func (o *SkuRule) QuotaId() string
- func (o *SkuRule) Sku() string
- type SkuRuleBuilder
- func (b *SkuRuleBuilder) Allowed(value int) *SkuRuleBuilder
- func (b *SkuRuleBuilder) Build() (object *SkuRule, err error)
- func (b *SkuRuleBuilder) Copy(object *SkuRule) *SkuRuleBuilder
- func (b *SkuRuleBuilder) Empty() bool
- func (b *SkuRuleBuilder) HREF(value string) *SkuRuleBuilder
- func (b *SkuRuleBuilder) ID(value string) *SkuRuleBuilder
- func (b *SkuRuleBuilder) Link(value bool) *SkuRuleBuilder
- func (b *SkuRuleBuilder) QuotaId(value string) *SkuRuleBuilder
- func (b *SkuRuleBuilder) Sku(value string) *SkuRuleBuilder
- type SkuRuleList
- func (l *SkuRuleList) Each(f func(item *SkuRule) bool)
- func (l *SkuRuleList) Empty() bool
- func (l *SkuRuleList) Get(i int) *SkuRule
- func (l *SkuRuleList) GetHREF() (value string, ok bool)
- func (l *SkuRuleList) HREF() string
- func (l *SkuRuleList) Items() []*SkuRule
- func (l *SkuRuleList) Kind() string
- func (l *SkuRuleList) Len() int
- func (l *SkuRuleList) Link() bool
- func (l *SkuRuleList) Range(f func(index int, item *SkuRule) bool)
- func (l *SkuRuleList) SetHREF(href string)
- func (l *SkuRuleList) SetItems(items []*SkuRule)
- func (l *SkuRuleList) SetLink(link bool)
- func (l *SkuRuleList) Slice() []*SkuRule
- type SkuRuleListBuilder
- type Subscription
- func ReadSubscription(iterator *jsoniter.Iterator) *Subscription
- func ReadSubscriptionList(iterator *jsoniter.Iterator) []*Subscription
- func UnmarshalSubscription(source interface{}) (object *Subscription, err error)
- func UnmarshalSubscriptionList(source interface{}) (items []*Subscription, err error)
- func (o *Subscription) BillingMarketplaceAccount() string
- func (o *Subscription) Capabilities() []*Capability
- func (o *Subscription) CloudAccountID() string
- func (o *Subscription) CloudProviderID() string
- func (o *Subscription) ClusterBillingModel() BillingModel
- func (o *Subscription) ClusterID() string
- func (o *Subscription) ConsoleURL() string
- func (o *Subscription) ConsumerUUID() string
- func (o *Subscription) CpuTotal() int
- func (o *Subscription) CreatedAt() time.Time
- func (o *Subscription) Creator() *Account
- func (o *Subscription) DisplayName() string
- func (o *Subscription) Empty() bool
- func (o *Subscription) ExternalClusterID() string
- func (o *Subscription) GetBillingMarketplaceAccount() (value string, ok bool)
- func (o *Subscription) GetCapabilities() (value []*Capability, ok bool)
- func (o *Subscription) GetCloudAccountID() (value string, ok bool)
- func (o *Subscription) GetCloudProviderID() (value string, ok bool)
- func (o *Subscription) GetClusterBillingModel() (value BillingModel, ok bool)
- func (o *Subscription) GetClusterID() (value string, ok bool)
- func (o *Subscription) GetConsoleURL() (value string, ok bool)
- func (o *Subscription) GetConsumerUUID() (value string, ok bool)
- func (o *Subscription) GetCpuTotal() (value int, ok bool)
- func (o *Subscription) GetCreatedAt() (value time.Time, ok bool)
- func (o *Subscription) GetCreator() (value *Account, ok bool)
- func (o *Subscription) GetDisplayName() (value string, ok bool)
- func (o *Subscription) GetExternalClusterID() (value string, ok bool)
- func (o *Subscription) GetHREF() (value string, ok bool)
- func (o *Subscription) GetID() (value string, ok bool)
- func (o *Subscription) GetLabels() (value []*Label, ok bool)
- func (o *Subscription) GetLastReconcileDate() (value time.Time, ok bool)
- func (o *Subscription) GetLastReleasedAt() (value time.Time, ok bool)
- func (o *Subscription) GetLastTelemetryDate() (value time.Time, ok bool)
- func (o *Subscription) GetManaged() (value bool, ok bool)
- func (o *Subscription) GetMetrics() (value []*SubscriptionMetrics, ok bool)
- func (o *Subscription) GetNotificationContacts() (value []*Account, ok bool)
- func (o *Subscription) GetOrganizationID() (value string, ok bool)
- func (o *Subscription) GetPlan() (value *Plan, ok bool)
- func (o *Subscription) GetProductBundle() (value string, ok bool)
- func (o *Subscription) GetProvenance() (value string, ok bool)
- func (o *Subscription) GetRegionID() (value string, ok bool)
- func (o *Subscription) GetReleased() (value bool, ok bool)
- func (o *Subscription) GetRhRegionID() (value string, ok bool)
- func (o *Subscription) GetServiceLevel() (value string, ok bool)
- func (o *Subscription) GetSocketTotal() (value int, ok bool)
- func (o *Subscription) GetStatus() (value string, ok bool)
- func (o *Subscription) GetSupportLevel() (value string, ok bool)
- func (o *Subscription) GetSystemUnits() (value string, ok bool)
- func (o *Subscription) GetTrialEndDate() (value time.Time, ok bool)
- func (o *Subscription) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Subscription) GetUsage() (value string, ok bool)
- func (o *Subscription) HREF() string
- func (o *Subscription) ID() string
- func (o *Subscription) Kind() string
- func (o *Subscription) Labels() []*Label
- func (o *Subscription) LastReconcileDate() time.Time
- func (o *Subscription) LastReleasedAt() time.Time
- func (o *Subscription) LastTelemetryDate() time.Time
- func (o *Subscription) Link() bool
- func (o *Subscription) Managed() bool
- func (o *Subscription) Metrics() []*SubscriptionMetrics
- func (o *Subscription) NotificationContacts() []*Account
- func (o *Subscription) OrganizationID() string
- func (o *Subscription) Plan() *Plan
- func (o *Subscription) ProductBundle() string
- func (o *Subscription) Provenance() string
- func (o *Subscription) RegionID() string
- func (o *Subscription) Released() bool
- func (o *Subscription) RhRegionID() string
- func (o *Subscription) ServiceLevel() string
- func (o *Subscription) SocketTotal() int
- func (o *Subscription) Status() string
- func (o *Subscription) SupportLevel() string
- func (o *Subscription) SystemUnits() string
- func (o *Subscription) TrialEndDate() time.Time
- func (o *Subscription) UpdatedAt() time.Time
- func (o *Subscription) Usage() string
- type SubscriptionBuilder
- func (b *SubscriptionBuilder) BillingMarketplaceAccount(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Build() (object *Subscription, err error)
- func (b *SubscriptionBuilder) Capabilities(values ...*CapabilityBuilder) *SubscriptionBuilder
- func (b *SubscriptionBuilder) CloudAccountID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) CloudProviderID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ClusterBillingModel(value BillingModel) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ClusterID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ConsoleURL(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ConsumerUUID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Copy(object *Subscription) *SubscriptionBuilder
- func (b *SubscriptionBuilder) CpuTotal(value int) *SubscriptionBuilder
- func (b *SubscriptionBuilder) CreatedAt(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Creator(value *AccountBuilder) *SubscriptionBuilder
- func (b *SubscriptionBuilder) DisplayName(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Empty() bool
- func (b *SubscriptionBuilder) ExternalClusterID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) HREF(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Labels(values ...*LabelBuilder) *SubscriptionBuilder
- func (b *SubscriptionBuilder) LastReconcileDate(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) LastReleasedAt(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) LastTelemetryDate(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Link(value bool) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Managed(value bool) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Metrics(values ...*SubscriptionMetricsBuilder) *SubscriptionBuilder
- func (b *SubscriptionBuilder) NotificationContacts(values ...*AccountBuilder) *SubscriptionBuilder
- func (b *SubscriptionBuilder) OrganizationID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Plan(value *PlanBuilder) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ProductBundle(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Provenance(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) RegionID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Released(value bool) *SubscriptionBuilder
- func (b *SubscriptionBuilder) RhRegionID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ServiceLevel(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) SocketTotal(value int) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Status(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) SupportLevel(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) SystemUnits(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) TrialEndDate(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) UpdatedAt(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Usage(value string) *SubscriptionBuilder
- type SubscriptionList
- func (l *SubscriptionList) Each(f func(item *Subscription) bool)
- func (l *SubscriptionList) Empty() bool
- func (l *SubscriptionList) Get(i int) *Subscription
- func (l *SubscriptionList) GetHREF() (value string, ok bool)
- func (l *SubscriptionList) HREF() string
- func (l *SubscriptionList) Items() []*Subscription
- func (l *SubscriptionList) Kind() string
- func (l *SubscriptionList) Len() int
- func (l *SubscriptionList) Link() bool
- func (l *SubscriptionList) Range(f func(index int, item *Subscription) bool)
- func (l *SubscriptionList) SetHREF(href string)
- func (l *SubscriptionList) SetItems(items []*Subscription)
- func (l *SubscriptionList) SetLink(link bool)
- func (l *SubscriptionList) Slice() []*Subscription
- type SubscriptionListBuilder
- func (b *SubscriptionListBuilder) Build() (list *SubscriptionList, err error)
- func (b *SubscriptionListBuilder) Copy(list *SubscriptionList) *SubscriptionListBuilder
- func (b *SubscriptionListBuilder) Empty() bool
- func (b *SubscriptionListBuilder) Items(values ...*SubscriptionBuilder) *SubscriptionListBuilder
- type SubscriptionMetrics
- func ReadSubscriptionMetrics(iterator *jsoniter.Iterator) *SubscriptionMetrics
- func ReadSubscriptionMetricsList(iterator *jsoniter.Iterator) []*SubscriptionMetrics
- func UnmarshalSubscriptionMetrics(source interface{}) (object *SubscriptionMetrics, err error)
- func UnmarshalSubscriptionMetricsList(source interface{}) (items []*SubscriptionMetrics, err error)
- func (o *SubscriptionMetrics) CloudProvider() string
- func (o *SubscriptionMetrics) ComputeNodesCpu() *ClusterResource
- func (o *SubscriptionMetrics) ComputeNodesMemory() *ClusterResource
- func (o *SubscriptionMetrics) ComputeNodesSockets() *ClusterResource
- func (o *SubscriptionMetrics) ConsoleUrl() string
- func (o *SubscriptionMetrics) Cpu() *ClusterResource
- func (o *SubscriptionMetrics) CriticalAlertsFiring() float64
- func (o *SubscriptionMetrics) Empty() bool
- func (o *SubscriptionMetrics) GetCloudProvider() (value string, ok bool)
- func (o *SubscriptionMetrics) GetComputeNodesCpu() (value *ClusterResource, ok bool)
- func (o *SubscriptionMetrics) GetComputeNodesMemory() (value *ClusterResource, ok bool)
- func (o *SubscriptionMetrics) GetComputeNodesSockets() (value *ClusterResource, ok bool)
- func (o *SubscriptionMetrics) GetConsoleUrl() (value string, ok bool)
- func (o *SubscriptionMetrics) GetCpu() (value *ClusterResource, ok bool)
- func (o *SubscriptionMetrics) GetCriticalAlertsFiring() (value float64, ok bool)
- func (o *SubscriptionMetrics) GetHealthState() (value string, ok bool)
- func (o *SubscriptionMetrics) GetMemory() (value *ClusterResource, ok bool)
- func (o *SubscriptionMetrics) GetNodes() (value *ClusterMetricsNodes, ok bool)
- func (o *SubscriptionMetrics) GetOpenshiftVersion() (value string, ok bool)
- func (o *SubscriptionMetrics) GetOperatingSystem() (value string, ok bool)
- func (o *SubscriptionMetrics) GetOperatorsConditionFailing() (value float64, ok bool)
- func (o *SubscriptionMetrics) GetRegion() (value string, ok bool)
- func (o *SubscriptionMetrics) GetSockets() (value *ClusterResource, ok bool)
- func (o *SubscriptionMetrics) GetState() (value string, ok bool)
- func (o *SubscriptionMetrics) GetStateDescription() (value string, ok bool)
- func (o *SubscriptionMetrics) GetStorage() (value *ClusterResource, ok bool)
- func (o *SubscriptionMetrics) GetSubscriptionCpuTotal() (value float64, ok bool)
- func (o *SubscriptionMetrics) GetSubscriptionObligationExists() (value float64, ok bool)
- func (o *SubscriptionMetrics) GetSubscriptionSocketTotal() (value float64, ok bool)
- func (o *SubscriptionMetrics) GetUpgrade() (value *ClusterUpgrade, ok bool)
- func (o *SubscriptionMetrics) HealthState() string
- func (o *SubscriptionMetrics) Memory() *ClusterResource
- func (o *SubscriptionMetrics) Nodes() *ClusterMetricsNodes
- func (o *SubscriptionMetrics) OpenshiftVersion() string
- func (o *SubscriptionMetrics) OperatingSystem() string
- func (o *SubscriptionMetrics) OperatorsConditionFailing() float64
- func (o *SubscriptionMetrics) Region() string
- func (o *SubscriptionMetrics) Sockets() *ClusterResource
- func (o *SubscriptionMetrics) State() string
- func (o *SubscriptionMetrics) StateDescription() string
- func (o *SubscriptionMetrics) Storage() *ClusterResource
- func (o *SubscriptionMetrics) SubscriptionCpuTotal() float64
- func (o *SubscriptionMetrics) SubscriptionObligationExists() float64
- func (o *SubscriptionMetrics) SubscriptionSocketTotal() float64
- func (o *SubscriptionMetrics) Upgrade() *ClusterUpgrade
- type SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Build() (object *SubscriptionMetrics, err error)
- func (b *SubscriptionMetricsBuilder) CloudProvider(value string) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) ComputeNodesCpu(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) ComputeNodesMemory(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) ComputeNodesSockets(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) ConsoleUrl(value string) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Copy(object *SubscriptionMetrics) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Cpu(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) CriticalAlertsFiring(value float64) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Empty() bool
- func (b *SubscriptionMetricsBuilder) HealthState(value string) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Memory(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Nodes(value *ClusterMetricsNodesBuilder) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) OpenshiftVersion(value string) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) OperatingSystem(value string) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) OperatorsConditionFailing(value float64) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Region(value string) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Sockets(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) State(value string) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) StateDescription(value string) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Storage(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) SubscriptionCpuTotal(value float64) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) SubscriptionObligationExists(value float64) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) SubscriptionSocketTotal(value float64) *SubscriptionMetricsBuilder
- func (b *SubscriptionMetricsBuilder) Upgrade(value *ClusterUpgradeBuilder) *SubscriptionMetricsBuilder
- type SubscriptionMetricsList
- func (l *SubscriptionMetricsList) Each(f func(item *SubscriptionMetrics) bool)
- func (l *SubscriptionMetricsList) Empty() bool
- func (l *SubscriptionMetricsList) Get(i int) *SubscriptionMetrics
- func (l *SubscriptionMetricsList) Items() []*SubscriptionMetrics
- func (l *SubscriptionMetricsList) Len() int
- func (l *SubscriptionMetricsList) Range(f func(index int, item *SubscriptionMetrics) bool)
- func (l *SubscriptionMetricsList) SetHREF(href string)
- func (l *SubscriptionMetricsList) SetItems(items []*SubscriptionMetrics)
- func (l *SubscriptionMetricsList) SetLink(link bool)
- func (l *SubscriptionMetricsList) Slice() []*SubscriptionMetrics
- type SubscriptionMetricsListBuilder
- func (b *SubscriptionMetricsListBuilder) Build() (list *SubscriptionMetricsList, err error)
- func (b *SubscriptionMetricsListBuilder) Copy(list *SubscriptionMetricsList) *SubscriptionMetricsListBuilder
- func (b *SubscriptionMetricsListBuilder) Empty() bool
- func (b *SubscriptionMetricsListBuilder) Items(values ...*SubscriptionMetricsBuilder) *SubscriptionMetricsListBuilder
- type SubscriptionRegistration
- func ReadSubscriptionRegistration(iterator *jsoniter.Iterator) *SubscriptionRegistration
- func ReadSubscriptionRegistrationList(iterator *jsoniter.Iterator) []*SubscriptionRegistration
- func UnmarshalSubscriptionRegistration(source interface{}) (object *SubscriptionRegistration, err error)
- func UnmarshalSubscriptionRegistrationList(source interface{}) (items []*SubscriptionRegistration, err error)
- func (o *SubscriptionRegistration) ClusterUUID() string
- func (o *SubscriptionRegistration) ConsoleURL() string
- func (o *SubscriptionRegistration) DisplayName() string
- func (o *SubscriptionRegistration) Empty() bool
- func (o *SubscriptionRegistration) GetClusterUUID() (value string, ok bool)
- func (o *SubscriptionRegistration) GetConsoleURL() (value string, ok bool)
- func (o *SubscriptionRegistration) GetDisplayName() (value string, ok bool)
- func (o *SubscriptionRegistration) GetPlanID() (value PlanID, ok bool)
- func (o *SubscriptionRegistration) GetStatus() (value string, ok bool)
- func (o *SubscriptionRegistration) PlanID() PlanID
- func (o *SubscriptionRegistration) Status() string
- type SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) Build() (object *SubscriptionRegistration, err error)
- func (b *SubscriptionRegistrationBuilder) ClusterUUID(value string) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) ConsoleURL(value string) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) Copy(object *SubscriptionRegistration) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) DisplayName(value string) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) Empty() bool
- func (b *SubscriptionRegistrationBuilder) PlanID(value PlanID) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) Status(value string) *SubscriptionRegistrationBuilder
- type SubscriptionRegistrationList
- func (l *SubscriptionRegistrationList) Each(f func(item *SubscriptionRegistration) bool)
- func (l *SubscriptionRegistrationList) Empty() bool
- func (l *SubscriptionRegistrationList) Get(i int) *SubscriptionRegistration
- func (l *SubscriptionRegistrationList) Items() []*SubscriptionRegistration
- func (l *SubscriptionRegistrationList) Len() int
- func (l *SubscriptionRegistrationList) Range(f func(index int, item *SubscriptionRegistration) bool)
- func (l *SubscriptionRegistrationList) SetHREF(href string)
- func (l *SubscriptionRegistrationList) SetItems(items []*SubscriptionRegistration)
- func (l *SubscriptionRegistrationList) SetLink(link bool)
- func (l *SubscriptionRegistrationList) Slice() []*SubscriptionRegistration
- type SubscriptionRegistrationListBuilder
- func (b *SubscriptionRegistrationListBuilder) Build() (list *SubscriptionRegistrationList, err error)
- func (b *SubscriptionRegistrationListBuilder) Copy(list *SubscriptionRegistrationList) *SubscriptionRegistrationListBuilder
- func (b *SubscriptionRegistrationListBuilder) Empty() bool
- func (b *SubscriptionRegistrationListBuilder) Items(values ...*SubscriptionRegistrationBuilder) *SubscriptionRegistrationListBuilder
- type SummaryDashboard
- func ReadSummaryDashboard(iterator *jsoniter.Iterator) *SummaryDashboard
- func ReadSummaryDashboardList(iterator *jsoniter.Iterator) []*SummaryDashboard
- func UnmarshalSummaryDashboard(source interface{}) (object *SummaryDashboard, err error)
- func UnmarshalSummaryDashboardList(source interface{}) (items []*SummaryDashboard, err error)
- func (o *SummaryDashboard) Empty() bool
- func (o *SummaryDashboard) GetHREF() (value string, ok bool)
- func (o *SummaryDashboard) GetID() (value string, ok bool)
- func (o *SummaryDashboard) GetMetrics() (value []*SummaryMetrics, ok bool)
- func (o *SummaryDashboard) HREF() string
- func (o *SummaryDashboard) ID() string
- func (o *SummaryDashboard) Kind() string
- func (o *SummaryDashboard) Link() bool
- func (o *SummaryDashboard) Metrics() []*SummaryMetrics
- type SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) Build() (object *SummaryDashboard, err error)
- func (b *SummaryDashboardBuilder) Copy(object *SummaryDashboard) *SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) Empty() bool
- func (b *SummaryDashboardBuilder) HREF(value string) *SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) ID(value string) *SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) Link(value bool) *SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) Metrics(values ...*SummaryMetricsBuilder) *SummaryDashboardBuilder
- type SummaryDashboardList
- func (l *SummaryDashboardList) Each(f func(item *SummaryDashboard) bool)
- func (l *SummaryDashboardList) Empty() bool
- func (l *SummaryDashboardList) Get(i int) *SummaryDashboard
- func (l *SummaryDashboardList) GetHREF() (value string, ok bool)
- func (l *SummaryDashboardList) HREF() string
- func (l *SummaryDashboardList) Items() []*SummaryDashboard
- func (l *SummaryDashboardList) Kind() string
- func (l *SummaryDashboardList) Len() int
- func (l *SummaryDashboardList) Link() bool
- func (l *SummaryDashboardList) Range(f func(index int, item *SummaryDashboard) bool)
- func (l *SummaryDashboardList) SetHREF(href string)
- func (l *SummaryDashboardList) SetItems(items []*SummaryDashboard)
- func (l *SummaryDashboardList) SetLink(link bool)
- func (l *SummaryDashboardList) Slice() []*SummaryDashboard
- type SummaryDashboardListBuilder
- func (b *SummaryDashboardListBuilder) Build() (list *SummaryDashboardList, err error)
- func (b *SummaryDashboardListBuilder) Copy(list *SummaryDashboardList) *SummaryDashboardListBuilder
- func (b *SummaryDashboardListBuilder) Empty() bool
- func (b *SummaryDashboardListBuilder) Items(values ...*SummaryDashboardBuilder) *SummaryDashboardListBuilder
- type SummaryMetrics
- func ReadSummaryMetrics(iterator *jsoniter.Iterator) *SummaryMetrics
- func ReadSummaryMetricsList(iterator *jsoniter.Iterator) []*SummaryMetrics
- func UnmarshalSummaryMetrics(source interface{}) (object *SummaryMetrics, err error)
- func UnmarshalSummaryMetricsList(source interface{}) (items []*SummaryMetrics, err error)
- type SummaryMetricsBuilder
- func (b *SummaryMetricsBuilder) Build() (object *SummaryMetrics, err error)
- func (b *SummaryMetricsBuilder) Copy(object *SummaryMetrics) *SummaryMetricsBuilder
- func (b *SummaryMetricsBuilder) Empty() bool
- func (b *SummaryMetricsBuilder) Name(value string) *SummaryMetricsBuilder
- func (b *SummaryMetricsBuilder) Vector(values ...*SummarySampleBuilder) *SummaryMetricsBuilder
- type SummaryMetricsList
- func (l *SummaryMetricsList) Each(f func(item *SummaryMetrics) bool)
- func (l *SummaryMetricsList) Empty() bool
- func (l *SummaryMetricsList) Get(i int) *SummaryMetrics
- func (l *SummaryMetricsList) Items() []*SummaryMetrics
- func (l *SummaryMetricsList) Len() int
- func (l *SummaryMetricsList) Range(f func(index int, item *SummaryMetrics) bool)
- func (l *SummaryMetricsList) SetHREF(href string)
- func (l *SummaryMetricsList) SetItems(items []*SummaryMetrics)
- func (l *SummaryMetricsList) SetLink(link bool)
- func (l *SummaryMetricsList) Slice() []*SummaryMetrics
- type SummaryMetricsListBuilder
- func (b *SummaryMetricsListBuilder) Build() (list *SummaryMetricsList, err error)
- func (b *SummaryMetricsListBuilder) Copy(list *SummaryMetricsList) *SummaryMetricsListBuilder
- func (b *SummaryMetricsListBuilder) Empty() bool
- func (b *SummaryMetricsListBuilder) Items(values ...*SummaryMetricsBuilder) *SummaryMetricsListBuilder
- type SummarySample
- func ReadSummarySample(iterator *jsoniter.Iterator) *SummarySample
- func ReadSummarySampleList(iterator *jsoniter.Iterator) []*SummarySample
- func UnmarshalSummarySample(source interface{}) (object *SummarySample, err error)
- func UnmarshalSummarySampleList(source interface{}) (items []*SummarySample, err error)
- type SummarySampleBuilder
- func (b *SummarySampleBuilder) Build() (object *SummarySample, err error)
- func (b *SummarySampleBuilder) Copy(object *SummarySample) *SummarySampleBuilder
- func (b *SummarySampleBuilder) Empty() bool
- func (b *SummarySampleBuilder) Time(value string) *SummarySampleBuilder
- func (b *SummarySampleBuilder) Value(value float64) *SummarySampleBuilder
- type SummarySampleList
- func (l *SummarySampleList) Each(f func(item *SummarySample) bool)
- func (l *SummarySampleList) Empty() bool
- func (l *SummarySampleList) Get(i int) *SummarySample
- func (l *SummarySampleList) Items() []*SummarySample
- func (l *SummarySampleList) Len() int
- func (l *SummarySampleList) Range(f func(index int, item *SummarySample) bool)
- func (l *SummarySampleList) SetHREF(href string)
- func (l *SummarySampleList) SetItems(items []*SummarySample)
- func (l *SummarySampleList) SetLink(link bool)
- func (l *SummarySampleList) Slice() []*SummarySample
- type SummarySampleListBuilder
- func (b *SummarySampleListBuilder) Build() (list *SummarySampleList, err error)
- func (b *SummarySampleListBuilder) Copy(list *SummarySampleList) *SummarySampleListBuilder
- func (b *SummarySampleListBuilder) Empty() bool
- func (b *SummarySampleListBuilder) Items(values ...*SummarySampleBuilder) *SummarySampleListBuilder
- type SupportCaseRequest
- func ReadSupportCaseRequest(iterator *jsoniter.Iterator) *SupportCaseRequest
- func ReadSupportCaseRequestList(iterator *jsoniter.Iterator) []*SupportCaseRequest
- func UnmarshalSupportCaseRequest(source interface{}) (object *SupportCaseRequest, err error)
- func UnmarshalSupportCaseRequestList(source interface{}) (items []*SupportCaseRequest, err error)
- func (o *SupportCaseRequest) ClusterId() string
- func (o *SupportCaseRequest) ClusterUuid() string
- func (o *SupportCaseRequest) Description() string
- func (o *SupportCaseRequest) Empty() bool
- func (o *SupportCaseRequest) EventStreamId() string
- func (o *SupportCaseRequest) GetClusterId() (value string, ok bool)
- func (o *SupportCaseRequest) GetClusterUuid() (value string, ok bool)
- func (o *SupportCaseRequest) GetDescription() (value string, ok bool)
- func (o *SupportCaseRequest) GetEventStreamId() (value string, ok bool)
- func (o *SupportCaseRequest) GetHREF() (value string, ok bool)
- func (o *SupportCaseRequest) GetID() (value string, ok bool)
- func (o *SupportCaseRequest) GetSeverity() (value string, ok bool)
- func (o *SupportCaseRequest) GetSubscriptionId() (value string, ok bool)
- func (o *SupportCaseRequest) GetSummary() (value string, ok bool)
- func (o *SupportCaseRequest) HREF() string
- func (o *SupportCaseRequest) ID() string
- func (o *SupportCaseRequest) Kind() string
- func (o *SupportCaseRequest) Link() bool
- func (o *SupportCaseRequest) Severity() string
- func (o *SupportCaseRequest) SubscriptionId() string
- func (o *SupportCaseRequest) Summary() string
- type SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Build() (object *SupportCaseRequest, err error)
- func (b *SupportCaseRequestBuilder) ClusterId(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) ClusterUuid(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Copy(object *SupportCaseRequest) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Description(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Empty() bool
- func (b *SupportCaseRequestBuilder) EventStreamId(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) HREF(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) ID(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Link(value bool) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Severity(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) SubscriptionId(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Summary(value string) *SupportCaseRequestBuilder
- type SupportCaseRequestList
- func (l *SupportCaseRequestList) Each(f func(item *SupportCaseRequest) bool)
- func (l *SupportCaseRequestList) Empty() bool
- func (l *SupportCaseRequestList) Get(i int) *SupportCaseRequest
- func (l *SupportCaseRequestList) GetHREF() (value string, ok bool)
- func (l *SupportCaseRequestList) HREF() string
- func (l *SupportCaseRequestList) Items() []*SupportCaseRequest
- func (l *SupportCaseRequestList) Kind() string
- func (l *SupportCaseRequestList) Len() int
- func (l *SupportCaseRequestList) Link() bool
- func (l *SupportCaseRequestList) Range(f func(index int, item *SupportCaseRequest) bool)
- func (l *SupportCaseRequestList) SetHREF(href string)
- func (l *SupportCaseRequestList) SetItems(items []*SupportCaseRequest)
- func (l *SupportCaseRequestList) SetLink(link bool)
- func (l *SupportCaseRequestList) Slice() []*SupportCaseRequest
- type SupportCaseRequestListBuilder
- func (b *SupportCaseRequestListBuilder) Build() (list *SupportCaseRequestList, err error)
- func (b *SupportCaseRequestListBuilder) Copy(list *SupportCaseRequestList) *SupportCaseRequestListBuilder
- func (b *SupportCaseRequestListBuilder) Empty() bool
- func (b *SupportCaseRequestListBuilder) Items(values ...*SupportCaseRequestBuilder) *SupportCaseRequestListBuilder
- type SupportCaseResponse
- func ReadSupportCaseResponse(iterator *jsoniter.Iterator) *SupportCaseResponse
- func ReadSupportCaseResponseList(iterator *jsoniter.Iterator) []*SupportCaseResponse
- func UnmarshalSupportCaseResponse(source interface{}) (object *SupportCaseResponse, err error)
- func UnmarshalSupportCaseResponseList(source interface{}) (items []*SupportCaseResponse, err error)
- func (o *SupportCaseResponse) CaseNumber() string
- func (o *SupportCaseResponse) ClusterId() string
- func (o *SupportCaseResponse) ClusterUuid() string
- func (o *SupportCaseResponse) Description() string
- func (o *SupportCaseResponse) Empty() bool
- func (o *SupportCaseResponse) GetCaseNumber() (value string, ok bool)
- func (o *SupportCaseResponse) GetClusterId() (value string, ok bool)
- func (o *SupportCaseResponse) GetClusterUuid() (value string, ok bool)
- func (o *SupportCaseResponse) GetDescription() (value string, ok bool)
- func (o *SupportCaseResponse) GetHREF() (value string, ok bool)
- func (o *SupportCaseResponse) GetID() (value string, ok bool)
- func (o *SupportCaseResponse) GetSeverity() (value string, ok bool)
- func (o *SupportCaseResponse) GetStatus() (value string, ok bool)
- func (o *SupportCaseResponse) GetSubscriptionId() (value string, ok bool)
- func (o *SupportCaseResponse) GetSummary() (value string, ok bool)
- func (o *SupportCaseResponse) GetURI() (value string, ok bool)
- func (o *SupportCaseResponse) HREF() string
- func (o *SupportCaseResponse) ID() string
- func (o *SupportCaseResponse) Kind() string
- func (o *SupportCaseResponse) Link() bool
- func (o *SupportCaseResponse) Severity() string
- func (o *SupportCaseResponse) Status() string
- func (o *SupportCaseResponse) SubscriptionId() string
- func (o *SupportCaseResponse) Summary() string
- func (o *SupportCaseResponse) URI() string
- type SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Build() (object *SupportCaseResponse, err error)
- func (b *SupportCaseResponseBuilder) CaseNumber(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) ClusterId(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) ClusterUuid(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Copy(object *SupportCaseResponse) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Description(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Empty() bool
- func (b *SupportCaseResponseBuilder) HREF(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) ID(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Link(value bool) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Severity(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Status(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) SubscriptionId(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Summary(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) URI(value string) *SupportCaseResponseBuilder
- type SupportCaseResponseList
- func (l *SupportCaseResponseList) Each(f func(item *SupportCaseResponse) bool)
- func (l *SupportCaseResponseList) Empty() bool
- func (l *SupportCaseResponseList) Get(i int) *SupportCaseResponse
- func (l *SupportCaseResponseList) GetHREF() (value string, ok bool)
- func (l *SupportCaseResponseList) HREF() string
- func (l *SupportCaseResponseList) Items() []*SupportCaseResponse
- func (l *SupportCaseResponseList) Kind() string
- func (l *SupportCaseResponseList) Len() int
- func (l *SupportCaseResponseList) Link() bool
- func (l *SupportCaseResponseList) Range(f func(index int, item *SupportCaseResponse) bool)
- func (l *SupportCaseResponseList) SetHREF(href string)
- func (l *SupportCaseResponseList) SetItems(items []*SupportCaseResponse)
- func (l *SupportCaseResponseList) SetLink(link bool)
- func (l *SupportCaseResponseList) Slice() []*SupportCaseResponse
- type SupportCaseResponseListBuilder
- func (b *SupportCaseResponseListBuilder) Build() (list *SupportCaseResponseList, err error)
- func (b *SupportCaseResponseListBuilder) Copy(list *SupportCaseResponseList) *SupportCaseResponseListBuilder
- func (b *SupportCaseResponseListBuilder) Empty() bool
- func (b *SupportCaseResponseListBuilder) Items(values ...*SupportCaseResponseBuilder) *SupportCaseResponseListBuilder
- type TemplateParameter
- func ReadTemplateParameter(iterator *jsoniter.Iterator) *TemplateParameter
- func ReadTemplateParameterList(iterator *jsoniter.Iterator) []*TemplateParameter
- func UnmarshalTemplateParameter(source interface{}) (object *TemplateParameter, err error)
- func UnmarshalTemplateParameterList(source interface{}) (items []*TemplateParameter, err error)
- type TemplateParameterBuilder
- func (b *TemplateParameterBuilder) Build() (object *TemplateParameter, err error)
- func (b *TemplateParameterBuilder) Content(value string) *TemplateParameterBuilder
- func (b *TemplateParameterBuilder) Copy(object *TemplateParameter) *TemplateParameterBuilder
- func (b *TemplateParameterBuilder) Empty() bool
- func (b *TemplateParameterBuilder) Name(value string) *TemplateParameterBuilder
- type TemplateParameterList
- func (l *TemplateParameterList) Each(f func(item *TemplateParameter) bool)
- func (l *TemplateParameterList) Empty() bool
- func (l *TemplateParameterList) Get(i int) *TemplateParameter
- func (l *TemplateParameterList) Items() []*TemplateParameter
- func (l *TemplateParameterList) Len() int
- func (l *TemplateParameterList) Range(f func(index int, item *TemplateParameter) bool)
- func (l *TemplateParameterList) SetHREF(href string)
- func (l *TemplateParameterList) SetItems(items []*TemplateParameter)
- func (l *TemplateParameterList) SetLink(link bool)
- func (l *TemplateParameterList) Slice() []*TemplateParameter
- type TemplateParameterListBuilder
- func (b *TemplateParameterListBuilder) Build() (list *TemplateParameterList, err error)
- func (b *TemplateParameterListBuilder) Copy(list *TemplateParameterList) *TemplateParameterListBuilder
- func (b *TemplateParameterListBuilder) Empty() bool
- func (b *TemplateParameterListBuilder) Items(values ...*TemplateParameterBuilder) *TemplateParameterListBuilder
- type TokenAuthorizationRequest
- func ReadTokenAuthorizationRequest(iterator *jsoniter.Iterator) *TokenAuthorizationRequest
- func ReadTokenAuthorizationRequestList(iterator *jsoniter.Iterator) []*TokenAuthorizationRequest
- func UnmarshalTokenAuthorizationRequest(source interface{}) (object *TokenAuthorizationRequest, err error)
- func UnmarshalTokenAuthorizationRequestList(source interface{}) (items []*TokenAuthorizationRequest, err error)
- type TokenAuthorizationRequestBuilder
- func (b *TokenAuthorizationRequestBuilder) AuthorizationToken(value string) *TokenAuthorizationRequestBuilder
- func (b *TokenAuthorizationRequestBuilder) Build() (object *TokenAuthorizationRequest, err error)
- func (b *TokenAuthorizationRequestBuilder) Copy(object *TokenAuthorizationRequest) *TokenAuthorizationRequestBuilder
- func (b *TokenAuthorizationRequestBuilder) Empty() bool
- type TokenAuthorizationRequestList
- func (l *TokenAuthorizationRequestList) Each(f func(item *TokenAuthorizationRequest) bool)
- func (l *TokenAuthorizationRequestList) Empty() bool
- func (l *TokenAuthorizationRequestList) Get(i int) *TokenAuthorizationRequest
- func (l *TokenAuthorizationRequestList) Items() []*TokenAuthorizationRequest
- func (l *TokenAuthorizationRequestList) Len() int
- func (l *TokenAuthorizationRequestList) Range(f func(index int, item *TokenAuthorizationRequest) bool)
- func (l *TokenAuthorizationRequestList) SetHREF(href string)
- func (l *TokenAuthorizationRequestList) SetItems(items []*TokenAuthorizationRequest)
- func (l *TokenAuthorizationRequestList) SetLink(link bool)
- func (l *TokenAuthorizationRequestList) Slice() []*TokenAuthorizationRequest
- type TokenAuthorizationRequestListBuilder
- func (b *TokenAuthorizationRequestListBuilder) Build() (list *TokenAuthorizationRequestList, err error)
- func (b *TokenAuthorizationRequestListBuilder) Copy(list *TokenAuthorizationRequestList) *TokenAuthorizationRequestListBuilder
- func (b *TokenAuthorizationRequestListBuilder) Empty() bool
- func (b *TokenAuthorizationRequestListBuilder) Items(values ...*TokenAuthorizationRequestBuilder) *TokenAuthorizationRequestListBuilder
- type TokenAuthorizationResponse
- func ReadTokenAuthorizationResponse(iterator *jsoniter.Iterator) *TokenAuthorizationResponse
- func ReadTokenAuthorizationResponseList(iterator *jsoniter.Iterator) []*TokenAuthorizationResponse
- func UnmarshalTokenAuthorizationResponse(source interface{}) (object *TokenAuthorizationResponse, err error)
- func UnmarshalTokenAuthorizationResponseList(source interface{}) (items []*TokenAuthorizationResponse, err error)
- type TokenAuthorizationResponseBuilder
- func (b *TokenAuthorizationResponseBuilder) Account(value *AccountBuilder) *TokenAuthorizationResponseBuilder
- func (b *TokenAuthorizationResponseBuilder) Build() (object *TokenAuthorizationResponse, err error)
- func (b *TokenAuthorizationResponseBuilder) Copy(object *TokenAuthorizationResponse) *TokenAuthorizationResponseBuilder
- func (b *TokenAuthorizationResponseBuilder) Empty() bool
- type TokenAuthorizationResponseList
- func (l *TokenAuthorizationResponseList) Each(f func(item *TokenAuthorizationResponse) bool)
- func (l *TokenAuthorizationResponseList) Empty() bool
- func (l *TokenAuthorizationResponseList) Get(i int) *TokenAuthorizationResponse
- func (l *TokenAuthorizationResponseList) Items() []*TokenAuthorizationResponse
- func (l *TokenAuthorizationResponseList) Len() int
- func (l *TokenAuthorizationResponseList) Range(f func(index int, item *TokenAuthorizationResponse) bool)
- func (l *TokenAuthorizationResponseList) SetHREF(href string)
- func (l *TokenAuthorizationResponseList) SetItems(items []*TokenAuthorizationResponse)
- func (l *TokenAuthorizationResponseList) SetLink(link bool)
- func (l *TokenAuthorizationResponseList) Slice() []*TokenAuthorizationResponse
- type TokenAuthorizationResponseListBuilder
- func (b *TokenAuthorizationResponseListBuilder) Build() (list *TokenAuthorizationResponseList, err error)
- func (b *TokenAuthorizationResponseListBuilder) Copy(list *TokenAuthorizationResponseList) *TokenAuthorizationResponseListBuilder
- func (b *TokenAuthorizationResponseListBuilder) Empty() bool
- func (b *TokenAuthorizationResponseListBuilder) Items(values ...*TokenAuthorizationResponseBuilder) *TokenAuthorizationResponseListBuilder
- type ValueUnit
- type ValueUnitBuilder
- func (b *ValueUnitBuilder) Build() (object *ValueUnit, err error)
- func (b *ValueUnitBuilder) Copy(object *ValueUnit) *ValueUnitBuilder
- func (b *ValueUnitBuilder) Empty() bool
- func (b *ValueUnitBuilder) Unit(value string) *ValueUnitBuilder
- func (b *ValueUnitBuilder) Value(value float64) *ValueUnitBuilder
- type ValueUnitList
- func (l *ValueUnitList) Each(f func(item *ValueUnit) bool)
- func (l *ValueUnitList) Empty() bool
- func (l *ValueUnitList) Get(i int) *ValueUnit
- func (l *ValueUnitList) Items() []*ValueUnit
- func (l *ValueUnitList) Len() int
- func (l *ValueUnitList) Range(f func(index int, item *ValueUnit) bool)
- func (l *ValueUnitList) SetHREF(href string)
- func (l *ValueUnitList) SetItems(items []*ValueUnit)
- func (l *ValueUnitList) SetLink(link bool)
- func (l *ValueUnitList) Slice() []*ValueUnit
- type ValueUnitListBuilder
Constants ¶
const AccessTokenAuthListKind = "AccessTokenAuthList"
AccessTokenAuthListKind is the name of the type used to represent list of objects of type 'access_token_auth'.
const AccessTokenAuthListLinkKind = "AccessTokenAuthListLink"
AccessTokenAuthListLinkKind is the name of the type used to represent links to list of objects of type 'access_token_auth'.
const AccessTokenAuthListNilKind = "AccessTokenAuthListNil"
AccessTokenAuthNilKind is the name of the type used to nil lists of objects of type 'access_token_auth'.
const AccessTokenListKind = "AccessTokenList"
AccessTokenListKind is the name of the type used to represent list of objects of type 'access_token'.
const AccessTokenListLinkKind = "AccessTokenListLink"
AccessTokenListLinkKind is the name of the type used to represent links to list of objects of type 'access_token'.
const AccessTokenListNilKind = "AccessTokenListNil"
AccessTokenNilKind is the name of the type used to nil lists of objects of type 'access_token'.
const AccountKind = "Account"
AccountKind is the name of the type used to represent objects of type 'account'.
const AccountLinkKind = "AccountLink"
AccountLinkKind is the name of the type used to represent links to objects of type 'account'.
const AccountListKind = "AccountList"
AccountListKind is the name of the type used to represent list of objects of type 'account'.
const AccountListLinkKind = "AccountListLink"
AccountListLinkKind is the name of the type used to represent links to list of objects of type 'account'.
const AccountListNilKind = "AccountListNil"
AccountNilKind is the name of the type used to nil lists of objects of type 'account'.
const AccountNilKind = "AccountNil"
AccountNilKind is the name of the type used to nil references to objects of type 'account'.
const BillingModelItemKind = "BillingModelItem"
BillingModelItemKind is the name of the type used to represent objects of type 'billing_model_item'.
const BillingModelItemLinkKind = "BillingModelItemLink"
BillingModelItemLinkKind is the name of the type used to represent links to objects of type 'billing_model_item'.
const BillingModelItemListKind = "BillingModelItemList"
BillingModelItemListKind is the name of the type used to represent list of objects of type 'billing_model_item'.
const BillingModelItemListLinkKind = "BillingModelItemListLink"
BillingModelItemListLinkKind is the name of the type used to represent links to list of objects of type 'billing_model_item'.
const BillingModelItemListNilKind = "BillingModelItemListNil"
BillingModelItemNilKind is the name of the type used to nil lists of objects of type 'billing_model_item'.
const BillingModelItemNilKind = "BillingModelItemNil"
BillingModelItemNilKind is the name of the type used to nil references to objects of type 'billing_model_item'.
const CapabilityListKind = "CapabilityList"
CapabilityListKind is the name of the type used to represent list of objects of type 'capability'.
const CapabilityListLinkKind = "CapabilityListLink"
CapabilityListLinkKind is the name of the type used to represent links to list of objects of type 'capability'.
const CapabilityListNilKind = "CapabilityListNil"
CapabilityNilKind is the name of the type used to nil lists of objects of type 'capability'.
const CloudAccountListKind = "CloudAccountList"
CloudAccountListKind is the name of the type used to represent list of objects of type 'cloud_account'.
const CloudAccountListLinkKind = "CloudAccountListLink"
CloudAccountListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_account'.
const CloudAccountListNilKind = "CloudAccountListNil"
CloudAccountNilKind is the name of the type used to nil lists of objects of type 'cloud_account'.
const CloudResourceKind = "CloudResource"
CloudResourceKind is the name of the type used to represent objects of type 'cloud_resource'.
const CloudResourceLinkKind = "CloudResourceLink"
CloudResourceLinkKind is the name of the type used to represent links to objects of type 'cloud_resource'.
const CloudResourceListKind = "CloudResourceList"
CloudResourceListKind is the name of the type used to represent list of objects of type 'cloud_resource'.
const CloudResourceListLinkKind = "CloudResourceListLink"
CloudResourceListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_resource'.
const CloudResourceListNilKind = "CloudResourceListNil"
CloudResourceNilKind is the name of the type used to nil lists of objects of type 'cloud_resource'.
const CloudResourceNilKind = "CloudResourceNil"
CloudResourceNilKind is the name of the type used to nil references to objects of type 'cloud_resource'.
const ClusterAuthorizationRequestListKind = "ClusterAuthorizationRequestList"
ClusterAuthorizationRequestListKind is the name of the type used to represent list of objects of type 'cluster_authorization_request'.
const ClusterAuthorizationRequestListLinkKind = "ClusterAuthorizationRequestListLink"
ClusterAuthorizationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_authorization_request'.
const ClusterAuthorizationRequestListNilKind = "ClusterAuthorizationRequestListNil"
ClusterAuthorizationRequestNilKind is the name of the type used to nil lists of objects of type 'cluster_authorization_request'.
const ClusterAuthorizationResponseListKind = "ClusterAuthorizationResponseList"
ClusterAuthorizationResponseListKind is the name of the type used to represent list of objects of type 'cluster_authorization_response'.
const ClusterAuthorizationResponseListLinkKind = "ClusterAuthorizationResponseListLink"
ClusterAuthorizationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_authorization_response'.
const ClusterAuthorizationResponseListNilKind = "ClusterAuthorizationResponseListNil"
ClusterAuthorizationResponseNilKind is the name of the type used to nil lists of objects of type 'cluster_authorization_response'.
const ClusterMetricsNodesListKind = "ClusterMetricsNodesList"
ClusterMetricsNodesListKind is the name of the type used to represent list of objects of type 'cluster_metrics_nodes'.
const ClusterMetricsNodesListLinkKind = "ClusterMetricsNodesListLink"
ClusterMetricsNodesListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_metrics_nodes'.
const ClusterMetricsNodesListNilKind = "ClusterMetricsNodesListNil"
ClusterMetricsNodesNilKind is the name of the type used to nil lists of objects of type 'cluster_metrics_nodes'.
const ClusterRegistrationRequestListKind = "ClusterRegistrationRequestList"
ClusterRegistrationRequestListKind is the name of the type used to represent list of objects of type 'cluster_registration_request'.
const ClusterRegistrationRequestListLinkKind = "ClusterRegistrationRequestListLink"
ClusterRegistrationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_registration_request'.
const ClusterRegistrationRequestListNilKind = "ClusterRegistrationRequestListNil"
ClusterRegistrationRequestNilKind is the name of the type used to nil lists of objects of type 'cluster_registration_request'.
const ClusterRegistrationResponseListKind = "ClusterRegistrationResponseList"
ClusterRegistrationResponseListKind is the name of the type used to represent list of objects of type 'cluster_registration_response'.
const ClusterRegistrationResponseListLinkKind = "ClusterRegistrationResponseListLink"
ClusterRegistrationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_registration_response'.
const ClusterRegistrationResponseListNilKind = "ClusterRegistrationResponseListNil"
ClusterRegistrationResponseNilKind is the name of the type used to nil lists of objects of type 'cluster_registration_response'.
const ClusterResourceListKind = "ClusterResourceList"
ClusterResourceListKind is the name of the type used to represent list of objects of type 'cluster_resource'.
const ClusterResourceListLinkKind = "ClusterResourceListLink"
ClusterResourceListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_resource'.
const ClusterResourceListNilKind = "ClusterResourceListNil"
ClusterResourceNilKind is the name of the type used to nil lists of objects of type 'cluster_resource'.
const ClusterUpgradeListKind = "ClusterUpgradeList"
ClusterUpgradeListKind is the name of the type used to represent list of objects of type 'cluster_upgrade'.
const ClusterUpgradeListLinkKind = "ClusterUpgradeListLink"
ClusterUpgradeListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_upgrade'.
const ClusterUpgradeListNilKind = "ClusterUpgradeListNil"
ClusterUpgradeNilKind is the name of the type used to nil lists of objects of type 'cluster_upgrade'.
const ContractDimensionListKind = "ContractDimensionList"
ContractDimensionListKind is the name of the type used to represent list of objects of type 'contract_dimension'.
const ContractDimensionListLinkKind = "ContractDimensionListLink"
ContractDimensionListLinkKind is the name of the type used to represent links to list of objects of type 'contract_dimension'.
const ContractDimensionListNilKind = "ContractDimensionListNil"
ContractDimensionNilKind is the name of the type used to nil lists of objects of type 'contract_dimension'.
const ContractListKind = "ContractList"
ContractListKind is the name of the type used to represent list of objects of type 'contract'.
const ContractListLinkKind = "ContractListLink"
ContractListLinkKind is the name of the type used to represent links to list of objects of type 'contract'.
const ContractListNilKind = "ContractListNil"
ContractNilKind is the name of the type used to nil lists of objects of type 'contract'.
const DefaultCapabilityListKind = "DefaultCapabilityList"
DefaultCapabilityListKind is the name of the type used to represent list of objects of type 'default_capability'.
const DefaultCapabilityListLinkKind = "DefaultCapabilityListLink"
DefaultCapabilityListLinkKind is the name of the type used to represent links to list of objects of type 'default_capability'.
const DefaultCapabilityListNilKind = "DefaultCapabilityListNil"
DefaultCapabilityNilKind is the name of the type used to nil lists of objects of type 'default_capability'.
const DeletedSubscriptionKind = "DeletedSubscription"
DeletedSubscriptionKind is the name of the type used to represent objects of type 'deleted_subscription'.
const DeletedSubscriptionLinkKind = "DeletedSubscriptionLink"
DeletedSubscriptionLinkKind is the name of the type used to represent links to objects of type 'deleted_subscription'.
const DeletedSubscriptionListKind = "DeletedSubscriptionList"
DeletedSubscriptionListKind is the name of the type used to represent list of objects of type 'deleted_subscription'.
const DeletedSubscriptionListLinkKind = "DeletedSubscriptionListLink"
DeletedSubscriptionListLinkKind is the name of the type used to represent links to list of objects of type 'deleted_subscription'.
const DeletedSubscriptionListNilKind = "DeletedSubscriptionListNil"
DeletedSubscriptionNilKind is the name of the type used to nil lists of objects of type 'deleted_subscription'.
const DeletedSubscriptionNilKind = "DeletedSubscriptionNil"
DeletedSubscriptionNilKind is the name of the type used to nil references to objects of type 'deleted_subscription'.
const FeatureToggleKind = "FeatureToggle"
FeatureToggleKind is the name of the type used to represent objects of type 'feature_toggle'.
const FeatureToggleLinkKind = "FeatureToggleLink"
FeatureToggleLinkKind is the name of the type used to represent links to objects of type 'feature_toggle'.
const FeatureToggleListKind = "FeatureToggleList"
FeatureToggleListKind is the name of the type used to represent list of objects of type 'feature_toggle'.
const FeatureToggleListLinkKind = "FeatureToggleListLink"
FeatureToggleListLinkKind is the name of the type used to represent links to list of objects of type 'feature_toggle'.
const FeatureToggleListNilKind = "FeatureToggleListNil"
FeatureToggleNilKind is the name of the type used to nil lists of objects of type 'feature_toggle'.
const FeatureToggleNilKind = "FeatureToggleNil"
FeatureToggleNilKind is the name of the type used to nil references to objects of type 'feature_toggle'.
const FeatureToggleQueryRequestListKind = "FeatureToggleQueryRequestList"
FeatureToggleQueryRequestListKind is the name of the type used to represent list of objects of type 'feature_toggle_query_request'.
const FeatureToggleQueryRequestListLinkKind = "FeatureToggleQueryRequestListLink"
FeatureToggleQueryRequestListLinkKind is the name of the type used to represent links to list of objects of type 'feature_toggle_query_request'.
const FeatureToggleQueryRequestListNilKind = "FeatureToggleQueryRequestListNil"
FeatureToggleQueryRequestNilKind is the name of the type used to nil lists of objects of type 'feature_toggle_query_request'.
const GenericNotifyDetailsResponseKind = "GenericNotifyDetailsResponse"
GenericNotifyDetailsResponseKind is the name of the type used to represent objects of type 'generic_notify_details_response'.
const GenericNotifyDetailsResponseLinkKind = "GenericNotifyDetailsResponseLink"
GenericNotifyDetailsResponseLinkKind is the name of the type used to represent links to objects of type 'generic_notify_details_response'.
const GenericNotifyDetailsResponseListKind = "GenericNotifyDetailsResponseList"
GenericNotifyDetailsResponseListKind is the name of the type used to represent list of objects of type 'generic_notify_details_response'.
const GenericNotifyDetailsResponseListLinkKind = "GenericNotifyDetailsResponseListLink"
GenericNotifyDetailsResponseListLinkKind is the name of the type used to represent links to list of objects of type 'generic_notify_details_response'.
const GenericNotifyDetailsResponseListNilKind = "GenericNotifyDetailsResponseListNil"
GenericNotifyDetailsResponseNilKind is the name of the type used to nil lists of objects of type 'generic_notify_details_response'.
const GenericNotifyDetailsResponseNilKind = "GenericNotifyDetailsResponseNil"
GenericNotifyDetailsResponseNilKind is the name of the type used to nil references to objects of type 'generic_notify_details_response'.
const LabelKind = "Label"
LabelKind is the name of the type used to represent objects of type 'label'.
const LabelLinkKind = "LabelLink"
LabelLinkKind is the name of the type used to represent links to objects of type 'label'.
const LabelListKind = "LabelList"
LabelListKind is the name of the type used to represent list of objects of type 'label'.
const LabelListLinkKind = "LabelListLink"
LabelListLinkKind is the name of the type used to represent links to list of objects of type 'label'.
const LabelListNilKind = "LabelListNil"
LabelNilKind is the name of the type used to nil lists of objects of type 'label'.
const LabelNilKind = "LabelNil"
LabelNilKind is the name of the type used to nil references to objects of type 'label'.
const NotificationDetailsRequestListKind = "NotificationDetailsRequestList"
NotificationDetailsRequestListKind is the name of the type used to represent list of objects of type 'notification_details_request'.
const NotificationDetailsRequestListLinkKind = "NotificationDetailsRequestListLink"
NotificationDetailsRequestListLinkKind is the name of the type used to represent links to list of objects of type 'notification_details_request'.
const NotificationDetailsRequestListNilKind = "NotificationDetailsRequestListNil"
NotificationDetailsRequestNilKind is the name of the type used to nil lists of objects of type 'notification_details_request'.
const NotificationDetailsResponseKind = "NotificationDetailsResponse"
NotificationDetailsResponseKind is the name of the type used to represent objects of type 'notification_details_response'.
const NotificationDetailsResponseLinkKind = "NotificationDetailsResponseLink"
NotificationDetailsResponseLinkKind is the name of the type used to represent links to objects of type 'notification_details_response'.
const NotificationDetailsResponseListKind = "NotificationDetailsResponseList"
NotificationDetailsResponseListKind is the name of the type used to represent list of objects of type 'notification_details_response'.
const NotificationDetailsResponseListLinkKind = "NotificationDetailsResponseListLink"
NotificationDetailsResponseListLinkKind is the name of the type used to represent links to list of objects of type 'notification_details_response'.
const NotificationDetailsResponseListNilKind = "NotificationDetailsResponseListNil"
NotificationDetailsResponseNilKind is the name of the type used to nil lists of objects of type 'notification_details_response'.
const NotificationDetailsResponseNilKind = "NotificationDetailsResponseNil"
NotificationDetailsResponseNilKind is the name of the type used to nil references to objects of type 'notification_details_response'.
const OrganizationKind = "Organization"
OrganizationKind is the name of the type used to represent objects of type 'organization'.
const OrganizationLinkKind = "OrganizationLink"
OrganizationLinkKind is the name of the type used to represent links to objects of type 'organization'.
const OrganizationListKind = "OrganizationList"
OrganizationListKind is the name of the type used to represent list of objects of type 'organization'.
const OrganizationListLinkKind = "OrganizationListLink"
OrganizationListLinkKind is the name of the type used to represent links to list of objects of type 'organization'.
const OrganizationListNilKind = "OrganizationListNil"
OrganizationNilKind is the name of the type used to nil lists of objects of type 'organization'.
const OrganizationNilKind = "OrganizationNil"
OrganizationNilKind is the name of the type used to nil references to objects of type 'organization'.
const PermissionKind = "Permission"
PermissionKind is the name of the type used to represent objects of type 'permission'.
const PermissionLinkKind = "PermissionLink"
PermissionLinkKind is the name of the type used to represent links to objects of type 'permission'.
const PermissionListKind = "PermissionList"
PermissionListKind is the name of the type used to represent list of objects of type 'permission'.
const PermissionListLinkKind = "PermissionListLink"
PermissionListLinkKind is the name of the type used to represent links to list of objects of type 'permission'.
const PermissionListNilKind = "PermissionListNil"
PermissionNilKind is the name of the type used to nil lists of objects of type 'permission'.
const PermissionNilKind = "PermissionNil"
PermissionNilKind is the name of the type used to nil references to objects of type 'permission'.
const PlanKind = "Plan"
PlanKind is the name of the type used to represent objects of type 'plan'.
const PlanLinkKind = "PlanLink"
PlanLinkKind is the name of the type used to represent links to objects of type 'plan'.
const PlanListKind = "PlanList"
PlanListKind is the name of the type used to represent list of objects of type 'plan'.
const PlanListLinkKind = "PlanListLink"
PlanListLinkKind is the name of the type used to represent links to list of objects of type 'plan'.
const PlanListNilKind = "PlanListNil"
PlanNilKind is the name of the type used to nil lists of objects of type 'plan'.
const PlanNilKind = "PlanNil"
PlanNilKind is the name of the type used to nil references to objects of type 'plan'.
const PullSecretsRequestListKind = "PullSecretsRequestList"
PullSecretsRequestListKind is the name of the type used to represent list of objects of type 'pull_secrets_request'.
const PullSecretsRequestListLinkKind = "PullSecretsRequestListLink"
PullSecretsRequestListLinkKind is the name of the type used to represent links to list of objects of type 'pull_secrets_request'.
const PullSecretsRequestListNilKind = "PullSecretsRequestListNil"
PullSecretsRequestNilKind is the name of the type used to nil lists of objects of type 'pull_secrets_request'.
const QuotaAuthorizationRequestListKind = "QuotaAuthorizationRequestList"
QuotaAuthorizationRequestListKind is the name of the type used to represent list of objects of type 'quota_authorization_request'.
const QuotaAuthorizationRequestListLinkKind = "QuotaAuthorizationRequestListLink"
QuotaAuthorizationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'quota_authorization_request'.
const QuotaAuthorizationRequestListNilKind = "QuotaAuthorizationRequestListNil"
QuotaAuthorizationRequestNilKind is the name of the type used to nil lists of objects of type 'quota_authorization_request'.
const QuotaAuthorizationResponseListKind = "QuotaAuthorizationResponseList"
QuotaAuthorizationResponseListKind is the name of the type used to represent list of objects of type 'quota_authorization_response'.
const QuotaAuthorizationResponseListLinkKind = "QuotaAuthorizationResponseListLink"
QuotaAuthorizationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'quota_authorization_response'.
const QuotaAuthorizationResponseListNilKind = "QuotaAuthorizationResponseListNil"
QuotaAuthorizationResponseNilKind is the name of the type used to nil lists of objects of type 'quota_authorization_response'.
const QuotaCostListKind = "QuotaCostList"
QuotaCostListKind is the name of the type used to represent list of objects of type 'quota_cost'.
const QuotaCostListLinkKind = "QuotaCostListLink"
QuotaCostListLinkKind is the name of the type used to represent links to list of objects of type 'quota_cost'.
const QuotaCostListNilKind = "QuotaCostListNil"
QuotaCostNilKind is the name of the type used to nil lists of objects of type 'quota_cost'.
const QuotaRulesListKind = "QuotaRulesList"
QuotaRulesListKind is the name of the type used to represent list of objects of type 'quota_rules'.
const QuotaRulesListLinkKind = "QuotaRulesListLink"
QuotaRulesListLinkKind is the name of the type used to represent links to list of objects of type 'quota_rules'.
const QuotaRulesListNilKind = "QuotaRulesListNil"
QuotaRulesNilKind is the name of the type used to nil lists of objects of type 'quota_rules'.
const RegistryCredentialKind = "RegistryCredential"
RegistryCredentialKind is the name of the type used to represent objects of type 'registry_credential'.
const RegistryCredentialLinkKind = "RegistryCredentialLink"
RegistryCredentialLinkKind is the name of the type used to represent links to objects of type 'registry_credential'.
const RegistryCredentialListKind = "RegistryCredentialList"
RegistryCredentialListKind is the name of the type used to represent list of objects of type 'registry_credential'.
const RegistryCredentialListLinkKind = "RegistryCredentialListLink"
RegistryCredentialListLinkKind is the name of the type used to represent links to list of objects of type 'registry_credential'.
const RegistryCredentialListNilKind = "RegistryCredentialListNil"
RegistryCredentialNilKind is the name of the type used to nil lists of objects of type 'registry_credential'.
const RegistryCredentialNilKind = "RegistryCredentialNil"
RegistryCredentialNilKind is the name of the type used to nil references to objects of type 'registry_credential'.
const RegistryKind = "Registry"
RegistryKind is the name of the type used to represent objects of type 'registry'.
const RegistryLinkKind = "RegistryLink"
RegistryLinkKind is the name of the type used to represent links to objects of type 'registry'.
const RegistryListKind = "RegistryList"
RegistryListKind is the name of the type used to represent list of objects of type 'registry'.
const RegistryListLinkKind = "RegistryListLink"
RegistryListLinkKind is the name of the type used to represent links to list of objects of type 'registry'.
const RegistryListNilKind = "RegistryListNil"
RegistryNilKind is the name of the type used to nil lists of objects of type 'registry'.
const RegistryNilKind = "RegistryNil"
RegistryNilKind is the name of the type used to nil references to objects of type 'registry'.
const RelatedResourceListKind = "RelatedResourceList"
RelatedResourceListKind is the name of the type used to represent list of objects of type 'related_resource'.
const RelatedResourceListLinkKind = "RelatedResourceListLink"
RelatedResourceListLinkKind is the name of the type used to represent links to list of objects of type 'related_resource'.
const RelatedResourceListNilKind = "RelatedResourceListNil"
RelatedResourceNilKind is the name of the type used to nil lists of objects of type 'related_resource'.
const ReservedResourceListKind = "ReservedResourceList"
ReservedResourceListKind is the name of the type used to represent list of objects of type 'reserved_resource'.
const ReservedResourceListLinkKind = "ReservedResourceListLink"
ReservedResourceListLinkKind is the name of the type used to represent links to list of objects of type 'reserved_resource'.
const ReservedResourceListNilKind = "ReservedResourceListNil"
ReservedResourceNilKind is the name of the type used to nil lists of objects of type 'reserved_resource'.
const ResourceKind = "Resource"
ResourceKind is the name of the type used to represent objects of type 'resource'.
const ResourceLinkKind = "ResourceLink"
ResourceLinkKind is the name of the type used to represent links to objects of type 'resource'.
const ResourceListKind = "ResourceList"
ResourceListKind is the name of the type used to represent list of objects of type 'resource'.
const ResourceListLinkKind = "ResourceListLink"
ResourceListLinkKind is the name of the type used to represent links to list of objects of type 'resource'.
const ResourceListNilKind = "ResourceListNil"
ResourceNilKind is the name of the type used to nil lists of objects of type 'resource'.
const ResourceNilKind = "ResourceNil"
ResourceNilKind is the name of the type used to nil references to objects of type 'resource'.
const ResourceQuotaKind = "ResourceQuota"
ResourceQuotaKind is the name of the type used to represent objects of type 'resource_quota'.
const ResourceQuotaLinkKind = "ResourceQuotaLink"
ResourceQuotaLinkKind is the name of the type used to represent links to objects of type 'resource_quota'.
const ResourceQuotaListKind = "ResourceQuotaList"
ResourceQuotaListKind is the name of the type used to represent list of objects of type 'resource_quota'.
const ResourceQuotaListLinkKind = "ResourceQuotaListLink"
ResourceQuotaListLinkKind is the name of the type used to represent links to list of objects of type 'resource_quota'.
const ResourceQuotaListNilKind = "ResourceQuotaListNil"
ResourceQuotaNilKind is the name of the type used to nil lists of objects of type 'resource_quota'.
const ResourceQuotaNilKind = "ResourceQuotaNil"
ResourceQuotaNilKind is the name of the type used to nil references to objects of type 'resource_quota'.
const RoleBindingKind = "RoleBinding"
RoleBindingKind is the name of the type used to represent objects of type 'role_binding'.
const RoleBindingLinkKind = "RoleBindingLink"
RoleBindingLinkKind is the name of the type used to represent links to objects of type 'role_binding'.
const RoleBindingListKind = "RoleBindingList"
RoleBindingListKind is the name of the type used to represent list of objects of type 'role_binding'.
const RoleBindingListLinkKind = "RoleBindingListLink"
RoleBindingListLinkKind is the name of the type used to represent links to list of objects of type 'role_binding'.
const RoleBindingListNilKind = "RoleBindingListNil"
RoleBindingNilKind is the name of the type used to nil lists of objects of type 'role_binding'.
const RoleBindingNilKind = "RoleBindingNil"
RoleBindingNilKind is the name of the type used to nil references to objects of type 'role_binding'.
const RoleKind = "Role"
RoleKind is the name of the type used to represent objects of type 'role'.
const RoleLinkKind = "RoleLink"
RoleLinkKind is the name of the type used to represent links to objects of type 'role'.
const RoleListKind = "RoleList"
RoleListKind is the name of the type used to represent list of objects of type 'role'.
const RoleListLinkKind = "RoleListLink"
RoleListLinkKind is the name of the type used to represent links to list of objects of type 'role'.
const RoleListNilKind = "RoleListNil"
RoleNilKind is the name of the type used to nil lists of objects of type 'role'.
const RoleNilKind = "RoleNil"
RoleNilKind is the name of the type used to nil references to objects of type 'role'.
const SkuRuleKind = "SkuRule"
SkuRuleKind is the name of the type used to represent objects of type 'sku_rule'.
const SkuRuleLinkKind = "SkuRuleLink"
SkuRuleLinkKind is the name of the type used to represent links to objects of type 'sku_rule'.
const SkuRuleListKind = "SkuRuleList"
SkuRuleListKind is the name of the type used to represent list of objects of type 'sku_rule'.
const SkuRuleListLinkKind = "SkuRuleListLink"
SkuRuleListLinkKind is the name of the type used to represent links to list of objects of type 'sku_rule'.
const SkuRuleListNilKind = "SkuRuleListNil"
SkuRuleNilKind is the name of the type used to nil lists of objects of type 'sku_rule'.
const SkuRuleNilKind = "SkuRuleNil"
SkuRuleNilKind is the name of the type used to nil references to objects of type 'sku_rule'.
const SubscriptionKind = "Subscription"
SubscriptionKind is the name of the type used to represent objects of type 'subscription'.
const SubscriptionLinkKind = "SubscriptionLink"
SubscriptionLinkKind is the name of the type used to represent links to objects of type 'subscription'.
const SubscriptionListKind = "SubscriptionList"
SubscriptionListKind is the name of the type used to represent list of objects of type 'subscription'.
const SubscriptionListLinkKind = "SubscriptionListLink"
SubscriptionListLinkKind is the name of the type used to represent links to list of objects of type 'subscription'.
const SubscriptionListNilKind = "SubscriptionListNil"
SubscriptionNilKind is the name of the type used to nil lists of objects of type 'subscription'.
const SubscriptionMetricsListKind = "SubscriptionMetricsList"
SubscriptionMetricsListKind is the name of the type used to represent list of objects of type 'subscription_metrics'.
const SubscriptionMetricsListLinkKind = "SubscriptionMetricsListLink"
SubscriptionMetricsListLinkKind is the name of the type used to represent links to list of objects of type 'subscription_metrics'.
const SubscriptionMetricsListNilKind = "SubscriptionMetricsListNil"
SubscriptionMetricsNilKind is the name of the type used to nil lists of objects of type 'subscription_metrics'.
const SubscriptionNilKind = "SubscriptionNil"
SubscriptionNilKind is the name of the type used to nil references to objects of type 'subscription'.
const SubscriptionRegistrationListKind = "SubscriptionRegistrationList"
SubscriptionRegistrationListKind is the name of the type used to represent list of objects of type 'subscription_registration'.
const SubscriptionRegistrationListLinkKind = "SubscriptionRegistrationListLink"
SubscriptionRegistrationListLinkKind is the name of the type used to represent links to list of objects of type 'subscription_registration'.
const SubscriptionRegistrationListNilKind = "SubscriptionRegistrationListNil"
SubscriptionRegistrationNilKind is the name of the type used to nil lists of objects of type 'subscription_registration'.
const SummaryDashboardKind = "SummaryDashboard"
SummaryDashboardKind is the name of the type used to represent objects of type 'summary_dashboard'.
const SummaryDashboardLinkKind = "SummaryDashboardLink"
SummaryDashboardLinkKind is the name of the type used to represent links to objects of type 'summary_dashboard'.
const SummaryDashboardListKind = "SummaryDashboardList"
SummaryDashboardListKind is the name of the type used to represent list of objects of type 'summary_dashboard'.
const SummaryDashboardListLinkKind = "SummaryDashboardListLink"
SummaryDashboardListLinkKind is the name of the type used to represent links to list of objects of type 'summary_dashboard'.
const SummaryDashboardListNilKind = "SummaryDashboardListNil"
SummaryDashboardNilKind is the name of the type used to nil lists of objects of type 'summary_dashboard'.
const SummaryDashboardNilKind = "SummaryDashboardNil"
SummaryDashboardNilKind is the name of the type used to nil references to objects of type 'summary_dashboard'.
const SummaryMetricsListKind = "SummaryMetricsList"
SummaryMetricsListKind is the name of the type used to represent list of objects of type 'summary_metrics'.
const SummaryMetricsListLinkKind = "SummaryMetricsListLink"
SummaryMetricsListLinkKind is the name of the type used to represent links to list of objects of type 'summary_metrics'.
const SummaryMetricsListNilKind = "SummaryMetricsListNil"
SummaryMetricsNilKind is the name of the type used to nil lists of objects of type 'summary_metrics'.
const SummarySampleListKind = "SummarySampleList"
SummarySampleListKind is the name of the type used to represent list of objects of type 'summary_sample'.
const SummarySampleListLinkKind = "SummarySampleListLink"
SummarySampleListLinkKind is the name of the type used to represent links to list of objects of type 'summary_sample'.
const SummarySampleListNilKind = "SummarySampleListNil"
SummarySampleNilKind is the name of the type used to nil lists of objects of type 'summary_sample'.
const SupportCaseRequestKind = "SupportCaseRequest"
SupportCaseRequestKind is the name of the type used to represent objects of type 'support_case_request'.
const SupportCaseRequestLinkKind = "SupportCaseRequestLink"
SupportCaseRequestLinkKind is the name of the type used to represent links to objects of type 'support_case_request'.
const SupportCaseRequestListKind = "SupportCaseRequestList"
SupportCaseRequestListKind is the name of the type used to represent list of objects of type 'support_case_request'.
const SupportCaseRequestListLinkKind = "SupportCaseRequestListLink"
SupportCaseRequestListLinkKind is the name of the type used to represent links to list of objects of type 'support_case_request'.
const SupportCaseRequestListNilKind = "SupportCaseRequestListNil"
SupportCaseRequestNilKind is the name of the type used to nil lists of objects of type 'support_case_request'.
const SupportCaseRequestNilKind = "SupportCaseRequestNil"
SupportCaseRequestNilKind is the name of the type used to nil references to objects of type 'support_case_request'.
const SupportCaseResponseKind = "SupportCaseResponse"
SupportCaseResponseKind is the name of the type used to represent objects of type 'support_case_response'.
const SupportCaseResponseLinkKind = "SupportCaseResponseLink"
SupportCaseResponseLinkKind is the name of the type used to represent links to objects of type 'support_case_response'.
const SupportCaseResponseListKind = "SupportCaseResponseList"
SupportCaseResponseListKind is the name of the type used to represent list of objects of type 'support_case_response'.
const SupportCaseResponseListLinkKind = "SupportCaseResponseListLink"
SupportCaseResponseListLinkKind is the name of the type used to represent links to list of objects of type 'support_case_response'.
const SupportCaseResponseListNilKind = "SupportCaseResponseListNil"
SupportCaseResponseNilKind is the name of the type used to nil lists of objects of type 'support_case_response'.
const SupportCaseResponseNilKind = "SupportCaseResponseNil"
SupportCaseResponseNilKind is the name of the type used to nil references to objects of type 'support_case_response'.
const TemplateParameterListKind = "TemplateParameterList"
TemplateParameterListKind is the name of the type used to represent list of objects of type 'template_parameter'.
const TemplateParameterListLinkKind = "TemplateParameterListLink"
TemplateParameterListLinkKind is the name of the type used to represent links to list of objects of type 'template_parameter'.
const TemplateParameterListNilKind = "TemplateParameterListNil"
TemplateParameterNilKind is the name of the type used to nil lists of objects of type 'template_parameter'.
const TokenAuthorizationRequestListKind = "TokenAuthorizationRequestList"
TokenAuthorizationRequestListKind is the name of the type used to represent list of objects of type 'token_authorization_request'.
const TokenAuthorizationRequestListLinkKind = "TokenAuthorizationRequestListLink"
TokenAuthorizationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'token_authorization_request'.
const TokenAuthorizationRequestListNilKind = "TokenAuthorizationRequestListNil"
TokenAuthorizationRequestNilKind is the name of the type used to nil lists of objects of type 'token_authorization_request'.
const TokenAuthorizationResponseListKind = "TokenAuthorizationResponseList"
TokenAuthorizationResponseListKind is the name of the type used to represent list of objects of type 'token_authorization_response'.
const TokenAuthorizationResponseListLinkKind = "TokenAuthorizationResponseListLink"
TokenAuthorizationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'token_authorization_response'.
const TokenAuthorizationResponseListNilKind = "TokenAuthorizationResponseListNil"
TokenAuthorizationResponseNilKind is the name of the type used to nil lists of objects of type 'token_authorization_response'.
const ValueUnitListKind = "ValueUnitList"
ValueUnitListKind is the name of the type used to represent list of objects of type 'value_unit'.
const ValueUnitListLinkKind = "ValueUnitListLink"
ValueUnitListLinkKind is the name of the type used to represent links to list of objects of type 'value_unit'.
const ValueUnitListNilKind = "ValueUnitListNil"
ValueUnitNilKind is the name of the type used to nil lists of objects of type 'value_unit'.
Variables ¶
This section is empty.
Functions ¶
func MarshalAccessToken ¶
func MarshalAccessToken(object *AccessToken, writer io.Writer) error
MarshalAccessToken writes a value of the 'access_token' type to the given writer.
func MarshalAccessTokenAuth ¶
func MarshalAccessTokenAuth(object *AccessTokenAuth, writer io.Writer) error
MarshalAccessTokenAuth writes a value of the 'access_token_auth' type to the given writer.
func MarshalAccessTokenAuthList ¶
func MarshalAccessTokenAuthList(list []*AccessTokenAuth, writer io.Writer) error
MarshalAccessTokenAuthList writes a list of values of the 'access_token_auth' type to the given writer.
func MarshalAccessTokenList ¶
func MarshalAccessTokenList(list []*AccessToken, writer io.Writer) error
MarshalAccessTokenList writes a list of values of the 'access_token' type to the given writer.
func MarshalAccount ¶
MarshalAccount writes a value of the 'account' type to the given writer.
func MarshalAccountList ¶
MarshalAccountList writes a list of values of the 'account' type to the given writer.
func MarshalActionList ¶
MarshalActionList writes a list of values of the 'action' type to the given writer.
func MarshalBillingModelItem ¶
func MarshalBillingModelItem(object *BillingModelItem, writer io.Writer) error
MarshalBillingModelItem writes a value of the 'billing_model_item' type to the given writer.
func MarshalBillingModelItemList ¶
func MarshalBillingModelItemList(list []*BillingModelItem, writer io.Writer) error
MarshalBillingModelItemList writes a list of values of the 'billing_model_item' type to the given writer.
func MarshalBillingModelList ¶
func MarshalBillingModelList(list []BillingModel, writer io.Writer) error
MarshalBillingModelList writes a list of values of the 'billing_model' type to the given writer.
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalCapability ¶
func MarshalCapability(object *Capability, writer io.Writer) error
MarshalCapability writes a value of the 'capability' type to the given writer.
func MarshalCapabilityList ¶
func MarshalCapabilityList(list []*Capability, writer io.Writer) error
MarshalCapabilityList writes a list of values of the 'capability' type to the given writer.
func MarshalCloudAccount ¶
func MarshalCloudAccount(object *CloudAccount, writer io.Writer) error
MarshalCloudAccount writes a value of the 'cloud_account' type to the given writer.
func MarshalCloudAccountList ¶
func MarshalCloudAccountList(list []*CloudAccount, writer io.Writer) error
MarshalCloudAccountList writes a list of values of the 'cloud_account' type to the given writer.
func MarshalCloudResource ¶
func MarshalCloudResource(object *CloudResource, writer io.Writer) error
MarshalCloudResource writes a value of the 'cloud_resource' type to the given writer.
func MarshalCloudResourceList ¶
func MarshalCloudResourceList(list []*CloudResource, writer io.Writer) error
MarshalCloudResourceList writes a list of values of the 'cloud_resource' type to the given writer.
func MarshalClusterAuthorizationRequest ¶
func MarshalClusterAuthorizationRequest(object *ClusterAuthorizationRequest, writer io.Writer) error
MarshalClusterAuthorizationRequest writes a value of the 'cluster_authorization_request' type to the given writer.
func MarshalClusterAuthorizationRequestList ¶
func MarshalClusterAuthorizationRequestList(list []*ClusterAuthorizationRequest, writer io.Writer) error
MarshalClusterAuthorizationRequestList writes a list of values of the 'cluster_authorization_request' type to the given writer.
func MarshalClusterAuthorizationResponse ¶
func MarshalClusterAuthorizationResponse(object *ClusterAuthorizationResponse, writer io.Writer) error
MarshalClusterAuthorizationResponse writes a value of the 'cluster_authorization_response' type to the given writer.
func MarshalClusterAuthorizationResponseList ¶
func MarshalClusterAuthorizationResponseList(list []*ClusterAuthorizationResponse, writer io.Writer) error
MarshalClusterAuthorizationResponseList writes a list of values of the 'cluster_authorization_response' type to the given writer.
func MarshalClusterMetricsNodes ¶
func MarshalClusterMetricsNodes(object *ClusterMetricsNodes, writer io.Writer) error
MarshalClusterMetricsNodes writes a value of the 'cluster_metrics_nodes' type to the given writer.
func MarshalClusterMetricsNodesList ¶
func MarshalClusterMetricsNodesList(list []*ClusterMetricsNodes, writer io.Writer) error
MarshalClusterMetricsNodesList writes a list of values of the 'cluster_metrics_nodes' type to the given writer.
func MarshalClusterRegistrationRequest ¶
func MarshalClusterRegistrationRequest(object *ClusterRegistrationRequest, writer io.Writer) error
MarshalClusterRegistrationRequest writes a value of the 'cluster_registration_request' type to the given writer.
func MarshalClusterRegistrationRequestList ¶
func MarshalClusterRegistrationRequestList(list []*ClusterRegistrationRequest, writer io.Writer) error
MarshalClusterRegistrationRequestList writes a list of values of the 'cluster_registration_request' type to the given writer.
func MarshalClusterRegistrationResponse ¶
func MarshalClusterRegistrationResponse(object *ClusterRegistrationResponse, writer io.Writer) error
MarshalClusterRegistrationResponse writes a value of the 'cluster_registration_response' type to the given writer.
func MarshalClusterRegistrationResponseList ¶
func MarshalClusterRegistrationResponseList(list []*ClusterRegistrationResponse, writer io.Writer) error
MarshalClusterRegistrationResponseList writes a list of values of the 'cluster_registration_response' type to the given writer.
func MarshalClusterResource ¶
func MarshalClusterResource(object *ClusterResource, writer io.Writer) error
MarshalClusterResource writes a value of the 'cluster_resource' type to the given writer.
func MarshalClusterResourceList ¶
func MarshalClusterResourceList(list []*ClusterResource, writer io.Writer) error
MarshalClusterResourceList writes a list of values of the 'cluster_resource' type to the given writer.
func MarshalClusterUpgrade ¶
func MarshalClusterUpgrade(object *ClusterUpgrade, writer io.Writer) error
MarshalClusterUpgrade writes a value of the 'cluster_upgrade' type to the given writer.
func MarshalClusterUpgradeList ¶
func MarshalClusterUpgradeList(list []*ClusterUpgrade, writer io.Writer) error
MarshalClusterUpgradeList writes a list of values of the 'cluster_upgrade' type to the given writer.
func MarshalContract ¶
MarshalContract writes a value of the 'contract' type to the given writer.
func MarshalContractDimension ¶
func MarshalContractDimension(object *ContractDimension, writer io.Writer) error
MarshalContractDimension writes a value of the 'contract_dimension' type to the given writer.
func MarshalContractDimensionList ¶
func MarshalContractDimensionList(list []*ContractDimension, writer io.Writer) error
MarshalContractDimensionList writes a list of values of the 'contract_dimension' type to the given writer.
func MarshalContractList ¶
MarshalContractList writes a list of values of the 'contract' type to the given writer.
func MarshalDateList ¶
MarshalDateList writes a list of values of the 'date' type to the given writer.
func MarshalDefaultCapability ¶
func MarshalDefaultCapability(object *DefaultCapability, writer io.Writer) error
MarshalDefaultCapability writes a value of the 'default_capability' type to the given writer.
func MarshalDefaultCapabilityList ¶
func MarshalDefaultCapabilityList(list []*DefaultCapability, writer io.Writer) error
MarshalDefaultCapabilityList writes a list of values of the 'default_capability' type to the given writer.
func MarshalDeletedSubscription ¶
func MarshalDeletedSubscription(object *DeletedSubscription, writer io.Writer) error
MarshalDeletedSubscription writes a value of the 'deleted_subscription' type to the given writer.
func MarshalDeletedSubscriptionList ¶
func MarshalDeletedSubscriptionList(list []*DeletedSubscription, writer io.Writer) error
MarshalDeletedSubscriptionList writes a list of values of the 'deleted_subscription' type to the given writer.
func MarshalFeatureToggle ¶
func MarshalFeatureToggle(object *FeatureToggle, writer io.Writer) error
MarshalFeatureToggle writes a value of the 'feature_toggle' type to the given writer.
func MarshalFeatureToggleList ¶
func MarshalFeatureToggleList(list []*FeatureToggle, writer io.Writer) error
MarshalFeatureToggleList writes a list of values of the 'feature_toggle' type to the given writer.
func MarshalFeatureToggleQueryRequest ¶
func MarshalFeatureToggleQueryRequest(object *FeatureToggleQueryRequest, writer io.Writer) error
MarshalFeatureToggleQueryRequest writes a value of the 'feature_toggle_query_request' type to the given writer.
func MarshalFeatureToggleQueryRequestList ¶
func MarshalFeatureToggleQueryRequestList(list []*FeatureToggleQueryRequest, writer io.Writer) error
MarshalFeatureToggleQueryRequestList writes a list of values of the 'feature_toggle_query_request' type to the given writer.
func MarshalFloatList ¶
MarshalFloatList writes a list of values of the 'float' type to the given writer.
func MarshalGenericNotifyDetailsResponse ¶
func MarshalGenericNotifyDetailsResponse(object *GenericNotifyDetailsResponse, writer io.Writer) error
MarshalGenericNotifyDetailsResponse writes a value of the 'generic_notify_details_response' type to the given writer.
func MarshalGenericNotifyDetailsResponseList ¶
func MarshalGenericNotifyDetailsResponseList(list []*GenericNotifyDetailsResponse, writer io.Writer) error
MarshalGenericNotifyDetailsResponseList writes a list of values of the 'generic_notify_details_response' type to the given writer.
func MarshalIntegerList ¶
MarshalIntegerList writes a list of values of the 'integer' type to the given writer.
func MarshalInterfaceList ¶
MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.
func MarshalLabel ¶
MarshalLabel writes a value of the 'label' type to the given writer.
func MarshalLabelList ¶
MarshalLabelList writes a list of values of the 'label' type to the given writer.
func MarshalLongList ¶
MarshalLongList writes a list of values of the 'long' type to the given writer.
func MarshalMetadata ¶
MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.
func MarshalNotificationDetailsRequest ¶
func MarshalNotificationDetailsRequest(object *NotificationDetailsRequest, writer io.Writer) error
MarshalNotificationDetailsRequest writes a value of the 'notification_details_request' type to the given writer.
func MarshalNotificationDetailsRequestList ¶
func MarshalNotificationDetailsRequestList(list []*NotificationDetailsRequest, writer io.Writer) error
MarshalNotificationDetailsRequestList writes a list of values of the 'notification_details_request' type to the given writer.
func MarshalNotificationDetailsResponse ¶
func MarshalNotificationDetailsResponse(object *NotificationDetailsResponse, writer io.Writer) error
MarshalNotificationDetailsResponse writes a value of the 'notification_details_response' type to the given writer.
func MarshalNotificationDetailsResponseList ¶
func MarshalNotificationDetailsResponseList(list []*NotificationDetailsResponse, writer io.Writer) error
MarshalNotificationDetailsResponseList writes a list of values of the 'notification_details_response' type to the given writer.
func MarshalOrganization ¶
func MarshalOrganization(object *Organization, writer io.Writer) error
MarshalOrganization writes a value of the 'organization' type to the given writer.
func MarshalOrganizationList ¶
func MarshalOrganizationList(list []*Organization, writer io.Writer) error
MarshalOrganizationList writes a list of values of the 'organization' type to the given writer.
func MarshalPermission ¶
func MarshalPermission(object *Permission, writer io.Writer) error
MarshalPermission writes a value of the 'permission' type to the given writer.
func MarshalPermissionList ¶
func MarshalPermissionList(list []*Permission, writer io.Writer) error
MarshalPermissionList writes a list of values of the 'permission' type to the given writer.
func MarshalPlan ¶
MarshalPlan writes a value of the 'plan' type to the given writer.
func MarshalPlanIDList ¶
MarshalPlanIDList writes a list of values of the 'plan_ID' type to the given writer.
func MarshalPlanList ¶
MarshalPlanList writes a list of values of the 'plan' type to the given writer.
func MarshalPullSecretsRequest ¶
func MarshalPullSecretsRequest(object *PullSecretsRequest, writer io.Writer) error
MarshalPullSecretsRequest writes a value of the 'pull_secrets_request' type to the given writer.
func MarshalPullSecretsRequestList ¶
func MarshalPullSecretsRequestList(list []*PullSecretsRequest, writer io.Writer) error
MarshalPullSecretsRequestList writes a list of values of the 'pull_secrets_request' type to the given writer.
func MarshalQuotaAuthorizationRequest ¶
func MarshalQuotaAuthorizationRequest(object *QuotaAuthorizationRequest, writer io.Writer) error
MarshalQuotaAuthorizationRequest writes a value of the 'quota_authorization_request' type to the given writer.
func MarshalQuotaAuthorizationRequestList ¶
func MarshalQuotaAuthorizationRequestList(list []*QuotaAuthorizationRequest, writer io.Writer) error
MarshalQuotaAuthorizationRequestList writes a list of values of the 'quota_authorization_request' type to the given writer.
func MarshalQuotaAuthorizationResponse ¶
func MarshalQuotaAuthorizationResponse(object *QuotaAuthorizationResponse, writer io.Writer) error
MarshalQuotaAuthorizationResponse writes a value of the 'quota_authorization_response' type to the given writer.
func MarshalQuotaAuthorizationResponseList ¶
func MarshalQuotaAuthorizationResponseList(list []*QuotaAuthorizationResponse, writer io.Writer) error
MarshalQuotaAuthorizationResponseList writes a list of values of the 'quota_authorization_response' type to the given writer.
func MarshalQuotaCost ¶
MarshalQuotaCost writes a value of the 'quota_cost' type to the given writer.
func MarshalQuotaCostList ¶
MarshalQuotaCostList writes a list of values of the 'quota_cost' type to the given writer.
func MarshalQuotaRules ¶
func MarshalQuotaRules(object *QuotaRules, writer io.Writer) error
MarshalQuotaRules writes a value of the 'quota_rules' type to the given writer.
func MarshalQuotaRulesList ¶
func MarshalQuotaRulesList(list []*QuotaRules, writer io.Writer) error
MarshalQuotaRulesList writes a list of values of the 'quota_rules' type to the given writer.
func MarshalRegistry ¶
MarshalRegistry writes a value of the 'registry' type to the given writer.
func MarshalRegistryCredential ¶
func MarshalRegistryCredential(object *RegistryCredential, writer io.Writer) error
MarshalRegistryCredential writes a value of the 'registry_credential' type to the given writer.
func MarshalRegistryCredentialList ¶
func MarshalRegistryCredentialList(list []*RegistryCredential, writer io.Writer) error
MarshalRegistryCredentialList writes a list of values of the 'registry_credential' type to the given writer.
func MarshalRegistryList ¶
MarshalRegistryList writes a list of values of the 'registry' type to the given writer.
func MarshalRelatedResource ¶
func MarshalRelatedResource(object *RelatedResource, writer io.Writer) error
MarshalRelatedResource writes a value of the 'related_resource' type to the given writer.
func MarshalRelatedResourceList ¶
func MarshalRelatedResourceList(list []*RelatedResource, writer io.Writer) error
MarshalRelatedResourceList writes a list of values of the 'related_resource' type to the given writer.
func MarshalReservedResource ¶
func MarshalReservedResource(object *ReservedResource, writer io.Writer) error
MarshalReservedResource writes a value of the 'reserved_resource' type to the given writer.
func MarshalReservedResourceList ¶
func MarshalReservedResourceList(list []*ReservedResource, writer io.Writer) error
MarshalReservedResourceList writes a list of values of the 'reserved_resource' type to the given writer.
func MarshalResource ¶
MarshalResource writes a value of the 'resource' type to the given writer.
func MarshalResourceList ¶
MarshalResourceList writes a list of values of the 'resource' type to the given writer.
func MarshalResourceQuota ¶
func MarshalResourceQuota(object *ResourceQuota, writer io.Writer) error
MarshalResourceQuota writes a value of the 'resource_quota' type to the given writer.
func MarshalResourceQuotaList ¶
func MarshalResourceQuotaList(list []*ResourceQuota, writer io.Writer) error
MarshalResourceQuotaList writes a list of values of the 'resource_quota' type to the given writer.
func MarshalRole ¶
MarshalRole writes a value of the 'role' type to the given writer.
func MarshalRoleBinding ¶
func MarshalRoleBinding(object *RoleBinding, writer io.Writer) error
MarshalRoleBinding writes a value of the 'role_binding' type to the given writer.
func MarshalRoleBindingList ¶
func MarshalRoleBindingList(list []*RoleBinding, writer io.Writer) error
MarshalRoleBindingList writes a list of values of the 'role_binding' type to the given writer.
func MarshalRoleList ¶
MarshalRoleList writes a list of values of the 'role' type to the given writer.
func MarshalSkuRule ¶
MarshalSkuRule writes a value of the 'sku_rule' type to the given writer.
func MarshalSkuRuleList ¶
MarshalSkuRuleList writes a list of values of the 'sku_rule' type to the given writer.
func MarshalStringList ¶
MarshalStringList writes a list of values of the 'string' type to the given writer.
func MarshalSubscription ¶
func MarshalSubscription(object *Subscription, writer io.Writer) error
MarshalSubscription writes a value of the 'subscription' type to the given writer.
func MarshalSubscriptionList ¶
func MarshalSubscriptionList(list []*Subscription, writer io.Writer) error
MarshalSubscriptionList writes a list of values of the 'subscription' type to the given writer.
func MarshalSubscriptionMetrics ¶
func MarshalSubscriptionMetrics(object *SubscriptionMetrics, writer io.Writer) error
MarshalSubscriptionMetrics writes a value of the 'subscription_metrics' type to the given writer.
func MarshalSubscriptionMetricsList ¶
func MarshalSubscriptionMetricsList(list []*SubscriptionMetrics, writer io.Writer) error
MarshalSubscriptionMetricsList writes a list of values of the 'subscription_metrics' type to the given writer.
func MarshalSubscriptionRegistration ¶
func MarshalSubscriptionRegistration(object *SubscriptionRegistration, writer io.Writer) error
MarshalSubscriptionRegistration writes a value of the 'subscription_registration' type to the given writer.
func MarshalSubscriptionRegistrationList ¶
func MarshalSubscriptionRegistrationList(list []*SubscriptionRegistration, writer io.Writer) error
MarshalSubscriptionRegistrationList writes a list of values of the 'subscription_registration' type to the given writer.
func MarshalSummaryDashboard ¶
func MarshalSummaryDashboard(object *SummaryDashboard, writer io.Writer) error
MarshalSummaryDashboard writes a value of the 'summary_dashboard' type to the given writer.
func MarshalSummaryDashboardList ¶
func MarshalSummaryDashboardList(list []*SummaryDashboard, writer io.Writer) error
MarshalSummaryDashboardList writes a list of values of the 'summary_dashboard' type to the given writer.
func MarshalSummaryMetrics ¶
func MarshalSummaryMetrics(object *SummaryMetrics, writer io.Writer) error
MarshalSummaryMetrics writes a value of the 'summary_metrics' type to the given writer.
func MarshalSummaryMetricsList ¶
func MarshalSummaryMetricsList(list []*SummaryMetrics, writer io.Writer) error
MarshalSummaryMetricsList writes a list of values of the 'summary_metrics' type to the given writer.
func MarshalSummarySample ¶
func MarshalSummarySample(object *SummarySample, writer io.Writer) error
MarshalSummarySample writes a value of the 'summary_sample' type to the given writer.
func MarshalSummarySampleList ¶
func MarshalSummarySampleList(list []*SummarySample, writer io.Writer) error
MarshalSummarySampleList writes a list of values of the 'summary_sample' type to the given writer.
func MarshalSupportCaseRequest ¶
func MarshalSupportCaseRequest(object *SupportCaseRequest, writer io.Writer) error
MarshalSupportCaseRequest writes a value of the 'support_case_request' type to the given writer.
func MarshalSupportCaseRequestList ¶
func MarshalSupportCaseRequestList(list []*SupportCaseRequest, writer io.Writer) error
MarshalSupportCaseRequestList writes a list of values of the 'support_case_request' type to the given writer.
func MarshalSupportCaseResponse ¶
func MarshalSupportCaseResponse(object *SupportCaseResponse, writer io.Writer) error
MarshalSupportCaseResponse writes a value of the 'support_case_response' type to the given writer.
func MarshalSupportCaseResponseList ¶
func MarshalSupportCaseResponseList(list []*SupportCaseResponse, writer io.Writer) error
MarshalSupportCaseResponseList writes a list of values of the 'support_case_response' type to the given writer.
func MarshalTemplateParameter ¶
func MarshalTemplateParameter(object *TemplateParameter, writer io.Writer) error
MarshalTemplateParameter writes a value of the 'template_parameter' type to the given writer.
func MarshalTemplateParameterList ¶
func MarshalTemplateParameterList(list []*TemplateParameter, writer io.Writer) error
MarshalTemplateParameterList writes a list of values of the 'template_parameter' type to the given writer.
func MarshalTokenAuthorizationRequest ¶
func MarshalTokenAuthorizationRequest(object *TokenAuthorizationRequest, writer io.Writer) error
MarshalTokenAuthorizationRequest writes a value of the 'token_authorization_request' type to the given writer.
func MarshalTokenAuthorizationRequestList ¶
func MarshalTokenAuthorizationRequestList(list []*TokenAuthorizationRequest, writer io.Writer) error
MarshalTokenAuthorizationRequestList writes a list of values of the 'token_authorization_request' type to the given writer.
func MarshalTokenAuthorizationResponse ¶
func MarshalTokenAuthorizationResponse(object *TokenAuthorizationResponse, writer io.Writer) error
MarshalTokenAuthorizationResponse writes a value of the 'token_authorization_response' type to the given writer.
func MarshalTokenAuthorizationResponseList ¶
func MarshalTokenAuthorizationResponseList(list []*TokenAuthorizationResponse, writer io.Writer) error
MarshalTokenAuthorizationResponseList writes a list of values of the 'token_authorization_response' type to the given writer.
func MarshalValueUnit ¶
MarshalValueUnit writes a value of the 'value_unit' type to the given writer.
func MarshalValueUnitList ¶
MarshalValueUnitList writes a list of values of the 'value_unit' type to the given writer.
func ReadBooleanList ¶
ReadBooleanList reads list of values of the ”boolean' type from the given iterator.
func ReadDateList ¶
ReadDateList reads list of values of the ”date' type from the given iterator.
func ReadFloatList ¶
ReadFloatList reads list of values of the ”float' type from the given iterator.
func ReadIntegerList ¶
ReadIntegerList reads list of values of the ”integer' type from the given iterator.
func ReadInterfaceList ¶
ReadInterfaceList reads list of values of the ”interface' type from the given iterator.
func ReadLongList ¶
ReadLongList reads list of values of the ”long' type from the given iterator.
func ReadStringList ¶
ReadStringList reads list of values of the ”string' type from the given iterator.
func UnmarshalBooleanList ¶
UnmarshalBooleanList reads a list of values of the 'boolean' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalDateList ¶
UnmarshalDateList reads a list of values of the 'date' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalFloatList ¶
UnmarshalFloatList reads a list of values of the 'float' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalIntegerList ¶
UnmarshalIntegerList reads a list of values of the 'integer' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalInterfaceList ¶
func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
UnmarshalInterfaceList reads a list of values of the 'interface' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalLongList ¶
UnmarshalLongList reads a list of values of the 'long' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalStringList ¶
UnmarshalStringList reads a list of values of the 'string' type from the given source, which can be a slice of bytes, a string or a reader.
func WriteAccessToken ¶
func WriteAccessToken(object *AccessToken, stream *jsoniter.Stream)
WriteAccessToken writes a value of the 'access_token' type to the given stream.
func WriteAccessTokenAuth ¶
func WriteAccessTokenAuth(object *AccessTokenAuth, stream *jsoniter.Stream)
WriteAccessTokenAuth writes a value of the 'access_token_auth' type to the given stream.
func WriteAccessTokenAuthList ¶
func WriteAccessTokenAuthList(list []*AccessTokenAuth, stream *jsoniter.Stream)
WriteAccessTokenAuthList writes a list of value of the 'access_token_auth' type to the given stream.
func WriteAccessTokenList ¶
func WriteAccessTokenList(list []*AccessToken, stream *jsoniter.Stream)
WriteAccessTokenList writes a list of value of the 'access_token' type to the given stream.
func WriteAccount ¶
WriteAccount writes a value of the 'account' type to the given stream.
func WriteAccountList ¶
WriteAccountList writes a list of value of the 'account' type to the given stream.
func WriteActionList ¶
WriteActionList writes a list of value of the 'action' type to the given stream.
func WriteBillingModelItem ¶
func WriteBillingModelItem(object *BillingModelItem, stream *jsoniter.Stream)
WriteBillingModelItem writes a value of the 'billing_model_item' type to the given stream.
func WriteBillingModelItemList ¶
func WriteBillingModelItemList(list []*BillingModelItem, stream *jsoniter.Stream)
WriteBillingModelItemList writes a list of value of the 'billing_model_item' type to the given stream.
func WriteBillingModelList ¶
func WriteBillingModelList(list []BillingModel, stream *jsoniter.Stream)
WriteBillingModelList writes a list of value of the 'billing_model' type to the given stream.
func WriteBooleanList ¶
WriteBooleanList writes a list of value of the 'boolean' type to the given stream.
func WriteCapability ¶
func WriteCapability(object *Capability, stream *jsoniter.Stream)
WriteCapability writes a value of the 'capability' type to the given stream.
func WriteCapabilityList ¶
func WriteCapabilityList(list []*Capability, stream *jsoniter.Stream)
WriteCapabilityList writes a list of value of the 'capability' type to the given stream.
func WriteCloudAccount ¶
func WriteCloudAccount(object *CloudAccount, stream *jsoniter.Stream)
WriteCloudAccount writes a value of the 'cloud_account' type to the given stream.
func WriteCloudAccountList ¶
func WriteCloudAccountList(list []*CloudAccount, stream *jsoniter.Stream)
WriteCloudAccountList writes a list of value of the 'cloud_account' type to the given stream.
func WriteCloudResource ¶
func WriteCloudResource(object *CloudResource, stream *jsoniter.Stream)
WriteCloudResource writes a value of the 'cloud_resource' type to the given stream.
func WriteCloudResourceList ¶
func WriteCloudResourceList(list []*CloudResource, stream *jsoniter.Stream)
WriteCloudResourceList writes a list of value of the 'cloud_resource' type to the given stream.
func WriteClusterAuthorizationRequest ¶
func WriteClusterAuthorizationRequest(object *ClusterAuthorizationRequest, stream *jsoniter.Stream)
WriteClusterAuthorizationRequest writes a value of the 'cluster_authorization_request' type to the given stream.
func WriteClusterAuthorizationRequestList ¶
func WriteClusterAuthorizationRequestList(list []*ClusterAuthorizationRequest, stream *jsoniter.Stream)
WriteClusterAuthorizationRequestList writes a list of value of the 'cluster_authorization_request' type to the given stream.
func WriteClusterAuthorizationResponse ¶
func WriteClusterAuthorizationResponse(object *ClusterAuthorizationResponse, stream *jsoniter.Stream)
WriteClusterAuthorizationResponse writes a value of the 'cluster_authorization_response' type to the given stream.
func WriteClusterAuthorizationResponseList ¶
func WriteClusterAuthorizationResponseList(list []*ClusterAuthorizationResponse, stream *jsoniter.Stream)
WriteClusterAuthorizationResponseList writes a list of value of the 'cluster_authorization_response' type to the given stream.
func WriteClusterMetricsNodes ¶
func WriteClusterMetricsNodes(object *ClusterMetricsNodes, stream *jsoniter.Stream)
WriteClusterMetricsNodes writes a value of the 'cluster_metrics_nodes' type to the given stream.
func WriteClusterMetricsNodesList ¶
func WriteClusterMetricsNodesList(list []*ClusterMetricsNodes, stream *jsoniter.Stream)
WriteClusterMetricsNodesList writes a list of value of the 'cluster_metrics_nodes' type to the given stream.
func WriteClusterRegistrationRequest ¶
func WriteClusterRegistrationRequest(object *ClusterRegistrationRequest, stream *jsoniter.Stream)
WriteClusterRegistrationRequest writes a value of the 'cluster_registration_request' type to the given stream.
func WriteClusterRegistrationRequestList ¶
func WriteClusterRegistrationRequestList(list []*ClusterRegistrationRequest, stream *jsoniter.Stream)
WriteClusterRegistrationRequestList writes a list of value of the 'cluster_registration_request' type to the given stream.
func WriteClusterRegistrationResponse ¶
func WriteClusterRegistrationResponse(object *ClusterRegistrationResponse, stream *jsoniter.Stream)
WriteClusterRegistrationResponse writes a value of the 'cluster_registration_response' type to the given stream.
func WriteClusterRegistrationResponseList ¶
func WriteClusterRegistrationResponseList(list []*ClusterRegistrationResponse, stream *jsoniter.Stream)
WriteClusterRegistrationResponseList writes a list of value of the 'cluster_registration_response' type to the given stream.
func WriteClusterResource ¶
func WriteClusterResource(object *ClusterResource, stream *jsoniter.Stream)
WriteClusterResource writes a value of the 'cluster_resource' type to the given stream.
func WriteClusterResourceList ¶
func WriteClusterResourceList(list []*ClusterResource, stream *jsoniter.Stream)
WriteClusterResourceList writes a list of value of the 'cluster_resource' type to the given stream.
func WriteClusterUpgrade ¶
func WriteClusterUpgrade(object *ClusterUpgrade, stream *jsoniter.Stream)
WriteClusterUpgrade writes a value of the 'cluster_upgrade' type to the given stream.
func WriteClusterUpgradeList ¶
func WriteClusterUpgradeList(list []*ClusterUpgrade, stream *jsoniter.Stream)
WriteClusterUpgradeList writes a list of value of the 'cluster_upgrade' type to the given stream.
func WriteContract ¶
WriteContract writes a value of the 'contract' type to the given stream.
func WriteContractDimension ¶
func WriteContractDimension(object *ContractDimension, stream *jsoniter.Stream)
WriteContractDimension writes a value of the 'contract_dimension' type to the given stream.
func WriteContractDimensionList ¶
func WriteContractDimensionList(list []*ContractDimension, stream *jsoniter.Stream)
WriteContractDimensionList writes a list of value of the 'contract_dimension' type to the given stream.
func WriteContractList ¶
WriteContractList writes a list of value of the 'contract' type to the given stream.
func WriteDateList ¶
WriteDateList writes a list of value of the 'date' type to the given stream.
func WriteDefaultCapability ¶
func WriteDefaultCapability(object *DefaultCapability, stream *jsoniter.Stream)
WriteDefaultCapability writes a value of the 'default_capability' type to the given stream.
func WriteDefaultCapabilityList ¶
func WriteDefaultCapabilityList(list []*DefaultCapability, stream *jsoniter.Stream)
WriteDefaultCapabilityList writes a list of value of the 'default_capability' type to the given stream.
func WriteDeletedSubscription ¶
func WriteDeletedSubscription(object *DeletedSubscription, stream *jsoniter.Stream)
WriteDeletedSubscription writes a value of the 'deleted_subscription' type to the given stream.
func WriteDeletedSubscriptionList ¶
func WriteDeletedSubscriptionList(list []*DeletedSubscription, stream *jsoniter.Stream)
WriteDeletedSubscriptionList writes a list of value of the 'deleted_subscription' type to the given stream.
func WriteFeatureToggle ¶
func WriteFeatureToggle(object *FeatureToggle, stream *jsoniter.Stream)
WriteFeatureToggle writes a value of the 'feature_toggle' type to the given stream.
func WriteFeatureToggleList ¶
func WriteFeatureToggleList(list []*FeatureToggle, stream *jsoniter.Stream)
WriteFeatureToggleList writes a list of value of the 'feature_toggle' type to the given stream.
func WriteFeatureToggleQueryRequest ¶
func WriteFeatureToggleQueryRequest(object *FeatureToggleQueryRequest, stream *jsoniter.Stream)
WriteFeatureToggleQueryRequest writes a value of the 'feature_toggle_query_request' type to the given stream.
func WriteFeatureToggleQueryRequestList ¶
func WriteFeatureToggleQueryRequestList(list []*FeatureToggleQueryRequest, stream *jsoniter.Stream)
WriteFeatureToggleQueryRequestList writes a list of value of the 'feature_toggle_query_request' type to the given stream.
func WriteFloatList ¶
WriteFloatList writes a list of value of the 'float' type to the given stream.
func WriteGenericNotifyDetailsResponse ¶
func WriteGenericNotifyDetailsResponse(object *GenericNotifyDetailsResponse, stream *jsoniter.Stream)
WriteGenericNotifyDetailsResponse writes a value of the 'generic_notify_details_response' type to the given stream.
func WriteGenericNotifyDetailsResponseList ¶
func WriteGenericNotifyDetailsResponseList(list []*GenericNotifyDetailsResponse, stream *jsoniter.Stream)
WriteGenericNotifyDetailsResponseList writes a list of value of the 'generic_notify_details_response' type to the given stream.
func WriteIntegerList ¶
WriteIntegerList writes a list of value of the 'integer' type to the given stream.
func WriteInterfaceList ¶
WriteInterfaceList writes a list of value of the 'interface' type to the given stream.
func WriteLabel ¶
WriteLabel writes a value of the 'label' type to the given stream.
func WriteLabelList ¶
WriteLabelList writes a list of value of the 'label' type to the given stream.
func WriteLongList ¶
WriteLongList writes a list of value of the 'long' type to the given stream.
func WriteNotificationDetailsRequest ¶
func WriteNotificationDetailsRequest(object *NotificationDetailsRequest, stream *jsoniter.Stream)
WriteNotificationDetailsRequest writes a value of the 'notification_details_request' type to the given stream.
func WriteNotificationDetailsRequestList ¶
func WriteNotificationDetailsRequestList(list []*NotificationDetailsRequest, stream *jsoniter.Stream)
WriteNotificationDetailsRequestList writes a list of value of the 'notification_details_request' type to the given stream.
func WriteNotificationDetailsResponse ¶
func WriteNotificationDetailsResponse(object *NotificationDetailsResponse, stream *jsoniter.Stream)
WriteNotificationDetailsResponse writes a value of the 'notification_details_response' type to the given stream.
func WriteNotificationDetailsResponseList ¶
func WriteNotificationDetailsResponseList(list []*NotificationDetailsResponse, stream *jsoniter.Stream)
WriteNotificationDetailsResponseList writes a list of value of the 'notification_details_response' type to the given stream.
func WriteOrganization ¶
func WriteOrganization(object *Organization, stream *jsoniter.Stream)
WriteOrganization writes a value of the 'organization' type to the given stream.
func WriteOrganizationList ¶
func WriteOrganizationList(list []*Organization, stream *jsoniter.Stream)
WriteOrganizationList writes a list of value of the 'organization' type to the given stream.
func WritePermission ¶
func WritePermission(object *Permission, stream *jsoniter.Stream)
WritePermission writes a value of the 'permission' type to the given stream.
func WritePermissionList ¶
func WritePermissionList(list []*Permission, stream *jsoniter.Stream)
WritePermissionList writes a list of value of the 'permission' type to the given stream.
func WritePlanIDList ¶
WritePlanIDList writes a list of value of the 'plan_ID' type to the given stream.
func WritePlanList ¶
WritePlanList writes a list of value of the 'plan' type to the given stream.
func WritePullSecretsRequest ¶
func WritePullSecretsRequest(object *PullSecretsRequest, stream *jsoniter.Stream)
WritePullSecretsRequest writes a value of the 'pull_secrets_request' type to the given stream.
func WritePullSecretsRequestList ¶
func WritePullSecretsRequestList(list []*PullSecretsRequest, stream *jsoniter.Stream)
WritePullSecretsRequestList writes a list of value of the 'pull_secrets_request' type to the given stream.
func WriteQuotaAuthorizationRequest ¶
func WriteQuotaAuthorizationRequest(object *QuotaAuthorizationRequest, stream *jsoniter.Stream)
WriteQuotaAuthorizationRequest writes a value of the 'quota_authorization_request' type to the given stream.
func WriteQuotaAuthorizationRequestList ¶
func WriteQuotaAuthorizationRequestList(list []*QuotaAuthorizationRequest, stream *jsoniter.Stream)
WriteQuotaAuthorizationRequestList writes a list of value of the 'quota_authorization_request' type to the given stream.
func WriteQuotaAuthorizationResponse ¶
func WriteQuotaAuthorizationResponse(object *QuotaAuthorizationResponse, stream *jsoniter.Stream)
WriteQuotaAuthorizationResponse writes a value of the 'quota_authorization_response' type to the given stream.
func WriteQuotaAuthorizationResponseList ¶
func WriteQuotaAuthorizationResponseList(list []*QuotaAuthorizationResponse, stream *jsoniter.Stream)
WriteQuotaAuthorizationResponseList writes a list of value of the 'quota_authorization_response' type to the given stream.
func WriteQuotaCost ¶
WriteQuotaCost writes a value of the 'quota_cost' type to the given stream.
func WriteQuotaCostList ¶
WriteQuotaCostList writes a list of value of the 'quota_cost' type to the given stream.
func WriteQuotaRules ¶
func WriteQuotaRules(object *QuotaRules, stream *jsoniter.Stream)
WriteQuotaRules writes a value of the 'quota_rules' type to the given stream.
func WriteQuotaRulesList ¶
func WriteQuotaRulesList(list []*QuotaRules, stream *jsoniter.Stream)
WriteQuotaRulesList writes a list of value of the 'quota_rules' type to the given stream.
func WriteRegistry ¶
WriteRegistry writes a value of the 'registry' type to the given stream.
func WriteRegistryCredential ¶
func WriteRegistryCredential(object *RegistryCredential, stream *jsoniter.Stream)
WriteRegistryCredential writes a value of the 'registry_credential' type to the given stream.
func WriteRegistryCredentialList ¶
func WriteRegistryCredentialList(list []*RegistryCredential, stream *jsoniter.Stream)
WriteRegistryCredentialList writes a list of value of the 'registry_credential' type to the given stream.
func WriteRegistryList ¶
WriteRegistryList writes a list of value of the 'registry' type to the given stream.
func WriteRelatedResource ¶
func WriteRelatedResource(object *RelatedResource, stream *jsoniter.Stream)
WriteRelatedResource writes a value of the 'related_resource' type to the given stream.
func WriteRelatedResourceList ¶
func WriteRelatedResourceList(list []*RelatedResource, stream *jsoniter.Stream)
WriteRelatedResourceList writes a list of value of the 'related_resource' type to the given stream.
func WriteReservedResource ¶
func WriteReservedResource(object *ReservedResource, stream *jsoniter.Stream)
WriteReservedResource writes a value of the 'reserved_resource' type to the given stream.
func WriteReservedResourceList ¶
func WriteReservedResourceList(list []*ReservedResource, stream *jsoniter.Stream)
WriteReservedResourceList writes a list of value of the 'reserved_resource' type to the given stream.
func WriteResource ¶
WriteResource writes a value of the 'resource' type to the given stream.
func WriteResourceList ¶
WriteResourceList writes a list of value of the 'resource' type to the given stream.
func WriteResourceQuota ¶
func WriteResourceQuota(object *ResourceQuota, stream *jsoniter.Stream)
WriteResourceQuota writes a value of the 'resource_quota' type to the given stream.
func WriteResourceQuotaList ¶
func WriteResourceQuotaList(list []*ResourceQuota, stream *jsoniter.Stream)
WriteResourceQuotaList writes a list of value of the 'resource_quota' type to the given stream.
func WriteRoleBinding ¶
func WriteRoleBinding(object *RoleBinding, stream *jsoniter.Stream)
WriteRoleBinding writes a value of the 'role_binding' type to the given stream.
func WriteRoleBindingList ¶
func WriteRoleBindingList(list []*RoleBinding, stream *jsoniter.Stream)
WriteRoleBindingList writes a list of value of the 'role_binding' type to the given stream.
func WriteRoleList ¶
WriteRoleList writes a list of value of the 'role' type to the given stream.
func WriteSkuRule ¶
WriteSkuRule writes a value of the 'sku_rule' type to the given stream.
func WriteSkuRuleList ¶
WriteSkuRuleList writes a list of value of the 'sku_rule' type to the given stream.
func WriteStringList ¶
WriteStringList writes a list of value of the 'string' type to the given stream.
func WriteSubscription ¶
func WriteSubscription(object *Subscription, stream *jsoniter.Stream)
WriteSubscription writes a value of the 'subscription' type to the given stream.
func WriteSubscriptionList ¶
func WriteSubscriptionList(list []*Subscription, stream *jsoniter.Stream)
WriteSubscriptionList writes a list of value of the 'subscription' type to the given stream.
func WriteSubscriptionMetrics ¶
func WriteSubscriptionMetrics(object *SubscriptionMetrics, stream *jsoniter.Stream)
WriteSubscriptionMetrics writes a value of the 'subscription_metrics' type to the given stream.
func WriteSubscriptionMetricsList ¶
func WriteSubscriptionMetricsList(list []*SubscriptionMetrics, stream *jsoniter.Stream)
WriteSubscriptionMetricsList writes a list of value of the 'subscription_metrics' type to the given stream.
func WriteSubscriptionRegistration ¶
func WriteSubscriptionRegistration(object *SubscriptionRegistration, stream *jsoniter.Stream)
WriteSubscriptionRegistration writes a value of the 'subscription_registration' type to the given stream.
func WriteSubscriptionRegistrationList ¶
func WriteSubscriptionRegistrationList(list []*SubscriptionRegistration, stream *jsoniter.Stream)
WriteSubscriptionRegistrationList writes a list of value of the 'subscription_registration' type to the given stream.
func WriteSummaryDashboard ¶
func WriteSummaryDashboard(object *SummaryDashboard, stream *jsoniter.Stream)
WriteSummaryDashboard writes a value of the 'summary_dashboard' type to the given stream.
func WriteSummaryDashboardList ¶
func WriteSummaryDashboardList(list []*SummaryDashboard, stream *jsoniter.Stream)
WriteSummaryDashboardList writes a list of value of the 'summary_dashboard' type to the given stream.
func WriteSummaryMetrics ¶
func WriteSummaryMetrics(object *SummaryMetrics, stream *jsoniter.Stream)
WriteSummaryMetrics writes a value of the 'summary_metrics' type to the given stream.
func WriteSummaryMetricsList ¶
func WriteSummaryMetricsList(list []*SummaryMetrics, stream *jsoniter.Stream)
WriteSummaryMetricsList writes a list of value of the 'summary_metrics' type to the given stream.
func WriteSummarySample ¶
func WriteSummarySample(object *SummarySample, stream *jsoniter.Stream)
WriteSummarySample writes a value of the 'summary_sample' type to the given stream.
func WriteSummarySampleList ¶
func WriteSummarySampleList(list []*SummarySample, stream *jsoniter.Stream)
WriteSummarySampleList writes a list of value of the 'summary_sample' type to the given stream.
func WriteSupportCaseRequest ¶
func WriteSupportCaseRequest(object *SupportCaseRequest, stream *jsoniter.Stream)
WriteSupportCaseRequest writes a value of the 'support_case_request' type to the given stream.
func WriteSupportCaseRequestList ¶
func WriteSupportCaseRequestList(list []*SupportCaseRequest, stream *jsoniter.Stream)
WriteSupportCaseRequestList writes a list of value of the 'support_case_request' type to the given stream.
func WriteSupportCaseResponse ¶
func WriteSupportCaseResponse(object *SupportCaseResponse, stream *jsoniter.Stream)
WriteSupportCaseResponse writes a value of the 'support_case_response' type to the given stream.
func WriteSupportCaseResponseList ¶
func WriteSupportCaseResponseList(list []*SupportCaseResponse, stream *jsoniter.Stream)
WriteSupportCaseResponseList writes a list of value of the 'support_case_response' type to the given stream.
func WriteTemplateParameter ¶
func WriteTemplateParameter(object *TemplateParameter, stream *jsoniter.Stream)
WriteTemplateParameter writes a value of the 'template_parameter' type to the given stream.
func WriteTemplateParameterList ¶
func WriteTemplateParameterList(list []*TemplateParameter, stream *jsoniter.Stream)
WriteTemplateParameterList writes a list of value of the 'template_parameter' type to the given stream.
func WriteTokenAuthorizationRequest ¶
func WriteTokenAuthorizationRequest(object *TokenAuthorizationRequest, stream *jsoniter.Stream)
WriteTokenAuthorizationRequest writes a value of the 'token_authorization_request' type to the given stream.
func WriteTokenAuthorizationRequestList ¶
func WriteTokenAuthorizationRequestList(list []*TokenAuthorizationRequest, stream *jsoniter.Stream)
WriteTokenAuthorizationRequestList writes a list of value of the 'token_authorization_request' type to the given stream.
func WriteTokenAuthorizationResponse ¶
func WriteTokenAuthorizationResponse(object *TokenAuthorizationResponse, stream *jsoniter.Stream)
WriteTokenAuthorizationResponse writes a value of the 'token_authorization_response' type to the given stream.
func WriteTokenAuthorizationResponseList ¶
func WriteTokenAuthorizationResponseList(list []*TokenAuthorizationResponse, stream *jsoniter.Stream)
WriteTokenAuthorizationResponseList writes a list of value of the 'token_authorization_response' type to the given stream.
func WriteValueUnit ¶
WriteValueUnit writes a value of the 'value_unit' type to the given stream.
func WriteValueUnitList ¶
WriteValueUnitList writes a list of value of the 'value_unit' type to the given stream.
Types ¶
type AccessToken ¶
type AccessToken struct {
// contains filtered or unexported fields
}
AccessToken represents the values of the 'access_token' type.
func ReadAccessToken ¶
func ReadAccessToken(iterator *jsoniter.Iterator) *AccessToken
ReadAccessToken reads a value of the 'access_token' type from the given iterator.
func ReadAccessTokenList ¶
func ReadAccessTokenList(iterator *jsoniter.Iterator) []*AccessToken
ReadAccessTokenList reads list of values of the ”access_token' type from the given iterator.
func UnmarshalAccessToken ¶
func UnmarshalAccessToken(source interface{}) (object *AccessToken, err error)
UnmarshalAccessToken reads a value of the 'access_token' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessTokenList ¶
func UnmarshalAccessTokenList(source interface{}) (items []*AccessToken, err error)
UnmarshalAccessTokenList reads a list of values of the 'access_token' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessToken) Auths ¶
func (o *AccessToken) Auths() map[string]*AccessTokenAuth
Auths returns the value of the 'auths' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*AccessToken) Empty ¶
func (o *AccessToken) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessToken) GetAuths ¶
func (o *AccessToken) GetAuths() (value map[string]*AccessTokenAuth, ok bool)
GetAuths returns the value of the 'auths' attribute and a flag indicating if the attribute has a value.
type AccessTokenAuth ¶
type AccessTokenAuth struct {
// contains filtered or unexported fields
}
AccessTokenAuth represents the values of the 'access_token_auth' type.
func ReadAccessTokenAuth ¶
func ReadAccessTokenAuth(iterator *jsoniter.Iterator) *AccessTokenAuth
ReadAccessTokenAuth reads a value of the 'access_token_auth' type from the given iterator.
func ReadAccessTokenAuthList ¶
func ReadAccessTokenAuthList(iterator *jsoniter.Iterator) []*AccessTokenAuth
ReadAccessTokenAuthList reads list of values of the ”access_token_auth' type from the given iterator.
func UnmarshalAccessTokenAuth ¶
func UnmarshalAccessTokenAuth(source interface{}) (object *AccessTokenAuth, err error)
UnmarshalAccessTokenAuth reads a value of the 'access_token_auth' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessTokenAuthList ¶
func UnmarshalAccessTokenAuthList(source interface{}) (items []*AccessTokenAuth, err error)
UnmarshalAccessTokenAuthList reads a list of values of the 'access_token_auth' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessTokenAuth) Auth ¶
func (o *AccessTokenAuth) Auth() string
Auth returns the value of the 'auth' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*AccessTokenAuth) Email ¶
func (o *AccessTokenAuth) Email() string
Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*AccessTokenAuth) Empty ¶
func (o *AccessTokenAuth) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessTokenAuth) GetAuth ¶
func (o *AccessTokenAuth) GetAuth() (value string, ok bool)
GetAuth returns the value of the 'auth' attribute and a flag indicating if the attribute has a value.
func (*AccessTokenAuth) GetEmail ¶
func (o *AccessTokenAuth) GetEmail() (value string, ok bool)
GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.
type AccessTokenAuthBuilder ¶
type AccessTokenAuthBuilder struct {
// contains filtered or unexported fields
}
func NewAccessTokenAuth ¶
func NewAccessTokenAuth() *AccessTokenAuthBuilder
NewAccessTokenAuth creates a new builder of 'access_token_auth' objects.
func (*AccessTokenAuthBuilder) Auth ¶
func (b *AccessTokenAuthBuilder) Auth(value string) *AccessTokenAuthBuilder
Auth sets the value of the 'auth' attribute to the given value.
func (*AccessTokenAuthBuilder) Build ¶
func (b *AccessTokenAuthBuilder) Build() (object *AccessTokenAuth, err error)
Build creates a 'access_token_auth' object using the configuration stored in the builder.
func (*AccessTokenAuthBuilder) Copy ¶
func (b *AccessTokenAuthBuilder) Copy(object *AccessTokenAuth) *AccessTokenAuthBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessTokenAuthBuilder) Email ¶
func (b *AccessTokenAuthBuilder) Email(value string) *AccessTokenAuthBuilder
Email sets the value of the 'email' attribute to the given value.
func (*AccessTokenAuthBuilder) Empty ¶
func (b *AccessTokenAuthBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
type AccessTokenAuthList ¶
type AccessTokenAuthList struct {
// contains filtered or unexported fields
}
AccessTokenAuthList is a list of values of the 'access_token_auth' type.
func (*AccessTokenAuthList) Each ¶
func (l *AccessTokenAuthList) Each(f func(item *AccessTokenAuth) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccessTokenAuthList) Empty ¶
func (l *AccessTokenAuthList) Empty() bool
Empty returns true if the list is empty.
func (*AccessTokenAuthList) Get ¶
func (l *AccessTokenAuthList) Get(i int) *AccessTokenAuth
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessTokenAuthList) Items ¶
func (l *AccessTokenAuthList) Items() []*AccessTokenAuth
Items returns the items of the list.
func (*AccessTokenAuthList) Len ¶
func (l *AccessTokenAuthList) Len() int
Len returns the length of the list.
func (*AccessTokenAuthList) Range ¶
func (l *AccessTokenAuthList) Range(f func(index int, item *AccessTokenAuth) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccessTokenAuthList) SetHREF ¶
func (l *AccessTokenAuthList) SetHREF(href string)
Items sets the items of the list.
func (*AccessTokenAuthList) SetItems ¶
func (l *AccessTokenAuthList) SetItems(items []*AccessTokenAuth)
Items sets the items of the list.
func (*AccessTokenAuthList) SetLink ¶
func (l *AccessTokenAuthList) SetLink(link bool)
Items sets the items of the list.
func (*AccessTokenAuthList) Slice ¶
func (l *AccessTokenAuthList) Slice() []*AccessTokenAuth
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AccessTokenAuthListBuilder ¶
type AccessTokenAuthListBuilder struct {
// contains filtered or unexported fields
}
AccessTokenAuthListBuilder contains the data and logic needed to build 'access_token_auth' objects.
func NewAccessTokenAuthList ¶
func NewAccessTokenAuthList() *AccessTokenAuthListBuilder
NewAccessTokenAuthList creates a new builder of 'access_token_auth' objects.
func (*AccessTokenAuthListBuilder) Build ¶
func (b *AccessTokenAuthListBuilder) Build() (list *AccessTokenAuthList, err error)
Build creates a list of 'access_token_auth' objects using the configuration stored in the builder.
func (*AccessTokenAuthListBuilder) Copy ¶
func (b *AccessTokenAuthListBuilder) Copy(list *AccessTokenAuthList) *AccessTokenAuthListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessTokenAuthListBuilder) Empty ¶
func (b *AccessTokenAuthListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AccessTokenAuthListBuilder) Items ¶
func (b *AccessTokenAuthListBuilder) Items(values ...*AccessTokenAuthBuilder) *AccessTokenAuthListBuilder
Items sets the items of the list.
type AccessTokenBuilder ¶
type AccessTokenBuilder struct {
// contains filtered or unexported fields
}
func NewAccessToken ¶
func NewAccessToken() *AccessTokenBuilder
NewAccessToken creates a new builder of 'access_token' objects.
func (*AccessTokenBuilder) Auths ¶
func (b *AccessTokenBuilder) Auths(value map[string]*AccessTokenAuthBuilder) *AccessTokenBuilder
Auths sets the value of the 'auths' attribute to the given value.
func (*AccessTokenBuilder) Build ¶
func (b *AccessTokenBuilder) Build() (object *AccessToken, err error)
Build creates a 'access_token' object using the configuration stored in the builder.
func (*AccessTokenBuilder) Copy ¶
func (b *AccessTokenBuilder) Copy(object *AccessToken) *AccessTokenBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessTokenBuilder) Empty ¶
func (b *AccessTokenBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
type AccessTokenList ¶
type AccessTokenList struct {
// contains filtered or unexported fields
}
AccessTokenList is a list of values of the 'access_token' type.
func (*AccessTokenList) Each ¶
func (l *AccessTokenList) Each(f func(item *AccessToken) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccessTokenList) Empty ¶
func (l *AccessTokenList) Empty() bool
Empty returns true if the list is empty.
func (*AccessTokenList) Get ¶
func (l *AccessTokenList) Get(i int) *AccessToken
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessTokenList) Items ¶
func (l *AccessTokenList) Items() []*AccessToken
Items returns the items of the list.
func (*AccessTokenList) Len ¶
func (l *AccessTokenList) Len() int
Len returns the length of the list.
func (*AccessTokenList) Range ¶
func (l *AccessTokenList) Range(f func(index int, item *AccessToken) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccessTokenList) SetHREF ¶
func (l *AccessTokenList) SetHREF(href string)
Items sets the items of the list.
func (*AccessTokenList) SetItems ¶
func (l *AccessTokenList) SetItems(items []*AccessToken)
Items sets the items of the list.
func (*AccessTokenList) SetLink ¶
func (l *AccessTokenList) SetLink(link bool)
Items sets the items of the list.
func (*AccessTokenList) Slice ¶
func (l *AccessTokenList) Slice() []*AccessToken
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AccessTokenListBuilder ¶
type AccessTokenListBuilder struct {
// contains filtered or unexported fields
}
AccessTokenListBuilder contains the data and logic needed to build 'access_token' objects.
func NewAccessTokenList ¶
func NewAccessTokenList() *AccessTokenListBuilder
NewAccessTokenList creates a new builder of 'access_token' objects.
func (*AccessTokenListBuilder) Build ¶
func (b *AccessTokenListBuilder) Build() (list *AccessTokenList, err error)
Build creates a list of 'access_token' objects using the configuration stored in the builder.
func (*AccessTokenListBuilder) Copy ¶
func (b *AccessTokenListBuilder) Copy(list *AccessTokenList) *AccessTokenListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessTokenListBuilder) Empty ¶
func (b *AccessTokenListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AccessTokenListBuilder) Items ¶
func (b *AccessTokenListBuilder) Items(values ...*AccessTokenBuilder) *AccessTokenListBuilder
Items sets the items of the list.
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Account represents the values of the 'account' type.
func ReadAccount ¶
ReadAccount reads a value of the 'account' type from the given iterator.
func ReadAccountList ¶
ReadAccountList reads list of values of the ”account' type from the given iterator.
func UnmarshalAccount ¶
UnmarshalAccount reads a value of the 'account' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccountList ¶
UnmarshalAccountList reads a list of values of the 'account' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Account) BanCode ¶
BanCode returns the value of the 'ban_code' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) BanDescription ¶
BanDescription returns the value of the 'ban_description' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) Banned ¶
Banned returns the value of the 'banned' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) Capabilities ¶
func (o *Account) Capabilities() []*Capability
Capabilities returns the value of the 'capabilities' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) CreatedAt ¶
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) Email ¶
Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) FirstName ¶
FirstName returns the value of the 'first_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) GetBanCode ¶
GetBanCode returns the value of the 'ban_code' attribute and a flag indicating if the attribute has a value.
func (*Account) GetBanDescription ¶
GetBanDescription returns the value of the 'ban_description' attribute and a flag indicating if the attribute has a value.
func (*Account) GetBanned ¶
GetBanned returns the value of the 'banned' attribute and a flag indicating if the attribute has a value.
func (*Account) GetCapabilities ¶
func (o *Account) GetCapabilities() (value []*Capability, ok bool)
GetCapabilities returns the value of the 'capabilities' attribute and a flag indicating if the attribute has a value.
func (*Account) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Account) GetEmail ¶
GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.
func (*Account) GetFirstName ¶
GetFirstName returns the value of the 'first_name' attribute and a flag indicating if the attribute has a value.
func (*Account) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Account) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Account) GetLabels ¶
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
func (*Account) GetLastName ¶
GetLastName returns the value of the 'last_name' attribute and a flag indicating if the attribute has a value.
func (*Account) GetOrganization ¶
func (o *Account) GetOrganization() (value *Organization, ok bool)
GetOrganization returns the value of the 'organization' attribute and a flag indicating if the attribute has a value.
func (*Account) GetRhitAccountID ¶
GetRhitAccountID returns the value of the 'rhit_account_ID' attribute and a flag indicating if the attribute has a value.
RhitAccountID will be deprecated in favor of RhitWebUserId
func (*Account) GetRhitWebUserId ¶
GetRhitWebUserId returns the value of the 'rhit_web_user_id' attribute and a flag indicating if the attribute has a value.
func (*Account) GetServiceAccount ¶
GetServiceAccount returns the value of the 'service_account' attribute and a flag indicating if the attribute has a value.
func (*Account) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Account) GetUsername ¶
GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.
func (*Account) Labels ¶
Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) LastName ¶
LastName returns the value of the 'last_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) Organization ¶
func (o *Account) Organization() *Organization
Organization returns the value of the 'organization' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) RhitAccountID ¶
RhitAccountID returns the value of the 'rhit_account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
RhitAccountID will be deprecated in favor of RhitWebUserId
func (*Account) RhitWebUserId ¶
RhitWebUserId returns the value of the 'rhit_web_user_id' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) ServiceAccount ¶
ServiceAccount returns the value of the 'service_account' attribute, or the zero value of the type if the attribute doesn't have a value.
type AccountBuilder ¶
type AccountBuilder struct {
// contains filtered or unexported fields
}
func NewAccount ¶
func NewAccount() *AccountBuilder
NewAccount creates a new builder of 'account' objects.
func (*AccountBuilder) BanCode ¶
func (b *AccountBuilder) BanCode(value string) *AccountBuilder
BanCode sets the value of the 'ban_code' attribute to the given value.
func (*AccountBuilder) BanDescription ¶
func (b *AccountBuilder) BanDescription(value string) *AccountBuilder
BanDescription sets the value of the 'ban_description' attribute to the given value.
func (*AccountBuilder) Banned ¶
func (b *AccountBuilder) Banned(value bool) *AccountBuilder
Banned sets the value of the 'banned' attribute to the given value.
func (*AccountBuilder) Build ¶
func (b *AccountBuilder) Build() (object *Account, err error)
Build creates a 'account' object using the configuration stored in the builder.
func (*AccountBuilder) Capabilities ¶
func (b *AccountBuilder) Capabilities(values ...*CapabilityBuilder) *AccountBuilder
Capabilities sets the value of the 'capabilities' attribute to the given values.
func (*AccountBuilder) Copy ¶
func (b *AccountBuilder) Copy(object *Account) *AccountBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccountBuilder) CreatedAt ¶
func (b *AccountBuilder) CreatedAt(value time.Time) *AccountBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*AccountBuilder) Email ¶
func (b *AccountBuilder) Email(value string) *AccountBuilder
Email sets the value of the 'email' attribute to the given value.
func (*AccountBuilder) Empty ¶
func (b *AccountBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*AccountBuilder) FirstName ¶
func (b *AccountBuilder) FirstName(value string) *AccountBuilder
FirstName sets the value of the 'first_name' attribute to the given value.
func (*AccountBuilder) HREF ¶
func (b *AccountBuilder) HREF(value string) *AccountBuilder
HREF sets the link to the object.
func (*AccountBuilder) ID ¶
func (b *AccountBuilder) ID(value string) *AccountBuilder
ID sets the identifier of the object.
func (*AccountBuilder) Labels ¶
func (b *AccountBuilder) Labels(values ...*LabelBuilder) *AccountBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*AccountBuilder) LastName ¶
func (b *AccountBuilder) LastName(value string) *AccountBuilder
LastName sets the value of the 'last_name' attribute to the given value.
func (*AccountBuilder) Link ¶
func (b *AccountBuilder) Link(value bool) *AccountBuilder
Link sets the flag that indicates if this is a link.
func (*AccountBuilder) Organization ¶
func (b *AccountBuilder) Organization(value *OrganizationBuilder) *AccountBuilder
Organization sets the value of the 'organization' attribute to the given value.
func (*AccountBuilder) RhitAccountID ¶
func (b *AccountBuilder) RhitAccountID(value string) *AccountBuilder
RhitAccountID sets the value of the 'rhit_account_ID' attribute to the given value.
func (*AccountBuilder) RhitWebUserId ¶
func (b *AccountBuilder) RhitWebUserId(value string) *AccountBuilder
RhitWebUserId sets the value of the 'rhit_web_user_id' attribute to the given value.
func (*AccountBuilder) ServiceAccount ¶
func (b *AccountBuilder) ServiceAccount(value bool) *AccountBuilder
ServiceAccount sets the value of the 'service_account' attribute to the given value.
func (*AccountBuilder) UpdatedAt ¶
func (b *AccountBuilder) UpdatedAt(value time.Time) *AccountBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*AccountBuilder) Username ¶
func (b *AccountBuilder) Username(value string) *AccountBuilder
Username sets the value of the 'username' attribute to the given value.
type AccountList ¶
type AccountList struct {
// contains filtered or unexported fields
}
AccountList is a list of values of the 'account' type.
func (*AccountList) Each ¶
func (l *AccountList) Each(f func(item *Account) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccountList) Empty ¶
func (l *AccountList) Empty() bool
Empty returns true if the list is empty.
func (*AccountList) Get ¶
func (l *AccountList) Get(i int) *Account
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccountList) GetHREF ¶
func (l *AccountList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AccountList) Items ¶
func (l *AccountList) Items() []*Account
Items returns the items of the list.
func (*AccountList) Kind ¶
func (l *AccountList) Kind() string
Kind returns the name of the type of the object.
func (*AccountList) Range ¶
func (l *AccountList) Range(f func(index int, item *Account) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AccountList) SetHREF ¶
func (l *AccountList) SetHREF(href string)
Items sets the items of the list.
func (*AccountList) SetItems ¶
func (l *AccountList) SetItems(items []*Account)
Items sets the items of the list.
func (*AccountList) SetLink ¶
func (l *AccountList) SetLink(link bool)
Items sets the items of the list.
func (*AccountList) Slice ¶
func (l *AccountList) Slice() []*Account
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AccountListBuilder ¶
type AccountListBuilder struct {
// contains filtered or unexported fields
}
AccountListBuilder contains the data and logic needed to build 'account' objects.
func NewAccountList ¶
func NewAccountList() *AccountListBuilder
NewAccountList creates a new builder of 'account' objects.
func (*AccountListBuilder) Build ¶
func (b *AccountListBuilder) Build() (list *AccountList, err error)
Build creates a list of 'account' objects using the configuration stored in the builder.
func (*AccountListBuilder) Copy ¶
func (b *AccountListBuilder) Copy(list *AccountList) *AccountListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccountListBuilder) Empty ¶
func (b *AccountListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AccountListBuilder) Items ¶
func (b *AccountListBuilder) Items(values ...*AccountBuilder) *AccountListBuilder
Items sets the items of the list.
type Action ¶
type Action string
Action represents the values of the 'action' enumerated type.
func ReadActionList ¶
ReadActionList reads list of values of the ”action' type from the given iterator.
func UnmarshalActionList ¶
UnmarshalActionList reads a list of values of the 'action' type from the given source, which can be a slice of bytes, a string or a reader.
type BillingModel ¶
type BillingModel string
BillingModel represents the values of the 'billing_model' enumerated type.
const ( // BillingModelMarketplace Legacy Marketplace billing model. Currently only used for tests. Use cloud-provider specific billing models instead. BillingModelMarketplace BillingModel = "marketplace" // AWS Marketplace billing model. BillingModelMarketplaceAWS BillingModel = "marketplace-aws" // GCP Marketplace billing model. BillingModelMarketplaceGCP BillingModel = "marketplace-gcp" // RH Marketplace billing model. BillingModelMarketplaceRHM BillingModel = "marketplace-rhm" // Azure Marketplace billing model. BillingModelMarketplaceAzure BillingModel = "marketplace-azure" // Standard. This is the default billing model BillingModelStandard BillingModel = "standard" )
func ReadBillingModelList ¶
func ReadBillingModelList(iterator *jsoniter.Iterator) []BillingModel
ReadBillingModelList reads list of values of the ”billing_model' type from the given iterator.
func UnmarshalBillingModelList ¶
func UnmarshalBillingModelList(source interface{}) (items []BillingModel, err error)
UnmarshalBillingModelList reads a list of values of the 'billing_model' type from the given source, which can be a slice of bytes, a string or a reader.
type BillingModelItem ¶
type BillingModelItem struct {
// contains filtered or unexported fields
}
BillingModelItem represents the values of the 'billing_model_item' type.
BillingModelItem represents a billing model
func ReadBillingModelItem ¶
func ReadBillingModelItem(iterator *jsoniter.Iterator) *BillingModelItem
ReadBillingModelItem reads a value of the 'billing_model_item' type from the given iterator.
func ReadBillingModelItemList ¶
func ReadBillingModelItemList(iterator *jsoniter.Iterator) []*BillingModelItem
ReadBillingModelItemList reads list of values of the ”billing_model_item' type from the given iterator.
func UnmarshalBillingModelItem ¶
func UnmarshalBillingModelItem(source interface{}) (object *BillingModelItem, err error)
UnmarshalBillingModelItem reads a value of the 'billing_model_item' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalBillingModelItemList ¶
func UnmarshalBillingModelItemList(source interface{}) (items []*BillingModelItem, err error)
UnmarshalBillingModelItemList reads a list of values of the 'billing_model_item' type from the given source, which can be a slice of bytes, a string or a reader.
func (*BillingModelItem) BillingModelType ¶
func (o *BillingModelItem) BillingModelType() string
BillingModelType returns the value of the 'billing_model_type' attribute, or the zero value of the type if the attribute doesn't have a value.
BillingModelType is the type of the BillingModel. e.g. standard, marketplace.
func (*BillingModelItem) Description ¶
func (o *BillingModelItem) Description() string
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Single line description of the billing model.
func (*BillingModelItem) DisplayName ¶
func (o *BillingModelItem) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
User friendly display name of the billing model.
func (*BillingModelItem) Empty ¶
func (o *BillingModelItem) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*BillingModelItem) GetBillingModelType ¶
func (o *BillingModelItem) GetBillingModelType() (value string, ok bool)
GetBillingModelType returns the value of the 'billing_model_type' attribute and a flag indicating if the attribute has a value.
BillingModelType is the type of the BillingModel. e.g. standard, marketplace.
func (*BillingModelItem) GetDescription ¶
func (o *BillingModelItem) GetDescription() (value string, ok bool)
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Single line description of the billing model.
func (*BillingModelItem) GetDisplayName ¶
func (o *BillingModelItem) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
User friendly display name of the billing model.
func (*BillingModelItem) GetHREF ¶
func (o *BillingModelItem) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*BillingModelItem) GetID ¶
func (o *BillingModelItem) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*BillingModelItem) GetMarketplace ¶
func (o *BillingModelItem) GetMarketplace() (value string, ok bool)
GetMarketplace returns the value of the 'marketplace' attribute and a flag indicating if the attribute has a value.
Indicates the marketplace of the billing model. e.g. gcp, aws, etc.
func (*BillingModelItem) HREF ¶
func (o *BillingModelItem) HREF() string
HREF returns the link to the object.
func (*BillingModelItem) ID ¶
func (o *BillingModelItem) ID() string
ID returns the identifier of the object.
func (*BillingModelItem) Kind ¶
func (o *BillingModelItem) Kind() string
Kind returns the name of the type of the object.
func (*BillingModelItem) Link ¶
func (o *BillingModelItem) Link() bool
Link returns true if this is a link.
func (*BillingModelItem) Marketplace ¶
func (o *BillingModelItem) Marketplace() string
Marketplace returns the value of the 'marketplace' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the marketplace of the billing model. e.g. gcp, aws, etc.
type BillingModelItemBuilder ¶
type BillingModelItemBuilder struct {
// contains filtered or unexported fields
}
BillingModelItem represents a billing model
func NewBillingModelItem ¶
func NewBillingModelItem() *BillingModelItemBuilder
NewBillingModelItem creates a new builder of 'billing_model_item' objects.
func (*BillingModelItemBuilder) BillingModelType ¶
func (b *BillingModelItemBuilder) BillingModelType(value string) *BillingModelItemBuilder
BillingModelType sets the value of the 'billing_model_type' attribute to the given value.
func (*BillingModelItemBuilder) Build ¶
func (b *BillingModelItemBuilder) Build() (object *BillingModelItem, err error)
Build creates a 'billing_model_item' object using the configuration stored in the builder.
func (*BillingModelItemBuilder) Copy ¶
func (b *BillingModelItemBuilder) Copy(object *BillingModelItem) *BillingModelItemBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*BillingModelItemBuilder) Description ¶
func (b *BillingModelItemBuilder) Description(value string) *BillingModelItemBuilder
Description sets the value of the 'description' attribute to the given value.
func (*BillingModelItemBuilder) DisplayName ¶
func (b *BillingModelItemBuilder) DisplayName(value string) *BillingModelItemBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*BillingModelItemBuilder) Empty ¶
func (b *BillingModelItemBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*BillingModelItemBuilder) HREF ¶
func (b *BillingModelItemBuilder) HREF(value string) *BillingModelItemBuilder
HREF sets the link to the object.
func (*BillingModelItemBuilder) ID ¶
func (b *BillingModelItemBuilder) ID(value string) *BillingModelItemBuilder
ID sets the identifier of the object.
func (*BillingModelItemBuilder) Link ¶
func (b *BillingModelItemBuilder) Link(value bool) *BillingModelItemBuilder
Link sets the flag that indicates if this is a link.
func (*BillingModelItemBuilder) Marketplace ¶
func (b *BillingModelItemBuilder) Marketplace(value string) *BillingModelItemBuilder
Marketplace sets the value of the 'marketplace' attribute to the given value.
type BillingModelItemList ¶
type BillingModelItemList struct {
// contains filtered or unexported fields
}
BillingModelItemList is a list of values of the 'billing_model_item' type.
func (*BillingModelItemList) Each ¶
func (l *BillingModelItemList) Each(f func(item *BillingModelItem) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*BillingModelItemList) Empty ¶
func (l *BillingModelItemList) Empty() bool
Empty returns true if the list is empty.
func (*BillingModelItemList) Get ¶
func (l *BillingModelItemList) Get(i int) *BillingModelItem
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*BillingModelItemList) GetHREF ¶
func (l *BillingModelItemList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*BillingModelItemList) HREF ¶
func (l *BillingModelItemList) HREF() string
HREF returns the link to the list.
func (*BillingModelItemList) Items ¶
func (l *BillingModelItemList) Items() []*BillingModelItem
Items returns the items of the list.
func (*BillingModelItemList) Kind ¶
func (l *BillingModelItemList) Kind() string
Kind returns the name of the type of the object.
func (*BillingModelItemList) Len ¶
func (l *BillingModelItemList) Len() int
Len returns the length of the list.
func (*BillingModelItemList) Link ¶
func (l *BillingModelItemList) Link() bool
Link returns true iif this is a link.
func (*BillingModelItemList) Range ¶
func (l *BillingModelItemList) Range(f func(index int, item *BillingModelItem) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*BillingModelItemList) SetHREF ¶
func (l *BillingModelItemList) SetHREF(href string)
Items sets the items of the list.
func (*BillingModelItemList) SetItems ¶
func (l *BillingModelItemList) SetItems(items []*BillingModelItem)
Items sets the items of the list.
func (*BillingModelItemList) SetLink ¶
func (l *BillingModelItemList) SetLink(link bool)
Items sets the items of the list.
func (*BillingModelItemList) Slice ¶
func (l *BillingModelItemList) Slice() []*BillingModelItem
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type BillingModelItemListBuilder ¶
type BillingModelItemListBuilder struct {
// contains filtered or unexported fields
}
BillingModelItemListBuilder contains the data and logic needed to build 'billing_model_item' objects.
func NewBillingModelItemList ¶
func NewBillingModelItemList() *BillingModelItemListBuilder
NewBillingModelItemList creates a new builder of 'billing_model_item' objects.
func (*BillingModelItemListBuilder) Build ¶
func (b *BillingModelItemListBuilder) Build() (list *BillingModelItemList, err error)
Build creates a list of 'billing_model_item' objects using the configuration stored in the builder.
func (*BillingModelItemListBuilder) Copy ¶
func (b *BillingModelItemListBuilder) Copy(list *BillingModelItemList) *BillingModelItemListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*BillingModelItemListBuilder) Empty ¶
func (b *BillingModelItemListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*BillingModelItemListBuilder) Items ¶
func (b *BillingModelItemListBuilder) Items(values ...*BillingModelItemBuilder) *BillingModelItemListBuilder
Items sets the items of the list.
type Capability ¶
type Capability struct {
// contains filtered or unexported fields
}
Capability represents the values of the 'capability' type.
Capability model that represents internal labels with a key that matches a set list defined in AMS (defined in pkg/api/capability_types.go).
func ReadCapability ¶
func ReadCapability(iterator *jsoniter.Iterator) *Capability
ReadCapability reads a value of the 'capability' type from the given iterator.
func ReadCapabilityList ¶
func ReadCapabilityList(iterator *jsoniter.Iterator) []*Capability
ReadCapabilityList reads list of values of the ”capability' type from the given iterator.
func UnmarshalCapability ¶
func UnmarshalCapability(source interface{}) (object *Capability, err error)
UnmarshalCapability reads a value of the 'capability' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCapabilityList ¶
func UnmarshalCapabilityList(source interface{}) (items []*Capability, err error)
UnmarshalCapabilityList reads a list of values of the 'capability' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Capability) Empty ¶
func (o *Capability) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Capability) GetInherited ¶
func (o *Capability) GetInherited() (value bool, ok bool)
GetInherited returns the value of the 'inherited' attribute and a flag indicating if the attribute has a value.
Dynamic attribute of the capability that tells us that this capability was inherited from the subscription's organization.
func (*Capability) GetName ¶
func (o *Capability) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the capability label.
func (*Capability) GetValue ¶
func (o *Capability) GetValue() (value string, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
Value that can be assigned to the capability (eg. "true", "false" etc).
func (*Capability) Inherited ¶
func (o *Capability) Inherited() bool
Inherited returns the value of the 'inherited' attribute, or the zero value of the type if the attribute doesn't have a value.
Dynamic attribute of the capability that tells us that this capability was inherited from the subscription's organization.
func (*Capability) Name ¶
func (o *Capability) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the capability label.
func (*Capability) Value ¶
func (o *Capability) Value() string
Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.
Value that can be assigned to the capability (eg. "true", "false" etc).
type CapabilityBuilder ¶
type CapabilityBuilder struct {
// contains filtered or unexported fields
}
Capability model that represents internal labels with a key that matches a set list defined in AMS (defined in pkg/api/capability_types.go).
func NewCapability ¶
func NewCapability() *CapabilityBuilder
NewCapability creates a new builder of 'capability' objects.
func (*CapabilityBuilder) Build ¶
func (b *CapabilityBuilder) Build() (object *Capability, err error)
Build creates a 'capability' object using the configuration stored in the builder.
func (*CapabilityBuilder) Copy ¶
func (b *CapabilityBuilder) Copy(object *Capability) *CapabilityBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CapabilityBuilder) Empty ¶
func (b *CapabilityBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*CapabilityBuilder) Inherited ¶
func (b *CapabilityBuilder) Inherited(value bool) *CapabilityBuilder
Inherited sets the value of the 'inherited' attribute to the given value.
func (*CapabilityBuilder) Name ¶
func (b *CapabilityBuilder) Name(value string) *CapabilityBuilder
Name sets the value of the 'name' attribute to the given value.
func (*CapabilityBuilder) Value ¶
func (b *CapabilityBuilder) Value(value string) *CapabilityBuilder
Value sets the value of the 'value' attribute to the given value.
type CapabilityList ¶
type CapabilityList struct {
// contains filtered or unexported fields
}
CapabilityList is a list of values of the 'capability' type.
func (*CapabilityList) Each ¶
func (l *CapabilityList) Each(f func(item *Capability) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CapabilityList) Empty ¶
func (l *CapabilityList) Empty() bool
Empty returns true if the list is empty.
func (*CapabilityList) Get ¶
func (l *CapabilityList) Get(i int) *Capability
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CapabilityList) Items ¶
func (l *CapabilityList) Items() []*Capability
Items returns the items of the list.
func (*CapabilityList) Len ¶
func (l *CapabilityList) Len() int
Len returns the length of the list.
func (*CapabilityList) Range ¶
func (l *CapabilityList) Range(f func(index int, item *Capability) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CapabilityList) SetHREF ¶
func (l *CapabilityList) SetHREF(href string)
Items sets the items of the list.
func (*CapabilityList) SetItems ¶
func (l *CapabilityList) SetItems(items []*Capability)
Items sets the items of the list.
func (*CapabilityList) SetLink ¶
func (l *CapabilityList) SetLink(link bool)
Items sets the items of the list.
func (*CapabilityList) Slice ¶
func (l *CapabilityList) Slice() []*Capability
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CapabilityListBuilder ¶
type CapabilityListBuilder struct {
// contains filtered or unexported fields
}
CapabilityListBuilder contains the data and logic needed to build 'capability' objects.
func NewCapabilityList ¶
func NewCapabilityList() *CapabilityListBuilder
NewCapabilityList creates a new builder of 'capability' objects.
func (*CapabilityListBuilder) Build ¶
func (b *CapabilityListBuilder) Build() (list *CapabilityList, err error)
Build creates a list of 'capability' objects using the configuration stored in the builder.
func (*CapabilityListBuilder) Copy ¶
func (b *CapabilityListBuilder) Copy(list *CapabilityList) *CapabilityListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CapabilityListBuilder) Empty ¶
func (b *CapabilityListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*CapabilityListBuilder) Items ¶
func (b *CapabilityListBuilder) Items(values ...*CapabilityBuilder) *CapabilityListBuilder
Items sets the items of the list.
type CloudAccount ¶
type CloudAccount struct {
// contains filtered or unexported fields
}
CloudAccount represents the values of the 'cloud_account' type.
func ReadCloudAccount ¶
func ReadCloudAccount(iterator *jsoniter.Iterator) *CloudAccount
ReadCloudAccount reads a value of the 'cloud_account' type from the given iterator.
func ReadCloudAccountList ¶
func ReadCloudAccountList(iterator *jsoniter.Iterator) []*CloudAccount
ReadCloudAccountList reads list of values of the ”cloud_account' type from the given iterator.
func UnmarshalCloudAccount ¶
func UnmarshalCloudAccount(source interface{}) (object *CloudAccount, err error)
UnmarshalCloudAccount reads a value of the 'cloud_account' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCloudAccountList ¶
func UnmarshalCloudAccountList(source interface{}) (items []*CloudAccount, err error)
UnmarshalCloudAccountList reads a list of values of the 'cloud_account' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CloudAccount) CloudAccountID ¶
func (o *CloudAccount) CloudAccountID() string
CloudAccountID returns the value of the 'cloud_account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudAccount) CloudProviderID ¶
func (o *CloudAccount) CloudProviderID() string
CloudProviderID returns the value of the 'cloud_provider_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudAccount) Contracts ¶
func (o *CloudAccount) Contracts() []*Contract
Contracts returns the value of the 'contracts' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudAccount) Empty ¶
func (o *CloudAccount) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CloudAccount) GetCloudAccountID ¶
func (o *CloudAccount) GetCloudAccountID() (value string, ok bool)
GetCloudAccountID returns the value of the 'cloud_account_ID' attribute and a flag indicating if the attribute has a value.
func (*CloudAccount) GetCloudProviderID ¶
func (o *CloudAccount) GetCloudProviderID() (value string, ok bool)
GetCloudProviderID returns the value of the 'cloud_provider_ID' attribute and a flag indicating if the attribute has a value.
func (*CloudAccount) GetContracts ¶
func (o *CloudAccount) GetContracts() (value []*Contract, ok bool)
GetContracts returns the value of the 'contracts' attribute and a flag indicating if the attribute has a value.
type CloudAccountBuilder ¶
type CloudAccountBuilder struct {
// contains filtered or unexported fields
}
func NewCloudAccount ¶
func NewCloudAccount() *CloudAccountBuilder
NewCloudAccount creates a new builder of 'cloud_account' objects.
func (*CloudAccountBuilder) Build ¶
func (b *CloudAccountBuilder) Build() (object *CloudAccount, err error)
Build creates a 'cloud_account' object using the configuration stored in the builder.
func (*CloudAccountBuilder) CloudAccountID ¶
func (b *CloudAccountBuilder) CloudAccountID(value string) *CloudAccountBuilder
CloudAccountID sets the value of the 'cloud_account_ID' attribute to the given value.
func (*CloudAccountBuilder) CloudProviderID ¶
func (b *CloudAccountBuilder) CloudProviderID(value string) *CloudAccountBuilder
CloudProviderID sets the value of the 'cloud_provider_ID' attribute to the given value.
func (*CloudAccountBuilder) Contracts ¶
func (b *CloudAccountBuilder) Contracts(values ...*ContractBuilder) *CloudAccountBuilder
Contracts sets the value of the 'contracts' attribute to the given values.
func (*CloudAccountBuilder) Copy ¶
func (b *CloudAccountBuilder) Copy(object *CloudAccount) *CloudAccountBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CloudAccountBuilder) Empty ¶
func (b *CloudAccountBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
type CloudAccountList ¶
type CloudAccountList struct {
// contains filtered or unexported fields
}
CloudAccountList is a list of values of the 'cloud_account' type.
func (*CloudAccountList) Each ¶
func (l *CloudAccountList) Each(f func(item *CloudAccount) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CloudAccountList) Empty ¶
func (l *CloudAccountList) Empty() bool
Empty returns true if the list is empty.
func (*CloudAccountList) Get ¶
func (l *CloudAccountList) Get(i int) *CloudAccount
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CloudAccountList) Items ¶
func (l *CloudAccountList) Items() []*CloudAccount
Items returns the items of the list.
func (*CloudAccountList) Len ¶
func (l *CloudAccountList) Len() int
Len returns the length of the list.
func (*CloudAccountList) Range ¶
func (l *CloudAccountList) Range(f func(index int, item *CloudAccount) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CloudAccountList) SetHREF ¶
func (l *CloudAccountList) SetHREF(href string)
Items sets the items of the list.
func (*CloudAccountList) SetItems ¶
func (l *CloudAccountList) SetItems(items []*CloudAccount)
Items sets the items of the list.
func (*CloudAccountList) SetLink ¶
func (l *CloudAccountList) SetLink(link bool)
Items sets the items of the list.
func (*CloudAccountList) Slice ¶
func (l *CloudAccountList) Slice() []*CloudAccount
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CloudAccountListBuilder ¶
type CloudAccountListBuilder struct {
// contains filtered or unexported fields
}
CloudAccountListBuilder contains the data and logic needed to build 'cloud_account' objects.
func NewCloudAccountList ¶
func NewCloudAccountList() *CloudAccountListBuilder
NewCloudAccountList creates a new builder of 'cloud_account' objects.
func (*CloudAccountListBuilder) Build ¶
func (b *CloudAccountListBuilder) Build() (list *CloudAccountList, err error)
Build creates a list of 'cloud_account' objects using the configuration stored in the builder.
func (*CloudAccountListBuilder) Copy ¶
func (b *CloudAccountListBuilder) Copy(list *CloudAccountList) *CloudAccountListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CloudAccountListBuilder) Empty ¶
func (b *CloudAccountListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*CloudAccountListBuilder) Items ¶
func (b *CloudAccountListBuilder) Items(values ...*CloudAccountBuilder) *CloudAccountListBuilder
Items sets the items of the list.
type CloudResource ¶
type CloudResource struct {
// contains filtered or unexported fields
}
CloudResource represents the values of the 'cloud_resource' type.
func ReadCloudResource ¶
func ReadCloudResource(iterator *jsoniter.Iterator) *CloudResource
ReadCloudResource reads a value of the 'cloud_resource' type from the given iterator.
func ReadCloudResourceList ¶
func ReadCloudResourceList(iterator *jsoniter.Iterator) []*CloudResource
ReadCloudResourceList reads list of values of the ”cloud_resource' type from the given iterator.
func UnmarshalCloudResource ¶
func UnmarshalCloudResource(source interface{}) (object *CloudResource, err error)
UnmarshalCloudResource reads a value of the 'cloud_resource' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCloudResourceList ¶
func UnmarshalCloudResourceList(source interface{}) (items []*CloudResource, err error)
UnmarshalCloudResourceList reads a list of values of the 'cloud_resource' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CloudResource) Active ¶
func (o *CloudResource) Active() bool
Active returns the value of the 'active' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) Category ¶
func (o *CloudResource) Category() string
Category returns the value of the 'category' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) CategoryPretty ¶
func (o *CloudResource) CategoryPretty() string
CategoryPretty returns the value of the 'category_pretty' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) CloudProvider ¶
func (o *CloudResource) CloudProvider() string
CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) CpuCores ¶
func (o *CloudResource) CpuCores() int
CpuCores returns the value of the 'cpu_cores' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) CreatedAt ¶
func (o *CloudResource) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) Empty ¶
func (o *CloudResource) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CloudResource) GenericName ¶
func (o *CloudResource) GenericName() string
GenericName returns the value of the 'generic_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) GetActive ¶
func (o *CloudResource) GetActive() (value bool, ok bool)
GetActive returns the value of the 'active' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetCategory ¶
func (o *CloudResource) GetCategory() (value string, ok bool)
GetCategory returns the value of the 'category' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetCategoryPretty ¶
func (o *CloudResource) GetCategoryPretty() (value string, ok bool)
GetCategoryPretty returns the value of the 'category_pretty' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetCloudProvider ¶
func (o *CloudResource) GetCloudProvider() (value string, ok bool)
GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetCpuCores ¶
func (o *CloudResource) GetCpuCores() (value int, ok bool)
GetCpuCores returns the value of the 'cpu_cores' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetCreatedAt ¶
func (o *CloudResource) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetGenericName ¶
func (o *CloudResource) GetGenericName() (value string, ok bool)
GetGenericName returns the value of the 'generic_name' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetHREF ¶
func (o *CloudResource) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*CloudResource) GetID ¶
func (o *CloudResource) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*CloudResource) GetMemory ¶
func (o *CloudResource) GetMemory() (value int, ok bool)
GetMemory returns the value of the 'memory' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetMemoryPretty ¶
func (o *CloudResource) GetMemoryPretty() (value string, ok bool)
GetMemoryPretty returns the value of the 'memory_pretty' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetNamePretty ¶
func (o *CloudResource) GetNamePretty() (value string, ok bool)
GetNamePretty returns the value of the 'name_pretty' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetResourceType ¶
func (o *CloudResource) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetSizePretty ¶
func (o *CloudResource) GetSizePretty() (value string, ok bool)
GetSizePretty returns the value of the 'size_pretty' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) GetUpdatedAt ¶
func (o *CloudResource) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*CloudResource) HREF ¶
func (o *CloudResource) HREF() string
HREF returns the link to the object.
func (*CloudResource) ID ¶
func (o *CloudResource) ID() string
ID returns the identifier of the object.
func (*CloudResource) Kind ¶
func (o *CloudResource) Kind() string
Kind returns the name of the type of the object.
func (*CloudResource) Link ¶
func (o *CloudResource) Link() bool
Link returns true if this is a link.
func (*CloudResource) Memory ¶
func (o *CloudResource) Memory() int
Memory returns the value of the 'memory' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) MemoryPretty ¶
func (o *CloudResource) MemoryPretty() string
MemoryPretty returns the value of the 'memory_pretty' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) NamePretty ¶
func (o *CloudResource) NamePretty() string
NamePretty returns the value of the 'name_pretty' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) ResourceType ¶
func (o *CloudResource) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) SizePretty ¶
func (o *CloudResource) SizePretty() string
SizePretty returns the value of the 'size_pretty' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CloudResource) UpdatedAt ¶
func (o *CloudResource) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type CloudResourceBuilder ¶
type CloudResourceBuilder struct {
// contains filtered or unexported fields
}
func NewCloudResource ¶
func NewCloudResource() *CloudResourceBuilder
NewCloudResource creates a new builder of 'cloud_resource' objects.
func (*CloudResourceBuilder) Active ¶
func (b *CloudResourceBuilder) Active(value bool) *CloudResourceBuilder
Active sets the value of the 'active' attribute to the given value.
func (*CloudResourceBuilder) Build ¶
func (b *CloudResourceBuilder) Build() (object *CloudResource, err error)
Build creates a 'cloud_resource' object using the configuration stored in the builder.
func (*CloudResourceBuilder) Category ¶
func (b *CloudResourceBuilder) Category(value string) *CloudResourceBuilder
Category sets the value of the 'category' attribute to the given value.
func (*CloudResourceBuilder) CategoryPretty ¶
func (b *CloudResourceBuilder) CategoryPretty(value string) *CloudResourceBuilder
CategoryPretty sets the value of the 'category_pretty' attribute to the given value.
func (*CloudResourceBuilder) CloudProvider ¶
func (b *CloudResourceBuilder) CloudProvider(value string) *CloudResourceBuilder
CloudProvider sets the value of the 'cloud_provider' attribute to the given value.
func (*CloudResourceBuilder) Copy ¶
func (b *CloudResourceBuilder) Copy(object *CloudResource) *CloudResourceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CloudResourceBuilder) CpuCores ¶
func (b *CloudResourceBuilder) CpuCores(value int) *CloudResourceBuilder
CpuCores sets the value of the 'cpu_cores' attribute to the given value.
func (*CloudResourceBuilder) CreatedAt ¶
func (b *CloudResourceBuilder) CreatedAt(value time.Time) *CloudResourceBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*CloudResourceBuilder) Empty ¶
func (b *CloudResourceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*CloudResourceBuilder) GenericName ¶
func (b *CloudResourceBuilder) GenericName(value string) *CloudResourceBuilder
GenericName sets the value of the 'generic_name' attribute to the given value.
func (*CloudResourceBuilder) HREF ¶
func (b *CloudResourceBuilder) HREF(value string) *CloudResourceBuilder
HREF sets the link to the object.
func (*CloudResourceBuilder) ID ¶
func (b *CloudResourceBuilder) ID(value string) *CloudResourceBuilder
ID sets the identifier of the object.
func (*CloudResourceBuilder) Link ¶
func (b *CloudResourceBuilder) Link(value bool) *CloudResourceBuilder
Link sets the flag that indicates if this is a link.
func (*CloudResourceBuilder) Memory ¶
func (b *CloudResourceBuilder) Memory(value int) *CloudResourceBuilder
Memory sets the value of the 'memory' attribute to the given value.
func (*CloudResourceBuilder) MemoryPretty ¶
func (b *CloudResourceBuilder) MemoryPretty(value string) *CloudResourceBuilder
MemoryPretty sets the value of the 'memory_pretty' attribute to the given value.
func (*CloudResourceBuilder) NamePretty ¶
func (b *CloudResourceBuilder) NamePretty(value string) *CloudResourceBuilder
NamePretty sets the value of the 'name_pretty' attribute to the given value.
func (*CloudResourceBuilder) ResourceType ¶
func (b *CloudResourceBuilder) ResourceType(value string) *CloudResourceBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*CloudResourceBuilder) SizePretty ¶
func (b *CloudResourceBuilder) SizePretty(value string) *CloudResourceBuilder
SizePretty sets the value of the 'size_pretty' attribute to the given value.
func (*CloudResourceBuilder) UpdatedAt ¶
func (b *CloudResourceBuilder) UpdatedAt(value time.Time) *CloudResourceBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type CloudResourceList ¶
type CloudResourceList struct {
// contains filtered or unexported fields
}
CloudResourceList is a list of values of the 'cloud_resource' type.
func (*CloudResourceList) Each ¶
func (l *CloudResourceList) Each(f func(item *CloudResource) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CloudResourceList) Empty ¶
func (l *CloudResourceList) Empty() bool
Empty returns true if the list is empty.
func (*CloudResourceList) Get ¶
func (l *CloudResourceList) Get(i int) *CloudResource
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CloudResourceList) GetHREF ¶
func (l *CloudResourceList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*CloudResourceList) HREF ¶
func (l *CloudResourceList) HREF() string
HREF returns the link to the list.
func (*CloudResourceList) Items ¶
func (l *CloudResourceList) Items() []*CloudResource
Items returns the items of the list.
func (*CloudResourceList) Kind ¶
func (l *CloudResourceList) Kind() string
Kind returns the name of the type of the object.
func (*CloudResourceList) Len ¶
func (l *CloudResourceList) Len() int
Len returns the length of the list.
func (*CloudResourceList) Link ¶
func (l *CloudResourceList) Link() bool
Link returns true iif this is a link.
func (*CloudResourceList) Range ¶
func (l *CloudResourceList) Range(f func(index int, item *CloudResource) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CloudResourceList) SetHREF ¶
func (l *CloudResourceList) SetHREF(href string)
Items sets the items of the list.
func (*CloudResourceList) SetItems ¶
func (l *CloudResourceList) SetItems(items []*CloudResource)
Items sets the items of the list.
func (*CloudResourceList) SetLink ¶
func (l *CloudResourceList) SetLink(link bool)
Items sets the items of the list.
func (*CloudResourceList) Slice ¶
func (l *CloudResourceList) Slice() []*CloudResource
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CloudResourceListBuilder ¶
type CloudResourceListBuilder struct {
// contains filtered or unexported fields
}
CloudResourceListBuilder contains the data and logic needed to build 'cloud_resource' objects.
func NewCloudResourceList ¶
func NewCloudResourceList() *CloudResourceListBuilder
NewCloudResourceList creates a new builder of 'cloud_resource' objects.
func (*CloudResourceListBuilder) Build ¶
func (b *CloudResourceListBuilder) Build() (list *CloudResourceList, err error)
Build creates a list of 'cloud_resource' objects using the configuration stored in the builder.
func (*CloudResourceListBuilder) Copy ¶
func (b *CloudResourceListBuilder) Copy(list *CloudResourceList) *CloudResourceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CloudResourceListBuilder) Empty ¶
func (b *CloudResourceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*CloudResourceListBuilder) Items ¶
func (b *CloudResourceListBuilder) Items(values ...*CloudResourceBuilder) *CloudResourceListBuilder
Items sets the items of the list.
type ClusterAuthorizationRequest ¶
type ClusterAuthorizationRequest struct {
// contains filtered or unexported fields
}
ClusterAuthorizationRequest represents the values of the 'cluster_authorization_request' type.
func ReadClusterAuthorizationRequest ¶
func ReadClusterAuthorizationRequest(iterator *jsoniter.Iterator) *ClusterAuthorizationRequest
ReadClusterAuthorizationRequest reads a value of the 'cluster_authorization_request' type from the given iterator.
func ReadClusterAuthorizationRequestList ¶
func ReadClusterAuthorizationRequestList(iterator *jsoniter.Iterator) []*ClusterAuthorizationRequest
ReadClusterAuthorizationRequestList reads list of values of the ”cluster_authorization_request' type from the given iterator.
func UnmarshalClusterAuthorizationRequest ¶
func UnmarshalClusterAuthorizationRequest(source interface{}) (object *ClusterAuthorizationRequest, err error)
UnmarshalClusterAuthorizationRequest reads a value of the 'cluster_authorization_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterAuthorizationRequestList ¶
func UnmarshalClusterAuthorizationRequestList(source interface{}) (items []*ClusterAuthorizationRequest, err error)
UnmarshalClusterAuthorizationRequestList reads a list of values of the 'cluster_authorization_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterAuthorizationRequest) AccountUsername ¶
func (o *ClusterAuthorizationRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) AvailabilityZone ¶
func (o *ClusterAuthorizationRequest) AvailabilityZone() string
AvailabilityZone returns the value of the 'availability_zone' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) BYOC ¶
func (o *ClusterAuthorizationRequest) BYOC() bool
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) CloudAccountID ¶
func (o *ClusterAuthorizationRequest) CloudAccountID() string
CloudAccountID returns the value of the 'cloud_account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) CloudProviderID ¶
func (o *ClusterAuthorizationRequest) CloudProviderID() string
CloudProviderID returns the value of the 'cloud_provider_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) ClusterID ¶
func (o *ClusterAuthorizationRequest) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) Disconnected ¶
func (o *ClusterAuthorizationRequest) Disconnected() bool
Disconnected returns the value of the 'disconnected' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) DisplayName ¶
func (o *ClusterAuthorizationRequest) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) Empty ¶
func (o *ClusterAuthorizationRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterAuthorizationRequest) ExternalClusterID ¶
func (o *ClusterAuthorizationRequest) ExternalClusterID() string
ExternalClusterID returns the value of the 'external_cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) GetAccountUsername ¶
func (o *ClusterAuthorizationRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetAvailabilityZone ¶
func (o *ClusterAuthorizationRequest) GetAvailabilityZone() (value string, ok bool)
GetAvailabilityZone returns the value of the 'availability_zone' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetBYOC ¶
func (o *ClusterAuthorizationRequest) GetBYOC() (value bool, ok bool)
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetCloudAccountID ¶
func (o *ClusterAuthorizationRequest) GetCloudAccountID() (value string, ok bool)
GetCloudAccountID returns the value of the 'cloud_account_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetCloudProviderID ¶
func (o *ClusterAuthorizationRequest) GetCloudProviderID() (value string, ok bool)
GetCloudProviderID returns the value of the 'cloud_provider_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetClusterID ¶
func (o *ClusterAuthorizationRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetDisconnected ¶
func (o *ClusterAuthorizationRequest) GetDisconnected() (value bool, ok bool)
GetDisconnected returns the value of the 'disconnected' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetDisplayName ¶
func (o *ClusterAuthorizationRequest) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetExternalClusterID ¶
func (o *ClusterAuthorizationRequest) GetExternalClusterID() (value string, ok bool)
GetExternalClusterID returns the value of the 'external_cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetManaged ¶
func (o *ClusterAuthorizationRequest) GetManaged() (value bool, ok bool)
GetManaged returns the value of the 'managed' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetProductCategory ¶
func (o *ClusterAuthorizationRequest) GetProductCategory() (value string, ok bool)
GetProductCategory returns the value of the 'product_category' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetProductID ¶
func (o *ClusterAuthorizationRequest) GetProductID() (value string, ok bool)
GetProductID returns the value of the 'product_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetQuotaVersion ¶
func (o *ClusterAuthorizationRequest) GetQuotaVersion() (value string, ok bool)
GetQuotaVersion returns the value of the 'quota_version' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetReserve ¶
func (o *ClusterAuthorizationRequest) GetReserve() (value bool, ok bool)
GetReserve returns the value of the 'reserve' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetResources ¶
func (o *ClusterAuthorizationRequest) GetResources() (value []*ReservedResource, ok bool)
GetResources returns the value of the 'resources' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetRhRegionID ¶
func (o *ClusterAuthorizationRequest) GetRhRegionID() (value string, ok bool)
GetRhRegionID returns the value of the 'rh_region_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetScope ¶
func (o *ClusterAuthorizationRequest) GetScope() (value string, ok bool)
GetScope returns the value of the 'scope' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) Managed ¶
func (o *ClusterAuthorizationRequest) Managed() bool
Managed returns the value of the 'managed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) ProductCategory ¶
func (o *ClusterAuthorizationRequest) ProductCategory() string
ProductCategory returns the value of the 'product_category' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) ProductID ¶
func (o *ClusterAuthorizationRequest) ProductID() string
ProductID returns the value of the 'product_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) QuotaVersion ¶
func (o *ClusterAuthorizationRequest) QuotaVersion() string
QuotaVersion returns the value of the 'quota_version' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) Reserve ¶
func (o *ClusterAuthorizationRequest) Reserve() bool
Reserve returns the value of the 'reserve' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) Resources ¶
func (o *ClusterAuthorizationRequest) Resources() []*ReservedResource
Resources returns the value of the 'resources' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) RhRegionID ¶
func (o *ClusterAuthorizationRequest) RhRegionID() string
RhRegionID returns the value of the 'rh_region_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) Scope ¶
func (o *ClusterAuthorizationRequest) Scope() string
Scope returns the value of the 'scope' attribute, or the zero value of the type if the attribute doesn't have a value.
type ClusterAuthorizationRequestBuilder ¶
type ClusterAuthorizationRequestBuilder struct {
// contains filtered or unexported fields
}
func NewClusterAuthorizationRequest ¶
func NewClusterAuthorizationRequest() *ClusterAuthorizationRequestBuilder
NewClusterAuthorizationRequest creates a new builder of 'cluster_authorization_request' objects.
func (*ClusterAuthorizationRequestBuilder) AccountUsername ¶
func (b *ClusterAuthorizationRequestBuilder) AccountUsername(value string) *ClusterAuthorizationRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) AvailabilityZone ¶
func (b *ClusterAuthorizationRequestBuilder) AvailabilityZone(value string) *ClusterAuthorizationRequestBuilder
AvailabilityZone sets the value of the 'availability_zone' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) BYOC ¶
func (b *ClusterAuthorizationRequestBuilder) BYOC(value bool) *ClusterAuthorizationRequestBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Build ¶
func (b *ClusterAuthorizationRequestBuilder) Build() (object *ClusterAuthorizationRequest, err error)
Build creates a 'cluster_authorization_request' object using the configuration stored in the builder.
func (*ClusterAuthorizationRequestBuilder) CloudAccountID ¶
func (b *ClusterAuthorizationRequestBuilder) CloudAccountID(value string) *ClusterAuthorizationRequestBuilder
CloudAccountID sets the value of the 'cloud_account_ID' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) CloudProviderID ¶
func (b *ClusterAuthorizationRequestBuilder) CloudProviderID(value string) *ClusterAuthorizationRequestBuilder
CloudProviderID sets the value of the 'cloud_provider_ID' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) ClusterID ¶
func (b *ClusterAuthorizationRequestBuilder) ClusterID(value string) *ClusterAuthorizationRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Copy ¶
func (b *ClusterAuthorizationRequestBuilder) Copy(object *ClusterAuthorizationRequest) *ClusterAuthorizationRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterAuthorizationRequestBuilder) Disconnected ¶
func (b *ClusterAuthorizationRequestBuilder) Disconnected(value bool) *ClusterAuthorizationRequestBuilder
Disconnected sets the value of the 'disconnected' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) DisplayName ¶
func (b *ClusterAuthorizationRequestBuilder) DisplayName(value string) *ClusterAuthorizationRequestBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Empty ¶
func (b *ClusterAuthorizationRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ClusterAuthorizationRequestBuilder) ExternalClusterID ¶
func (b *ClusterAuthorizationRequestBuilder) ExternalClusterID(value string) *ClusterAuthorizationRequestBuilder
ExternalClusterID sets the value of the 'external_cluster_ID' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Managed ¶
func (b *ClusterAuthorizationRequestBuilder) Managed(value bool) *ClusterAuthorizationRequestBuilder
Managed sets the value of the 'managed' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) ProductCategory ¶
func (b *ClusterAuthorizationRequestBuilder) ProductCategory(value string) *ClusterAuthorizationRequestBuilder
ProductCategory sets the value of the 'product_category' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) ProductID ¶
func (b *ClusterAuthorizationRequestBuilder) ProductID(value string) *ClusterAuthorizationRequestBuilder
ProductID sets the value of the 'product_ID' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) QuotaVersion ¶
func (b *ClusterAuthorizationRequestBuilder) QuotaVersion(value string) *ClusterAuthorizationRequestBuilder
QuotaVersion sets the value of the 'quota_version' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Reserve ¶
func (b *ClusterAuthorizationRequestBuilder) Reserve(value bool) *ClusterAuthorizationRequestBuilder
Reserve sets the value of the 'reserve' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Resources ¶
func (b *ClusterAuthorizationRequestBuilder) Resources(values ...*ReservedResourceBuilder) *ClusterAuthorizationRequestBuilder
Resources sets the value of the 'resources' attribute to the given values.
func (*ClusterAuthorizationRequestBuilder) RhRegionID ¶
func (b *ClusterAuthorizationRequestBuilder) RhRegionID(value string) *ClusterAuthorizationRequestBuilder
RhRegionID sets the value of the 'rh_region_ID' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Scope ¶
func (b *ClusterAuthorizationRequestBuilder) Scope(value string) *ClusterAuthorizationRequestBuilder
Scope sets the value of the 'scope' attribute to the given value.
type ClusterAuthorizationRequestList ¶
type ClusterAuthorizationRequestList struct {
// contains filtered or unexported fields
}
ClusterAuthorizationRequestList is a list of values of the 'cluster_authorization_request' type.
func (*ClusterAuthorizationRequestList) Each ¶
func (l *ClusterAuthorizationRequestList) Each(f func(item *ClusterAuthorizationRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterAuthorizationRequestList) Empty ¶
func (l *ClusterAuthorizationRequestList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterAuthorizationRequestList) Get ¶
func (l *ClusterAuthorizationRequestList) Get(i int) *ClusterAuthorizationRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterAuthorizationRequestList) Items ¶
func (l *ClusterAuthorizationRequestList) Items() []*ClusterAuthorizationRequest
Items returns the items of the list.
func (*ClusterAuthorizationRequestList) Len ¶
func (l *ClusterAuthorizationRequestList) Len() int
Len returns the length of the list.
func (*ClusterAuthorizationRequestList) Range ¶
func (l *ClusterAuthorizationRequestList) Range(f func(index int, item *ClusterAuthorizationRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterAuthorizationRequestList) SetHREF ¶
func (l *ClusterAuthorizationRequestList) SetHREF(href string)
Items sets the items of the list.
func (*ClusterAuthorizationRequestList) SetItems ¶
func (l *ClusterAuthorizationRequestList) SetItems(items []*ClusterAuthorizationRequest)
Items sets the items of the list.
func (*ClusterAuthorizationRequestList) SetLink ¶
func (l *ClusterAuthorizationRequestList) SetLink(link bool)
Items sets the items of the list.
func (*ClusterAuthorizationRequestList) Slice ¶
func (l *ClusterAuthorizationRequestList) Slice() []*ClusterAuthorizationRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterAuthorizationRequestListBuilder ¶
type ClusterAuthorizationRequestListBuilder struct {
// contains filtered or unexported fields
}
ClusterAuthorizationRequestListBuilder contains the data and logic needed to build 'cluster_authorization_request' objects.
func NewClusterAuthorizationRequestList ¶
func NewClusterAuthorizationRequestList() *ClusterAuthorizationRequestListBuilder
NewClusterAuthorizationRequestList creates a new builder of 'cluster_authorization_request' objects.
func (*ClusterAuthorizationRequestListBuilder) Build ¶
func (b *ClusterAuthorizationRequestListBuilder) Build() (list *ClusterAuthorizationRequestList, err error)
Build creates a list of 'cluster_authorization_request' objects using the configuration stored in the builder.
func (*ClusterAuthorizationRequestListBuilder) Copy ¶
func (b *ClusterAuthorizationRequestListBuilder) Copy(list *ClusterAuthorizationRequestList) *ClusterAuthorizationRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterAuthorizationRequestListBuilder) Empty ¶
func (b *ClusterAuthorizationRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ClusterAuthorizationRequestListBuilder) Items ¶
func (b *ClusterAuthorizationRequestListBuilder) Items(values ...*ClusterAuthorizationRequestBuilder) *ClusterAuthorizationRequestListBuilder
Items sets the items of the list.
type ClusterAuthorizationResponse ¶
type ClusterAuthorizationResponse struct {
// contains filtered or unexported fields
}
ClusterAuthorizationResponse represents the values of the 'cluster_authorization_response' type.
func ReadClusterAuthorizationResponse ¶
func ReadClusterAuthorizationResponse(iterator *jsoniter.Iterator) *ClusterAuthorizationResponse
ReadClusterAuthorizationResponse reads a value of the 'cluster_authorization_response' type from the given iterator.
func ReadClusterAuthorizationResponseList ¶
func ReadClusterAuthorizationResponseList(iterator *jsoniter.Iterator) []*ClusterAuthorizationResponse
ReadClusterAuthorizationResponseList reads list of values of the ”cluster_authorization_response' type from the given iterator.
func UnmarshalClusterAuthorizationResponse ¶
func UnmarshalClusterAuthorizationResponse(source interface{}) (object *ClusterAuthorizationResponse, err error)
UnmarshalClusterAuthorizationResponse reads a value of the 'cluster_authorization_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterAuthorizationResponseList ¶
func UnmarshalClusterAuthorizationResponseList(source interface{}) (items []*ClusterAuthorizationResponse, err error)
UnmarshalClusterAuthorizationResponseList reads a list of values of the 'cluster_authorization_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterAuthorizationResponse) Allowed ¶
func (o *ClusterAuthorizationResponse) Allowed() bool
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationResponse) Empty ¶
func (o *ClusterAuthorizationResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterAuthorizationResponse) ExcessResources ¶
func (o *ClusterAuthorizationResponse) ExcessResources() []*ReservedResource
ExcessResources returns the value of the 'excess_resources' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationResponse) GetAllowed ¶
func (o *ClusterAuthorizationResponse) GetAllowed() (value bool, ok bool)
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationResponse) GetExcessResources ¶
func (o *ClusterAuthorizationResponse) GetExcessResources() (value []*ReservedResource, ok bool)
GetExcessResources returns the value of the 'excess_resources' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationResponse) GetSubscription ¶
func (o *ClusterAuthorizationResponse) GetSubscription() (value *Subscription, ok bool)
GetSubscription returns the value of the 'subscription' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationResponse) Subscription ¶
func (o *ClusterAuthorizationResponse) Subscription() *Subscription
Subscription returns the value of the 'subscription' attribute, or the zero value of the type if the attribute doesn't have a value.
type ClusterAuthorizationResponseBuilder ¶
type ClusterAuthorizationResponseBuilder struct {
// contains filtered or unexported fields
}
func NewClusterAuthorizationResponse ¶
func NewClusterAuthorizationResponse() *ClusterAuthorizationResponseBuilder
NewClusterAuthorizationResponse creates a new builder of 'cluster_authorization_response' objects.
func (*ClusterAuthorizationResponseBuilder) Allowed ¶
func (b *ClusterAuthorizationResponseBuilder) Allowed(value bool) *ClusterAuthorizationResponseBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*ClusterAuthorizationResponseBuilder) Build ¶
func (b *ClusterAuthorizationResponseBuilder) Build() (object *ClusterAuthorizationResponse, err error)
Build creates a 'cluster_authorization_response' object using the configuration stored in the builder.
func (*ClusterAuthorizationResponseBuilder) Copy ¶
func (b *ClusterAuthorizationResponseBuilder) Copy(object *ClusterAuthorizationResponse) *ClusterAuthorizationResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterAuthorizationResponseBuilder) Empty ¶
func (b *ClusterAuthorizationResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ClusterAuthorizationResponseBuilder) ExcessResources ¶
func (b *ClusterAuthorizationResponseBuilder) ExcessResources(values ...*ReservedResourceBuilder) *ClusterAuthorizationResponseBuilder
ExcessResources sets the value of the 'excess_resources' attribute to the given values.
func (*ClusterAuthorizationResponseBuilder) Subscription ¶
func (b *ClusterAuthorizationResponseBuilder) Subscription(value *SubscriptionBuilder) *ClusterAuthorizationResponseBuilder
Subscription sets the value of the 'subscription' attribute to the given value.
type ClusterAuthorizationResponseList ¶
type ClusterAuthorizationResponseList struct {
// contains filtered or unexported fields
}
ClusterAuthorizationResponseList is a list of values of the 'cluster_authorization_response' type.
func (*ClusterAuthorizationResponseList) Each ¶
func (l *ClusterAuthorizationResponseList) Each(f func(item *ClusterAuthorizationResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterAuthorizationResponseList) Empty ¶
func (l *ClusterAuthorizationResponseList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterAuthorizationResponseList) Get ¶
func (l *ClusterAuthorizationResponseList) Get(i int) *ClusterAuthorizationResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterAuthorizationResponseList) Items ¶
func (l *ClusterAuthorizationResponseList) Items() []*ClusterAuthorizationResponse
Items returns the items of the list.
func (*ClusterAuthorizationResponseList) Len ¶
func (l *ClusterAuthorizationResponseList) Len() int
Len returns the length of the list.
func (*ClusterAuthorizationResponseList) Range ¶
func (l *ClusterAuthorizationResponseList) Range(f func(index int, item *ClusterAuthorizationResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterAuthorizationResponseList) SetHREF ¶
func (l *ClusterAuthorizationResponseList) SetHREF(href string)
Items sets the items of the list.
func (*ClusterAuthorizationResponseList) SetItems ¶
func (l *ClusterAuthorizationResponseList) SetItems(items []*ClusterAuthorizationResponse)
Items sets the items of the list.
func (*ClusterAuthorizationResponseList) SetLink ¶
func (l *ClusterAuthorizationResponseList) SetLink(link bool)
Items sets the items of the list.
func (*ClusterAuthorizationResponseList) Slice ¶
func (l *ClusterAuthorizationResponseList) Slice() []*ClusterAuthorizationResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterAuthorizationResponseListBuilder ¶
type ClusterAuthorizationResponseListBuilder struct {
// contains filtered or unexported fields
}
ClusterAuthorizationResponseListBuilder contains the data and logic needed to build 'cluster_authorization_response' objects.
func NewClusterAuthorizationResponseList ¶
func NewClusterAuthorizationResponseList() *ClusterAuthorizationResponseListBuilder
NewClusterAuthorizationResponseList creates a new builder of 'cluster_authorization_response' objects.
func (*ClusterAuthorizationResponseListBuilder) Build ¶
func (b *ClusterAuthorizationResponseListBuilder) Build() (list *ClusterAuthorizationResponseList, err error)
Build creates a list of 'cluster_authorization_response' objects using the configuration stored in the builder.
func (*ClusterAuthorizationResponseListBuilder) Copy ¶
func (b *ClusterAuthorizationResponseListBuilder) Copy(list *ClusterAuthorizationResponseList) *ClusterAuthorizationResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterAuthorizationResponseListBuilder) Empty ¶
func (b *ClusterAuthorizationResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ClusterAuthorizationResponseListBuilder) Items ¶
func (b *ClusterAuthorizationResponseListBuilder) Items(values ...*ClusterAuthorizationResponseBuilder) *ClusterAuthorizationResponseListBuilder
Items sets the items of the list.
type ClusterMetricsNodes ¶
type ClusterMetricsNodes struct {
// contains filtered or unexported fields
}
ClusterMetricsNodes represents the values of the 'cluster_metrics_nodes' type.
func ReadClusterMetricsNodes ¶
func ReadClusterMetricsNodes(iterator *jsoniter.Iterator) *ClusterMetricsNodes
ReadClusterMetricsNodes reads a value of the 'cluster_metrics_nodes' type from the given iterator.
func ReadClusterMetricsNodesList ¶
func ReadClusterMetricsNodesList(iterator *jsoniter.Iterator) []*ClusterMetricsNodes
ReadClusterMetricsNodesList reads list of values of the ”cluster_metrics_nodes' type from the given iterator.
func UnmarshalClusterMetricsNodes ¶
func UnmarshalClusterMetricsNodes(source interface{}) (object *ClusterMetricsNodes, err error)
UnmarshalClusterMetricsNodes reads a value of the 'cluster_metrics_nodes' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterMetricsNodesList ¶
func UnmarshalClusterMetricsNodesList(source interface{}) (items []*ClusterMetricsNodes, err error)
UnmarshalClusterMetricsNodesList reads a list of values of the 'cluster_metrics_nodes' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterMetricsNodes) Compute ¶
func (o *ClusterMetricsNodes) Compute() float64
Compute returns the value of the 'compute' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterMetricsNodes) Empty ¶
func (o *ClusterMetricsNodes) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterMetricsNodes) GetCompute ¶
func (o *ClusterMetricsNodes) GetCompute() (value float64, ok bool)
GetCompute returns the value of the 'compute' attribute and a flag indicating if the attribute has a value.
func (*ClusterMetricsNodes) GetInfra ¶
func (o *ClusterMetricsNodes) GetInfra() (value float64, ok bool)
GetInfra returns the value of the 'infra' attribute and a flag indicating if the attribute has a value.
func (*ClusterMetricsNodes) GetMaster ¶
func (o *ClusterMetricsNodes) GetMaster() (value float64, ok bool)
GetMaster returns the value of the 'master' attribute and a flag indicating if the attribute has a value.
func (*ClusterMetricsNodes) GetTotal ¶
func (o *ClusterMetricsNodes) GetTotal() (value float64, ok bool)
GetTotal returns the value of the 'total' attribute and a flag indicating if the attribute has a value.
func (*ClusterMetricsNodes) Infra ¶
func (o *ClusterMetricsNodes) Infra() float64
Infra returns the value of the 'infra' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterMetricsNodes) Master ¶
func (o *ClusterMetricsNodes) Master() float64
Master returns the value of the 'master' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterMetricsNodes) Total ¶
func (o *ClusterMetricsNodes) Total() float64
Total returns the value of the 'total' attribute, or the zero value of the type if the attribute doesn't have a value.
type ClusterMetricsNodesBuilder ¶
type ClusterMetricsNodesBuilder struct {
// contains filtered or unexported fields
}
func NewClusterMetricsNodes ¶
func NewClusterMetricsNodes() *ClusterMetricsNodesBuilder
NewClusterMetricsNodes creates a new builder of 'cluster_metrics_nodes' objects.
func (*ClusterMetricsNodesBuilder) Build ¶
func (b *ClusterMetricsNodesBuilder) Build() (object *ClusterMetricsNodes, err error)
Build creates a 'cluster_metrics_nodes' object using the configuration stored in the builder.
func (*ClusterMetricsNodesBuilder) Compute ¶
func (b *ClusterMetricsNodesBuilder) Compute(value float64) *ClusterMetricsNodesBuilder
Compute sets the value of the 'compute' attribute to the given value.
func (*ClusterMetricsNodesBuilder) Copy ¶
func (b *ClusterMetricsNodesBuilder) Copy(object *ClusterMetricsNodes) *ClusterMetricsNodesBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterMetricsNodesBuilder) Empty ¶
func (b *ClusterMetricsNodesBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ClusterMetricsNodesBuilder) Infra ¶
func (b *ClusterMetricsNodesBuilder) Infra(value float64) *ClusterMetricsNodesBuilder
Infra sets the value of the 'infra' attribute to the given value.
func (*ClusterMetricsNodesBuilder) Master ¶
func (b *ClusterMetricsNodesBuilder) Master(value float64) *ClusterMetricsNodesBuilder
Master sets the value of the 'master' attribute to the given value.
func (*ClusterMetricsNodesBuilder) Total ¶
func (b *ClusterMetricsNodesBuilder) Total(value float64) *ClusterMetricsNodesBuilder
Total sets the value of the 'total' attribute to the given value.
type ClusterMetricsNodesList ¶
type ClusterMetricsNodesList struct {
// contains filtered or unexported fields
}
ClusterMetricsNodesList is a list of values of the 'cluster_metrics_nodes' type.
func (*ClusterMetricsNodesList) Each ¶
func (l *ClusterMetricsNodesList) Each(f func(item *ClusterMetricsNodes) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterMetricsNodesList) Empty ¶
func (l *ClusterMetricsNodesList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterMetricsNodesList) Get ¶
func (l *ClusterMetricsNodesList) Get(i int) *ClusterMetricsNodes
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterMetricsNodesList) Items ¶
func (l *ClusterMetricsNodesList) Items() []*ClusterMetricsNodes
Items returns the items of the list.
func (*ClusterMetricsNodesList) Len ¶
func (l *ClusterMetricsNodesList) Len() int
Len returns the length of the list.
func (*ClusterMetricsNodesList) Range ¶
func (l *ClusterMetricsNodesList) Range(f func(index int, item *ClusterMetricsNodes) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterMetricsNodesList) SetHREF ¶
func (l *ClusterMetricsNodesList) SetHREF(href string)
Items sets the items of the list.
func (*ClusterMetricsNodesList) SetItems ¶
func (l *ClusterMetricsNodesList) SetItems(items []*ClusterMetricsNodes)
Items sets the items of the list.
func (*ClusterMetricsNodesList) SetLink ¶
func (l *ClusterMetricsNodesList) SetLink(link bool)
Items sets the items of the list.
func (*ClusterMetricsNodesList) Slice ¶
func (l *ClusterMetricsNodesList) Slice() []*ClusterMetricsNodes
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterMetricsNodesListBuilder ¶
type ClusterMetricsNodesListBuilder struct {
// contains filtered or unexported fields
}
ClusterMetricsNodesListBuilder contains the data and logic needed to build 'cluster_metrics_nodes' objects.
func NewClusterMetricsNodesList ¶
func NewClusterMetricsNodesList() *ClusterMetricsNodesListBuilder
NewClusterMetricsNodesList creates a new builder of 'cluster_metrics_nodes' objects.
func (*ClusterMetricsNodesListBuilder) Build ¶
func (b *ClusterMetricsNodesListBuilder) Build() (list *ClusterMetricsNodesList, err error)
Build creates a list of 'cluster_metrics_nodes' objects using the configuration stored in the builder.
func (*ClusterMetricsNodesListBuilder) Copy ¶
func (b *ClusterMetricsNodesListBuilder) Copy(list *ClusterMetricsNodesList) *ClusterMetricsNodesListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterMetricsNodesListBuilder) Empty ¶
func (b *ClusterMetricsNodesListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ClusterMetricsNodesListBuilder) Items ¶
func (b *ClusterMetricsNodesListBuilder) Items(values ...*ClusterMetricsNodesBuilder) *ClusterMetricsNodesListBuilder
Items sets the items of the list.
type ClusterRegistrationRequest ¶
type ClusterRegistrationRequest struct {
// contains filtered or unexported fields
}
ClusterRegistrationRequest represents the values of the 'cluster_registration_request' type.
func ReadClusterRegistrationRequest ¶
func ReadClusterRegistrationRequest(iterator *jsoniter.Iterator) *ClusterRegistrationRequest
ReadClusterRegistrationRequest reads a value of the 'cluster_registration_request' type from the given iterator.
func ReadClusterRegistrationRequestList ¶
func ReadClusterRegistrationRequestList(iterator *jsoniter.Iterator) []*ClusterRegistrationRequest
ReadClusterRegistrationRequestList reads list of values of the ”cluster_registration_request' type from the given iterator.
func UnmarshalClusterRegistrationRequest ¶
func UnmarshalClusterRegistrationRequest(source interface{}) (object *ClusterRegistrationRequest, err error)
UnmarshalClusterRegistrationRequest reads a value of the 'cluster_registration_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterRegistrationRequestList ¶
func UnmarshalClusterRegistrationRequestList(source interface{}) (items []*ClusterRegistrationRequest, err error)
UnmarshalClusterRegistrationRequestList reads a list of values of the 'cluster_registration_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterRegistrationRequest) AuthorizationToken ¶
func (o *ClusterRegistrationRequest) AuthorizationToken() string
AuthorizationToken returns the value of the 'authorization_token' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterRegistrationRequest) ClusterID ¶
func (o *ClusterRegistrationRequest) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterRegistrationRequest) Empty ¶
func (o *ClusterRegistrationRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterRegistrationRequest) GetAuthorizationToken ¶
func (o *ClusterRegistrationRequest) GetAuthorizationToken() (value string, ok bool)
GetAuthorizationToken returns the value of the 'authorization_token' attribute and a flag indicating if the attribute has a value.
func (*ClusterRegistrationRequest) GetClusterID ¶
func (o *ClusterRegistrationRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
type ClusterRegistrationRequestBuilder ¶
type ClusterRegistrationRequestBuilder struct {
// contains filtered or unexported fields
}
func NewClusterRegistrationRequest ¶
func NewClusterRegistrationRequest() *ClusterRegistrationRequestBuilder
NewClusterRegistrationRequest creates a new builder of 'cluster_registration_request' objects.
func (*ClusterRegistrationRequestBuilder) AuthorizationToken ¶
func (b *ClusterRegistrationRequestBuilder) AuthorizationToken(value string) *ClusterRegistrationRequestBuilder
AuthorizationToken sets the value of the 'authorization_token' attribute to the given value.
func (*ClusterRegistrationRequestBuilder) Build ¶
func (b *ClusterRegistrationRequestBuilder) Build() (object *ClusterRegistrationRequest, err error)
Build creates a 'cluster_registration_request' object using the configuration stored in the builder.
func (*ClusterRegistrationRequestBuilder) ClusterID ¶
func (b *ClusterRegistrationRequestBuilder) ClusterID(value string) *ClusterRegistrationRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*ClusterRegistrationRequestBuilder) Copy ¶
func (b *ClusterRegistrationRequestBuilder) Copy(object *ClusterRegistrationRequest) *ClusterRegistrationRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterRegistrationRequestBuilder) Empty ¶
func (b *ClusterRegistrationRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
type ClusterRegistrationRequestList ¶
type ClusterRegistrationRequestList struct {
// contains filtered or unexported fields
}
ClusterRegistrationRequestList is a list of values of the 'cluster_registration_request' type.
func (*ClusterRegistrationRequestList) Each ¶
func (l *ClusterRegistrationRequestList) Each(f func(item *ClusterRegistrationRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterRegistrationRequestList) Empty ¶
func (l *ClusterRegistrationRequestList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterRegistrationRequestList) Get ¶
func (l *ClusterRegistrationRequestList) Get(i int) *ClusterRegistrationRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterRegistrationRequestList) Items ¶
func (l *ClusterRegistrationRequestList) Items() []*ClusterRegistrationRequest
Items returns the items of the list.
func (*ClusterRegistrationRequestList) Len ¶
func (l *ClusterRegistrationRequestList) Len() int
Len returns the length of the list.
func (*ClusterRegistrationRequestList) Range ¶
func (l *ClusterRegistrationRequestList) Range(f func(index int, item *ClusterRegistrationRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterRegistrationRequestList) SetHREF ¶
func (l *ClusterRegistrationRequestList) SetHREF(href string)
Items sets the items of the list.
func (*ClusterRegistrationRequestList) SetItems ¶
func (l *ClusterRegistrationRequestList) SetItems(items []*ClusterRegistrationRequest)
Items sets the items of the list.
func (*ClusterRegistrationRequestList) SetLink ¶
func (l *ClusterRegistrationRequestList) SetLink(link bool)
Items sets the items of the list.
func (*ClusterRegistrationRequestList) Slice ¶
func (l *ClusterRegistrationRequestList) Slice() []*ClusterRegistrationRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterRegistrationRequestListBuilder ¶
type ClusterRegistrationRequestListBuilder struct {
// contains filtered or unexported fields
}
ClusterRegistrationRequestListBuilder contains the data and logic needed to build 'cluster_registration_request' objects.
func NewClusterRegistrationRequestList ¶
func NewClusterRegistrationRequestList() *ClusterRegistrationRequestListBuilder
NewClusterRegistrationRequestList creates a new builder of 'cluster_registration_request' objects.
func (*ClusterRegistrationRequestListBuilder) Build ¶
func (b *ClusterRegistrationRequestListBuilder) Build() (list *ClusterRegistrationRequestList, err error)
Build creates a list of 'cluster_registration_request' objects using the configuration stored in the builder.
func (*ClusterRegistrationRequestListBuilder) Copy ¶
func (b *ClusterRegistrationRequestListBuilder) Copy(list *ClusterRegistrationRequestList) *ClusterRegistrationRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterRegistrationRequestListBuilder) Empty ¶
func (b *ClusterRegistrationRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ClusterRegistrationRequestListBuilder) Items ¶
func (b *ClusterRegistrationRequestListBuilder) Items(values ...*ClusterRegistrationRequestBuilder) *ClusterRegistrationRequestListBuilder
Items sets the items of the list.
type ClusterRegistrationResponse ¶
type ClusterRegistrationResponse struct {
// contains filtered or unexported fields
}
ClusterRegistrationResponse represents the values of the 'cluster_registration_response' type.
func ReadClusterRegistrationResponse ¶
func ReadClusterRegistrationResponse(iterator *jsoniter.Iterator) *ClusterRegistrationResponse
ReadClusterRegistrationResponse reads a value of the 'cluster_registration_response' type from the given iterator.
func ReadClusterRegistrationResponseList ¶
func ReadClusterRegistrationResponseList(iterator *jsoniter.Iterator) []*ClusterRegistrationResponse
ReadClusterRegistrationResponseList reads list of values of the ”cluster_registration_response' type from the given iterator.
func UnmarshalClusterRegistrationResponse ¶
func UnmarshalClusterRegistrationResponse(source interface{}) (object *ClusterRegistrationResponse, err error)
UnmarshalClusterRegistrationResponse reads a value of the 'cluster_registration_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterRegistrationResponseList ¶
func UnmarshalClusterRegistrationResponseList(source interface{}) (items []*ClusterRegistrationResponse, err error)
UnmarshalClusterRegistrationResponseList reads a list of values of the 'cluster_registration_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterRegistrationResponse) AccountID ¶
func (o *ClusterRegistrationResponse) AccountID() string
AccountID returns the value of the 'account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterRegistrationResponse) AuthorizationToken ¶
func (o *ClusterRegistrationResponse) AuthorizationToken() string
AuthorizationToken returns the value of the 'authorization_token' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterRegistrationResponse) ClusterID ¶
func (o *ClusterRegistrationResponse) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterRegistrationResponse) Empty ¶
func (o *ClusterRegistrationResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterRegistrationResponse) ExpiresAt ¶
func (o *ClusterRegistrationResponse) ExpiresAt() string
ExpiresAt returns the value of the 'expires_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Cluster registration expiration.
func (*ClusterRegistrationResponse) GetAccountID ¶
func (o *ClusterRegistrationResponse) GetAccountID() (value string, ok bool)
GetAccountID returns the value of the 'account_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterRegistrationResponse) GetAuthorizationToken ¶
func (o *ClusterRegistrationResponse) GetAuthorizationToken() (value string, ok bool)
GetAuthorizationToken returns the value of the 'authorization_token' attribute and a flag indicating if the attribute has a value.
func (*ClusterRegistrationResponse) GetClusterID ¶
func (o *ClusterRegistrationResponse) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterRegistrationResponse) GetExpiresAt ¶
func (o *ClusterRegistrationResponse) GetExpiresAt() (value string, ok bool)
GetExpiresAt returns the value of the 'expires_at' attribute and a flag indicating if the attribute has a value.
Cluster registration expiration.
type ClusterRegistrationResponseBuilder ¶
type ClusterRegistrationResponseBuilder struct {
// contains filtered or unexported fields
}
func NewClusterRegistrationResponse ¶
func NewClusterRegistrationResponse() *ClusterRegistrationResponseBuilder
NewClusterRegistrationResponse creates a new builder of 'cluster_registration_response' objects.
func (*ClusterRegistrationResponseBuilder) AccountID ¶
func (b *ClusterRegistrationResponseBuilder) AccountID(value string) *ClusterRegistrationResponseBuilder
AccountID sets the value of the 'account_ID' attribute to the given value.
func (*ClusterRegistrationResponseBuilder) AuthorizationToken ¶
func (b *ClusterRegistrationResponseBuilder) AuthorizationToken(value string) *ClusterRegistrationResponseBuilder
AuthorizationToken sets the value of the 'authorization_token' attribute to the given value.
func (*ClusterRegistrationResponseBuilder) Build ¶
func (b *ClusterRegistrationResponseBuilder) Build() (object *ClusterRegistrationResponse, err error)
Build creates a 'cluster_registration_response' object using the configuration stored in the builder.
func (*ClusterRegistrationResponseBuilder) ClusterID ¶
func (b *ClusterRegistrationResponseBuilder) ClusterID(value string) *ClusterRegistrationResponseBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*ClusterRegistrationResponseBuilder) Copy ¶
func (b *ClusterRegistrationResponseBuilder) Copy(object *ClusterRegistrationResponse) *ClusterRegistrationResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterRegistrationResponseBuilder) Empty ¶
func (b *ClusterRegistrationResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ClusterRegistrationResponseBuilder) ExpiresAt ¶
func (b *ClusterRegistrationResponseBuilder) ExpiresAt(value string) *ClusterRegistrationResponseBuilder
ExpiresAt sets the value of the 'expires_at' attribute to the given value.
type ClusterRegistrationResponseList ¶
type ClusterRegistrationResponseList struct {
// contains filtered or unexported fields
}
ClusterRegistrationResponseList is a list of values of the 'cluster_registration_response' type.
func (*ClusterRegistrationResponseList) Each ¶
func (l *ClusterRegistrationResponseList) Each(f func(item *ClusterRegistrationResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterRegistrationResponseList) Empty ¶
func (l *ClusterRegistrationResponseList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterRegistrationResponseList) Get ¶
func (l *ClusterRegistrationResponseList) Get(i int) *ClusterRegistrationResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterRegistrationResponseList) Items ¶
func (l *ClusterRegistrationResponseList) Items() []*ClusterRegistrationResponse
Items returns the items of the list.
func (*ClusterRegistrationResponseList) Len ¶
func (l *ClusterRegistrationResponseList) Len() int
Len returns the length of the list.
func (*ClusterRegistrationResponseList) Range ¶
func (l *ClusterRegistrationResponseList) Range(f func(index int, item *ClusterRegistrationResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterRegistrationResponseList) SetHREF ¶
func (l *ClusterRegistrationResponseList) SetHREF(href string)
Items sets the items of the list.
func (*ClusterRegistrationResponseList) SetItems ¶
func (l *ClusterRegistrationResponseList) SetItems(items []*ClusterRegistrationResponse)
Items sets the items of the list.
func (*ClusterRegistrationResponseList) SetLink ¶
func (l *ClusterRegistrationResponseList) SetLink(link bool)
Items sets the items of the list.
func (*ClusterRegistrationResponseList) Slice ¶
func (l *ClusterRegistrationResponseList) Slice() []*ClusterRegistrationResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterRegistrationResponseListBuilder ¶
type ClusterRegistrationResponseListBuilder struct {
// contains filtered or unexported fields
}
ClusterRegistrationResponseListBuilder contains the data and logic needed to build 'cluster_registration_response' objects.
func NewClusterRegistrationResponseList ¶
func NewClusterRegistrationResponseList() *ClusterRegistrationResponseListBuilder
NewClusterRegistrationResponseList creates a new builder of 'cluster_registration_response' objects.
func (*ClusterRegistrationResponseListBuilder) Build ¶
func (b *ClusterRegistrationResponseListBuilder) Build() (list *ClusterRegistrationResponseList, err error)
Build creates a list of 'cluster_registration_response' objects using the configuration stored in the builder.
func (*ClusterRegistrationResponseListBuilder) Copy ¶
func (b *ClusterRegistrationResponseListBuilder) Copy(list *ClusterRegistrationResponseList) *ClusterRegistrationResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterRegistrationResponseListBuilder) Empty ¶
func (b *ClusterRegistrationResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ClusterRegistrationResponseListBuilder) Items ¶
func (b *ClusterRegistrationResponseListBuilder) Items(values ...*ClusterRegistrationResponseBuilder) *ClusterRegistrationResponseListBuilder
Items sets the items of the list.
type ClusterResource ¶
type ClusterResource struct {
// contains filtered or unexported fields
}
ClusterResource represents the values of the 'cluster_resource' type.
func ReadClusterResource ¶
func ReadClusterResource(iterator *jsoniter.Iterator) *ClusterResource
ReadClusterResource reads a value of the 'cluster_resource' type from the given iterator.
func ReadClusterResourceList ¶
func ReadClusterResourceList(iterator *jsoniter.Iterator) []*ClusterResource
ReadClusterResourceList reads list of values of the ”cluster_resource' type from the given iterator.
func UnmarshalClusterResource ¶
func UnmarshalClusterResource(source interface{}) (object *ClusterResource, err error)
UnmarshalClusterResource reads a value of the 'cluster_resource' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterResourceList ¶
func UnmarshalClusterResourceList(source interface{}) (items []*ClusterResource, err error)
UnmarshalClusterResourceList reads a list of values of the 'cluster_resource' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterResource) Empty ¶
func (o *ClusterResource) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterResource) GetTotal ¶
func (o *ClusterResource) GetTotal() (value *ValueUnit, ok bool)
GetTotal returns the value of the 'total' attribute and a flag indicating if the attribute has a value.
func (*ClusterResource) GetUpdatedTimestamp ¶
func (o *ClusterResource) GetUpdatedTimestamp() (value time.Time, ok bool)
GetUpdatedTimestamp returns the value of the 'updated_timestamp' attribute and a flag indicating if the attribute has a value.
func (*ClusterResource) GetUsed ¶
func (o *ClusterResource) GetUsed() (value *ValueUnit, ok bool)
GetUsed returns the value of the 'used' attribute and a flag indicating if the attribute has a value.
func (*ClusterResource) Total ¶
func (o *ClusterResource) Total() *ValueUnit
Total returns the value of the 'total' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterResource) UpdatedTimestamp ¶
func (o *ClusterResource) UpdatedTimestamp() time.Time
UpdatedTimestamp returns the value of the 'updated_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterResource) Used ¶
func (o *ClusterResource) Used() *ValueUnit
Used returns the value of the 'used' attribute, or the zero value of the type if the attribute doesn't have a value.
type ClusterResourceBuilder ¶
type ClusterResourceBuilder struct {
// contains filtered or unexported fields
}
func NewClusterResource ¶
func NewClusterResource() *ClusterResourceBuilder
NewClusterResource creates a new builder of 'cluster_resource' objects.
func (*ClusterResourceBuilder) Build ¶
func (b *ClusterResourceBuilder) Build() (object *ClusterResource, err error)
Build creates a 'cluster_resource' object using the configuration stored in the builder.
func (*ClusterResourceBuilder) Copy ¶
func (b *ClusterResourceBuilder) Copy(object *ClusterResource) *ClusterResourceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterResourceBuilder) Empty ¶
func (b *ClusterResourceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ClusterResourceBuilder) Total ¶
func (b *ClusterResourceBuilder) Total(value *ValueUnitBuilder) *ClusterResourceBuilder
Total sets the value of the 'total' attribute to the given value.
func (*ClusterResourceBuilder) UpdatedTimestamp ¶
func (b *ClusterResourceBuilder) UpdatedTimestamp(value time.Time) *ClusterResourceBuilder
UpdatedTimestamp sets the value of the 'updated_timestamp' attribute to the given value.
func (*ClusterResourceBuilder) Used ¶
func (b *ClusterResourceBuilder) Used(value *ValueUnitBuilder) *ClusterResourceBuilder
Used sets the value of the 'used' attribute to the given value.
type ClusterResourceList ¶
type ClusterResourceList struct {
// contains filtered or unexported fields
}
ClusterResourceList is a list of values of the 'cluster_resource' type.
func (*ClusterResourceList) Each ¶
func (l *ClusterResourceList) Each(f func(item *ClusterResource) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterResourceList) Empty ¶
func (l *ClusterResourceList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterResourceList) Get ¶
func (l *ClusterResourceList) Get(i int) *ClusterResource
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterResourceList) Items ¶
func (l *ClusterResourceList) Items() []*ClusterResource
Items returns the items of the list.
func (*ClusterResourceList) Len ¶
func (l *ClusterResourceList) Len() int
Len returns the length of the list.
func (*ClusterResourceList) Range ¶
func (l *ClusterResourceList) Range(f func(index int, item *ClusterResource) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterResourceList) SetHREF ¶
func (l *ClusterResourceList) SetHREF(href string)
Items sets the items of the list.
func (*ClusterResourceList) SetItems ¶
func (l *ClusterResourceList) SetItems(items []*ClusterResource)
Items sets the items of the list.
func (*ClusterResourceList) SetLink ¶
func (l *ClusterResourceList) SetLink(link bool)
Items sets the items of the list.
func (*ClusterResourceList) Slice ¶
func (l *ClusterResourceList) Slice() []*ClusterResource
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterResourceListBuilder ¶
type ClusterResourceListBuilder struct {
// contains filtered or unexported fields
}
ClusterResourceListBuilder contains the data and logic needed to build 'cluster_resource' objects.
func NewClusterResourceList ¶
func NewClusterResourceList() *ClusterResourceListBuilder
NewClusterResourceList creates a new builder of 'cluster_resource' objects.
func (*ClusterResourceListBuilder) Build ¶
func (b *ClusterResourceListBuilder) Build() (list *ClusterResourceList, err error)
Build creates a list of 'cluster_resource' objects using the configuration stored in the builder.
func (*ClusterResourceListBuilder) Copy ¶
func (b *ClusterResourceListBuilder) Copy(list *ClusterResourceList) *ClusterResourceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterResourceListBuilder) Empty ¶
func (b *ClusterResourceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ClusterResourceListBuilder) Items ¶
func (b *ClusterResourceListBuilder) Items(values ...*ClusterResourceBuilder) *ClusterResourceListBuilder
Items sets the items of the list.
type ClusterUpgrade ¶
type ClusterUpgrade struct {
// contains filtered or unexported fields
}
ClusterUpgrade represents the values of the 'cluster_upgrade' type.
func ReadClusterUpgrade ¶
func ReadClusterUpgrade(iterator *jsoniter.Iterator) *ClusterUpgrade
ReadClusterUpgrade reads a value of the 'cluster_upgrade' type from the given iterator.
func ReadClusterUpgradeList ¶
func ReadClusterUpgradeList(iterator *jsoniter.Iterator) []*ClusterUpgrade
ReadClusterUpgradeList reads list of values of the ”cluster_upgrade' type from the given iterator.
func UnmarshalClusterUpgrade ¶
func UnmarshalClusterUpgrade(source interface{}) (object *ClusterUpgrade, err error)
UnmarshalClusterUpgrade reads a value of the 'cluster_upgrade' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterUpgradeList ¶
func UnmarshalClusterUpgradeList(source interface{}) (items []*ClusterUpgrade, err error)
UnmarshalClusterUpgradeList reads a list of values of the 'cluster_upgrade' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterUpgrade) Available ¶
func (o *ClusterUpgrade) Available() bool
Available returns the value of the 'available' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterUpgrade) Empty ¶
func (o *ClusterUpgrade) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterUpgrade) GetAvailable ¶
func (o *ClusterUpgrade) GetAvailable() (value bool, ok bool)
GetAvailable returns the value of the 'available' attribute and a flag indicating if the attribute has a value.
func (*ClusterUpgrade) GetState ¶
func (o *ClusterUpgrade) GetState() (value string, ok bool)
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
func (*ClusterUpgrade) GetUpdatedTimestamp ¶
func (o *ClusterUpgrade) GetUpdatedTimestamp() (value time.Time, ok bool)
GetUpdatedTimestamp returns the value of the 'updated_timestamp' attribute and a flag indicating if the attribute has a value.
func (*ClusterUpgrade) GetVersion ¶
func (o *ClusterUpgrade) GetVersion() (value string, ok bool)
GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.
func (*ClusterUpgrade) State ¶
func (o *ClusterUpgrade) State() string
State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterUpgrade) UpdatedTimestamp ¶
func (o *ClusterUpgrade) UpdatedTimestamp() time.Time
UpdatedTimestamp returns the value of the 'updated_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterUpgrade) Version ¶
func (o *ClusterUpgrade) Version() string
Version returns the value of the 'version' attribute, or the zero value of the type if the attribute doesn't have a value.
type ClusterUpgradeBuilder ¶
type ClusterUpgradeBuilder struct {
// contains filtered or unexported fields
}
func NewClusterUpgrade ¶
func NewClusterUpgrade() *ClusterUpgradeBuilder
NewClusterUpgrade creates a new builder of 'cluster_upgrade' objects.
func (*ClusterUpgradeBuilder) Available ¶
func (b *ClusterUpgradeBuilder) Available(value bool) *ClusterUpgradeBuilder
Available sets the value of the 'available' attribute to the given value.
func (*ClusterUpgradeBuilder) Build ¶
func (b *ClusterUpgradeBuilder) Build() (object *ClusterUpgrade, err error)
Build creates a 'cluster_upgrade' object using the configuration stored in the builder.
func (*ClusterUpgradeBuilder) Copy ¶
func (b *ClusterUpgradeBuilder) Copy(object *ClusterUpgrade) *ClusterUpgradeBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterUpgradeBuilder) Empty ¶
func (b *ClusterUpgradeBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ClusterUpgradeBuilder) State ¶
func (b *ClusterUpgradeBuilder) State(value string) *ClusterUpgradeBuilder
State sets the value of the 'state' attribute to the given value.
func (*ClusterUpgradeBuilder) UpdatedTimestamp ¶
func (b *ClusterUpgradeBuilder) UpdatedTimestamp(value time.Time) *ClusterUpgradeBuilder
UpdatedTimestamp sets the value of the 'updated_timestamp' attribute to the given value.
func (*ClusterUpgradeBuilder) Version ¶
func (b *ClusterUpgradeBuilder) Version(value string) *ClusterUpgradeBuilder
Version sets the value of the 'version' attribute to the given value.
type ClusterUpgradeList ¶
type ClusterUpgradeList struct {
// contains filtered or unexported fields
}
ClusterUpgradeList is a list of values of the 'cluster_upgrade' type.
func (*ClusterUpgradeList) Each ¶
func (l *ClusterUpgradeList) Each(f func(item *ClusterUpgrade) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterUpgradeList) Empty ¶
func (l *ClusterUpgradeList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterUpgradeList) Get ¶
func (l *ClusterUpgradeList) Get(i int) *ClusterUpgrade
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterUpgradeList) Items ¶
func (l *ClusterUpgradeList) Items() []*ClusterUpgrade
Items returns the items of the list.
func (*ClusterUpgradeList) Len ¶
func (l *ClusterUpgradeList) Len() int
Len returns the length of the list.
func (*ClusterUpgradeList) Range ¶
func (l *ClusterUpgradeList) Range(f func(index int, item *ClusterUpgrade) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterUpgradeList) SetHREF ¶
func (l *ClusterUpgradeList) SetHREF(href string)
Items sets the items of the list.
func (*ClusterUpgradeList) SetItems ¶
func (l *ClusterUpgradeList) SetItems(items []*ClusterUpgrade)
Items sets the items of the list.
func (*ClusterUpgradeList) SetLink ¶
func (l *ClusterUpgradeList) SetLink(link bool)
Items sets the items of the list.
func (*ClusterUpgradeList) Slice ¶
func (l *ClusterUpgradeList) Slice() []*ClusterUpgrade
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterUpgradeListBuilder ¶
type ClusterUpgradeListBuilder struct {
// contains filtered or unexported fields
}
ClusterUpgradeListBuilder contains the data and logic needed to build 'cluster_upgrade' objects.
func NewClusterUpgradeList ¶
func NewClusterUpgradeList() *ClusterUpgradeListBuilder
NewClusterUpgradeList creates a new builder of 'cluster_upgrade' objects.
func (*ClusterUpgradeListBuilder) Build ¶
func (b *ClusterUpgradeListBuilder) Build() (list *ClusterUpgradeList, err error)
Build creates a list of 'cluster_upgrade' objects using the configuration stored in the builder.
func (*ClusterUpgradeListBuilder) Copy ¶
func (b *ClusterUpgradeListBuilder) Copy(list *ClusterUpgradeList) *ClusterUpgradeListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterUpgradeListBuilder) Empty ¶
func (b *ClusterUpgradeListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ClusterUpgradeListBuilder) Items ¶
func (b *ClusterUpgradeListBuilder) Items(values ...*ClusterUpgradeBuilder) *ClusterUpgradeListBuilder
Items sets the items of the list.
type Contract ¶
type Contract struct {
// contains filtered or unexported fields
}
Contract represents the values of the 'contract' type.
func ReadContract ¶
ReadContract reads a value of the 'contract' type from the given iterator.
func ReadContractList ¶
ReadContractList reads list of values of the ”contract' type from the given iterator.
func UnmarshalContract ¶
UnmarshalContract reads a value of the 'contract' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalContractList ¶
UnmarshalContractList reads a list of values of the 'contract' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Contract) Dimensions ¶
func (o *Contract) Dimensions() []*ContractDimension
Dimensions returns the value of the 'dimensions' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Contract) EndDate ¶
EndDate returns the value of the 'end_date' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Contract) GetDimensions ¶
func (o *Contract) GetDimensions() (value []*ContractDimension, ok bool)
GetDimensions returns the value of the 'dimensions' attribute and a flag indicating if the attribute has a value.
func (*Contract) GetEndDate ¶
GetEndDate returns the value of the 'end_date' attribute and a flag indicating if the attribute has a value.
func (*Contract) GetStartDate ¶
GetStartDate returns the value of the 'start_date' attribute and a flag indicating if the attribute has a value.
type ContractBuilder ¶
type ContractBuilder struct {
// contains filtered or unexported fields
}
func NewContract ¶
func NewContract() *ContractBuilder
NewContract creates a new builder of 'contract' objects.
func (*ContractBuilder) Build ¶
func (b *ContractBuilder) Build() (object *Contract, err error)
Build creates a 'contract' object using the configuration stored in the builder.
func (*ContractBuilder) Copy ¶
func (b *ContractBuilder) Copy(object *Contract) *ContractBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ContractBuilder) Dimensions ¶
func (b *ContractBuilder) Dimensions(values ...*ContractDimensionBuilder) *ContractBuilder
Dimensions sets the value of the 'dimensions' attribute to the given values.
func (*ContractBuilder) Empty ¶
func (b *ContractBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ContractBuilder) EndDate ¶
func (b *ContractBuilder) EndDate(value time.Time) *ContractBuilder
EndDate sets the value of the 'end_date' attribute to the given value.
func (*ContractBuilder) StartDate ¶
func (b *ContractBuilder) StartDate(value time.Time) *ContractBuilder
StartDate sets the value of the 'start_date' attribute to the given value.
type ContractDimension ¶
type ContractDimension struct {
// contains filtered or unexported fields
}
ContractDimension represents the values of the 'contract_dimension' type.
func ReadContractDimension ¶
func ReadContractDimension(iterator *jsoniter.Iterator) *ContractDimension
ReadContractDimension reads a value of the 'contract_dimension' type from the given iterator.
func ReadContractDimensionList ¶
func ReadContractDimensionList(iterator *jsoniter.Iterator) []*ContractDimension
ReadContractDimensionList reads list of values of the ”contract_dimension' type from the given iterator.
func UnmarshalContractDimension ¶
func UnmarshalContractDimension(source interface{}) (object *ContractDimension, err error)
UnmarshalContractDimension reads a value of the 'contract_dimension' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalContractDimensionList ¶
func UnmarshalContractDimensionList(source interface{}) (items []*ContractDimension, err error)
UnmarshalContractDimensionList reads a list of values of the 'contract_dimension' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ContractDimension) Empty ¶
func (o *ContractDimension) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ContractDimension) GetName ¶
func (o *ContractDimension) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*ContractDimension) GetValue ¶
func (o *ContractDimension) GetValue() (value string, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
func (*ContractDimension) Name ¶
func (o *ContractDimension) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ContractDimension) Value ¶
func (o *ContractDimension) Value() string
Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.
type ContractDimensionBuilder ¶
type ContractDimensionBuilder struct {
// contains filtered or unexported fields
}
func NewContractDimension ¶
func NewContractDimension() *ContractDimensionBuilder
NewContractDimension creates a new builder of 'contract_dimension' objects.
func (*ContractDimensionBuilder) Build ¶
func (b *ContractDimensionBuilder) Build() (object *ContractDimension, err error)
Build creates a 'contract_dimension' object using the configuration stored in the builder.
func (*ContractDimensionBuilder) Copy ¶
func (b *ContractDimensionBuilder) Copy(object *ContractDimension) *ContractDimensionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ContractDimensionBuilder) Empty ¶
func (b *ContractDimensionBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ContractDimensionBuilder) Name ¶
func (b *ContractDimensionBuilder) Name(value string) *ContractDimensionBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ContractDimensionBuilder) Value ¶
func (b *ContractDimensionBuilder) Value(value string) *ContractDimensionBuilder
Value sets the value of the 'value' attribute to the given value.
type ContractDimensionList ¶
type ContractDimensionList struct {
// contains filtered or unexported fields
}
ContractDimensionList is a list of values of the 'contract_dimension' type.
func (*ContractDimensionList) Each ¶
func (l *ContractDimensionList) Each(f func(item *ContractDimension) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ContractDimensionList) Empty ¶
func (l *ContractDimensionList) Empty() bool
Empty returns true if the list is empty.
func (*ContractDimensionList) Get ¶
func (l *ContractDimensionList) Get(i int) *ContractDimension
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ContractDimensionList) Items ¶
func (l *ContractDimensionList) Items() []*ContractDimension
Items returns the items of the list.
func (*ContractDimensionList) Len ¶
func (l *ContractDimensionList) Len() int
Len returns the length of the list.
func (*ContractDimensionList) Range ¶
func (l *ContractDimensionList) Range(f func(index int, item *ContractDimension) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ContractDimensionList) SetHREF ¶
func (l *ContractDimensionList) SetHREF(href string)
Items sets the items of the list.
func (*ContractDimensionList) SetItems ¶
func (l *ContractDimensionList) SetItems(items []*ContractDimension)
Items sets the items of the list.
func (*ContractDimensionList) SetLink ¶
func (l *ContractDimensionList) SetLink(link bool)
Items sets the items of the list.
func (*ContractDimensionList) Slice ¶
func (l *ContractDimensionList) Slice() []*ContractDimension
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ContractDimensionListBuilder ¶
type ContractDimensionListBuilder struct {
// contains filtered or unexported fields
}
ContractDimensionListBuilder contains the data and logic needed to build 'contract_dimension' objects.
func NewContractDimensionList ¶
func NewContractDimensionList() *ContractDimensionListBuilder
NewContractDimensionList creates a new builder of 'contract_dimension' objects.
func (*ContractDimensionListBuilder) Build ¶
func (b *ContractDimensionListBuilder) Build() (list *ContractDimensionList, err error)
Build creates a list of 'contract_dimension' objects using the configuration stored in the builder.
func (*ContractDimensionListBuilder) Copy ¶
func (b *ContractDimensionListBuilder) Copy(list *ContractDimensionList) *ContractDimensionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ContractDimensionListBuilder) Empty ¶
func (b *ContractDimensionListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ContractDimensionListBuilder) Items ¶
func (b *ContractDimensionListBuilder) Items(values ...*ContractDimensionBuilder) *ContractDimensionListBuilder
Items sets the items of the list.
type ContractList ¶
type ContractList struct {
// contains filtered or unexported fields
}
ContractList is a list of values of the 'contract' type.
func (*ContractList) Each ¶
func (l *ContractList) Each(f func(item *Contract) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ContractList) Empty ¶
func (l *ContractList) Empty() bool
Empty returns true if the list is empty.
func (*ContractList) Get ¶
func (l *ContractList) Get(i int) *Contract
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ContractList) Items ¶
func (l *ContractList) Items() []*Contract
Items returns the items of the list.
func (*ContractList) Range ¶
func (l *ContractList) Range(f func(index int, item *Contract) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ContractList) SetHREF ¶
func (l *ContractList) SetHREF(href string)
Items sets the items of the list.
func (*ContractList) SetItems ¶
func (l *ContractList) SetItems(items []*Contract)
Items sets the items of the list.
func (*ContractList) SetLink ¶
func (l *ContractList) SetLink(link bool)
Items sets the items of the list.
func (*ContractList) Slice ¶
func (l *ContractList) Slice() []*Contract
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ContractListBuilder ¶
type ContractListBuilder struct {
// contains filtered or unexported fields
}
ContractListBuilder contains the data and logic needed to build 'contract' objects.
func NewContractList ¶
func NewContractList() *ContractListBuilder
NewContractList creates a new builder of 'contract' objects.
func (*ContractListBuilder) Build ¶
func (b *ContractListBuilder) Build() (list *ContractList, err error)
Build creates a list of 'contract' objects using the configuration stored in the builder.
func (*ContractListBuilder) Copy ¶
func (b *ContractListBuilder) Copy(list *ContractList) *ContractListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ContractListBuilder) Empty ¶
func (b *ContractListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ContractListBuilder) Items ¶
func (b *ContractListBuilder) Items(values ...*ContractBuilder) *ContractListBuilder
Items sets the items of the list.
type DefaultCapability ¶
type DefaultCapability struct {
// contains filtered or unexported fields
}
DefaultCapability represents the values of the 'default_capability' type.
func ReadDefaultCapability ¶
func ReadDefaultCapability(iterator *jsoniter.Iterator) *DefaultCapability
ReadDefaultCapability reads a value of the 'default_capability' type from the given iterator.
func ReadDefaultCapabilityList ¶
func ReadDefaultCapabilityList(iterator *jsoniter.Iterator) []*DefaultCapability
ReadDefaultCapabilityList reads list of values of the ”default_capability' type from the given iterator.
func UnmarshalDefaultCapability ¶
func UnmarshalDefaultCapability(source interface{}) (object *DefaultCapability, err error)
UnmarshalDefaultCapability reads a value of the 'default_capability' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalDefaultCapabilityList ¶
func UnmarshalDefaultCapabilityList(source interface{}) (items []*DefaultCapability, err error)
UnmarshalDefaultCapabilityList reads a list of values of the 'default_capability' type from the given source, which can be a slice of bytes, a string or a reader.
func (*DefaultCapability) Empty ¶
func (o *DefaultCapability) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*DefaultCapability) GetName ¶
func (o *DefaultCapability) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the default capability (the key).
func (*DefaultCapability) GetValue ¶
func (o *DefaultCapability) GetValue() (value string, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
Value of the default capability.
func (*DefaultCapability) Name ¶
func (o *DefaultCapability) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the default capability (the key).
func (*DefaultCapability) Value ¶
func (o *DefaultCapability) Value() string
Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.
Value of the default capability.
type DefaultCapabilityBuilder ¶
type DefaultCapabilityBuilder struct {
// contains filtered or unexported fields
}
func NewDefaultCapability ¶
func NewDefaultCapability() *DefaultCapabilityBuilder
NewDefaultCapability creates a new builder of 'default_capability' objects.
func (*DefaultCapabilityBuilder) Build ¶
func (b *DefaultCapabilityBuilder) Build() (object *DefaultCapability, err error)
Build creates a 'default_capability' object using the configuration stored in the builder.
func (*DefaultCapabilityBuilder) Copy ¶
func (b *DefaultCapabilityBuilder) Copy(object *DefaultCapability) *DefaultCapabilityBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*DefaultCapabilityBuilder) Empty ¶
func (b *DefaultCapabilityBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*DefaultCapabilityBuilder) Name ¶
func (b *DefaultCapabilityBuilder) Name(value string) *DefaultCapabilityBuilder
Name sets the value of the 'name' attribute to the given value.
func (*DefaultCapabilityBuilder) Value ¶
func (b *DefaultCapabilityBuilder) Value(value string) *DefaultCapabilityBuilder
Value sets the value of the 'value' attribute to the given value.
type DefaultCapabilityList ¶
type DefaultCapabilityList struct {
// contains filtered or unexported fields
}
DefaultCapabilityList is a list of values of the 'default_capability' type.
func (*DefaultCapabilityList) Each ¶
func (l *DefaultCapabilityList) Each(f func(item *DefaultCapability) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*DefaultCapabilityList) Empty ¶
func (l *DefaultCapabilityList) Empty() bool
Empty returns true if the list is empty.
func (*DefaultCapabilityList) Get ¶
func (l *DefaultCapabilityList) Get(i int) *DefaultCapability
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*DefaultCapabilityList) Items ¶
func (l *DefaultCapabilityList) Items() []*DefaultCapability
Items returns the items of the list.
func (*DefaultCapabilityList) Len ¶
func (l *DefaultCapabilityList) Len() int
Len returns the length of the list.
func (*DefaultCapabilityList) Range ¶
func (l *DefaultCapabilityList) Range(f func(index int, item *DefaultCapability) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*DefaultCapabilityList) SetHREF ¶
func (l *DefaultCapabilityList) SetHREF(href string)
Items sets the items of the list.
func (*DefaultCapabilityList) SetItems ¶
func (l *DefaultCapabilityList) SetItems(items []*DefaultCapability)
Items sets the items of the list.
func (*DefaultCapabilityList) SetLink ¶
func (l *DefaultCapabilityList) SetLink(link bool)
Items sets the items of the list.
func (*DefaultCapabilityList) Slice ¶
func (l *DefaultCapabilityList) Slice() []*DefaultCapability
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type DefaultCapabilityListBuilder ¶
type DefaultCapabilityListBuilder struct {
// contains filtered or unexported fields
}
DefaultCapabilityListBuilder contains the data and logic needed to build 'default_capability' objects.
func NewDefaultCapabilityList ¶
func NewDefaultCapabilityList() *DefaultCapabilityListBuilder
NewDefaultCapabilityList creates a new builder of 'default_capability' objects.
func (*DefaultCapabilityListBuilder) Build ¶
func (b *DefaultCapabilityListBuilder) Build() (list *DefaultCapabilityList, err error)
Build creates a list of 'default_capability' objects using the configuration stored in the builder.
func (*DefaultCapabilityListBuilder) Copy ¶
func (b *DefaultCapabilityListBuilder) Copy(list *DefaultCapabilityList) *DefaultCapabilityListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*DefaultCapabilityListBuilder) Empty ¶
func (b *DefaultCapabilityListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*DefaultCapabilityListBuilder) Items ¶
func (b *DefaultCapabilityListBuilder) Items(values ...*DefaultCapabilityBuilder) *DefaultCapabilityListBuilder
Items sets the items of the list.
type DeletedSubscription ¶
type DeletedSubscription struct {
// contains filtered or unexported fields
}
DeletedSubscription represents the values of the 'deleted_subscription' type.
func ReadDeletedSubscription ¶
func ReadDeletedSubscription(iterator *jsoniter.Iterator) *DeletedSubscription
ReadDeletedSubscription reads a value of the 'deleted_subscription' type from the given iterator.
func ReadDeletedSubscriptionList ¶
func ReadDeletedSubscriptionList(iterator *jsoniter.Iterator) []*DeletedSubscription
ReadDeletedSubscriptionList reads list of values of the ”deleted_subscription' type from the given iterator.
func UnmarshalDeletedSubscription ¶
func UnmarshalDeletedSubscription(source interface{}) (object *DeletedSubscription, err error)
UnmarshalDeletedSubscription reads a value of the 'deleted_subscription' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalDeletedSubscriptionList ¶
func UnmarshalDeletedSubscriptionList(source interface{}) (items []*DeletedSubscription, err error)
UnmarshalDeletedSubscriptionList reads a list of values of the 'deleted_subscription' type from the given source, which can be a slice of bytes, a string or a reader.
func (*DeletedSubscription) BillingExpirationDate ¶
func (o *DeletedSubscription) BillingExpirationDate() time.Time
BillingExpirationDate returns the value of the 'billing_expiration_date' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) BillingMarketplaceAccount ¶
func (o *DeletedSubscription) BillingMarketplaceAccount() string
BillingMarketplaceAccount returns the value of the 'billing_marketplace_account' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) CloudAccountID ¶
func (o *DeletedSubscription) CloudAccountID() string
CloudAccountID returns the value of the 'cloud_account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) CloudProviderID ¶
func (o *DeletedSubscription) CloudProviderID() string
CloudProviderID returns the value of the 'cloud_provider_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) ClusterBillingModel ¶
func (o *DeletedSubscription) ClusterBillingModel() BillingModel
ClusterBillingModel returns the value of the 'cluster_billing_model' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) ClusterID ¶
func (o *DeletedSubscription) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) ConsoleURL ¶
func (o *DeletedSubscription) ConsoleURL() string
ConsoleURL returns the value of the 'console_URL' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) ConsumerUUID ¶
func (o *DeletedSubscription) ConsumerUUID() string
ConsumerUUID returns the value of the 'consumer_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) CpuTotal ¶
func (o *DeletedSubscription) CpuTotal() int
CpuTotal returns the value of the 'cpu_total' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) CreatedAt ¶
func (o *DeletedSubscription) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) CreatorId ¶
func (o *DeletedSubscription) CreatorId() string
CreatorId returns the value of the 'creator_id' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) DisplayName ¶
func (o *DeletedSubscription) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) Empty ¶
func (o *DeletedSubscription) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*DeletedSubscription) ExternalClusterID ¶
func (o *DeletedSubscription) ExternalClusterID() string
ExternalClusterID returns the value of the 'external_cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) GetBillingExpirationDate ¶
func (o *DeletedSubscription) GetBillingExpirationDate() (value time.Time, ok bool)
GetBillingExpirationDate returns the value of the 'billing_expiration_date' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetBillingMarketplaceAccount ¶
func (o *DeletedSubscription) GetBillingMarketplaceAccount() (value string, ok bool)
GetBillingMarketplaceAccount returns the value of the 'billing_marketplace_account' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetCloudAccountID ¶
func (o *DeletedSubscription) GetCloudAccountID() (value string, ok bool)
GetCloudAccountID returns the value of the 'cloud_account_ID' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetCloudProviderID ¶
func (o *DeletedSubscription) GetCloudProviderID() (value string, ok bool)
GetCloudProviderID returns the value of the 'cloud_provider_ID' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetClusterBillingModel ¶
func (o *DeletedSubscription) GetClusterBillingModel() (value BillingModel, ok bool)
GetClusterBillingModel returns the value of the 'cluster_billing_model' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetClusterID ¶
func (o *DeletedSubscription) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetConsoleURL ¶
func (o *DeletedSubscription) GetConsoleURL() (value string, ok bool)
GetConsoleURL returns the value of the 'console_URL' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetConsumerUUID ¶
func (o *DeletedSubscription) GetConsumerUUID() (value string, ok bool)
GetConsumerUUID returns the value of the 'consumer_UUID' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetCpuTotal ¶
func (o *DeletedSubscription) GetCpuTotal() (value int, ok bool)
GetCpuTotal returns the value of the 'cpu_total' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetCreatedAt ¶
func (o *DeletedSubscription) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetCreatorId ¶
func (o *DeletedSubscription) GetCreatorId() (value string, ok bool)
GetCreatorId returns the value of the 'creator_id' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetDisplayName ¶
func (o *DeletedSubscription) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetExternalClusterID ¶
func (o *DeletedSubscription) GetExternalClusterID() (value string, ok bool)
GetExternalClusterID returns the value of the 'external_cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetHREF ¶
func (o *DeletedSubscription) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*DeletedSubscription) GetID ¶
func (o *DeletedSubscription) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*DeletedSubscription) GetLastReconcileDate ¶
func (o *DeletedSubscription) GetLastReconcileDate() (value time.Time, ok bool)
GetLastReconcileDate returns the value of the 'last_reconcile_date' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetLastReleasedAt ¶
func (o *DeletedSubscription) GetLastReleasedAt() (value time.Time, ok bool)
GetLastReleasedAt returns the value of the 'last_released_at' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetLastTelemetryDate ¶
func (o *DeletedSubscription) GetLastTelemetryDate() (value time.Time, ok bool)
GetLastTelemetryDate returns the value of the 'last_telemetry_date' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetManaged ¶
func (o *DeletedSubscription) GetManaged() (value bool, ok bool)
GetManaged returns the value of the 'managed' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetMetrics ¶
func (o *DeletedSubscription) GetMetrics() (value string, ok bool)
GetMetrics returns the value of the 'metrics' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetOrganizationID ¶
func (o *DeletedSubscription) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetPlanID ¶
func (o *DeletedSubscription) GetPlanID() (value string, ok bool)
GetPlanID returns the value of the 'plan_ID' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetProductBundle ¶
func (o *DeletedSubscription) GetProductBundle() (value string, ok bool)
GetProductBundle returns the value of the 'product_bundle' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetProvenance ¶
func (o *DeletedSubscription) GetProvenance() (value string, ok bool)
GetProvenance returns the value of the 'provenance' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetQueryTimestamp ¶
func (o *DeletedSubscription) GetQueryTimestamp() (value time.Time, ok bool)
GetQueryTimestamp returns the value of the 'query_timestamp' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetRegionID ¶
func (o *DeletedSubscription) GetRegionID() (value string, ok bool)
GetRegionID returns the value of the 'region_ID' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetReleased ¶
func (o *DeletedSubscription) GetReleased() (value bool, ok bool)
GetReleased returns the value of the 'released' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetServiceLevel ¶
func (o *DeletedSubscription) GetServiceLevel() (value string, ok bool)
GetServiceLevel returns the value of the 'service_level' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetSocketTotal ¶
func (o *DeletedSubscription) GetSocketTotal() (value int, ok bool)
GetSocketTotal returns the value of the 'socket_total' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetStatus ¶
func (o *DeletedSubscription) GetStatus() (value string, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetSupportLevel ¶
func (o *DeletedSubscription) GetSupportLevel() (value string, ok bool)
GetSupportLevel returns the value of the 'support_level' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetSystemUnits ¶
func (o *DeletedSubscription) GetSystemUnits() (value string, ok bool)
GetSystemUnits returns the value of the 'system_units' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetTrialEndDate ¶
func (o *DeletedSubscription) GetTrialEndDate() (value time.Time, ok bool)
GetTrialEndDate returns the value of the 'trial_end_date' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) GetUsage ¶
func (o *DeletedSubscription) GetUsage() (value string, ok bool)
GetUsage returns the value of the 'usage' attribute and a flag indicating if the attribute has a value.
func (*DeletedSubscription) HREF ¶
func (o *DeletedSubscription) HREF() string
HREF returns the link to the object.
func (*DeletedSubscription) ID ¶
func (o *DeletedSubscription) ID() string
ID returns the identifier of the object.
func (*DeletedSubscription) Kind ¶
func (o *DeletedSubscription) Kind() string
Kind returns the name of the type of the object.
func (*DeletedSubscription) LastReconcileDate ¶
func (o *DeletedSubscription) LastReconcileDate() time.Time
LastReconcileDate returns the value of the 'last_reconcile_date' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) LastReleasedAt ¶
func (o *DeletedSubscription) LastReleasedAt() time.Time
LastReleasedAt returns the value of the 'last_released_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) LastTelemetryDate ¶
func (o *DeletedSubscription) LastTelemetryDate() time.Time
LastTelemetryDate returns the value of the 'last_telemetry_date' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) Link ¶
func (o *DeletedSubscription) Link() bool
Link returns true if this is a link.
func (*DeletedSubscription) Managed ¶
func (o *DeletedSubscription) Managed() bool
Managed returns the value of the 'managed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) Metrics ¶
func (o *DeletedSubscription) Metrics() string
Metrics returns the value of the 'metrics' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) OrganizationID ¶
func (o *DeletedSubscription) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) PlanID ¶
func (o *DeletedSubscription) PlanID() string
PlanID returns the value of the 'plan_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) ProductBundle ¶
func (o *DeletedSubscription) ProductBundle() string
ProductBundle returns the value of the 'product_bundle' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) Provenance ¶
func (o *DeletedSubscription) Provenance() string
Provenance returns the value of the 'provenance' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) QueryTimestamp ¶
func (o *DeletedSubscription) QueryTimestamp() time.Time
QueryTimestamp returns the value of the 'query_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) RegionID ¶
func (o *DeletedSubscription) RegionID() string
RegionID returns the value of the 'region_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) Released ¶
func (o *DeletedSubscription) Released() bool
Released returns the value of the 'released' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) ServiceLevel ¶
func (o *DeletedSubscription) ServiceLevel() string
ServiceLevel returns the value of the 'service_level' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) SocketTotal ¶
func (o *DeletedSubscription) SocketTotal() int
SocketTotal returns the value of the 'socket_total' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) Status ¶
func (o *DeletedSubscription) Status() string
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) SupportLevel ¶
func (o *DeletedSubscription) SupportLevel() string
SupportLevel returns the value of the 'support_level' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) SystemUnits ¶
func (o *DeletedSubscription) SystemUnits() string
SystemUnits returns the value of the 'system_units' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) TrialEndDate ¶
func (o *DeletedSubscription) TrialEndDate() time.Time
TrialEndDate returns the value of the 'trial_end_date' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*DeletedSubscription) Usage ¶
func (o *DeletedSubscription) Usage() string
Usage returns the value of the 'usage' attribute, or the zero value of the type if the attribute doesn't have a value.
type DeletedSubscriptionBuilder ¶
type DeletedSubscriptionBuilder struct {
// contains filtered or unexported fields
}
func NewDeletedSubscription ¶
func NewDeletedSubscription() *DeletedSubscriptionBuilder
NewDeletedSubscription creates a new builder of 'deleted_subscription' objects.
func (*DeletedSubscriptionBuilder) BillingExpirationDate ¶
func (b *DeletedSubscriptionBuilder) BillingExpirationDate(value time.Time) *DeletedSubscriptionBuilder
BillingExpirationDate sets the value of the 'billing_expiration_date' attribute to the given value.
func (*DeletedSubscriptionBuilder) BillingMarketplaceAccount ¶
func (b *DeletedSubscriptionBuilder) BillingMarketplaceAccount(value string) *DeletedSubscriptionBuilder
BillingMarketplaceAccount sets the value of the 'billing_marketplace_account' attribute to the given value.
func (*DeletedSubscriptionBuilder) Build ¶
func (b *DeletedSubscriptionBuilder) Build() (object *DeletedSubscription, err error)
Build creates a 'deleted_subscription' object using the configuration stored in the builder.
func (*DeletedSubscriptionBuilder) CloudAccountID ¶
func (b *DeletedSubscriptionBuilder) CloudAccountID(value string) *DeletedSubscriptionBuilder
CloudAccountID sets the value of the 'cloud_account_ID' attribute to the given value.
func (*DeletedSubscriptionBuilder) CloudProviderID ¶
func (b *DeletedSubscriptionBuilder) CloudProviderID(value string) *DeletedSubscriptionBuilder
CloudProviderID sets the value of the 'cloud_provider_ID' attribute to the given value.
func (*DeletedSubscriptionBuilder) ClusterBillingModel ¶
func (b *DeletedSubscriptionBuilder) ClusterBillingModel(value BillingModel) *DeletedSubscriptionBuilder
ClusterBillingModel sets the value of the 'cluster_billing_model' attribute to the given value.
Billing model for subscripiton and reserved_resource resources.
func (*DeletedSubscriptionBuilder) ClusterID ¶
func (b *DeletedSubscriptionBuilder) ClusterID(value string) *DeletedSubscriptionBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*DeletedSubscriptionBuilder) ConsoleURL ¶
func (b *DeletedSubscriptionBuilder) ConsoleURL(value string) *DeletedSubscriptionBuilder
ConsoleURL sets the value of the 'console_URL' attribute to the given value.
func (*DeletedSubscriptionBuilder) ConsumerUUID ¶
func (b *DeletedSubscriptionBuilder) ConsumerUUID(value string) *DeletedSubscriptionBuilder
ConsumerUUID sets the value of the 'consumer_UUID' attribute to the given value.
func (*DeletedSubscriptionBuilder) Copy ¶
func (b *DeletedSubscriptionBuilder) Copy(object *DeletedSubscription) *DeletedSubscriptionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*DeletedSubscriptionBuilder) CpuTotal ¶
func (b *DeletedSubscriptionBuilder) CpuTotal(value int) *DeletedSubscriptionBuilder
CpuTotal sets the value of the 'cpu_total' attribute to the given value.
func (*DeletedSubscriptionBuilder) CreatedAt ¶
func (b *DeletedSubscriptionBuilder) CreatedAt(value time.Time) *DeletedSubscriptionBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*DeletedSubscriptionBuilder) CreatorId ¶
func (b *DeletedSubscriptionBuilder) CreatorId(value string) *DeletedSubscriptionBuilder
CreatorId sets the value of the 'creator_id' attribute to the given value.
func (*DeletedSubscriptionBuilder) DisplayName ¶
func (b *DeletedSubscriptionBuilder) DisplayName(value string) *DeletedSubscriptionBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*DeletedSubscriptionBuilder) Empty ¶
func (b *DeletedSubscriptionBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*DeletedSubscriptionBuilder) ExternalClusterID ¶
func (b *DeletedSubscriptionBuilder) ExternalClusterID(value string) *DeletedSubscriptionBuilder
ExternalClusterID sets the value of the 'external_cluster_ID' attribute to the given value.
func (*DeletedSubscriptionBuilder) HREF ¶
func (b *DeletedSubscriptionBuilder) HREF(value string) *DeletedSubscriptionBuilder
HREF sets the link to the object.
func (*DeletedSubscriptionBuilder) ID ¶
func (b *DeletedSubscriptionBuilder) ID(value string) *DeletedSubscriptionBuilder
ID sets the identifier of the object.
func (*DeletedSubscriptionBuilder) LastReconcileDate ¶
func (b *DeletedSubscriptionBuilder) LastReconcileDate(value time.Time) *DeletedSubscriptionBuilder
LastReconcileDate sets the value of the 'last_reconcile_date' attribute to the given value.
func (*DeletedSubscriptionBuilder) LastReleasedAt ¶
func (b *DeletedSubscriptionBuilder) LastReleasedAt(value time.Time) *DeletedSubscriptionBuilder
LastReleasedAt sets the value of the 'last_released_at' attribute to the given value.
func (*DeletedSubscriptionBuilder) LastTelemetryDate ¶
func (b *DeletedSubscriptionBuilder) LastTelemetryDate(value time.Time) *DeletedSubscriptionBuilder
LastTelemetryDate sets the value of the 'last_telemetry_date' attribute to the given value.
func (*DeletedSubscriptionBuilder) Link ¶
func (b *DeletedSubscriptionBuilder) Link(value bool) *DeletedSubscriptionBuilder
Link sets the flag that indicates if this is a link.
func (*DeletedSubscriptionBuilder) Managed ¶
func (b *DeletedSubscriptionBuilder) Managed(value bool) *DeletedSubscriptionBuilder
Managed sets the value of the 'managed' attribute to the given value.
func (*DeletedSubscriptionBuilder) Metrics ¶
func (b *DeletedSubscriptionBuilder) Metrics(value string) *DeletedSubscriptionBuilder
Metrics sets the value of the 'metrics' attribute to the given value.
func (*DeletedSubscriptionBuilder) OrganizationID ¶
func (b *DeletedSubscriptionBuilder) OrganizationID(value string) *DeletedSubscriptionBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*DeletedSubscriptionBuilder) PlanID ¶
func (b *DeletedSubscriptionBuilder) PlanID(value string) *DeletedSubscriptionBuilder
PlanID sets the value of the 'plan_ID' attribute to the given value.
func (*DeletedSubscriptionBuilder) ProductBundle ¶
func (b *DeletedSubscriptionBuilder) ProductBundle(value string) *DeletedSubscriptionBuilder
ProductBundle sets the value of the 'product_bundle' attribute to the given value.
func (*DeletedSubscriptionBuilder) Provenance ¶
func (b *DeletedSubscriptionBuilder) Provenance(value string) *DeletedSubscriptionBuilder
Provenance sets the value of the 'provenance' attribute to the given value.
func (*DeletedSubscriptionBuilder) QueryTimestamp ¶
func (b *DeletedSubscriptionBuilder) QueryTimestamp(value time.Time) *DeletedSubscriptionBuilder
QueryTimestamp sets the value of the 'query_timestamp' attribute to the given value.
func (*DeletedSubscriptionBuilder) RegionID ¶
func (b *DeletedSubscriptionBuilder) RegionID(value string) *DeletedSubscriptionBuilder
RegionID sets the value of the 'region_ID' attribute to the given value.
func (*DeletedSubscriptionBuilder) Released ¶
func (b *DeletedSubscriptionBuilder) Released(value bool) *DeletedSubscriptionBuilder
Released sets the value of the 'released' attribute to the given value.
func (*DeletedSubscriptionBuilder) ServiceLevel ¶
func (b *DeletedSubscriptionBuilder) ServiceLevel(value string) *DeletedSubscriptionBuilder
ServiceLevel sets the value of the 'service_level' attribute to the given value.
func (*DeletedSubscriptionBuilder) SocketTotal ¶
func (b *DeletedSubscriptionBuilder) SocketTotal(value int) *DeletedSubscriptionBuilder
SocketTotal sets the value of the 'socket_total' attribute to the given value.
func (*DeletedSubscriptionBuilder) Status ¶
func (b *DeletedSubscriptionBuilder) Status(value string) *DeletedSubscriptionBuilder
Status sets the value of the 'status' attribute to the given value.
func (*DeletedSubscriptionBuilder) SupportLevel ¶
func (b *DeletedSubscriptionBuilder) SupportLevel(value string) *DeletedSubscriptionBuilder
SupportLevel sets the value of the 'support_level' attribute to the given value.
func (*DeletedSubscriptionBuilder) SystemUnits ¶
func (b *DeletedSubscriptionBuilder) SystemUnits(value string) *DeletedSubscriptionBuilder
SystemUnits sets the value of the 'system_units' attribute to the given value.
func (*DeletedSubscriptionBuilder) TrialEndDate ¶
func (b *DeletedSubscriptionBuilder) TrialEndDate(value time.Time) *DeletedSubscriptionBuilder
TrialEndDate sets the value of the 'trial_end_date' attribute to the given value.
func (*DeletedSubscriptionBuilder) Usage ¶
func (b *DeletedSubscriptionBuilder) Usage(value string) *DeletedSubscriptionBuilder
Usage sets the value of the 'usage' attribute to the given value.
type DeletedSubscriptionList ¶
type DeletedSubscriptionList struct {
// contains filtered or unexported fields
}
DeletedSubscriptionList is a list of values of the 'deleted_subscription' type.
func (*DeletedSubscriptionList) Each ¶
func (l *DeletedSubscriptionList) Each(f func(item *DeletedSubscription) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*DeletedSubscriptionList) Empty ¶
func (l *DeletedSubscriptionList) Empty() bool
Empty returns true if the list is empty.
func (*DeletedSubscriptionList) Get ¶
func (l *DeletedSubscriptionList) Get(i int) *DeletedSubscription
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*DeletedSubscriptionList) GetHREF ¶
func (l *DeletedSubscriptionList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*DeletedSubscriptionList) HREF ¶
func (l *DeletedSubscriptionList) HREF() string
HREF returns the link to the list.
func (*DeletedSubscriptionList) Items ¶
func (l *DeletedSubscriptionList) Items() []*DeletedSubscription
Items returns the items of the list.
func (*DeletedSubscriptionList) Kind ¶
func (l *DeletedSubscriptionList) Kind() string
Kind returns the name of the type of the object.
func (*DeletedSubscriptionList) Len ¶
func (l *DeletedSubscriptionList) Len() int
Len returns the length of the list.
func (*DeletedSubscriptionList) Link ¶
func (l *DeletedSubscriptionList) Link() bool
Link returns true iif this is a link.
func (*DeletedSubscriptionList) Range ¶
func (l *DeletedSubscriptionList) Range(f func(index int, item *DeletedSubscription) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*DeletedSubscriptionList) SetHREF ¶
func (l *DeletedSubscriptionList) SetHREF(href string)
Items sets the items of the list.
func (*DeletedSubscriptionList) SetItems ¶
func (l *DeletedSubscriptionList) SetItems(items []*DeletedSubscription)
Items sets the items of the list.
func (*DeletedSubscriptionList) SetLink ¶
func (l *DeletedSubscriptionList) SetLink(link bool)
Items sets the items of the list.
func (*DeletedSubscriptionList) Slice ¶
func (l *DeletedSubscriptionList) Slice() []*DeletedSubscription
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type DeletedSubscriptionListBuilder ¶
type DeletedSubscriptionListBuilder struct {
// contains filtered or unexported fields
}
DeletedSubscriptionListBuilder contains the data and logic needed to build 'deleted_subscription' objects.
func NewDeletedSubscriptionList ¶
func NewDeletedSubscriptionList() *DeletedSubscriptionListBuilder
NewDeletedSubscriptionList creates a new builder of 'deleted_subscription' objects.
func (*DeletedSubscriptionListBuilder) Build ¶
func (b *DeletedSubscriptionListBuilder) Build() (list *DeletedSubscriptionList, err error)
Build creates a list of 'deleted_subscription' objects using the configuration stored in the builder.
func (*DeletedSubscriptionListBuilder) Copy ¶
func (b *DeletedSubscriptionListBuilder) Copy(list *DeletedSubscriptionList) *DeletedSubscriptionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*DeletedSubscriptionListBuilder) Empty ¶
func (b *DeletedSubscriptionListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*DeletedSubscriptionListBuilder) Items ¶
func (b *DeletedSubscriptionListBuilder) Items(values ...*DeletedSubscriptionBuilder) *DeletedSubscriptionListBuilder
Items sets the items of the list.
type FeatureToggle ¶
type FeatureToggle struct {
// contains filtered or unexported fields
}
FeatureToggle represents the values of the 'feature_toggle' type.
func ReadFeatureToggle ¶
func ReadFeatureToggle(iterator *jsoniter.Iterator) *FeatureToggle
ReadFeatureToggle reads a value of the 'feature_toggle' type from the given iterator.
func ReadFeatureToggleList ¶
func ReadFeatureToggleList(iterator *jsoniter.Iterator) []*FeatureToggle
ReadFeatureToggleList reads list of values of the ”feature_toggle' type from the given iterator.
func UnmarshalFeatureToggle ¶
func UnmarshalFeatureToggle(source interface{}) (object *FeatureToggle, err error)
UnmarshalFeatureToggle reads a value of the 'feature_toggle' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFeatureToggleList ¶
func UnmarshalFeatureToggleList(source interface{}) (items []*FeatureToggle, err error)
UnmarshalFeatureToggleList reads a list of values of the 'feature_toggle' type from the given source, which can be a slice of bytes, a string or a reader.
func (*FeatureToggle) Empty ¶
func (o *FeatureToggle) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*FeatureToggle) Enabled ¶
func (o *FeatureToggle) Enabled() bool
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FeatureToggle) GetEnabled ¶
func (o *FeatureToggle) GetEnabled() (value bool, ok bool)
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
func (*FeatureToggle) GetHREF ¶
func (o *FeatureToggle) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*FeatureToggle) GetID ¶
func (o *FeatureToggle) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*FeatureToggle) HREF ¶
func (o *FeatureToggle) HREF() string
HREF returns the link to the object.
func (*FeatureToggle) ID ¶
func (o *FeatureToggle) ID() string
ID returns the identifier of the object.
func (*FeatureToggle) Kind ¶
func (o *FeatureToggle) Kind() string
Kind returns the name of the type of the object.
func (*FeatureToggle) Link ¶
func (o *FeatureToggle) Link() bool
Link returns true if this is a link.
type FeatureToggleBuilder ¶
type FeatureToggleBuilder struct {
// contains filtered or unexported fields
}
func NewFeatureToggle ¶
func NewFeatureToggle() *FeatureToggleBuilder
NewFeatureToggle creates a new builder of 'feature_toggle' objects.
func (*FeatureToggleBuilder) Build ¶
func (b *FeatureToggleBuilder) Build() (object *FeatureToggle, err error)
Build creates a 'feature_toggle' object using the configuration stored in the builder.
func (*FeatureToggleBuilder) Copy ¶
func (b *FeatureToggleBuilder) Copy(object *FeatureToggle) *FeatureToggleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FeatureToggleBuilder) Empty ¶
func (b *FeatureToggleBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*FeatureToggleBuilder) Enabled ¶
func (b *FeatureToggleBuilder) Enabled(value bool) *FeatureToggleBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*FeatureToggleBuilder) HREF ¶
func (b *FeatureToggleBuilder) HREF(value string) *FeatureToggleBuilder
HREF sets the link to the object.
func (*FeatureToggleBuilder) ID ¶
func (b *FeatureToggleBuilder) ID(value string) *FeatureToggleBuilder
ID sets the identifier of the object.
func (*FeatureToggleBuilder) Link ¶
func (b *FeatureToggleBuilder) Link(value bool) *FeatureToggleBuilder
Link sets the flag that indicates if this is a link.
type FeatureToggleList ¶
type FeatureToggleList struct {
// contains filtered or unexported fields
}
FeatureToggleList is a list of values of the 'feature_toggle' type.
func (*FeatureToggleList) Each ¶
func (l *FeatureToggleList) Each(f func(item *FeatureToggle) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FeatureToggleList) Empty ¶
func (l *FeatureToggleList) Empty() bool
Empty returns true if the list is empty.
func (*FeatureToggleList) Get ¶
func (l *FeatureToggleList) Get(i int) *FeatureToggle
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FeatureToggleList) GetHREF ¶
func (l *FeatureToggleList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*FeatureToggleList) HREF ¶
func (l *FeatureToggleList) HREF() string
HREF returns the link to the list.
func (*FeatureToggleList) Items ¶
func (l *FeatureToggleList) Items() []*FeatureToggle
Items returns the items of the list.
func (*FeatureToggleList) Kind ¶
func (l *FeatureToggleList) Kind() string
Kind returns the name of the type of the object.
func (*FeatureToggleList) Len ¶
func (l *FeatureToggleList) Len() int
Len returns the length of the list.
func (*FeatureToggleList) Link ¶
func (l *FeatureToggleList) Link() bool
Link returns true iif this is a link.
func (*FeatureToggleList) Range ¶
func (l *FeatureToggleList) Range(f func(index int, item *FeatureToggle) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FeatureToggleList) SetHREF ¶
func (l *FeatureToggleList) SetHREF(href string)
Items sets the items of the list.
func (*FeatureToggleList) SetItems ¶
func (l *FeatureToggleList) SetItems(items []*FeatureToggle)
Items sets the items of the list.
func (*FeatureToggleList) SetLink ¶
func (l *FeatureToggleList) SetLink(link bool)
Items sets the items of the list.
func (*FeatureToggleList) Slice ¶
func (l *FeatureToggleList) Slice() []*FeatureToggle
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type FeatureToggleListBuilder ¶
type FeatureToggleListBuilder struct {
// contains filtered or unexported fields
}
FeatureToggleListBuilder contains the data and logic needed to build 'feature_toggle' objects.
func NewFeatureToggleList ¶
func NewFeatureToggleList() *FeatureToggleListBuilder
NewFeatureToggleList creates a new builder of 'feature_toggle' objects.
func (*FeatureToggleListBuilder) Build ¶
func (b *FeatureToggleListBuilder) Build() (list *FeatureToggleList, err error)
Build creates a list of 'feature_toggle' objects using the configuration stored in the builder.
func (*FeatureToggleListBuilder) Copy ¶
func (b *FeatureToggleListBuilder) Copy(list *FeatureToggleList) *FeatureToggleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FeatureToggleListBuilder) Empty ¶
func (b *FeatureToggleListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*FeatureToggleListBuilder) Items ¶
func (b *FeatureToggleListBuilder) Items(values ...*FeatureToggleBuilder) *FeatureToggleListBuilder
Items sets the items of the list.
type FeatureToggleQueryRequest ¶
type FeatureToggleQueryRequest struct {
// contains filtered or unexported fields
}
FeatureToggleQueryRequest represents the values of the 'feature_toggle_query_request' type.
func ReadFeatureToggleQueryRequest ¶
func ReadFeatureToggleQueryRequest(iterator *jsoniter.Iterator) *FeatureToggleQueryRequest
ReadFeatureToggleQueryRequest reads a value of the 'feature_toggle_query_request' type from the given iterator.
func ReadFeatureToggleQueryRequestList ¶
func ReadFeatureToggleQueryRequestList(iterator *jsoniter.Iterator) []*FeatureToggleQueryRequest
ReadFeatureToggleQueryRequestList reads list of values of the ”feature_toggle_query_request' type from the given iterator.
func UnmarshalFeatureToggleQueryRequest ¶
func UnmarshalFeatureToggleQueryRequest(source interface{}) (object *FeatureToggleQueryRequest, err error)
UnmarshalFeatureToggleQueryRequest reads a value of the 'feature_toggle_query_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFeatureToggleQueryRequestList ¶
func UnmarshalFeatureToggleQueryRequestList(source interface{}) (items []*FeatureToggleQueryRequest, err error)
UnmarshalFeatureToggleQueryRequestList reads a list of values of the 'feature_toggle_query_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*FeatureToggleQueryRequest) Empty ¶
func (o *FeatureToggleQueryRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*FeatureToggleQueryRequest) GetOrganizationID ¶
func (o *FeatureToggleQueryRequest) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*FeatureToggleQueryRequest) OrganizationID ¶
func (o *FeatureToggleQueryRequest) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
type FeatureToggleQueryRequestBuilder ¶
type FeatureToggleQueryRequestBuilder struct {
// contains filtered or unexported fields
}
func NewFeatureToggleQueryRequest ¶
func NewFeatureToggleQueryRequest() *FeatureToggleQueryRequestBuilder
NewFeatureToggleQueryRequest creates a new builder of 'feature_toggle_query_request' objects.
func (*FeatureToggleQueryRequestBuilder) Build ¶
func (b *FeatureToggleQueryRequestBuilder) Build() (object *FeatureToggleQueryRequest, err error)
Build creates a 'feature_toggle_query_request' object using the configuration stored in the builder.
func (*FeatureToggleQueryRequestBuilder) Copy ¶
func (b *FeatureToggleQueryRequestBuilder) Copy(object *FeatureToggleQueryRequest) *FeatureToggleQueryRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FeatureToggleQueryRequestBuilder) Empty ¶
func (b *FeatureToggleQueryRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*FeatureToggleQueryRequestBuilder) OrganizationID ¶
func (b *FeatureToggleQueryRequestBuilder) OrganizationID(value string) *FeatureToggleQueryRequestBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
type FeatureToggleQueryRequestList ¶
type FeatureToggleQueryRequestList struct {
// contains filtered or unexported fields
}
FeatureToggleQueryRequestList is a list of values of the 'feature_toggle_query_request' type.
func (*FeatureToggleQueryRequestList) Each ¶
func (l *FeatureToggleQueryRequestList) Each(f func(item *FeatureToggleQueryRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FeatureToggleQueryRequestList) Empty ¶
func (l *FeatureToggleQueryRequestList) Empty() bool
Empty returns true if the list is empty.
func (*FeatureToggleQueryRequestList) Get ¶
func (l *FeatureToggleQueryRequestList) Get(i int) *FeatureToggleQueryRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FeatureToggleQueryRequestList) Items ¶
func (l *FeatureToggleQueryRequestList) Items() []*FeatureToggleQueryRequest
Items returns the items of the list.
func (*FeatureToggleQueryRequestList) Len ¶
func (l *FeatureToggleQueryRequestList) Len() int
Len returns the length of the list.
func (*FeatureToggleQueryRequestList) Range ¶
func (l *FeatureToggleQueryRequestList) Range(f func(index int, item *FeatureToggleQueryRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FeatureToggleQueryRequestList) SetHREF ¶
func (l *FeatureToggleQueryRequestList) SetHREF(href string)
Items sets the items of the list.
func (*FeatureToggleQueryRequestList) SetItems ¶
func (l *FeatureToggleQueryRequestList) SetItems(items []*FeatureToggleQueryRequest)
Items sets the items of the list.
func (*FeatureToggleQueryRequestList) SetLink ¶
func (l *FeatureToggleQueryRequestList) SetLink(link bool)
Items sets the items of the list.
func (*FeatureToggleQueryRequestList) Slice ¶
func (l *FeatureToggleQueryRequestList) Slice() []*FeatureToggleQueryRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type FeatureToggleQueryRequestListBuilder ¶
type FeatureToggleQueryRequestListBuilder struct {
// contains filtered or unexported fields
}
FeatureToggleQueryRequestListBuilder contains the data and logic needed to build 'feature_toggle_query_request' objects.
func NewFeatureToggleQueryRequestList ¶
func NewFeatureToggleQueryRequestList() *FeatureToggleQueryRequestListBuilder
NewFeatureToggleQueryRequestList creates a new builder of 'feature_toggle_query_request' objects.
func (*FeatureToggleQueryRequestListBuilder) Build ¶
func (b *FeatureToggleQueryRequestListBuilder) Build() (list *FeatureToggleQueryRequestList, err error)
Build creates a list of 'feature_toggle_query_request' objects using the configuration stored in the builder.
func (*FeatureToggleQueryRequestListBuilder) Copy ¶
func (b *FeatureToggleQueryRequestListBuilder) Copy(list *FeatureToggleQueryRequestList) *FeatureToggleQueryRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FeatureToggleQueryRequestListBuilder) Empty ¶
func (b *FeatureToggleQueryRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*FeatureToggleQueryRequestListBuilder) Items ¶
func (b *FeatureToggleQueryRequestListBuilder) Items(values ...*FeatureToggleQueryRequestBuilder) *FeatureToggleQueryRequestListBuilder
Items sets the items of the list.
type GenericNotifyDetailsResponse ¶
type GenericNotifyDetailsResponse struct {
// contains filtered or unexported fields
}
GenericNotifyDetailsResponse represents the values of the 'generic_notify_details_response' type.
class that defines notify details response in general.
func ReadGenericNotifyDetailsResponse ¶
func ReadGenericNotifyDetailsResponse(iterator *jsoniter.Iterator) *GenericNotifyDetailsResponse
ReadGenericNotifyDetailsResponse reads a value of the 'generic_notify_details_response' type from the given iterator.
func ReadGenericNotifyDetailsResponseList ¶
func ReadGenericNotifyDetailsResponseList(iterator *jsoniter.Iterator) []*GenericNotifyDetailsResponse
ReadGenericNotifyDetailsResponseList reads list of values of the ”generic_notify_details_response' type from the given iterator.
func UnmarshalGenericNotifyDetailsResponse ¶
func UnmarshalGenericNotifyDetailsResponse(source interface{}) (object *GenericNotifyDetailsResponse, err error)
UnmarshalGenericNotifyDetailsResponse reads a value of the 'generic_notify_details_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalGenericNotifyDetailsResponseList ¶
func UnmarshalGenericNotifyDetailsResponseList(source interface{}) (items []*GenericNotifyDetailsResponse, err error)
UnmarshalGenericNotifyDetailsResponseList reads a list of values of the 'generic_notify_details_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*GenericNotifyDetailsResponse) Associates ¶
func (o *GenericNotifyDetailsResponse) Associates() []string
Associates returns the value of the 'associates' attribute, or the zero value of the type if the attribute doesn't have a value.
Retrieved List of associates email address.
func (*GenericNotifyDetailsResponse) Empty ¶
func (o *GenericNotifyDetailsResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*GenericNotifyDetailsResponse) GetAssociates ¶
func (o *GenericNotifyDetailsResponse) GetAssociates() (value []string, ok bool)
GetAssociates returns the value of the 'associates' attribute and a flag indicating if the attribute has a value.
Retrieved List of associates email address.
func (*GenericNotifyDetailsResponse) GetHREF ¶
func (o *GenericNotifyDetailsResponse) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*GenericNotifyDetailsResponse) GetID ¶
func (o *GenericNotifyDetailsResponse) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*GenericNotifyDetailsResponse) GetItems ¶
func (o *GenericNotifyDetailsResponse) GetItems() (value []*NotificationDetailsResponse, ok bool)
GetItems returns the value of the 'items' attribute and a flag indicating if the attribute has a value.
Retrieved list of additional notify details parameters key-value.
func (*GenericNotifyDetailsResponse) GetRecipients ¶
func (o *GenericNotifyDetailsResponse) GetRecipients() (value []string, ok bool)
GetRecipients returns the value of the 'recipients' attribute and a flag indicating if the attribute has a value.
Retrieved List of recipients username.
func (*GenericNotifyDetailsResponse) HREF ¶
func (o *GenericNotifyDetailsResponse) HREF() string
HREF returns the link to the object.
func (*GenericNotifyDetailsResponse) ID ¶
func (o *GenericNotifyDetailsResponse) ID() string
ID returns the identifier of the object.
func (*GenericNotifyDetailsResponse) Items ¶
func (o *GenericNotifyDetailsResponse) Items() []*NotificationDetailsResponse
Items returns the value of the 'items' attribute, or the zero value of the type if the attribute doesn't have a value.
Retrieved list of additional notify details parameters key-value.
func (*GenericNotifyDetailsResponse) Kind ¶
func (o *GenericNotifyDetailsResponse) Kind() string
Kind returns the name of the type of the object.
func (*GenericNotifyDetailsResponse) Link ¶
func (o *GenericNotifyDetailsResponse) Link() bool
Link returns true if this is a link.
func (*GenericNotifyDetailsResponse) Recipients ¶
func (o *GenericNotifyDetailsResponse) Recipients() []string
Recipients returns the value of the 'recipients' attribute, or the zero value of the type if the attribute doesn't have a value.
Retrieved List of recipients username.
type GenericNotifyDetailsResponseBuilder ¶
type GenericNotifyDetailsResponseBuilder struct {
// contains filtered or unexported fields
}
class that defines notify details response in general.
func NewGenericNotifyDetailsResponse ¶
func NewGenericNotifyDetailsResponse() *GenericNotifyDetailsResponseBuilder
NewGenericNotifyDetailsResponse creates a new builder of 'generic_notify_details_response' objects.
func (*GenericNotifyDetailsResponseBuilder) Associates ¶
func (b *GenericNotifyDetailsResponseBuilder) Associates(values ...string) *GenericNotifyDetailsResponseBuilder
Associates sets the value of the 'associates' attribute to the given values.
func (*GenericNotifyDetailsResponseBuilder) Build ¶
func (b *GenericNotifyDetailsResponseBuilder) Build() (object *GenericNotifyDetailsResponse, err error)
Build creates a 'generic_notify_details_response' object using the configuration stored in the builder.
func (*GenericNotifyDetailsResponseBuilder) Copy ¶
func (b *GenericNotifyDetailsResponseBuilder) Copy(object *GenericNotifyDetailsResponse) *GenericNotifyDetailsResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*GenericNotifyDetailsResponseBuilder) Empty ¶
func (b *GenericNotifyDetailsResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*GenericNotifyDetailsResponseBuilder) HREF ¶
func (b *GenericNotifyDetailsResponseBuilder) HREF(value string) *GenericNotifyDetailsResponseBuilder
HREF sets the link to the object.
func (*GenericNotifyDetailsResponseBuilder) ID ¶
func (b *GenericNotifyDetailsResponseBuilder) ID(value string) *GenericNotifyDetailsResponseBuilder
ID sets the identifier of the object.
func (*GenericNotifyDetailsResponseBuilder) Items ¶
func (b *GenericNotifyDetailsResponseBuilder) Items(values ...*NotificationDetailsResponseBuilder) *GenericNotifyDetailsResponseBuilder
Items sets the value of the 'items' attribute to the given values.
func (*GenericNotifyDetailsResponseBuilder) Link ¶
func (b *GenericNotifyDetailsResponseBuilder) Link(value bool) *GenericNotifyDetailsResponseBuilder
Link sets the flag that indicates if this is a link.
func (*GenericNotifyDetailsResponseBuilder) Recipients ¶
func (b *GenericNotifyDetailsResponseBuilder) Recipients(values ...string) *GenericNotifyDetailsResponseBuilder
Recipients sets the value of the 'recipients' attribute to the given values.
type GenericNotifyDetailsResponseList ¶
type GenericNotifyDetailsResponseList struct {
// contains filtered or unexported fields
}
GenericNotifyDetailsResponseList is a list of values of the 'generic_notify_details_response' type.
func (*GenericNotifyDetailsResponseList) Each ¶
func (l *GenericNotifyDetailsResponseList) Each(f func(item *GenericNotifyDetailsResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GenericNotifyDetailsResponseList) Empty ¶
func (l *GenericNotifyDetailsResponseList) Empty() bool
Empty returns true if the list is empty.
func (*GenericNotifyDetailsResponseList) Get ¶
func (l *GenericNotifyDetailsResponseList) Get(i int) *GenericNotifyDetailsResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*GenericNotifyDetailsResponseList) GetHREF ¶
func (l *GenericNotifyDetailsResponseList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*GenericNotifyDetailsResponseList) HREF ¶
func (l *GenericNotifyDetailsResponseList) HREF() string
HREF returns the link to the list.
func (*GenericNotifyDetailsResponseList) Items ¶
func (l *GenericNotifyDetailsResponseList) Items() []*GenericNotifyDetailsResponse
Items returns the items of the list.
func (*GenericNotifyDetailsResponseList) Kind ¶
func (l *GenericNotifyDetailsResponseList) Kind() string
Kind returns the name of the type of the object.
func (*GenericNotifyDetailsResponseList) Len ¶
func (l *GenericNotifyDetailsResponseList) Len() int
Len returns the length of the list.
func (*GenericNotifyDetailsResponseList) Link ¶
func (l *GenericNotifyDetailsResponseList) Link() bool
Link returns true iif this is a link.
func (*GenericNotifyDetailsResponseList) Range ¶
func (l *GenericNotifyDetailsResponseList) Range(f func(index int, item *GenericNotifyDetailsResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GenericNotifyDetailsResponseList) SetHREF ¶
func (l *GenericNotifyDetailsResponseList) SetHREF(href string)
Items sets the items of the list.
func (*GenericNotifyDetailsResponseList) SetItems ¶
func (l *GenericNotifyDetailsResponseList) SetItems(items []*GenericNotifyDetailsResponse)
Items sets the items of the list.
func (*GenericNotifyDetailsResponseList) SetLink ¶
func (l *GenericNotifyDetailsResponseList) SetLink(link bool)
Items sets the items of the list.
func (*GenericNotifyDetailsResponseList) Slice ¶
func (l *GenericNotifyDetailsResponseList) Slice() []*GenericNotifyDetailsResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type GenericNotifyDetailsResponseListBuilder ¶
type GenericNotifyDetailsResponseListBuilder struct {
// contains filtered or unexported fields
}
GenericNotifyDetailsResponseListBuilder contains the data and logic needed to build 'generic_notify_details_response' objects.
func NewGenericNotifyDetailsResponseList ¶
func NewGenericNotifyDetailsResponseList() *GenericNotifyDetailsResponseListBuilder
NewGenericNotifyDetailsResponseList creates a new builder of 'generic_notify_details_response' objects.
func (*GenericNotifyDetailsResponseListBuilder) Build ¶
func (b *GenericNotifyDetailsResponseListBuilder) Build() (list *GenericNotifyDetailsResponseList, err error)
Build creates a list of 'generic_notify_details_response' objects using the configuration stored in the builder.
func (*GenericNotifyDetailsResponseListBuilder) Copy ¶
func (b *GenericNotifyDetailsResponseListBuilder) Copy(list *GenericNotifyDetailsResponseList) *GenericNotifyDetailsResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*GenericNotifyDetailsResponseListBuilder) Empty ¶
func (b *GenericNotifyDetailsResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*GenericNotifyDetailsResponseListBuilder) Items ¶
func (b *GenericNotifyDetailsResponseListBuilder) Items(values ...*GenericNotifyDetailsResponseBuilder) *GenericNotifyDetailsResponseListBuilder
Items sets the items of the list.
type Label ¶
type Label struct {
// contains filtered or unexported fields
}
Label represents the values of the 'label' type.
func ReadLabelList ¶
ReadLabelList reads list of values of the ”label' type from the given iterator.
func UnmarshalLabel ¶
UnmarshalLabel reads a value of the 'label' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalLabelList ¶
UnmarshalLabelList reads a list of values of the 'label' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Label) AccountID ¶
AccountID returns the value of the 'account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Label) CreatedAt ¶
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Label) GetAccountID ¶
GetAccountID returns the value of the 'account_ID' attribute and a flag indicating if the attribute has a value.
func (*Label) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Label) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Label) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Label) GetInternal ¶
GetInternal returns the value of the 'internal' attribute and a flag indicating if the attribute has a value.
func (*Label) GetKey ¶
GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.
func (*Label) GetManagedBy ¶
GetManagedBy returns the value of the 'managed_by' attribute and a flag indicating if the attribute has a value.
func (*Label) GetOrganizationID ¶
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*Label) GetSubscriptionID ¶
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
func (*Label) GetType ¶
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
func (*Label) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Label) GetValue ¶
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
func (*Label) Internal ¶
Internal returns the value of the 'internal' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Label) Key ¶
Key returns the value of the 'key' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Label) ManagedBy ¶
ManagedBy returns the value of the 'managed_by' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Label) OrganizationID ¶
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Label) SubscriptionID ¶
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Label) Type ¶
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
type LabelBuilder ¶
type LabelBuilder struct {
// contains filtered or unexported fields
}
func (*LabelBuilder) AccountID ¶
func (b *LabelBuilder) AccountID(value string) *LabelBuilder
AccountID sets the value of the 'account_ID' attribute to the given value.
func (*LabelBuilder) Build ¶
func (b *LabelBuilder) Build() (object *Label, err error)
Build creates a 'label' object using the configuration stored in the builder.
func (*LabelBuilder) Copy ¶
func (b *LabelBuilder) Copy(object *Label) *LabelBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*LabelBuilder) CreatedAt ¶
func (b *LabelBuilder) CreatedAt(value time.Time) *LabelBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*LabelBuilder) Empty ¶
func (b *LabelBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*LabelBuilder) HREF ¶
func (b *LabelBuilder) HREF(value string) *LabelBuilder
HREF sets the link to the object.
func (*LabelBuilder) ID ¶
func (b *LabelBuilder) ID(value string) *LabelBuilder
ID sets the identifier of the object.
func (*LabelBuilder) Internal ¶
func (b *LabelBuilder) Internal(value bool) *LabelBuilder
Internal sets the value of the 'internal' attribute to the given value.
func (*LabelBuilder) Key ¶
func (b *LabelBuilder) Key(value string) *LabelBuilder
Key sets the value of the 'key' attribute to the given value.
func (*LabelBuilder) Link ¶
func (b *LabelBuilder) Link(value bool) *LabelBuilder
Link sets the flag that indicates if this is a link.
func (*LabelBuilder) ManagedBy ¶
func (b *LabelBuilder) ManagedBy(value string) *LabelBuilder
ManagedBy sets the value of the 'managed_by' attribute to the given value.
func (*LabelBuilder) OrganizationID ¶
func (b *LabelBuilder) OrganizationID(value string) *LabelBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*LabelBuilder) SubscriptionID ¶
func (b *LabelBuilder) SubscriptionID(value string) *LabelBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
func (*LabelBuilder) Type ¶
func (b *LabelBuilder) Type(value string) *LabelBuilder
Type sets the value of the 'type' attribute to the given value.
func (*LabelBuilder) UpdatedAt ¶
func (b *LabelBuilder) UpdatedAt(value time.Time) *LabelBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*LabelBuilder) Value ¶
func (b *LabelBuilder) Value(value string) *LabelBuilder
Value sets the value of the 'value' attribute to the given value.
type LabelList ¶
type LabelList struct {
// contains filtered or unexported fields
}
LabelList is a list of values of the 'label' type.
func (*LabelList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LabelList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*LabelList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*LabelList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LabelList) Slice ¶
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type LabelListBuilder ¶
type LabelListBuilder struct {
// contains filtered or unexported fields
}
LabelListBuilder contains the data and logic needed to build 'label' objects.
func NewLabelList ¶
func NewLabelList() *LabelListBuilder
NewLabelList creates a new builder of 'label' objects.
func (*LabelListBuilder) Build ¶
func (b *LabelListBuilder) Build() (list *LabelList, err error)
Build creates a list of 'label' objects using the configuration stored in the builder.
func (*LabelListBuilder) Copy ¶
func (b *LabelListBuilder) Copy(list *LabelList) *LabelListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*LabelListBuilder) Empty ¶
func (b *LabelListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*LabelListBuilder) Items ¶
func (b *LabelListBuilder) Items(values ...*LabelBuilder) *LabelListBuilder
Items sets the items of the list.
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
Metadata contains the version metadata.
func UnmarshalMetadata ¶
UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.
func (*Metadata) GetServerVersion ¶
GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.
func (*Metadata) ServerVersion ¶
ServerVersion returns the version of the server.
type NotificationDetailsRequest ¶
type NotificationDetailsRequest struct {
// contains filtered or unexported fields
}
NotificationDetailsRequest represents the values of the 'notification_details_request' type.
This struct is a request to get a templated email to a user related to this. subscription/cluster.
func ReadNotificationDetailsRequest ¶
func ReadNotificationDetailsRequest(iterator *jsoniter.Iterator) *NotificationDetailsRequest
ReadNotificationDetailsRequest reads a value of the 'notification_details_request' type from the given iterator.
func ReadNotificationDetailsRequestList ¶
func ReadNotificationDetailsRequestList(iterator *jsoniter.Iterator) []*NotificationDetailsRequest
ReadNotificationDetailsRequestList reads list of values of the ”notification_details_request' type from the given iterator.
func UnmarshalNotificationDetailsRequest ¶
func UnmarshalNotificationDetailsRequest(source interface{}) (object *NotificationDetailsRequest, err error)
UnmarshalNotificationDetailsRequest reads a value of the 'notification_details_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalNotificationDetailsRequestList ¶
func UnmarshalNotificationDetailsRequestList(source interface{}) (items []*NotificationDetailsRequest, err error)
UnmarshalNotificationDetailsRequestList reads a list of values of the 'notification_details_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*NotificationDetailsRequest) BccAddress ¶
func (o *NotificationDetailsRequest) BccAddress() string
BccAddress returns the value of the 'bcc_address' attribute, or the zero value of the type if the attribute doesn't have a value.
The BCC address to be included on the email that is sent.
func (*NotificationDetailsRequest) ClusterID ¶
func (o *NotificationDetailsRequest) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to.
func (*NotificationDetailsRequest) ClusterUUID ¶
func (o *NotificationDetailsRequest) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (external id) the resource type belongs to.
func (*NotificationDetailsRequest) Empty ¶
func (o *NotificationDetailsRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*NotificationDetailsRequest) GetBccAddress ¶
func (o *NotificationDetailsRequest) GetBccAddress() (value string, ok bool)
GetBccAddress returns the value of the 'bcc_address' attribute and a flag indicating if the attribute has a value.
The BCC address to be included on the email that is sent.
func (*NotificationDetailsRequest) GetClusterID ¶
func (o *NotificationDetailsRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to.
func (*NotificationDetailsRequest) GetClusterUUID ¶
func (o *NotificationDetailsRequest) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (external id) the resource type belongs to.
func (*NotificationDetailsRequest) GetIncludeRedHatAssociates ¶
func (o *NotificationDetailsRequest) GetIncludeRedHatAssociates() (value bool, ok bool)
GetIncludeRedHatAssociates returns the value of the 'include_red_hat_associates' attribute and a flag indicating if the attribute has a value.
Indicates whether to include red hat associates in the email notification.
func (*NotificationDetailsRequest) GetInternalOnly ¶
func (o *NotificationDetailsRequest) GetInternalOnly() (value bool, ok bool)
GetInternalOnly returns the value of the 'internal_only' attribute and a flag indicating if the attribute has a value.
Indicates whether the service log is internal only to RH.
func (*NotificationDetailsRequest) GetLogType ¶
func (o *NotificationDetailsRequest) GetLogType() (value string, ok bool)
GetLogType returns the value of the 'log_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the service log.
func (*NotificationDetailsRequest) GetSubject ¶
func (o *NotificationDetailsRequest) GetSubject() (value string, ok bool)
GetSubject returns the value of the 'subject' attribute and a flag indicating if the attribute has a value.
The email subject.
func (*NotificationDetailsRequest) GetSubscriptionID ¶
func (o *NotificationDetailsRequest) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to.
func (*NotificationDetailsRequest) IncludeRedHatAssociates ¶
func (o *NotificationDetailsRequest) IncludeRedHatAssociates() bool
IncludeRedHatAssociates returns the value of the 'include_red_hat_associates' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates whether to include red hat associates in the email notification.
func (*NotificationDetailsRequest) InternalOnly ¶
func (o *NotificationDetailsRequest) InternalOnly() bool
InternalOnly returns the value of the 'internal_only' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates whether the service log is internal only to RH.
func (*NotificationDetailsRequest) LogType ¶
func (o *NotificationDetailsRequest) LogType() string
LogType returns the value of the 'log_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the service log.
func (*NotificationDetailsRequest) Subject ¶
func (o *NotificationDetailsRequest) Subject() string
Subject returns the value of the 'subject' attribute, or the zero value of the type if the attribute doesn't have a value.
The email subject.
func (*NotificationDetailsRequest) SubscriptionID ¶
func (o *NotificationDetailsRequest) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to.
type NotificationDetailsRequestBuilder ¶
type NotificationDetailsRequestBuilder struct {
// contains filtered or unexported fields
}
This struct is a request to get a templated email to a user related to this. subscription/cluster.
func NewNotificationDetailsRequest ¶
func NewNotificationDetailsRequest() *NotificationDetailsRequestBuilder
NewNotificationDetailsRequest creates a new builder of 'notification_details_request' objects.
func (*NotificationDetailsRequestBuilder) BccAddress ¶
func (b *NotificationDetailsRequestBuilder) BccAddress(value string) *NotificationDetailsRequestBuilder
BccAddress sets the value of the 'bcc_address' attribute to the given value.
func (*NotificationDetailsRequestBuilder) Build ¶
func (b *NotificationDetailsRequestBuilder) Build() (object *NotificationDetailsRequest, err error)
Build creates a 'notification_details_request' object using the configuration stored in the builder.
func (*NotificationDetailsRequestBuilder) ClusterID ¶
func (b *NotificationDetailsRequestBuilder) ClusterID(value string) *NotificationDetailsRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*NotificationDetailsRequestBuilder) ClusterUUID ¶
func (b *NotificationDetailsRequestBuilder) ClusterUUID(value string) *NotificationDetailsRequestBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*NotificationDetailsRequestBuilder) Copy ¶
func (b *NotificationDetailsRequestBuilder) Copy(object *NotificationDetailsRequest) *NotificationDetailsRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*NotificationDetailsRequestBuilder) Empty ¶
func (b *NotificationDetailsRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*NotificationDetailsRequestBuilder) IncludeRedHatAssociates ¶
func (b *NotificationDetailsRequestBuilder) IncludeRedHatAssociates(value bool) *NotificationDetailsRequestBuilder
IncludeRedHatAssociates sets the value of the 'include_red_hat_associates' attribute to the given value.
func (*NotificationDetailsRequestBuilder) InternalOnly ¶
func (b *NotificationDetailsRequestBuilder) InternalOnly(value bool) *NotificationDetailsRequestBuilder
InternalOnly sets the value of the 'internal_only' attribute to the given value.
func (*NotificationDetailsRequestBuilder) LogType ¶
func (b *NotificationDetailsRequestBuilder) LogType(value string) *NotificationDetailsRequestBuilder
LogType sets the value of the 'log_type' attribute to the given value.
func (*NotificationDetailsRequestBuilder) Subject ¶
func (b *NotificationDetailsRequestBuilder) Subject(value string) *NotificationDetailsRequestBuilder
Subject sets the value of the 'subject' attribute to the given value.
func (*NotificationDetailsRequestBuilder) SubscriptionID ¶
func (b *NotificationDetailsRequestBuilder) SubscriptionID(value string) *NotificationDetailsRequestBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type NotificationDetailsRequestList ¶
type NotificationDetailsRequestList struct {
// contains filtered or unexported fields
}
NotificationDetailsRequestList is a list of values of the 'notification_details_request' type.
func (*NotificationDetailsRequestList) Each ¶
func (l *NotificationDetailsRequestList) Each(f func(item *NotificationDetailsRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NotificationDetailsRequestList) Empty ¶
func (l *NotificationDetailsRequestList) Empty() bool
Empty returns true if the list is empty.
func (*NotificationDetailsRequestList) Get ¶
func (l *NotificationDetailsRequestList) Get(i int) *NotificationDetailsRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*NotificationDetailsRequestList) Items ¶
func (l *NotificationDetailsRequestList) Items() []*NotificationDetailsRequest
Items returns the items of the list.
func (*NotificationDetailsRequestList) Len ¶
func (l *NotificationDetailsRequestList) Len() int
Len returns the length of the list.
func (*NotificationDetailsRequestList) Range ¶
func (l *NotificationDetailsRequestList) Range(f func(index int, item *NotificationDetailsRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NotificationDetailsRequestList) SetHREF ¶
func (l *NotificationDetailsRequestList) SetHREF(href string)
Items sets the items of the list.
func (*NotificationDetailsRequestList) SetItems ¶
func (l *NotificationDetailsRequestList) SetItems(items []*NotificationDetailsRequest)
Items sets the items of the list.
func (*NotificationDetailsRequestList) SetLink ¶
func (l *NotificationDetailsRequestList) SetLink(link bool)
Items sets the items of the list.
func (*NotificationDetailsRequestList) Slice ¶
func (l *NotificationDetailsRequestList) Slice() []*NotificationDetailsRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type NotificationDetailsRequestListBuilder ¶
type NotificationDetailsRequestListBuilder struct {
// contains filtered or unexported fields
}
NotificationDetailsRequestListBuilder contains the data and logic needed to build 'notification_details_request' objects.
func NewNotificationDetailsRequestList ¶
func NewNotificationDetailsRequestList() *NotificationDetailsRequestListBuilder
NewNotificationDetailsRequestList creates a new builder of 'notification_details_request' objects.
func (*NotificationDetailsRequestListBuilder) Build ¶
func (b *NotificationDetailsRequestListBuilder) Build() (list *NotificationDetailsRequestList, err error)
Build creates a list of 'notification_details_request' objects using the configuration stored in the builder.
func (*NotificationDetailsRequestListBuilder) Copy ¶
func (b *NotificationDetailsRequestListBuilder) Copy(list *NotificationDetailsRequestList) *NotificationDetailsRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*NotificationDetailsRequestListBuilder) Empty ¶
func (b *NotificationDetailsRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*NotificationDetailsRequestListBuilder) Items ¶
func (b *NotificationDetailsRequestListBuilder) Items(values ...*NotificationDetailsRequestBuilder) *NotificationDetailsRequestListBuilder
Items sets the items of the list.
type NotificationDetailsResponse ¶
type NotificationDetailsResponse struct {
// contains filtered or unexported fields
}
NotificationDetailsResponse represents the values of the 'notification_details_response' type.
This class is a single response item for the notify details list.
func ReadNotificationDetailsResponse ¶
func ReadNotificationDetailsResponse(iterator *jsoniter.Iterator) *NotificationDetailsResponse
ReadNotificationDetailsResponse reads a value of the 'notification_details_response' type from the given iterator.
func ReadNotificationDetailsResponseList ¶
func ReadNotificationDetailsResponseList(iterator *jsoniter.Iterator) []*NotificationDetailsResponse
ReadNotificationDetailsResponseList reads list of values of the ”notification_details_response' type from the given iterator.
func UnmarshalNotificationDetailsResponse ¶
func UnmarshalNotificationDetailsResponse(source interface{}) (object *NotificationDetailsResponse, err error)
UnmarshalNotificationDetailsResponse reads a value of the 'notification_details_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalNotificationDetailsResponseList ¶
func UnmarshalNotificationDetailsResponseList(source interface{}) (items []*NotificationDetailsResponse, err error)
UnmarshalNotificationDetailsResponseList reads a list of values of the 'notification_details_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*NotificationDetailsResponse) Empty ¶
func (o *NotificationDetailsResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*NotificationDetailsResponse) GetHREF ¶
func (o *NotificationDetailsResponse) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*NotificationDetailsResponse) GetID ¶
func (o *NotificationDetailsResponse) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*NotificationDetailsResponse) GetKey ¶
func (o *NotificationDetailsResponse) GetKey() (value string, ok bool)
GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.
Indicates the key of the response parameter.
func (*NotificationDetailsResponse) GetValue ¶
func (o *NotificationDetailsResponse) GetValue() (value string, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
Indicates the value of the response parameter.
func (*NotificationDetailsResponse) HREF ¶
func (o *NotificationDetailsResponse) HREF() string
HREF returns the link to the object.
func (*NotificationDetailsResponse) ID ¶
func (o *NotificationDetailsResponse) ID() string
ID returns the identifier of the object.
func (*NotificationDetailsResponse) Key ¶
func (o *NotificationDetailsResponse) Key() string
Key returns the value of the 'key' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the key of the response parameter.
func (*NotificationDetailsResponse) Kind ¶
func (o *NotificationDetailsResponse) Kind() string
Kind returns the name of the type of the object.
func (*NotificationDetailsResponse) Link ¶
func (o *NotificationDetailsResponse) Link() bool
Link returns true if this is a link.
func (*NotificationDetailsResponse) Value ¶
func (o *NotificationDetailsResponse) Value() string
Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the value of the response parameter.
type NotificationDetailsResponseBuilder ¶
type NotificationDetailsResponseBuilder struct {
// contains filtered or unexported fields
}
This class is a single response item for the notify details list.
func NewNotificationDetailsResponse ¶
func NewNotificationDetailsResponse() *NotificationDetailsResponseBuilder
NewNotificationDetailsResponse creates a new builder of 'notification_details_response' objects.
func (*NotificationDetailsResponseBuilder) Build ¶
func (b *NotificationDetailsResponseBuilder) Build() (object *NotificationDetailsResponse, err error)
Build creates a 'notification_details_response' object using the configuration stored in the builder.
func (*NotificationDetailsResponseBuilder) Copy ¶
func (b *NotificationDetailsResponseBuilder) Copy(object *NotificationDetailsResponse) *NotificationDetailsResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*NotificationDetailsResponseBuilder) Empty ¶
func (b *NotificationDetailsResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*NotificationDetailsResponseBuilder) HREF ¶
func (b *NotificationDetailsResponseBuilder) HREF(value string) *NotificationDetailsResponseBuilder
HREF sets the link to the object.
func (*NotificationDetailsResponseBuilder) ID ¶
func (b *NotificationDetailsResponseBuilder) ID(value string) *NotificationDetailsResponseBuilder
ID sets the identifier of the object.
func (*NotificationDetailsResponseBuilder) Key ¶
func (b *NotificationDetailsResponseBuilder) Key(value string) *NotificationDetailsResponseBuilder
Key sets the value of the 'key' attribute to the given value.
func (*NotificationDetailsResponseBuilder) Link ¶
func (b *NotificationDetailsResponseBuilder) Link(value bool) *NotificationDetailsResponseBuilder
Link sets the flag that indicates if this is a link.
func (*NotificationDetailsResponseBuilder) Value ¶
func (b *NotificationDetailsResponseBuilder) Value(value string) *NotificationDetailsResponseBuilder
Value sets the value of the 'value' attribute to the given value.
type NotificationDetailsResponseList ¶
type NotificationDetailsResponseList struct {
// contains filtered or unexported fields
}
NotificationDetailsResponseList is a list of values of the 'notification_details_response' type.
func (*NotificationDetailsResponseList) Each ¶
func (l *NotificationDetailsResponseList) Each(f func(item *NotificationDetailsResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NotificationDetailsResponseList) Empty ¶
func (l *NotificationDetailsResponseList) Empty() bool
Empty returns true if the list is empty.
func (*NotificationDetailsResponseList) Get ¶
func (l *NotificationDetailsResponseList) Get(i int) *NotificationDetailsResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*NotificationDetailsResponseList) GetHREF ¶
func (l *NotificationDetailsResponseList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*NotificationDetailsResponseList) HREF ¶
func (l *NotificationDetailsResponseList) HREF() string
HREF returns the link to the list.
func (*NotificationDetailsResponseList) Items ¶
func (l *NotificationDetailsResponseList) Items() []*NotificationDetailsResponse
Items returns the items of the list.
func (*NotificationDetailsResponseList) Kind ¶
func (l *NotificationDetailsResponseList) Kind() string
Kind returns the name of the type of the object.
func (*NotificationDetailsResponseList) Len ¶
func (l *NotificationDetailsResponseList) Len() int
Len returns the length of the list.
func (*NotificationDetailsResponseList) Link ¶
func (l *NotificationDetailsResponseList) Link() bool
Link returns true iif this is a link.
func (*NotificationDetailsResponseList) Range ¶
func (l *NotificationDetailsResponseList) Range(f func(index int, item *NotificationDetailsResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NotificationDetailsResponseList) SetHREF ¶
func (l *NotificationDetailsResponseList) SetHREF(href string)
Items sets the items of the list.
func (*NotificationDetailsResponseList) SetItems ¶
func (l *NotificationDetailsResponseList) SetItems(items []*NotificationDetailsResponse)
Items sets the items of the list.
func (*NotificationDetailsResponseList) SetLink ¶
func (l *NotificationDetailsResponseList) SetLink(link bool)
Items sets the items of the list.
func (*NotificationDetailsResponseList) Slice ¶
func (l *NotificationDetailsResponseList) Slice() []*NotificationDetailsResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type NotificationDetailsResponseListBuilder ¶
type NotificationDetailsResponseListBuilder struct {
// contains filtered or unexported fields
}
NotificationDetailsResponseListBuilder contains the data and logic needed to build 'notification_details_response' objects.
func NewNotificationDetailsResponseList ¶
func NewNotificationDetailsResponseList() *NotificationDetailsResponseListBuilder
NewNotificationDetailsResponseList creates a new builder of 'notification_details_response' objects.
func (*NotificationDetailsResponseListBuilder) Build ¶
func (b *NotificationDetailsResponseListBuilder) Build() (list *NotificationDetailsResponseList, err error)
Build creates a list of 'notification_details_response' objects using the configuration stored in the builder.
func (*NotificationDetailsResponseListBuilder) Copy ¶
func (b *NotificationDetailsResponseListBuilder) Copy(list *NotificationDetailsResponseList) *NotificationDetailsResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*NotificationDetailsResponseListBuilder) Empty ¶
func (b *NotificationDetailsResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*NotificationDetailsResponseListBuilder) Items ¶
func (b *NotificationDetailsResponseListBuilder) Items(values ...*NotificationDetailsResponseBuilder) *NotificationDetailsResponseListBuilder
Items sets the items of the list.
type Organization ¶
type Organization struct {
// contains filtered or unexported fields
}
Organization represents the values of the 'organization' type.
func ReadOrganization ¶
func ReadOrganization(iterator *jsoniter.Iterator) *Organization
ReadOrganization reads a value of the 'organization' type from the given iterator.
func ReadOrganizationList ¶
func ReadOrganizationList(iterator *jsoniter.Iterator) []*Organization
ReadOrganizationList reads list of values of the ”organization' type from the given iterator.
func UnmarshalOrganization ¶
func UnmarshalOrganization(source interface{}) (object *Organization, err error)
UnmarshalOrganization reads a value of the 'organization' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalOrganizationList ¶
func UnmarshalOrganizationList(source interface{}) (items []*Organization, err error)
UnmarshalOrganizationList reads a list of values of the 'organization' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Organization) Capabilities ¶
func (o *Organization) Capabilities() []*Capability
Capabilities returns the value of the 'capabilities' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) CreatedAt ¶
func (o *Organization) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) EbsAccountID ¶
func (o *Organization) EbsAccountID() string
EbsAccountID returns the value of the 'ebs_account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) Empty ¶
func (o *Organization) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Organization) ExternalID ¶
func (o *Organization) ExternalID() string
ExternalID returns the value of the 'external_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) GetCapabilities ¶
func (o *Organization) GetCapabilities() (value []*Capability, ok bool)
GetCapabilities returns the value of the 'capabilities' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetCreatedAt ¶
func (o *Organization) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetEbsAccountID ¶
func (o *Organization) GetEbsAccountID() (value string, ok bool)
GetEbsAccountID returns the value of the 'ebs_account_ID' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetExternalID ¶
func (o *Organization) GetExternalID() (value string, ok bool)
GetExternalID returns the value of the 'external_ID' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetHREF ¶
func (o *Organization) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Organization) GetID ¶
func (o *Organization) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Organization) GetLabels ¶
func (o *Organization) GetLabels() (value []*Label, ok bool)
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetName ¶
func (o *Organization) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetUpdatedAt ¶
func (o *Organization) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Organization) HREF ¶
func (o *Organization) HREF() string
HREF returns the link to the object.
func (*Organization) ID ¶
func (o *Organization) ID() string
ID returns the identifier of the object.
func (*Organization) Kind ¶
func (o *Organization) Kind() string
Kind returns the name of the type of the object.
func (*Organization) Labels ¶
func (o *Organization) Labels() []*Label
Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) Link ¶
func (o *Organization) Link() bool
Link returns true if this is a link.
func (*Organization) Name ¶
func (o *Organization) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) UpdatedAt ¶
func (o *Organization) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type OrganizationBuilder ¶
type OrganizationBuilder struct {
// contains filtered or unexported fields
}
func NewOrganization ¶
func NewOrganization() *OrganizationBuilder
NewOrganization creates a new builder of 'organization' objects.
func (*OrganizationBuilder) Build ¶
func (b *OrganizationBuilder) Build() (object *Organization, err error)
Build creates a 'organization' object using the configuration stored in the builder.
func (*OrganizationBuilder) Capabilities ¶
func (b *OrganizationBuilder) Capabilities(values ...*CapabilityBuilder) *OrganizationBuilder
Capabilities sets the value of the 'capabilities' attribute to the given values.
func (*OrganizationBuilder) Copy ¶
func (b *OrganizationBuilder) Copy(object *Organization) *OrganizationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*OrganizationBuilder) CreatedAt ¶
func (b *OrganizationBuilder) CreatedAt(value time.Time) *OrganizationBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*OrganizationBuilder) EbsAccountID ¶
func (b *OrganizationBuilder) EbsAccountID(value string) *OrganizationBuilder
EbsAccountID sets the value of the 'ebs_account_ID' attribute to the given value.
func (*OrganizationBuilder) Empty ¶
func (b *OrganizationBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*OrganizationBuilder) ExternalID ¶
func (b *OrganizationBuilder) ExternalID(value string) *OrganizationBuilder
ExternalID sets the value of the 'external_ID' attribute to the given value.
func (*OrganizationBuilder) HREF ¶
func (b *OrganizationBuilder) HREF(value string) *OrganizationBuilder
HREF sets the link to the object.
func (*OrganizationBuilder) ID ¶
func (b *OrganizationBuilder) ID(value string) *OrganizationBuilder
ID sets the identifier of the object.
func (*OrganizationBuilder) Labels ¶
func (b *OrganizationBuilder) Labels(values ...*LabelBuilder) *OrganizationBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*OrganizationBuilder) Link ¶
func (b *OrganizationBuilder) Link(value bool) *OrganizationBuilder
Link sets the flag that indicates if this is a link.
func (*OrganizationBuilder) Name ¶
func (b *OrganizationBuilder) Name(value string) *OrganizationBuilder
Name sets the value of the 'name' attribute to the given value.
func (*OrganizationBuilder) UpdatedAt ¶
func (b *OrganizationBuilder) UpdatedAt(value time.Time) *OrganizationBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type OrganizationList ¶
type OrganizationList struct {
// contains filtered or unexported fields
}
OrganizationList is a list of values of the 'organization' type.
func (*OrganizationList) Each ¶
func (l *OrganizationList) Each(f func(item *Organization) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*OrganizationList) Empty ¶
func (l *OrganizationList) Empty() bool
Empty returns true if the list is empty.
func (*OrganizationList) Get ¶
func (l *OrganizationList) Get(i int) *Organization
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*OrganizationList) GetHREF ¶
func (l *OrganizationList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*OrganizationList) HREF ¶
func (l *OrganizationList) HREF() string
HREF returns the link to the list.
func (*OrganizationList) Items ¶
func (l *OrganizationList) Items() []*Organization
Items returns the items of the list.
func (*OrganizationList) Kind ¶
func (l *OrganizationList) Kind() string
Kind returns the name of the type of the object.
func (*OrganizationList) Len ¶
func (l *OrganizationList) Len() int
Len returns the length of the list.
func (*OrganizationList) Link ¶
func (l *OrganizationList) Link() bool
Link returns true iif this is a link.
func (*OrganizationList) Range ¶
func (l *OrganizationList) Range(f func(index int, item *Organization) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*OrganizationList) SetHREF ¶
func (l *OrganizationList) SetHREF(href string)
Items sets the items of the list.
func (*OrganizationList) SetItems ¶
func (l *OrganizationList) SetItems(items []*Organization)
Items sets the items of the list.
func (*OrganizationList) SetLink ¶
func (l *OrganizationList) SetLink(link bool)
Items sets the items of the list.
func (*OrganizationList) Slice ¶
func (l *OrganizationList) Slice() []*Organization
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type OrganizationListBuilder ¶
type OrganizationListBuilder struct {
// contains filtered or unexported fields
}
OrganizationListBuilder contains the data and logic needed to build 'organization' objects.
func NewOrganizationList ¶
func NewOrganizationList() *OrganizationListBuilder
NewOrganizationList creates a new builder of 'organization' objects.
func (*OrganizationListBuilder) Build ¶
func (b *OrganizationListBuilder) Build() (list *OrganizationList, err error)
Build creates a list of 'organization' objects using the configuration stored in the builder.
func (*OrganizationListBuilder) Copy ¶
func (b *OrganizationListBuilder) Copy(list *OrganizationList) *OrganizationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*OrganizationListBuilder) Empty ¶
func (b *OrganizationListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*OrganizationListBuilder) Items ¶
func (b *OrganizationListBuilder) Items(values ...*OrganizationBuilder) *OrganizationListBuilder
Items sets the items of the list.
type Permission ¶
type Permission struct {
// contains filtered or unexported fields
}
Permission represents the values of the 'permission' type.
func ReadPermission ¶
func ReadPermission(iterator *jsoniter.Iterator) *Permission
ReadPermission reads a value of the 'permission' type from the given iterator.
func ReadPermissionList ¶
func ReadPermissionList(iterator *jsoniter.Iterator) []*Permission
ReadPermissionList reads list of values of the ”permission' type from the given iterator.
func UnmarshalPermission ¶
func UnmarshalPermission(source interface{}) (object *Permission, err error)
UnmarshalPermission reads a value of the 'permission' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalPermissionList ¶
func UnmarshalPermissionList(source interface{}) (items []*Permission, err error)
UnmarshalPermissionList reads a list of values of the 'permission' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Permission) Action ¶
func (o *Permission) Action() Action
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Permission) Empty ¶
func (o *Permission) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Permission) GetAction ¶
func (o *Permission) GetAction() (value Action, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
func (*Permission) GetHREF ¶
func (o *Permission) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Permission) GetID ¶
func (o *Permission) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Permission) GetResource ¶
func (o *Permission) GetResource() (value string, ok bool)
GetResource returns the value of the 'resource' attribute and a flag indicating if the attribute has a value.
func (*Permission) Kind ¶
func (o *Permission) Kind() string
Kind returns the name of the type of the object.
func (*Permission) Resource ¶
func (o *Permission) Resource() string
Resource returns the value of the 'resource' attribute, or the zero value of the type if the attribute doesn't have a value.
type PermissionBuilder ¶
type PermissionBuilder struct {
// contains filtered or unexported fields
}
func NewPermission ¶
func NewPermission() *PermissionBuilder
NewPermission creates a new builder of 'permission' objects.
func (*PermissionBuilder) Action ¶
func (b *PermissionBuilder) Action(value Action) *PermissionBuilder
Action sets the value of the 'action' attribute to the given value.
Possible actions for a permission.
func (*PermissionBuilder) Build ¶
func (b *PermissionBuilder) Build() (object *Permission, err error)
Build creates a 'permission' object using the configuration stored in the builder.
func (*PermissionBuilder) Copy ¶
func (b *PermissionBuilder) Copy(object *Permission) *PermissionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*PermissionBuilder) Empty ¶
func (b *PermissionBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*PermissionBuilder) HREF ¶
func (b *PermissionBuilder) HREF(value string) *PermissionBuilder
HREF sets the link to the object.
func (*PermissionBuilder) ID ¶
func (b *PermissionBuilder) ID(value string) *PermissionBuilder
ID sets the identifier of the object.
func (*PermissionBuilder) Link ¶
func (b *PermissionBuilder) Link(value bool) *PermissionBuilder
Link sets the flag that indicates if this is a link.
func (*PermissionBuilder) Resource ¶
func (b *PermissionBuilder) Resource(value string) *PermissionBuilder
Resource sets the value of the 'resource' attribute to the given value.
type PermissionList ¶
type PermissionList struct {
// contains filtered or unexported fields
}
PermissionList is a list of values of the 'permission' type.
func (*PermissionList) Each ¶
func (l *PermissionList) Each(f func(item *Permission) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*PermissionList) Empty ¶
func (l *PermissionList) Empty() bool
Empty returns true if the list is empty.
func (*PermissionList) Get ¶
func (l *PermissionList) Get(i int) *Permission
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*PermissionList) GetHREF ¶
func (l *PermissionList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*PermissionList) HREF ¶
func (l *PermissionList) HREF() string
HREF returns the link to the list.
func (*PermissionList) Items ¶
func (l *PermissionList) Items() []*Permission
Items returns the items of the list.
func (*PermissionList) Kind ¶
func (l *PermissionList) Kind() string
Kind returns the name of the type of the object.
func (*PermissionList) Len ¶
func (l *PermissionList) Len() int
Len returns the length of the list.
func (*PermissionList) Link ¶
func (l *PermissionList) Link() bool
Link returns true iif this is a link.
func (*PermissionList) Range ¶
func (l *PermissionList) Range(f func(index int, item *Permission) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*PermissionList) SetHREF ¶
func (l *PermissionList) SetHREF(href string)
Items sets the items of the list.
func (*PermissionList) SetItems ¶
func (l *PermissionList) SetItems(items []*Permission)
Items sets the items of the list.
func (*PermissionList) SetLink ¶
func (l *PermissionList) SetLink(link bool)
Items sets the items of the list.
func (*PermissionList) Slice ¶
func (l *PermissionList) Slice() []*Permission
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type PermissionListBuilder ¶
type PermissionListBuilder struct {
// contains filtered or unexported fields
}
PermissionListBuilder contains the data and logic needed to build 'permission' objects.
func NewPermissionList ¶
func NewPermissionList() *PermissionListBuilder
NewPermissionList creates a new builder of 'permission' objects.
func (*PermissionListBuilder) Build ¶
func (b *PermissionListBuilder) Build() (list *PermissionList, err error)
Build creates a list of 'permission' objects using the configuration stored in the builder.
func (*PermissionListBuilder) Copy ¶
func (b *PermissionListBuilder) Copy(list *PermissionList) *PermissionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*PermissionListBuilder) Empty ¶
func (b *PermissionListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*PermissionListBuilder) Items ¶
func (b *PermissionListBuilder) Items(values ...*PermissionBuilder) *PermissionListBuilder
Items sets the items of the list.
type Plan ¶
type Plan struct {
// contains filtered or unexported fields
}
Plan represents the values of the 'plan' type.
func ReadPlanList ¶
ReadPlanList reads list of values of the ”plan' type from the given iterator.
func UnmarshalPlan ¶
UnmarshalPlan reads a value of the 'plan' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalPlanList ¶
UnmarshalPlanList reads a list of values of the 'plan' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Plan) Category ¶
Category returns the value of the 'category' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Plan) GetCategory ¶
GetCategory returns the value of the 'category' attribute and a flag indicating if the attribute has a value.
func (*Plan) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Plan) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Plan) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Plan) GetType ¶
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
type PlanBuilder ¶
type PlanBuilder struct {
// contains filtered or unexported fields
}
func (*PlanBuilder) Build ¶
func (b *PlanBuilder) Build() (object *Plan, err error)
Build creates a 'plan' object using the configuration stored in the builder.
func (*PlanBuilder) Category ¶
func (b *PlanBuilder) Category(value string) *PlanBuilder
Category sets the value of the 'category' attribute to the given value.
func (*PlanBuilder) Copy ¶
func (b *PlanBuilder) Copy(object *Plan) *PlanBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*PlanBuilder) Empty ¶
func (b *PlanBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*PlanBuilder) HREF ¶
func (b *PlanBuilder) HREF(value string) *PlanBuilder
HREF sets the link to the object.
func (*PlanBuilder) ID ¶
func (b *PlanBuilder) ID(value string) *PlanBuilder
ID sets the identifier of the object.
func (*PlanBuilder) Link ¶
func (b *PlanBuilder) Link(value bool) *PlanBuilder
Link sets the flag that indicates if this is a link.
func (*PlanBuilder) Name ¶
func (b *PlanBuilder) Name(value string) *PlanBuilder
Name sets the value of the 'name' attribute to the given value.
func (*PlanBuilder) Type ¶
func (b *PlanBuilder) Type(value string) *PlanBuilder
Type sets the value of the 'type' attribute to the given value.
type PlanID ¶
type PlanID string
PlanID represents the values of the 'plan_ID' enumerated type.
const ( // PlanIDOCP PlanID = "ocp" )
func ReadPlanIDList ¶
ReadPlanIDList reads list of values of the ”plan_ID' type from the given iterator.
func UnmarshalPlanIDList ¶
UnmarshalPlanIDList reads a list of values of the 'plan_ID' type from the given source, which can be a slice of bytes, a string or a reader.
type PlanList ¶
type PlanList struct {
// contains filtered or unexported fields
}
PlanList is a list of values of the 'plan' type.
func (*PlanList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*PlanList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*PlanList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*PlanList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*PlanList) Slice ¶
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type PlanListBuilder ¶
type PlanListBuilder struct {
// contains filtered or unexported fields
}
PlanListBuilder contains the data and logic needed to build 'plan' objects.
func NewPlanList ¶
func NewPlanList() *PlanListBuilder
NewPlanList creates a new builder of 'plan' objects.
func (*PlanListBuilder) Build ¶
func (b *PlanListBuilder) Build() (list *PlanList, err error)
Build creates a list of 'plan' objects using the configuration stored in the builder.
func (*PlanListBuilder) Copy ¶
func (b *PlanListBuilder) Copy(list *PlanList) *PlanListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*PlanListBuilder) Empty ¶
func (b *PlanListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*PlanListBuilder) Items ¶
func (b *PlanListBuilder) Items(values ...*PlanBuilder) *PlanListBuilder
Items sets the items of the list.
type PullSecretsRequest ¶
type PullSecretsRequest struct {
// contains filtered or unexported fields
}
PullSecretsRequest represents the values of the 'pull_secrets_request' type.
func ReadPullSecretsRequest ¶
func ReadPullSecretsRequest(iterator *jsoniter.Iterator) *PullSecretsRequest
ReadPullSecretsRequest reads a value of the 'pull_secrets_request' type from the given iterator.
func ReadPullSecretsRequestList ¶
func ReadPullSecretsRequestList(iterator *jsoniter.Iterator) []*PullSecretsRequest
ReadPullSecretsRequestList reads list of values of the ”pull_secrets_request' type from the given iterator.
func UnmarshalPullSecretsRequest ¶
func UnmarshalPullSecretsRequest(source interface{}) (object *PullSecretsRequest, err error)
UnmarshalPullSecretsRequest reads a value of the 'pull_secrets_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalPullSecretsRequestList ¶
func UnmarshalPullSecretsRequestList(source interface{}) (items []*PullSecretsRequest, err error)
UnmarshalPullSecretsRequestList reads a list of values of the 'pull_secrets_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*PullSecretsRequest) Empty ¶
func (o *PullSecretsRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*PullSecretsRequest) ExternalResourceId ¶
func (o *PullSecretsRequest) ExternalResourceId() string
ExternalResourceId returns the value of the 'external_resource_id' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*PullSecretsRequest) GetExternalResourceId ¶
func (o *PullSecretsRequest) GetExternalResourceId() (value string, ok bool)
GetExternalResourceId returns the value of the 'external_resource_id' attribute and a flag indicating if the attribute has a value.
type PullSecretsRequestBuilder ¶
type PullSecretsRequestBuilder struct {
// contains filtered or unexported fields
}
func NewPullSecretsRequest ¶
func NewPullSecretsRequest() *PullSecretsRequestBuilder
NewPullSecretsRequest creates a new builder of 'pull_secrets_request' objects.
func (*PullSecretsRequestBuilder) Build ¶
func (b *PullSecretsRequestBuilder) Build() (object *PullSecretsRequest, err error)
Build creates a 'pull_secrets_request' object using the configuration stored in the builder.
func (*PullSecretsRequestBuilder) Copy ¶
func (b *PullSecretsRequestBuilder) Copy(object *PullSecretsRequest) *PullSecretsRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*PullSecretsRequestBuilder) Empty ¶
func (b *PullSecretsRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*PullSecretsRequestBuilder) ExternalResourceId ¶
func (b *PullSecretsRequestBuilder) ExternalResourceId(value string) *PullSecretsRequestBuilder
ExternalResourceId sets the value of the 'external_resource_id' attribute to the given value.
type PullSecretsRequestList ¶
type PullSecretsRequestList struct {
// contains filtered or unexported fields
}
PullSecretsRequestList is a list of values of the 'pull_secrets_request' type.
func (*PullSecretsRequestList) Each ¶
func (l *PullSecretsRequestList) Each(f func(item *PullSecretsRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*PullSecretsRequestList) Empty ¶
func (l *PullSecretsRequestList) Empty() bool
Empty returns true if the list is empty.
func (*PullSecretsRequestList) Get ¶
func (l *PullSecretsRequestList) Get(i int) *PullSecretsRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*PullSecretsRequestList) Items ¶
func (l *PullSecretsRequestList) Items() []*PullSecretsRequest
Items returns the items of the list.
func (*PullSecretsRequestList) Len ¶
func (l *PullSecretsRequestList) Len() int
Len returns the length of the list.
func (*PullSecretsRequestList) Range ¶
func (l *PullSecretsRequestList) Range(f func(index int, item *PullSecretsRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*PullSecretsRequestList) SetHREF ¶
func (l *PullSecretsRequestList) SetHREF(href string)
Items sets the items of the list.
func (*PullSecretsRequestList) SetItems ¶
func (l *PullSecretsRequestList) SetItems(items []*PullSecretsRequest)
Items sets the items of the list.
func (*PullSecretsRequestList) SetLink ¶
func (l *PullSecretsRequestList) SetLink(link bool)
Items sets the items of the list.
func (*PullSecretsRequestList) Slice ¶
func (l *PullSecretsRequestList) Slice() []*PullSecretsRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type PullSecretsRequestListBuilder ¶
type PullSecretsRequestListBuilder struct {
// contains filtered or unexported fields
}
PullSecretsRequestListBuilder contains the data and logic needed to build 'pull_secrets_request' objects.
func NewPullSecretsRequestList ¶
func NewPullSecretsRequestList() *PullSecretsRequestListBuilder
NewPullSecretsRequestList creates a new builder of 'pull_secrets_request' objects.
func (*PullSecretsRequestListBuilder) Build ¶
func (b *PullSecretsRequestListBuilder) Build() (list *PullSecretsRequestList, err error)
Build creates a list of 'pull_secrets_request' objects using the configuration stored in the builder.
func (*PullSecretsRequestListBuilder) Copy ¶
func (b *PullSecretsRequestListBuilder) Copy(list *PullSecretsRequestList) *PullSecretsRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*PullSecretsRequestListBuilder) Empty ¶
func (b *PullSecretsRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*PullSecretsRequestListBuilder) Items ¶
func (b *PullSecretsRequestListBuilder) Items(values ...*PullSecretsRequestBuilder) *PullSecretsRequestListBuilder
Items sets the items of the list.
type QuotaAuthorizationRequest ¶
type QuotaAuthorizationRequest struct {
// contains filtered or unexported fields
}
QuotaAuthorizationRequest represents the values of the 'quota_authorization_request' type.
func ReadQuotaAuthorizationRequest ¶
func ReadQuotaAuthorizationRequest(iterator *jsoniter.Iterator) *QuotaAuthorizationRequest
ReadQuotaAuthorizationRequest reads a value of the 'quota_authorization_request' type from the given iterator.
func ReadQuotaAuthorizationRequestList ¶
func ReadQuotaAuthorizationRequestList(iterator *jsoniter.Iterator) []*QuotaAuthorizationRequest
ReadQuotaAuthorizationRequestList reads list of values of the ”quota_authorization_request' type from the given iterator.
func UnmarshalQuotaAuthorizationRequest ¶
func UnmarshalQuotaAuthorizationRequest(source interface{}) (object *QuotaAuthorizationRequest, err error)
UnmarshalQuotaAuthorizationRequest reads a value of the 'quota_authorization_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalQuotaAuthorizationRequestList ¶
func UnmarshalQuotaAuthorizationRequestList(source interface{}) (items []*QuotaAuthorizationRequest, err error)
UnmarshalQuotaAuthorizationRequestList reads a list of values of the 'quota_authorization_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*QuotaAuthorizationRequest) AccountUsername ¶
func (o *QuotaAuthorizationRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaAuthorizationRequest) AvailabilityZone ¶
func (o *QuotaAuthorizationRequest) AvailabilityZone() string
AvailabilityZone returns the value of the 'availability_zone' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaAuthorizationRequest) DisplayName ¶
func (o *QuotaAuthorizationRequest) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaAuthorizationRequest) Empty ¶
func (o *QuotaAuthorizationRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*QuotaAuthorizationRequest) GetAccountUsername ¶
func (o *QuotaAuthorizationRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationRequest) GetAvailabilityZone ¶
func (o *QuotaAuthorizationRequest) GetAvailabilityZone() (value string, ok bool)
GetAvailabilityZone returns the value of the 'availability_zone' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationRequest) GetDisplayName ¶
func (o *QuotaAuthorizationRequest) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationRequest) GetProductCategory ¶
func (o *QuotaAuthorizationRequest) GetProductCategory() (value string, ok bool)
GetProductCategory returns the value of the 'product_category' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationRequest) GetProductID ¶
func (o *QuotaAuthorizationRequest) GetProductID() (value string, ok bool)
GetProductID returns the value of the 'product_ID' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationRequest) GetQuotaVersion ¶
func (o *QuotaAuthorizationRequest) GetQuotaVersion() (value string, ok bool)
GetQuotaVersion returns the value of the 'quota_version' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationRequest) GetReserve ¶
func (o *QuotaAuthorizationRequest) GetReserve() (value bool, ok bool)
GetReserve returns the value of the 'reserve' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationRequest) GetResources ¶
func (o *QuotaAuthorizationRequest) GetResources() (value []*ReservedResource, ok bool)
GetResources returns the value of the 'resources' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationRequest) ProductCategory ¶
func (o *QuotaAuthorizationRequest) ProductCategory() string
ProductCategory returns the value of the 'product_category' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaAuthorizationRequest) ProductID ¶
func (o *QuotaAuthorizationRequest) ProductID() string
ProductID returns the value of the 'product_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaAuthorizationRequest) QuotaVersion ¶
func (o *QuotaAuthorizationRequest) QuotaVersion() string
QuotaVersion returns the value of the 'quota_version' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaAuthorizationRequest) Reserve ¶
func (o *QuotaAuthorizationRequest) Reserve() bool
Reserve returns the value of the 'reserve' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaAuthorizationRequest) Resources ¶
func (o *QuotaAuthorizationRequest) Resources() []*ReservedResource
Resources returns the value of the 'resources' attribute, or the zero value of the type if the attribute doesn't have a value.
type QuotaAuthorizationRequestBuilder ¶
type QuotaAuthorizationRequestBuilder struct {
// contains filtered or unexported fields
}
func NewQuotaAuthorizationRequest ¶
func NewQuotaAuthorizationRequest() *QuotaAuthorizationRequestBuilder
NewQuotaAuthorizationRequest creates a new builder of 'quota_authorization_request' objects.
func (*QuotaAuthorizationRequestBuilder) AccountUsername ¶
func (b *QuotaAuthorizationRequestBuilder) AccountUsername(value string) *QuotaAuthorizationRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*QuotaAuthorizationRequestBuilder) AvailabilityZone ¶
func (b *QuotaAuthorizationRequestBuilder) AvailabilityZone(value string) *QuotaAuthorizationRequestBuilder
AvailabilityZone sets the value of the 'availability_zone' attribute to the given value.
func (*QuotaAuthorizationRequestBuilder) Build ¶
func (b *QuotaAuthorizationRequestBuilder) Build() (object *QuotaAuthorizationRequest, err error)
Build creates a 'quota_authorization_request' object using the configuration stored in the builder.
func (*QuotaAuthorizationRequestBuilder) Copy ¶
func (b *QuotaAuthorizationRequestBuilder) Copy(object *QuotaAuthorizationRequest) *QuotaAuthorizationRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*QuotaAuthorizationRequestBuilder) DisplayName ¶
func (b *QuotaAuthorizationRequestBuilder) DisplayName(value string) *QuotaAuthorizationRequestBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*QuotaAuthorizationRequestBuilder) Empty ¶
func (b *QuotaAuthorizationRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*QuotaAuthorizationRequestBuilder) ProductCategory ¶
func (b *QuotaAuthorizationRequestBuilder) ProductCategory(value string) *QuotaAuthorizationRequestBuilder
ProductCategory sets the value of the 'product_category' attribute to the given value.
func (*QuotaAuthorizationRequestBuilder) ProductID ¶
func (b *QuotaAuthorizationRequestBuilder) ProductID(value string) *QuotaAuthorizationRequestBuilder
ProductID sets the value of the 'product_ID' attribute to the given value.
func (*QuotaAuthorizationRequestBuilder) QuotaVersion ¶
func (b *QuotaAuthorizationRequestBuilder) QuotaVersion(value string) *QuotaAuthorizationRequestBuilder
QuotaVersion sets the value of the 'quota_version' attribute to the given value.
func (*QuotaAuthorizationRequestBuilder) Reserve ¶
func (b *QuotaAuthorizationRequestBuilder) Reserve(value bool) *QuotaAuthorizationRequestBuilder
Reserve sets the value of the 'reserve' attribute to the given value.
func (*QuotaAuthorizationRequestBuilder) Resources ¶
func (b *QuotaAuthorizationRequestBuilder) Resources(values ...*ReservedResourceBuilder) *QuotaAuthorizationRequestBuilder
Resources sets the value of the 'resources' attribute to the given values.
type QuotaAuthorizationRequestList ¶
type QuotaAuthorizationRequestList struct {
// contains filtered or unexported fields
}
QuotaAuthorizationRequestList is a list of values of the 'quota_authorization_request' type.
func (*QuotaAuthorizationRequestList) Each ¶
func (l *QuotaAuthorizationRequestList) Each(f func(item *QuotaAuthorizationRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QuotaAuthorizationRequestList) Empty ¶
func (l *QuotaAuthorizationRequestList) Empty() bool
Empty returns true if the list is empty.
func (*QuotaAuthorizationRequestList) Get ¶
func (l *QuotaAuthorizationRequestList) Get(i int) *QuotaAuthorizationRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*QuotaAuthorizationRequestList) Items ¶
func (l *QuotaAuthorizationRequestList) Items() []*QuotaAuthorizationRequest
Items returns the items of the list.
func (*QuotaAuthorizationRequestList) Len ¶
func (l *QuotaAuthorizationRequestList) Len() int
Len returns the length of the list.
func (*QuotaAuthorizationRequestList) Range ¶
func (l *QuotaAuthorizationRequestList) Range(f func(index int, item *QuotaAuthorizationRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QuotaAuthorizationRequestList) SetHREF ¶
func (l *QuotaAuthorizationRequestList) SetHREF(href string)
Items sets the items of the list.
func (*QuotaAuthorizationRequestList) SetItems ¶
func (l *QuotaAuthorizationRequestList) SetItems(items []*QuotaAuthorizationRequest)
Items sets the items of the list.
func (*QuotaAuthorizationRequestList) SetLink ¶
func (l *QuotaAuthorizationRequestList) SetLink(link bool)
Items sets the items of the list.
func (*QuotaAuthorizationRequestList) Slice ¶
func (l *QuotaAuthorizationRequestList) Slice() []*QuotaAuthorizationRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type QuotaAuthorizationRequestListBuilder ¶
type QuotaAuthorizationRequestListBuilder struct {
// contains filtered or unexported fields
}
QuotaAuthorizationRequestListBuilder contains the data and logic needed to build 'quota_authorization_request' objects.
func NewQuotaAuthorizationRequestList ¶
func NewQuotaAuthorizationRequestList() *QuotaAuthorizationRequestListBuilder
NewQuotaAuthorizationRequestList creates a new builder of 'quota_authorization_request' objects.
func (*QuotaAuthorizationRequestListBuilder) Build ¶
func (b *QuotaAuthorizationRequestListBuilder) Build() (list *QuotaAuthorizationRequestList, err error)
Build creates a list of 'quota_authorization_request' objects using the configuration stored in the builder.
func (*QuotaAuthorizationRequestListBuilder) Copy ¶
func (b *QuotaAuthorizationRequestListBuilder) Copy(list *QuotaAuthorizationRequestList) *QuotaAuthorizationRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*QuotaAuthorizationRequestListBuilder) Empty ¶
func (b *QuotaAuthorizationRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*QuotaAuthorizationRequestListBuilder) Items ¶
func (b *QuotaAuthorizationRequestListBuilder) Items(values ...*QuotaAuthorizationRequestBuilder) *QuotaAuthorizationRequestListBuilder
Items sets the items of the list.
type QuotaAuthorizationResponse ¶
type QuotaAuthorizationResponse struct {
// contains filtered or unexported fields
}
QuotaAuthorizationResponse represents the values of the 'quota_authorization_response' type.
func ReadQuotaAuthorizationResponse ¶
func ReadQuotaAuthorizationResponse(iterator *jsoniter.Iterator) *QuotaAuthorizationResponse
ReadQuotaAuthorizationResponse reads a value of the 'quota_authorization_response' type from the given iterator.
func ReadQuotaAuthorizationResponseList ¶
func ReadQuotaAuthorizationResponseList(iterator *jsoniter.Iterator) []*QuotaAuthorizationResponse
ReadQuotaAuthorizationResponseList reads list of values of the ”quota_authorization_response' type from the given iterator.
func UnmarshalQuotaAuthorizationResponse ¶
func UnmarshalQuotaAuthorizationResponse(source interface{}) (object *QuotaAuthorizationResponse, err error)
UnmarshalQuotaAuthorizationResponse reads a value of the 'quota_authorization_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalQuotaAuthorizationResponseList ¶
func UnmarshalQuotaAuthorizationResponseList(source interface{}) (items []*QuotaAuthorizationResponse, err error)
UnmarshalQuotaAuthorizationResponseList reads a list of values of the 'quota_authorization_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*QuotaAuthorizationResponse) Allowed ¶
func (o *QuotaAuthorizationResponse) Allowed() bool
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaAuthorizationResponse) Empty ¶
func (o *QuotaAuthorizationResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*QuotaAuthorizationResponse) ExcessResources ¶
func (o *QuotaAuthorizationResponse) ExcessResources() []*ReservedResource
ExcessResources returns the value of the 'excess_resources' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaAuthorizationResponse) GetAllowed ¶
func (o *QuotaAuthorizationResponse) GetAllowed() (value bool, ok bool)
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationResponse) GetExcessResources ¶
func (o *QuotaAuthorizationResponse) GetExcessResources() (value []*ReservedResource, ok bool)
GetExcessResources returns the value of the 'excess_resources' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationResponse) GetSubscription ¶
func (o *QuotaAuthorizationResponse) GetSubscription() (value *Subscription, ok bool)
GetSubscription returns the value of the 'subscription' attribute and a flag indicating if the attribute has a value.
func (*QuotaAuthorizationResponse) Subscription ¶
func (o *QuotaAuthorizationResponse) Subscription() *Subscription
Subscription returns the value of the 'subscription' attribute, or the zero value of the type if the attribute doesn't have a value.
type QuotaAuthorizationResponseBuilder ¶
type QuotaAuthorizationResponseBuilder struct {
// contains filtered or unexported fields
}
func NewQuotaAuthorizationResponse ¶
func NewQuotaAuthorizationResponse() *QuotaAuthorizationResponseBuilder
NewQuotaAuthorizationResponse creates a new builder of 'quota_authorization_response' objects.
func (*QuotaAuthorizationResponseBuilder) Allowed ¶
func (b *QuotaAuthorizationResponseBuilder) Allowed(value bool) *QuotaAuthorizationResponseBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*QuotaAuthorizationResponseBuilder) Build ¶
func (b *QuotaAuthorizationResponseBuilder) Build() (object *QuotaAuthorizationResponse, err error)
Build creates a 'quota_authorization_response' object using the configuration stored in the builder.
func (*QuotaAuthorizationResponseBuilder) Copy ¶
func (b *QuotaAuthorizationResponseBuilder) Copy(object *QuotaAuthorizationResponse) *QuotaAuthorizationResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*QuotaAuthorizationResponseBuilder) Empty ¶
func (b *QuotaAuthorizationResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*QuotaAuthorizationResponseBuilder) ExcessResources ¶
func (b *QuotaAuthorizationResponseBuilder) ExcessResources(values ...*ReservedResourceBuilder) *QuotaAuthorizationResponseBuilder
ExcessResources sets the value of the 'excess_resources' attribute to the given values.
func (*QuotaAuthorizationResponseBuilder) Subscription ¶
func (b *QuotaAuthorizationResponseBuilder) Subscription(value *SubscriptionBuilder) *QuotaAuthorizationResponseBuilder
Subscription sets the value of the 'subscription' attribute to the given value.
type QuotaAuthorizationResponseList ¶
type QuotaAuthorizationResponseList struct {
// contains filtered or unexported fields
}
QuotaAuthorizationResponseList is a list of values of the 'quota_authorization_response' type.
func (*QuotaAuthorizationResponseList) Each ¶
func (l *QuotaAuthorizationResponseList) Each(f func(item *QuotaAuthorizationResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QuotaAuthorizationResponseList) Empty ¶
func (l *QuotaAuthorizationResponseList) Empty() bool
Empty returns true if the list is empty.
func (*QuotaAuthorizationResponseList) Get ¶
func (l *QuotaAuthorizationResponseList) Get(i int) *QuotaAuthorizationResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*QuotaAuthorizationResponseList) Items ¶
func (l *QuotaAuthorizationResponseList) Items() []*QuotaAuthorizationResponse
Items returns the items of the list.
func (*QuotaAuthorizationResponseList) Len ¶
func (l *QuotaAuthorizationResponseList) Len() int
Len returns the length of the list.
func (*QuotaAuthorizationResponseList) Range ¶
func (l *QuotaAuthorizationResponseList) Range(f func(index int, item *QuotaAuthorizationResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QuotaAuthorizationResponseList) SetHREF ¶
func (l *QuotaAuthorizationResponseList) SetHREF(href string)
Items sets the items of the list.
func (*QuotaAuthorizationResponseList) SetItems ¶
func (l *QuotaAuthorizationResponseList) SetItems(items []*QuotaAuthorizationResponse)
Items sets the items of the list.
func (*QuotaAuthorizationResponseList) SetLink ¶
func (l *QuotaAuthorizationResponseList) SetLink(link bool)
Items sets the items of the list.
func (*QuotaAuthorizationResponseList) Slice ¶
func (l *QuotaAuthorizationResponseList) Slice() []*QuotaAuthorizationResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type QuotaAuthorizationResponseListBuilder ¶
type QuotaAuthorizationResponseListBuilder struct {
// contains filtered or unexported fields
}
QuotaAuthorizationResponseListBuilder contains the data and logic needed to build 'quota_authorization_response' objects.
func NewQuotaAuthorizationResponseList ¶
func NewQuotaAuthorizationResponseList() *QuotaAuthorizationResponseListBuilder
NewQuotaAuthorizationResponseList creates a new builder of 'quota_authorization_response' objects.
func (*QuotaAuthorizationResponseListBuilder) Build ¶
func (b *QuotaAuthorizationResponseListBuilder) Build() (list *QuotaAuthorizationResponseList, err error)
Build creates a list of 'quota_authorization_response' objects using the configuration stored in the builder.
func (*QuotaAuthorizationResponseListBuilder) Copy ¶
func (b *QuotaAuthorizationResponseListBuilder) Copy(list *QuotaAuthorizationResponseList) *QuotaAuthorizationResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*QuotaAuthorizationResponseListBuilder) Empty ¶
func (b *QuotaAuthorizationResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*QuotaAuthorizationResponseListBuilder) Items ¶
func (b *QuotaAuthorizationResponseListBuilder) Items(values ...*QuotaAuthorizationResponseBuilder) *QuotaAuthorizationResponseListBuilder
Items sets the items of the list.
type QuotaCost ¶
type QuotaCost struct {
// contains filtered or unexported fields
}
QuotaCost represents the values of the 'quota_cost' type.
func ReadQuotaCost ¶
ReadQuotaCost reads a value of the 'quota_cost' type from the given iterator.
func ReadQuotaCostList ¶
ReadQuotaCostList reads list of values of the ”quota_cost' type from the given iterator.
func UnmarshalQuotaCost ¶
UnmarshalQuotaCost reads a value of the 'quota_cost' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalQuotaCostList ¶
UnmarshalQuotaCostList reads a list of values of the 'quota_cost' type from the given source, which can be a slice of bytes, a string or a reader.
func (*QuotaCost) Allowed ¶
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaCost) CloudAccounts ¶
func (o *QuotaCost) CloudAccounts() []*CloudAccount
CloudAccounts returns the value of the 'cloud_accounts' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaCost) Consumed ¶
Consumed returns the value of the 'consumed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaCost) Empty ¶
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*QuotaCost) GetAllowed ¶
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
func (*QuotaCost) GetCloudAccounts ¶
func (o *QuotaCost) GetCloudAccounts() (value []*CloudAccount, ok bool)
GetCloudAccounts returns the value of the 'cloud_accounts' attribute and a flag indicating if the attribute has a value.
func (*QuotaCost) GetConsumed ¶
GetConsumed returns the value of the 'consumed' attribute and a flag indicating if the attribute has a value.
func (*QuotaCost) GetOrganizationID ¶
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*QuotaCost) GetQuotaID ¶
GetQuotaID returns the value of the 'quota_ID' attribute and a flag indicating if the attribute has a value.
func (*QuotaCost) GetRelatedResources ¶
func (o *QuotaCost) GetRelatedResources() (value []*RelatedResource, ok bool)
GetRelatedResources returns the value of the 'related_resources' attribute and a flag indicating if the attribute has a value.
func (*QuotaCost) GetVersion ¶
GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.
func (*QuotaCost) OrganizationID ¶
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaCost) QuotaID ¶
QuotaID returns the value of the 'quota_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaCost) RelatedResources ¶
func (o *QuotaCost) RelatedResources() []*RelatedResource
RelatedResources returns the value of the 'related_resources' attribute, or the zero value of the type if the attribute doesn't have a value.
type QuotaCostBuilder ¶
type QuotaCostBuilder struct {
// contains filtered or unexported fields
}
func NewQuotaCost ¶
func NewQuotaCost() *QuotaCostBuilder
NewQuotaCost creates a new builder of 'quota_cost' objects.
func (*QuotaCostBuilder) Allowed ¶
func (b *QuotaCostBuilder) Allowed(value int) *QuotaCostBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*QuotaCostBuilder) Build ¶
func (b *QuotaCostBuilder) Build() (object *QuotaCost, err error)
Build creates a 'quota_cost' object using the configuration stored in the builder.
func (*QuotaCostBuilder) CloudAccounts ¶
func (b *QuotaCostBuilder) CloudAccounts(values ...*CloudAccountBuilder) *QuotaCostBuilder
CloudAccounts sets the value of the 'cloud_accounts' attribute to the given values.
func (*QuotaCostBuilder) Consumed ¶
func (b *QuotaCostBuilder) Consumed(value int) *QuotaCostBuilder
Consumed sets the value of the 'consumed' attribute to the given value.
func (*QuotaCostBuilder) Copy ¶
func (b *QuotaCostBuilder) Copy(object *QuotaCost) *QuotaCostBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*QuotaCostBuilder) Empty ¶
func (b *QuotaCostBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*QuotaCostBuilder) OrganizationID ¶
func (b *QuotaCostBuilder) OrganizationID(value string) *QuotaCostBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*QuotaCostBuilder) QuotaID ¶
func (b *QuotaCostBuilder) QuotaID(value string) *QuotaCostBuilder
QuotaID sets the value of the 'quota_ID' attribute to the given value.
func (*QuotaCostBuilder) RelatedResources ¶
func (b *QuotaCostBuilder) RelatedResources(values ...*RelatedResourceBuilder) *QuotaCostBuilder
RelatedResources sets the value of the 'related_resources' attribute to the given values.
func (*QuotaCostBuilder) Version ¶
func (b *QuotaCostBuilder) Version(value string) *QuotaCostBuilder
Version sets the value of the 'version' attribute to the given value.
type QuotaCostList ¶
type QuotaCostList struct {
// contains filtered or unexported fields
}
QuotaCostList is a list of values of the 'quota_cost' type.
func (*QuotaCostList) Each ¶
func (l *QuotaCostList) Each(f func(item *QuotaCost) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QuotaCostList) Empty ¶
func (l *QuotaCostList) Empty() bool
Empty returns true if the list is empty.
func (*QuotaCostList) Get ¶
func (l *QuotaCostList) Get(i int) *QuotaCost
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*QuotaCostList) Items ¶
func (l *QuotaCostList) Items() []*QuotaCost
Items returns the items of the list.
func (*QuotaCostList) Range ¶
func (l *QuotaCostList) Range(f func(index int, item *QuotaCost) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QuotaCostList) SetHREF ¶
func (l *QuotaCostList) SetHREF(href string)
Items sets the items of the list.
func (*QuotaCostList) SetItems ¶
func (l *QuotaCostList) SetItems(items []*QuotaCost)
Items sets the items of the list.
func (*QuotaCostList) SetLink ¶
func (l *QuotaCostList) SetLink(link bool)
Items sets the items of the list.
func (*QuotaCostList) Slice ¶
func (l *QuotaCostList) Slice() []*QuotaCost
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type QuotaCostListBuilder ¶
type QuotaCostListBuilder struct {
// contains filtered or unexported fields
}
QuotaCostListBuilder contains the data and logic needed to build 'quota_cost' objects.
func NewQuotaCostList ¶
func NewQuotaCostList() *QuotaCostListBuilder
NewQuotaCostList creates a new builder of 'quota_cost' objects.
func (*QuotaCostListBuilder) Build ¶
func (b *QuotaCostListBuilder) Build() (list *QuotaCostList, err error)
Build creates a list of 'quota_cost' objects using the configuration stored in the builder.
func (*QuotaCostListBuilder) Copy ¶
func (b *QuotaCostListBuilder) Copy(list *QuotaCostList) *QuotaCostListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*QuotaCostListBuilder) Empty ¶
func (b *QuotaCostListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*QuotaCostListBuilder) Items ¶
func (b *QuotaCostListBuilder) Items(values ...*QuotaCostBuilder) *QuotaCostListBuilder
Items sets the items of the list.
type QuotaRules ¶
type QuotaRules struct {
// contains filtered or unexported fields
}
QuotaRules represents the values of the 'quota_rules' type.
func ReadQuotaRules ¶
func ReadQuotaRules(iterator *jsoniter.Iterator) *QuotaRules
ReadQuotaRules reads a value of the 'quota_rules' type from the given iterator.
func ReadQuotaRulesList ¶
func ReadQuotaRulesList(iterator *jsoniter.Iterator) []*QuotaRules
ReadQuotaRulesList reads list of values of the ”quota_rules' type from the given iterator.
func UnmarshalQuotaRules ¶
func UnmarshalQuotaRules(source interface{}) (object *QuotaRules, err error)
UnmarshalQuotaRules reads a value of the 'quota_rules' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalQuotaRulesList ¶
func UnmarshalQuotaRulesList(source interface{}) (items []*QuotaRules, err error)
UnmarshalQuotaRulesList reads a list of values of the 'quota_rules' type from the given source, which can be a slice of bytes, a string or a reader.
func (*QuotaRules) AvailabilityZone ¶
func (o *QuotaRules) AvailabilityZone() string
AvailabilityZone returns the value of the 'availability_zone' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaRules) BillingModel ¶
func (o *QuotaRules) BillingModel() string
BillingModel returns the value of the 'billing_model' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaRules) Byoc ¶
func (o *QuotaRules) Byoc() string
Byoc returns the value of the 'byoc' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaRules) Cloud ¶
func (o *QuotaRules) Cloud() string
Cloud returns the value of the 'cloud' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaRules) Cost ¶
func (o *QuotaRules) Cost() int
Cost returns the value of the 'cost' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaRules) Empty ¶
func (o *QuotaRules) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*QuotaRules) GetAvailabilityZone ¶
func (o *QuotaRules) GetAvailabilityZone() (value string, ok bool)
GetAvailabilityZone returns the value of the 'availability_zone' attribute and a flag indicating if the attribute has a value.
func (*QuotaRules) GetBillingModel ¶
func (o *QuotaRules) GetBillingModel() (value string, ok bool)
GetBillingModel returns the value of the 'billing_model' attribute and a flag indicating if the attribute has a value.
func (*QuotaRules) GetByoc ¶
func (o *QuotaRules) GetByoc() (value string, ok bool)
GetByoc returns the value of the 'byoc' attribute and a flag indicating if the attribute has a value.
func (*QuotaRules) GetCloud ¶
func (o *QuotaRules) GetCloud() (value string, ok bool)
GetCloud returns the value of the 'cloud' attribute and a flag indicating if the attribute has a value.
func (*QuotaRules) GetCost ¶
func (o *QuotaRules) GetCost() (value int, ok bool)
GetCost returns the value of the 'cost' attribute and a flag indicating if the attribute has a value.
func (*QuotaRules) GetName ¶
func (o *QuotaRules) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*QuotaRules) GetProduct ¶
func (o *QuotaRules) GetProduct() (value string, ok bool)
GetProduct returns the value of the 'product' attribute and a flag indicating if the attribute has a value.
func (*QuotaRules) GetQuotaId ¶
func (o *QuotaRules) GetQuotaId() (value string, ok bool)
GetQuotaId returns the value of the 'quota_id' attribute and a flag indicating if the attribute has a value.
func (*QuotaRules) Name ¶
func (o *QuotaRules) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaRules) Product ¶
func (o *QuotaRules) Product() string
Product returns the value of the 'product' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaRules) QuotaId ¶
func (o *QuotaRules) QuotaId() string
QuotaId returns the value of the 'quota_id' attribute, or the zero value of the type if the attribute doesn't have a value.
type QuotaRulesBuilder ¶
type QuotaRulesBuilder struct {
// contains filtered or unexported fields
}
func NewQuotaRules ¶
func NewQuotaRules() *QuotaRulesBuilder
NewQuotaRules creates a new builder of 'quota_rules' objects.
func (*QuotaRulesBuilder) AvailabilityZone ¶
func (b *QuotaRulesBuilder) AvailabilityZone(value string) *QuotaRulesBuilder
AvailabilityZone sets the value of the 'availability_zone' attribute to the given value.
func (*QuotaRulesBuilder) BillingModel ¶
func (b *QuotaRulesBuilder) BillingModel(value string) *QuotaRulesBuilder
BillingModel sets the value of the 'billing_model' attribute to the given value.
func (*QuotaRulesBuilder) Build ¶
func (b *QuotaRulesBuilder) Build() (object *QuotaRules, err error)
Build creates a 'quota_rules' object using the configuration stored in the builder.
func (*QuotaRulesBuilder) Byoc ¶
func (b *QuotaRulesBuilder) Byoc(value string) *QuotaRulesBuilder
Byoc sets the value of the 'byoc' attribute to the given value.
func (*QuotaRulesBuilder) Cloud ¶
func (b *QuotaRulesBuilder) Cloud(value string) *QuotaRulesBuilder
Cloud sets the value of the 'cloud' attribute to the given value.
func (*QuotaRulesBuilder) Copy ¶
func (b *QuotaRulesBuilder) Copy(object *QuotaRules) *QuotaRulesBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*QuotaRulesBuilder) Cost ¶
func (b *QuotaRulesBuilder) Cost(value int) *QuotaRulesBuilder
Cost sets the value of the 'cost' attribute to the given value.
func (*QuotaRulesBuilder) Empty ¶
func (b *QuotaRulesBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*QuotaRulesBuilder) Name ¶
func (b *QuotaRulesBuilder) Name(value string) *QuotaRulesBuilder
Name sets the value of the 'name' attribute to the given value.
func (*QuotaRulesBuilder) Product ¶
func (b *QuotaRulesBuilder) Product(value string) *QuotaRulesBuilder
Product sets the value of the 'product' attribute to the given value.
func (*QuotaRulesBuilder) QuotaId ¶
func (b *QuotaRulesBuilder) QuotaId(value string) *QuotaRulesBuilder
QuotaId sets the value of the 'quota_id' attribute to the given value.
type QuotaRulesList ¶
type QuotaRulesList struct {
// contains filtered or unexported fields
}
QuotaRulesList is a list of values of the 'quota_rules' type.
func (*QuotaRulesList) Each ¶
func (l *QuotaRulesList) Each(f func(item *QuotaRules) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QuotaRulesList) Empty ¶
func (l *QuotaRulesList) Empty() bool
Empty returns true if the list is empty.
func (*QuotaRulesList) Get ¶
func (l *QuotaRulesList) Get(i int) *QuotaRules
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*QuotaRulesList) Items ¶
func (l *QuotaRulesList) Items() []*QuotaRules
Items returns the items of the list.
func (*QuotaRulesList) Len ¶
func (l *QuotaRulesList) Len() int
Len returns the length of the list.
func (*QuotaRulesList) Range ¶
func (l *QuotaRulesList) Range(f func(index int, item *QuotaRules) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QuotaRulesList) SetHREF ¶
func (l *QuotaRulesList) SetHREF(href string)
Items sets the items of the list.
func (*QuotaRulesList) SetItems ¶
func (l *QuotaRulesList) SetItems(items []*QuotaRules)
Items sets the items of the list.
func (*QuotaRulesList) SetLink ¶
func (l *QuotaRulesList) SetLink(link bool)
Items sets the items of the list.
func (*QuotaRulesList) Slice ¶
func (l *QuotaRulesList) Slice() []*QuotaRules
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type QuotaRulesListBuilder ¶
type QuotaRulesListBuilder struct {
// contains filtered or unexported fields
}
QuotaRulesListBuilder contains the data and logic needed to build 'quota_rules' objects.
func NewQuotaRulesList ¶
func NewQuotaRulesList() *QuotaRulesListBuilder
NewQuotaRulesList creates a new builder of 'quota_rules' objects.
func (*QuotaRulesListBuilder) Build ¶
func (b *QuotaRulesListBuilder) Build() (list *QuotaRulesList, err error)
Build creates a list of 'quota_rules' objects using the configuration stored in the builder.
func (*QuotaRulesListBuilder) Copy ¶
func (b *QuotaRulesListBuilder) Copy(list *QuotaRulesList) *QuotaRulesListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*QuotaRulesListBuilder) Empty ¶
func (b *QuotaRulesListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*QuotaRulesListBuilder) Items ¶
func (b *QuotaRulesListBuilder) Items(values ...*QuotaRulesBuilder) *QuotaRulesListBuilder
Items sets the items of the list.
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry represents the values of the 'registry' type.
func ReadRegistry ¶
ReadRegistry reads a value of the 'registry' type from the given iterator.
func ReadRegistryList ¶
ReadRegistryList reads list of values of the ”registry' type from the given iterator.
func UnmarshalRegistry ¶
UnmarshalRegistry reads a value of the 'registry' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalRegistryList ¶
UnmarshalRegistryList reads a list of values of the 'registry' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Registry) CloudAlias ¶
CloudAlias returns the value of the 'cloud_alias' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) CreatedAt ¶
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) GetCloudAlias ¶
GetCloudAlias returns the value of the 'cloud_alias' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Registry) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Registry) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetOrgName ¶
GetOrgName returns the value of the 'org_name' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetTeamName ¶
GetTeamName returns the value of the 'team_name' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetType ¶
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetURL ¶
GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Registry) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) OrgName ¶
OrgName returns the value of the 'org_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) TeamName ¶
TeamName returns the value of the 'team_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) Type ¶
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
type RegistryBuilder ¶
type RegistryBuilder struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *RegistryBuilder
NewRegistry creates a new builder of 'registry' objects.
func (*RegistryBuilder) Build ¶
func (b *RegistryBuilder) Build() (object *Registry, err error)
Build creates a 'registry' object using the configuration stored in the builder.
func (*RegistryBuilder) CloudAlias ¶
func (b *RegistryBuilder) CloudAlias(value bool) *RegistryBuilder
CloudAlias sets the value of the 'cloud_alias' attribute to the given value.
func (*RegistryBuilder) Copy ¶
func (b *RegistryBuilder) Copy(object *Registry) *RegistryBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*RegistryBuilder) CreatedAt ¶
func (b *RegistryBuilder) CreatedAt(value time.Time) *RegistryBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*RegistryBuilder) Empty ¶
func (b *RegistryBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*RegistryBuilder) HREF ¶
func (b *RegistryBuilder) HREF(value string) *RegistryBuilder
HREF sets the link to the object.
func (*RegistryBuilder) ID ¶
func (b *RegistryBuilder) ID(value string) *RegistryBuilder
ID sets the identifier of the object.
func (*RegistryBuilder) Link ¶
func (b *RegistryBuilder) Link(value bool) *RegistryBuilder
Link sets the flag that indicates if this is a link.
func (*RegistryBuilder) Name ¶
func (b *RegistryBuilder) Name(value string) *RegistryBuilder
Name sets the value of the 'name' attribute to the given value.
func (*RegistryBuilder) OrgName ¶
func (b *RegistryBuilder) OrgName(value string) *RegistryBuilder
OrgName sets the value of the 'org_name' attribute to the given value.
func (*RegistryBuilder) TeamName ¶
func (b *RegistryBuilder) TeamName(value string) *RegistryBuilder
TeamName sets the value of the 'team_name' attribute to the given value.
func (*RegistryBuilder) Type ¶
func (b *RegistryBuilder) Type(value string) *RegistryBuilder
Type sets the value of the 'type' attribute to the given value.
func (*RegistryBuilder) URL ¶
func (b *RegistryBuilder) URL(value string) *RegistryBuilder
URL sets the value of the 'URL' attribute to the given value.
func (*RegistryBuilder) UpdatedAt ¶
func (b *RegistryBuilder) UpdatedAt(value time.Time) *RegistryBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type RegistryCredential ¶
type RegistryCredential struct {
// contains filtered or unexported fields
}
RegistryCredential represents the values of the 'registry_credential' type.
func ReadRegistryCredential ¶
func ReadRegistryCredential(iterator *jsoniter.Iterator) *RegistryCredential
ReadRegistryCredential reads a value of the 'registry_credential' type from the given iterator.
func ReadRegistryCredentialList ¶
func ReadRegistryCredentialList(iterator *jsoniter.Iterator) []*RegistryCredential
ReadRegistryCredentialList reads list of values of the ”registry_credential' type from the given iterator.
func UnmarshalRegistryCredential ¶
func UnmarshalRegistryCredential(source interface{}) (object *RegistryCredential, err error)
UnmarshalRegistryCredential reads a value of the 'registry_credential' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalRegistryCredentialList ¶
func UnmarshalRegistryCredentialList(source interface{}) (items []*RegistryCredential, err error)
UnmarshalRegistryCredentialList reads a list of values of the 'registry_credential' type from the given source, which can be a slice of bytes, a string or a reader.
func (*RegistryCredential) Account ¶
func (o *RegistryCredential) Account() *Account
Account returns the value of the 'account' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) CreatedAt ¶
func (o *RegistryCredential) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) Empty ¶
func (o *RegistryCredential) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*RegistryCredential) ExternalResourceID ¶
func (o *RegistryCredential) ExternalResourceID() string
ExternalResourceID returns the value of the 'external_resource_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) GetAccount ¶
func (o *RegistryCredential) GetAccount() (value *Account, ok bool)
GetAccount returns the value of the 'account' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetCreatedAt ¶
func (o *RegistryCredential) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetExternalResourceID ¶
func (o *RegistryCredential) GetExternalResourceID() (value string, ok bool)
GetExternalResourceID returns the value of the 'external_resource_ID' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetHREF ¶
func (o *RegistryCredential) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*RegistryCredential) GetID ¶
func (o *RegistryCredential) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*RegistryCredential) GetRegistry ¶
func (o *RegistryCredential) GetRegistry() (value *Registry, ok bool)
GetRegistry returns the value of the 'registry' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetToken ¶
func (o *RegistryCredential) GetToken() (value string, ok bool)
GetToken returns the value of the 'token' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetUpdatedAt ¶
func (o *RegistryCredential) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetUsername ¶
func (o *RegistryCredential) GetUsername() (value string, ok bool)
GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) HREF ¶
func (o *RegistryCredential) HREF() string
HREF returns the link to the object.
func (*RegistryCredential) ID ¶
func (o *RegistryCredential) ID() string
ID returns the identifier of the object.
func (*RegistryCredential) Kind ¶
func (o *RegistryCredential) Kind() string
Kind returns the name of the type of the object.
func (*RegistryCredential) Link ¶
func (o *RegistryCredential) Link() bool
Link returns true if this is a link.
func (*RegistryCredential) Registry ¶
func (o *RegistryCredential) Registry() *Registry
Registry returns the value of the 'registry' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) Token ¶
func (o *RegistryCredential) Token() string
Token returns the value of the 'token' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) UpdatedAt ¶
func (o *RegistryCredential) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) Username ¶
func (o *RegistryCredential) Username() string
Username returns the value of the 'username' attribute, or the zero value of the type if the attribute doesn't have a value.
type RegistryCredentialBuilder ¶
type RegistryCredentialBuilder struct {
// contains filtered or unexported fields
}
func NewRegistryCredential ¶
func NewRegistryCredential() *RegistryCredentialBuilder
NewRegistryCredential creates a new builder of 'registry_credential' objects.
func (*RegistryCredentialBuilder) Account ¶
func (b *RegistryCredentialBuilder) Account(value *AccountBuilder) *RegistryCredentialBuilder
Account sets the value of the 'account' attribute to the given value.
func (*RegistryCredentialBuilder) Build ¶
func (b *RegistryCredentialBuilder) Build() (object *RegistryCredential, err error)
Build creates a 'registry_credential' object using the configuration stored in the builder.
func (*RegistryCredentialBuilder) Copy ¶
func (b *RegistryCredentialBuilder) Copy(object *RegistryCredential) *RegistryCredentialBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*RegistryCredentialBuilder) CreatedAt ¶
func (b *RegistryCredentialBuilder) CreatedAt(value time.Time) *RegistryCredentialBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*RegistryCredentialBuilder) Empty ¶
func (b *RegistryCredentialBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*RegistryCredentialBuilder) ExternalResourceID ¶
func (b *RegistryCredentialBuilder) ExternalResourceID(value string) *RegistryCredentialBuilder
ExternalResourceID sets the value of the 'external_resource_ID' attribute to the given value.
func (*RegistryCredentialBuilder) HREF ¶
func (b *RegistryCredentialBuilder) HREF(value string) *RegistryCredentialBuilder
HREF sets the link to the object.
func (*RegistryCredentialBuilder) ID ¶
func (b *RegistryCredentialBuilder) ID(value string) *RegistryCredentialBuilder
ID sets the identifier of the object.
func (*RegistryCredentialBuilder) Link ¶
func (b *RegistryCredentialBuilder) Link(value bool) *RegistryCredentialBuilder
Link sets the flag that indicates if this is a link.
func (*RegistryCredentialBuilder) Registry ¶
func (b *RegistryCredentialBuilder) Registry(value *RegistryBuilder) *RegistryCredentialBuilder
Registry sets the value of the 'registry' attribute to the given value.
func (*RegistryCredentialBuilder) Token ¶
func (b *RegistryCredentialBuilder) Token(value string) *RegistryCredentialBuilder
Token sets the value of the 'token' attribute to the given value.
func (*RegistryCredentialBuilder) UpdatedAt ¶
func (b *RegistryCredentialBuilder) UpdatedAt(value time.Time) *RegistryCredentialBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*RegistryCredentialBuilder) Username ¶
func (b *RegistryCredentialBuilder) Username(value string) *RegistryCredentialBuilder
Username sets the value of the 'username' attribute to the given value.
type RegistryCredentialList ¶
type RegistryCredentialList struct {
// contains filtered or unexported fields
}
RegistryCredentialList is a list of values of the 'registry_credential' type.
func (*RegistryCredentialList) Each ¶
func (l *RegistryCredentialList) Each(f func(item *RegistryCredential) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RegistryCredentialList) Empty ¶
func (l *RegistryCredentialList) Empty() bool
Empty returns true if the list is empty.
func (*RegistryCredentialList) Get ¶
func (l *RegistryCredentialList) Get(i int) *RegistryCredential
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*RegistryCredentialList) GetHREF ¶
func (l *RegistryCredentialList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*RegistryCredentialList) HREF ¶
func (l *RegistryCredentialList) HREF() string
HREF returns the link to the list.
func (*RegistryCredentialList) Items ¶
func (l *RegistryCredentialList) Items() []*RegistryCredential
Items returns the items of the list.
func (*RegistryCredentialList) Kind ¶
func (l *RegistryCredentialList) Kind() string
Kind returns the name of the type of the object.
func (*RegistryCredentialList) Len ¶
func (l *RegistryCredentialList) Len() int
Len returns the length of the list.
func (*RegistryCredentialList) Link ¶
func (l *RegistryCredentialList) Link() bool
Link returns true iif this is a link.
func (*RegistryCredentialList) Range ¶
func (l *RegistryCredentialList) Range(f func(index int, item *RegistryCredential) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RegistryCredentialList) SetHREF ¶
func (l *RegistryCredentialList) SetHREF(href string)
Items sets the items of the list.
func (*RegistryCredentialList) SetItems ¶
func (l *RegistryCredentialList) SetItems(items []*RegistryCredential)
Items sets the items of the list.
func (*RegistryCredentialList) SetLink ¶
func (l *RegistryCredentialList) SetLink(link bool)
Items sets the items of the list.
func (*RegistryCredentialList) Slice ¶
func (l *RegistryCredentialList) Slice() []*RegistryCredential
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type RegistryCredentialListBuilder ¶
type RegistryCredentialListBuilder struct {
// contains filtered or unexported fields
}
RegistryCredentialListBuilder contains the data and logic needed to build 'registry_credential' objects.
func NewRegistryCredentialList ¶
func NewRegistryCredentialList() *RegistryCredentialListBuilder
NewRegistryCredentialList creates a new builder of 'registry_credential' objects.
func (*RegistryCredentialListBuilder) Build ¶
func (b *RegistryCredentialListBuilder) Build() (list *RegistryCredentialList, err error)
Build creates a list of 'registry_credential' objects using the configuration stored in the builder.
func (*RegistryCredentialListBuilder) Copy ¶
func (b *RegistryCredentialListBuilder) Copy(list *RegistryCredentialList) *RegistryCredentialListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*RegistryCredentialListBuilder) Empty ¶
func (b *RegistryCredentialListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*RegistryCredentialListBuilder) Items ¶
func (b *RegistryCredentialListBuilder) Items(values ...*RegistryCredentialBuilder) *RegistryCredentialListBuilder
Items sets the items of the list.
type RegistryList ¶
type RegistryList struct {
// contains filtered or unexported fields
}
RegistryList is a list of values of the 'registry' type.
func (*RegistryList) Each ¶
func (l *RegistryList) Each(f func(item *Registry) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RegistryList) Empty ¶
func (l *RegistryList) Empty() bool
Empty returns true if the list is empty.
func (*RegistryList) Get ¶
func (l *RegistryList) Get(i int) *Registry
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*RegistryList) GetHREF ¶
func (l *RegistryList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*RegistryList) HREF ¶
func (l *RegistryList) HREF() string
HREF returns the link to the list.
func (*RegistryList) Items ¶
func (l *RegistryList) Items() []*Registry
Items returns the items of the list.
func (*RegistryList) Kind ¶
func (l *RegistryList) Kind() string
Kind returns the name of the type of the object.
func (*RegistryList) Link ¶
func (l *RegistryList) Link() bool
Link returns true iif this is a link.
func (*RegistryList) Range ¶
func (l *RegistryList) Range(f func(index int, item *Registry) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RegistryList) SetHREF ¶
func (l *RegistryList) SetHREF(href string)
Items sets the items of the list.
func (*RegistryList) SetItems ¶
func (l *RegistryList) SetItems(items []*Registry)
Items sets the items of the list.
func (*RegistryList) SetLink ¶
func (l *RegistryList) SetLink(link bool)
Items sets the items of the list.
func (*RegistryList) Slice ¶
func (l *RegistryList) Slice() []*Registry
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type RegistryListBuilder ¶
type RegistryListBuilder struct {
// contains filtered or unexported fields
}
RegistryListBuilder contains the data and logic needed to build 'registry' objects.
func NewRegistryList ¶
func NewRegistryList() *RegistryListBuilder
NewRegistryList creates a new builder of 'registry' objects.
func (*RegistryListBuilder) Build ¶
func (b *RegistryListBuilder) Build() (list *RegistryList, err error)
Build creates a list of 'registry' objects using the configuration stored in the builder.
func (*RegistryListBuilder) Copy ¶
func (b *RegistryListBuilder) Copy(list *RegistryList) *RegistryListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*RegistryListBuilder) Empty ¶
func (b *RegistryListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*RegistryListBuilder) Items ¶
func (b *RegistryListBuilder) Items(values ...*RegistryBuilder) *RegistryListBuilder
Items sets the items of the list.
type RelatedResource ¶
type RelatedResource struct {
// contains filtered or unexported fields
}
RelatedResource represents the values of the 'related_resource' type.
Resource which can be provisioned using the allowed quota.
func ReadRelatedResource ¶
func ReadRelatedResource(iterator *jsoniter.Iterator) *RelatedResource
ReadRelatedResource reads a value of the 'related_resource' type from the given iterator.
func ReadRelatedResourceList ¶
func ReadRelatedResourceList(iterator *jsoniter.Iterator) []*RelatedResource
ReadRelatedResourceList reads list of values of the ”related_resource' type from the given iterator.
func UnmarshalRelatedResource ¶
func UnmarshalRelatedResource(source interface{}) (object *RelatedResource, err error)
UnmarshalRelatedResource reads a value of the 'related_resource' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalRelatedResourceList ¶
func UnmarshalRelatedResourceList(source interface{}) (items []*RelatedResource, err error)
UnmarshalRelatedResourceList reads a list of values of the 'related_resource' type from the given source, which can be a slice of bytes, a string or a reader.
func (*RelatedResource) AvailabilityZoneType ¶
func (o *RelatedResource) AvailabilityZoneType() string
AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RelatedResource) BYOC ¶
func (o *RelatedResource) BYOC() string
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RelatedResource) BillingModel ¶
func (o *RelatedResource) BillingModel() string
BillingModel returns the value of the 'billing_model' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RelatedResource) CloudProvider ¶
func (o *RelatedResource) CloudProvider() string
CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RelatedResource) Cost ¶
func (o *RelatedResource) Cost() int
Cost returns the value of the 'cost' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RelatedResource) Empty ¶
func (o *RelatedResource) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*RelatedResource) GetAvailabilityZoneType ¶
func (o *RelatedResource) GetAvailabilityZoneType() (value string, ok bool)
GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and a flag indicating if the attribute has a value.
func (*RelatedResource) GetBYOC ¶
func (o *RelatedResource) GetBYOC() (value string, ok bool)
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*RelatedResource) GetBillingModel ¶
func (o *RelatedResource) GetBillingModel() (value string, ok bool)
GetBillingModel returns the value of the 'billing_model' attribute and a flag indicating if the attribute has a value.
func (*RelatedResource) GetCloudProvider ¶
func (o *RelatedResource) GetCloudProvider() (value string, ok bool)
GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.
func (*RelatedResource) GetCost ¶
func (o *RelatedResource) GetCost() (value int, ok bool)
GetCost returns the value of the 'cost' attribute and a flag indicating if the attribute has a value.
func (*RelatedResource) GetProduct ¶
func (o *RelatedResource) GetProduct() (value string, ok bool)
GetProduct returns the value of the 'product' attribute and a flag indicating if the attribute has a value.
func (*RelatedResource) GetResourceName ¶
func (o *RelatedResource) GetResourceName() (value string, ok bool)
GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.
func (*RelatedResource) GetResourceType ¶
func (o *RelatedResource) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*RelatedResource) Product ¶
func (o *RelatedResource) Product() string
Product returns the value of the 'product' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RelatedResource) ResourceName ¶
func (o *RelatedResource) ResourceName() string
ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RelatedResource) ResourceType ¶
func (o *RelatedResource) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
type RelatedResourceBuilder ¶
type RelatedResourceBuilder struct {
// contains filtered or unexported fields
}
Resource which can be provisioned using the allowed quota.
func NewRelatedResource ¶
func NewRelatedResource() *RelatedResourceBuilder
NewRelatedResource creates a new builder of 'related_resource' objects.
func (*RelatedResourceBuilder) AvailabilityZoneType ¶
func (b *RelatedResourceBuilder) AvailabilityZoneType(value string) *RelatedResourceBuilder
AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value.
func (*RelatedResourceBuilder) BYOC ¶
func (b *RelatedResourceBuilder) BYOC(value string) *RelatedResourceBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*RelatedResourceBuilder) BillingModel ¶
func (b *RelatedResourceBuilder) BillingModel(value string) *RelatedResourceBuilder
BillingModel sets the value of the 'billing_model' attribute to the given value.
func (*RelatedResourceBuilder) Build ¶
func (b *RelatedResourceBuilder) Build() (object *RelatedResource, err error)
Build creates a 'related_resource' object using the configuration stored in the builder.
func (*RelatedResourceBuilder) CloudProvider ¶
func (b *RelatedResourceBuilder) CloudProvider(value string) *RelatedResourceBuilder
CloudProvider sets the value of the 'cloud_provider' attribute to the given value.
func (*RelatedResourceBuilder) Copy ¶
func (b *RelatedResourceBuilder) Copy(object *RelatedResource) *RelatedResourceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*RelatedResourceBuilder) Cost ¶
func (b *RelatedResourceBuilder) Cost(value int) *RelatedResourceBuilder
Cost sets the value of the 'cost' attribute to the given value.
func (*RelatedResourceBuilder) Empty ¶
func (b *RelatedResourceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*RelatedResourceBuilder) Product ¶
func (b *RelatedResourceBuilder) Product(value string) *RelatedResourceBuilder
Product sets the value of the 'product' attribute to the given value.
func (*RelatedResourceBuilder) ResourceName ¶
func (b *RelatedResourceBuilder) ResourceName(value string) *RelatedResourceBuilder
ResourceName sets the value of the 'resource_name' attribute to the given value.
func (*RelatedResourceBuilder) ResourceType ¶
func (b *RelatedResourceBuilder) ResourceType(value string) *RelatedResourceBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
type RelatedResourceList ¶
type RelatedResourceList struct {
// contains filtered or unexported fields
}
RelatedResourceList is a list of values of the 'related_resource' type.
func (*RelatedResourceList) Each ¶
func (l *RelatedResourceList) Each(f func(item *RelatedResource) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RelatedResourceList) Empty ¶
func (l *RelatedResourceList) Empty() bool
Empty returns true if the list is empty.
func (*RelatedResourceList) Get ¶
func (l *RelatedResourceList) Get(i int) *RelatedResource
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*RelatedResourceList) Items ¶
func (l *RelatedResourceList) Items() []*RelatedResource
Items returns the items of the list.
func (*RelatedResourceList) Len ¶
func (l *RelatedResourceList) Len() int
Len returns the length of the list.
func (*RelatedResourceList) Range ¶
func (l *RelatedResourceList) Range(f func(index int, item *RelatedResource) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RelatedResourceList) SetHREF ¶
func (l *RelatedResourceList) SetHREF(href string)
Items sets the items of the list.
func (*RelatedResourceList) SetItems ¶
func (l *RelatedResourceList) SetItems(items []*RelatedResource)
Items sets the items of the list.
func (*RelatedResourceList) SetLink ¶
func (l *RelatedResourceList) SetLink(link bool)
Items sets the items of the list.
func (*RelatedResourceList) Slice ¶
func (l *RelatedResourceList) Slice() []*RelatedResource
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type RelatedResourceListBuilder ¶
type RelatedResourceListBuilder struct {
// contains filtered or unexported fields
}
RelatedResourceListBuilder contains the data and logic needed to build 'related_resource' objects.
func NewRelatedResourceList ¶
func NewRelatedResourceList() *RelatedResourceListBuilder
NewRelatedResourceList creates a new builder of 'related_resource' objects.
func (*RelatedResourceListBuilder) Build ¶
func (b *RelatedResourceListBuilder) Build() (list *RelatedResourceList, err error)
Build creates a list of 'related_resource' objects using the configuration stored in the builder.
func (*RelatedResourceListBuilder) Copy ¶
func (b *RelatedResourceListBuilder) Copy(list *RelatedResourceList) *RelatedResourceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*RelatedResourceListBuilder) Empty ¶
func (b *RelatedResourceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*RelatedResourceListBuilder) Items ¶
func (b *RelatedResourceListBuilder) Items(values ...*RelatedResourceBuilder) *RelatedResourceListBuilder
Items sets the items of the list.
type ReservedResource ¶
type ReservedResource struct {
// contains filtered or unexported fields
}
ReservedResource represents the values of the 'reserved_resource' type.
func ReadReservedResource ¶
func ReadReservedResource(iterator *jsoniter.Iterator) *ReservedResource
ReadReservedResource reads a value of the 'reserved_resource' type from the given iterator.
func ReadReservedResourceList ¶
func ReadReservedResourceList(iterator *jsoniter.Iterator) []*ReservedResource
ReadReservedResourceList reads list of values of the ”reserved_resource' type from the given iterator.
func UnmarshalReservedResource ¶
func UnmarshalReservedResource(source interface{}) (object *ReservedResource, err error)
UnmarshalReservedResource reads a value of the 'reserved_resource' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalReservedResourceList ¶
func UnmarshalReservedResourceList(source interface{}) (items []*ReservedResource, err error)
UnmarshalReservedResourceList reads a list of values of the 'reserved_resource' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ReservedResource) AvailabilityZoneType ¶
func (o *ReservedResource) AvailabilityZoneType() string
AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) BYOC ¶
func (o *ReservedResource) BYOC() bool
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) BillingMarketplaceAccount ¶
func (o *ReservedResource) BillingMarketplaceAccount() string
BillingMarketplaceAccount returns the value of the 'billing_marketplace_account' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) BillingModel ¶
func (o *ReservedResource) BillingModel() BillingModel
BillingModel returns the value of the 'billing_model' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) Count ¶
func (o *ReservedResource) Count() int
Count returns the value of the 'count' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) CreatedAt ¶
func (o *ReservedResource) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) Empty ¶
func (o *ReservedResource) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ReservedResource) GetAvailabilityZoneType ¶
func (o *ReservedResource) GetAvailabilityZoneType() (value string, ok bool)
GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetBYOC ¶
func (o *ReservedResource) GetBYOC() (value bool, ok bool)
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetBillingMarketplaceAccount ¶
func (o *ReservedResource) GetBillingMarketplaceAccount() (value string, ok bool)
GetBillingMarketplaceAccount returns the value of the 'billing_marketplace_account' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetBillingModel ¶
func (o *ReservedResource) GetBillingModel() (value BillingModel, ok bool)
GetBillingModel returns the value of the 'billing_model' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetCount ¶
func (o *ReservedResource) GetCount() (value int, ok bool)
GetCount returns the value of the 'count' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetCreatedAt ¶
func (o *ReservedResource) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetResourceName ¶
func (o *ReservedResource) GetResourceName() (value string, ok bool)
GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetResourceType ¶
func (o *ReservedResource) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetScope ¶
func (o *ReservedResource) GetScope() (value string, ok bool)
GetScope returns the value of the 'scope' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetUpdatedAt ¶
func (o *ReservedResource) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) ResourceName ¶
func (o *ReservedResource) ResourceName() string
ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) ResourceType ¶
func (o *ReservedResource) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) Scope ¶
func (o *ReservedResource) Scope() string
Scope returns the value of the 'scope' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) UpdatedAt ¶
func (o *ReservedResource) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type ReservedResourceBuilder ¶
type ReservedResourceBuilder struct {
// contains filtered or unexported fields
}
func NewReservedResource ¶
func NewReservedResource() *ReservedResourceBuilder
NewReservedResource creates a new builder of 'reserved_resource' objects.
func (*ReservedResourceBuilder) AvailabilityZoneType ¶
func (b *ReservedResourceBuilder) AvailabilityZoneType(value string) *ReservedResourceBuilder
AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value.
func (*ReservedResourceBuilder) BYOC ¶
func (b *ReservedResourceBuilder) BYOC(value bool) *ReservedResourceBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*ReservedResourceBuilder) BillingMarketplaceAccount ¶
func (b *ReservedResourceBuilder) BillingMarketplaceAccount(value string) *ReservedResourceBuilder
BillingMarketplaceAccount sets the value of the 'billing_marketplace_account' attribute to the given value.
func (*ReservedResourceBuilder) BillingModel ¶
func (b *ReservedResourceBuilder) BillingModel(value BillingModel) *ReservedResourceBuilder
BillingModel sets the value of the 'billing_model' attribute to the given value.
Billing model for subscripiton and reserved_resource resources.
func (*ReservedResourceBuilder) Build ¶
func (b *ReservedResourceBuilder) Build() (object *ReservedResource, err error)
Build creates a 'reserved_resource' object using the configuration stored in the builder.
func (*ReservedResourceBuilder) Copy ¶
func (b *ReservedResourceBuilder) Copy(object *ReservedResource) *ReservedResourceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ReservedResourceBuilder) Count ¶
func (b *ReservedResourceBuilder) Count(value int) *ReservedResourceBuilder
Count sets the value of the 'count' attribute to the given value.
func (*ReservedResourceBuilder) CreatedAt ¶
func (b *ReservedResourceBuilder) CreatedAt(value time.Time) *ReservedResourceBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ReservedResourceBuilder) Empty ¶
func (b *ReservedResourceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ReservedResourceBuilder) ResourceName ¶
func (b *ReservedResourceBuilder) ResourceName(value string) *ReservedResourceBuilder
ResourceName sets the value of the 'resource_name' attribute to the given value.
func (*ReservedResourceBuilder) ResourceType ¶
func (b *ReservedResourceBuilder) ResourceType(value string) *ReservedResourceBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*ReservedResourceBuilder) Scope ¶
func (b *ReservedResourceBuilder) Scope(value string) *ReservedResourceBuilder
Scope sets the value of the 'scope' attribute to the given value.
func (*ReservedResourceBuilder) UpdatedAt ¶
func (b *ReservedResourceBuilder) UpdatedAt(value time.Time) *ReservedResourceBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ReservedResourceList ¶
type ReservedResourceList struct {
// contains filtered or unexported fields
}
ReservedResourceList is a list of values of the 'reserved_resource' type.
func (*ReservedResourceList) Each ¶
func (l *ReservedResourceList) Each(f func(item *ReservedResource) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ReservedResourceList) Empty ¶
func (l *ReservedResourceList) Empty() bool
Empty returns true if the list is empty.
func (*ReservedResourceList) Get ¶
func (l *ReservedResourceList) Get(i int) *ReservedResource
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ReservedResourceList) Items ¶
func (l *ReservedResourceList) Items() []*ReservedResource
Items returns the items of the list.
func (*ReservedResourceList) Len ¶
func (l *ReservedResourceList) Len() int
Len returns the length of the list.
func (*ReservedResourceList) Range ¶
func (l *ReservedResourceList) Range(f func(index int, item *ReservedResource) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ReservedResourceList) SetHREF ¶
func (l *ReservedResourceList) SetHREF(href string)
Items sets the items of the list.
func (*ReservedResourceList) SetItems ¶
func (l *ReservedResourceList) SetItems(items []*ReservedResource)
Items sets the items of the list.
func (*ReservedResourceList) SetLink ¶
func (l *ReservedResourceList) SetLink(link bool)
Items sets the items of the list.
func (*ReservedResourceList) Slice ¶
func (l *ReservedResourceList) Slice() []*ReservedResource
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ReservedResourceListBuilder ¶
type ReservedResourceListBuilder struct {
// contains filtered or unexported fields
}
ReservedResourceListBuilder contains the data and logic needed to build 'reserved_resource' objects.
func NewReservedResourceList ¶
func NewReservedResourceList() *ReservedResourceListBuilder
NewReservedResourceList creates a new builder of 'reserved_resource' objects.
func (*ReservedResourceListBuilder) Build ¶
func (b *ReservedResourceListBuilder) Build() (list *ReservedResourceList, err error)
Build creates a list of 'reserved_resource' objects using the configuration stored in the builder.
func (*ReservedResourceListBuilder) Copy ¶
func (b *ReservedResourceListBuilder) Copy(list *ReservedResourceList) *ReservedResourceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ReservedResourceListBuilder) Empty ¶
func (b *ReservedResourceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ReservedResourceListBuilder) Items ¶
func (b *ReservedResourceListBuilder) Items(values ...*ReservedResourceBuilder) *ReservedResourceListBuilder
Items sets the items of the list.
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource represents the values of the 'resource' type.
Identifies computing resources
func ReadResource ¶
ReadResource reads a value of the 'resource' type from the given iterator.
func ReadResourceList ¶
ReadResourceList reads list of values of the ”resource' type from the given iterator.
func UnmarshalResource ¶
UnmarshalResource reads a value of the 'resource' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalResourceList ¶
UnmarshalResourceList reads a list of values of the 'resource' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Resource) Allowed ¶
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
Number of allowed nodes
func (*Resource) AvailabilityZoneType ¶
AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Resource) BYOC ¶
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Resource) GetAllowed ¶
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
Number of allowed nodes
func (*Resource) GetAvailabilityZoneType ¶
GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and a flag indicating if the attribute has a value.
func (*Resource) GetBYOC ¶
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*Resource) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Resource) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Resource) GetResourceName ¶
GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.
platform-specific name, such as "M5.2Xlarge" for a type of EC2 node
func (*Resource) GetResourceType ¶
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*Resource) GetSKU ¶
GetSKU returns the value of the 'SKU' attribute and a flag indicating if the attribute has a value.
func (*Resource) ResourceName ¶
ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.
platform-specific name, such as "M5.2Xlarge" for a type of EC2 node
func (*Resource) ResourceType ¶
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
type ResourceBuilder ¶
type ResourceBuilder struct {
// contains filtered or unexported fields
}
Identifies computing resources
func NewResource ¶
func NewResource() *ResourceBuilder
NewResource creates a new builder of 'resource' objects.
func (*ResourceBuilder) Allowed ¶
func (b *ResourceBuilder) Allowed(value int) *ResourceBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*ResourceBuilder) AvailabilityZoneType ¶
func (b *ResourceBuilder) AvailabilityZoneType(value string) *ResourceBuilder
AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value.
func (*ResourceBuilder) BYOC ¶
func (b *ResourceBuilder) BYOC(value bool) *ResourceBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*ResourceBuilder) Build ¶
func (b *ResourceBuilder) Build() (object *Resource, err error)
Build creates a 'resource' object using the configuration stored in the builder.
func (*ResourceBuilder) Copy ¶
func (b *ResourceBuilder) Copy(object *Resource) *ResourceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ResourceBuilder) Empty ¶
func (b *ResourceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ResourceBuilder) HREF ¶
func (b *ResourceBuilder) HREF(value string) *ResourceBuilder
HREF sets the link to the object.
func (*ResourceBuilder) ID ¶
func (b *ResourceBuilder) ID(value string) *ResourceBuilder
ID sets the identifier of the object.
func (*ResourceBuilder) Link ¶
func (b *ResourceBuilder) Link(value bool) *ResourceBuilder
Link sets the flag that indicates if this is a link.
func (*ResourceBuilder) ResourceName ¶
func (b *ResourceBuilder) ResourceName(value string) *ResourceBuilder
ResourceName sets the value of the 'resource_name' attribute to the given value.
func (*ResourceBuilder) ResourceType ¶
func (b *ResourceBuilder) ResourceType(value string) *ResourceBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*ResourceBuilder) SKU ¶
func (b *ResourceBuilder) SKU(value string) *ResourceBuilder
SKU sets the value of the 'SKU' attribute to the given value.
type ResourceList ¶
type ResourceList struct {
// contains filtered or unexported fields
}
ResourceList is a list of values of the 'resource' type.
func (*ResourceList) Each ¶
func (l *ResourceList) Each(f func(item *Resource) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ResourceList) Empty ¶
func (l *ResourceList) Empty() bool
Empty returns true if the list is empty.
func (*ResourceList) Get ¶
func (l *ResourceList) Get(i int) *Resource
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ResourceList) GetHREF ¶
func (l *ResourceList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ResourceList) HREF ¶
func (l *ResourceList) HREF() string
HREF returns the link to the list.
func (*ResourceList) Items ¶
func (l *ResourceList) Items() []*Resource
Items returns the items of the list.
func (*ResourceList) Kind ¶
func (l *ResourceList) Kind() string
Kind returns the name of the type of the object.
func (*ResourceList) Link ¶
func (l *ResourceList) Link() bool
Link returns true iif this is a link.
func (*ResourceList) Range ¶
func (l *ResourceList) Range(f func(index int, item *Resource) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ResourceList) SetHREF ¶
func (l *ResourceList) SetHREF(href string)
Items sets the items of the list.
func (*ResourceList) SetItems ¶
func (l *ResourceList) SetItems(items []*Resource)
Items sets the items of the list.
func (*ResourceList) SetLink ¶
func (l *ResourceList) SetLink(link bool)
Items sets the items of the list.
func (*ResourceList) Slice ¶
func (l *ResourceList) Slice() []*Resource
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ResourceListBuilder ¶
type ResourceListBuilder struct {
// contains filtered or unexported fields
}
ResourceListBuilder contains the data and logic needed to build 'resource' objects.
func NewResourceList ¶
func NewResourceList() *ResourceListBuilder
NewResourceList creates a new builder of 'resource' objects.
func (*ResourceListBuilder) Build ¶
func (b *ResourceListBuilder) Build() (list *ResourceList, err error)
Build creates a list of 'resource' objects using the configuration stored in the builder.
func (*ResourceListBuilder) Copy ¶
func (b *ResourceListBuilder) Copy(list *ResourceList) *ResourceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ResourceListBuilder) Empty ¶
func (b *ResourceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ResourceListBuilder) Items ¶
func (b *ResourceListBuilder) Items(values ...*ResourceBuilder) *ResourceListBuilder
Items sets the items of the list.
type ResourceQuota ¶
type ResourceQuota struct {
// contains filtered or unexported fields
}
ResourceQuota represents the values of the 'resource_quota' type.
func ReadResourceQuota ¶
func ReadResourceQuota(iterator *jsoniter.Iterator) *ResourceQuota
ReadResourceQuota reads a value of the 'resource_quota' type from the given iterator.
func ReadResourceQuotaList ¶
func ReadResourceQuotaList(iterator *jsoniter.Iterator) []*ResourceQuota
ReadResourceQuotaList reads list of values of the ”resource_quota' type from the given iterator.
func UnmarshalResourceQuota ¶
func UnmarshalResourceQuota(source interface{}) (object *ResourceQuota, err error)
UnmarshalResourceQuota reads a value of the 'resource_quota' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalResourceQuotaList ¶
func UnmarshalResourceQuotaList(source interface{}) (items []*ResourceQuota, err error)
UnmarshalResourceQuotaList reads a list of values of the 'resource_quota' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ResourceQuota) CreatedAt ¶
func (o *ResourceQuota) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) Empty ¶
func (o *ResourceQuota) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ResourceQuota) GetCreatedAt ¶
func (o *ResourceQuota) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetHREF ¶
func (o *ResourceQuota) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ResourceQuota) GetID ¶
func (o *ResourceQuota) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ResourceQuota) GetOrganizationID ¶
func (o *ResourceQuota) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetSKU ¶
func (o *ResourceQuota) GetSKU() (value string, ok bool)
GetSKU returns the value of the 'SKU' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetSkuCount ¶
func (o *ResourceQuota) GetSkuCount() (value int, ok bool)
GetSkuCount returns the value of the 'sku_count' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetType ¶
func (o *ResourceQuota) GetType() (value string, ok bool)
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetUpdatedAt ¶
func (o *ResourceQuota) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) HREF ¶
func (o *ResourceQuota) HREF() string
HREF returns the link to the object.
func (*ResourceQuota) ID ¶
func (o *ResourceQuota) ID() string
ID returns the identifier of the object.
func (*ResourceQuota) Kind ¶
func (o *ResourceQuota) Kind() string
Kind returns the name of the type of the object.
func (*ResourceQuota) Link ¶
func (o *ResourceQuota) Link() bool
Link returns true if this is a link.
func (*ResourceQuota) OrganizationID ¶
func (o *ResourceQuota) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) SKU ¶
func (o *ResourceQuota) SKU() string
SKU returns the value of the 'SKU' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) SkuCount ¶
func (o *ResourceQuota) SkuCount() int
SkuCount returns the value of the 'sku_count' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) Type ¶
func (o *ResourceQuota) Type() string
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) UpdatedAt ¶
func (o *ResourceQuota) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type ResourceQuotaBuilder ¶
type ResourceQuotaBuilder struct {
// contains filtered or unexported fields
}
func NewResourceQuota ¶
func NewResourceQuota() *ResourceQuotaBuilder
NewResourceQuota creates a new builder of 'resource_quota' objects.
func (*ResourceQuotaBuilder) Build ¶
func (b *ResourceQuotaBuilder) Build() (object *ResourceQuota, err error)
Build creates a 'resource_quota' object using the configuration stored in the builder.
func (*ResourceQuotaBuilder) Copy ¶
func (b *ResourceQuotaBuilder) Copy(object *ResourceQuota) *ResourceQuotaBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ResourceQuotaBuilder) CreatedAt ¶
func (b *ResourceQuotaBuilder) CreatedAt(value time.Time) *ResourceQuotaBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ResourceQuotaBuilder) Empty ¶
func (b *ResourceQuotaBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ResourceQuotaBuilder) HREF ¶
func (b *ResourceQuotaBuilder) HREF(value string) *ResourceQuotaBuilder
HREF sets the link to the object.
func (*ResourceQuotaBuilder) ID ¶
func (b *ResourceQuotaBuilder) ID(value string) *ResourceQuotaBuilder
ID sets the identifier of the object.
func (*ResourceQuotaBuilder) Link ¶
func (b *ResourceQuotaBuilder) Link(value bool) *ResourceQuotaBuilder
Link sets the flag that indicates if this is a link.
func (*ResourceQuotaBuilder) OrganizationID ¶
func (b *ResourceQuotaBuilder) OrganizationID(value string) *ResourceQuotaBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*ResourceQuotaBuilder) SKU ¶
func (b *ResourceQuotaBuilder) SKU(value string) *ResourceQuotaBuilder
SKU sets the value of the 'SKU' attribute to the given value.
func (*ResourceQuotaBuilder) SkuCount ¶
func (b *ResourceQuotaBuilder) SkuCount(value int) *ResourceQuotaBuilder
SkuCount sets the value of the 'sku_count' attribute to the given value.
func (*ResourceQuotaBuilder) Type ¶
func (b *ResourceQuotaBuilder) Type(value string) *ResourceQuotaBuilder
Type sets the value of the 'type' attribute to the given value.
func (*ResourceQuotaBuilder) UpdatedAt ¶
func (b *ResourceQuotaBuilder) UpdatedAt(value time.Time) *ResourceQuotaBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ResourceQuotaList ¶
type ResourceQuotaList struct {
// contains filtered or unexported fields
}
ResourceQuotaList is a list of values of the 'resource_quota' type.
func (*ResourceQuotaList) Each ¶
func (l *ResourceQuotaList) Each(f func(item *ResourceQuota) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ResourceQuotaList) Empty ¶
func (l *ResourceQuotaList) Empty() bool
Empty returns true if the list is empty.
func (*ResourceQuotaList) Get ¶
func (l *ResourceQuotaList) Get(i int) *ResourceQuota
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ResourceQuotaList) GetHREF ¶
func (l *ResourceQuotaList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ResourceQuotaList) HREF ¶
func (l *ResourceQuotaList) HREF() string
HREF returns the link to the list.
func (*ResourceQuotaList) Items ¶
func (l *ResourceQuotaList) Items() []*ResourceQuota
Items returns the items of the list.
func (*ResourceQuotaList) Kind ¶
func (l *ResourceQuotaList) Kind() string
Kind returns the name of the type of the object.
func (*ResourceQuotaList) Len ¶
func (l *ResourceQuotaList) Len() int
Len returns the length of the list.
func (*ResourceQuotaList) Link ¶
func (l *ResourceQuotaList) Link() bool
Link returns true iif this is a link.
func (*ResourceQuotaList) Range ¶
func (l *ResourceQuotaList) Range(f func(index int, item *ResourceQuota) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ResourceQuotaList) SetHREF ¶
func (l *ResourceQuotaList) SetHREF(href string)
Items sets the items of the list.
func (*ResourceQuotaList) SetItems ¶
func (l *ResourceQuotaList) SetItems(items []*ResourceQuota)
Items sets the items of the list.
func (*ResourceQuotaList) SetLink ¶
func (l *ResourceQuotaList) SetLink(link bool)
Items sets the items of the list.
func (*ResourceQuotaList) Slice ¶
func (l *ResourceQuotaList) Slice() []*ResourceQuota
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ResourceQuotaListBuilder ¶
type ResourceQuotaListBuilder struct {
// contains filtered or unexported fields
}
ResourceQuotaListBuilder contains the data and logic needed to build 'resource_quota' objects.
func NewResourceQuotaList ¶
func NewResourceQuotaList() *ResourceQuotaListBuilder
NewResourceQuotaList creates a new builder of 'resource_quota' objects.
func (*ResourceQuotaListBuilder) Build ¶
func (b *ResourceQuotaListBuilder) Build() (list *ResourceQuotaList, err error)
Build creates a list of 'resource_quota' objects using the configuration stored in the builder.
func (*ResourceQuotaListBuilder) Copy ¶
func (b *ResourceQuotaListBuilder) Copy(list *ResourceQuotaList) *ResourceQuotaListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ResourceQuotaListBuilder) Empty ¶
func (b *ResourceQuotaListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ResourceQuotaListBuilder) Items ¶
func (b *ResourceQuotaListBuilder) Items(values ...*ResourceQuotaBuilder) *ResourceQuotaListBuilder
Items sets the items of the list.
type Role ¶
type Role struct {
// contains filtered or unexported fields
}
Role represents the values of the 'role' type.
func ReadRoleList ¶
ReadRoleList reads list of values of the ”role' type from the given iterator.
func UnmarshalRole ¶
UnmarshalRole reads a value of the 'role' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalRoleList ¶
UnmarshalRoleList reads a list of values of the 'role' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Role) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Role) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Role) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Role) GetPermissions ¶
func (o *Role) GetPermissions() (value []*Permission, ok bool)
GetPermissions returns the value of the 'permissions' attribute and a flag indicating if the attribute has a value.
func (*Role) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Role) Permissions ¶
func (o *Role) Permissions() []*Permission
Permissions returns the value of the 'permissions' attribute, or the zero value of the type if the attribute doesn't have a value.
type RoleBinding ¶
type RoleBinding struct {
// contains filtered or unexported fields
}
RoleBinding represents the values of the 'role_binding' type.
func ReadRoleBinding ¶
func ReadRoleBinding(iterator *jsoniter.Iterator) *RoleBinding
ReadRoleBinding reads a value of the 'role_binding' type from the given iterator.
func ReadRoleBindingList ¶
func ReadRoleBindingList(iterator *jsoniter.Iterator) []*RoleBinding
ReadRoleBindingList reads list of values of the ”role_binding' type from the given iterator.
func UnmarshalRoleBinding ¶
func UnmarshalRoleBinding(source interface{}) (object *RoleBinding, err error)
UnmarshalRoleBinding reads a value of the 'role_binding' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalRoleBindingList ¶
func UnmarshalRoleBindingList(source interface{}) (items []*RoleBinding, err error)
UnmarshalRoleBindingList reads a list of values of the 'role_binding' type from the given source, which can be a slice of bytes, a string or a reader.
func (*RoleBinding) Account ¶
func (o *RoleBinding) Account() *Account
Account returns the value of the 'account' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) AccountID ¶
func (o *RoleBinding) AccountID() string
AccountID returns the value of the 'account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) ConfigManaged ¶
func (o *RoleBinding) ConfigManaged() bool
ConfigManaged returns the value of the 'config_managed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) CreatedAt ¶
func (o *RoleBinding) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) Empty ¶
func (o *RoleBinding) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*RoleBinding) GetAccount ¶
func (o *RoleBinding) GetAccount() (value *Account, ok bool)
GetAccount returns the value of the 'account' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetAccountID ¶
func (o *RoleBinding) GetAccountID() (value string, ok bool)
GetAccountID returns the value of the 'account_ID' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetConfigManaged ¶
func (o *RoleBinding) GetConfigManaged() (value bool, ok bool)
GetConfigManaged returns the value of the 'config_managed' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetCreatedAt ¶
func (o *RoleBinding) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetHREF ¶
func (o *RoleBinding) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*RoleBinding) GetID ¶
func (o *RoleBinding) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*RoleBinding) GetManagedBy ¶
func (o *RoleBinding) GetManagedBy() (value string, ok bool)
GetManagedBy returns the value of the 'managed_by' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetOrganization ¶
func (o *RoleBinding) GetOrganization() (value *Organization, ok bool)
GetOrganization returns the value of the 'organization' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetOrganizationID ¶
func (o *RoleBinding) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetRole ¶
func (o *RoleBinding) GetRole() (value *Role, ok bool)
GetRole returns the value of the 'role' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetRoleID ¶
func (o *RoleBinding) GetRoleID() (value string, ok bool)
GetRoleID returns the value of the 'role_ID' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetSubscription ¶
func (o *RoleBinding) GetSubscription() (value *Subscription, ok bool)
GetSubscription returns the value of the 'subscription' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetSubscriptionID ¶
func (o *RoleBinding) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetType ¶
func (o *RoleBinding) GetType() (value string, ok bool)
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetUpdatedAt ¶
func (o *RoleBinding) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) HREF ¶
func (o *RoleBinding) HREF() string
HREF returns the link to the object.
func (*RoleBinding) ID ¶
func (o *RoleBinding) ID() string
ID returns the identifier of the object.
func (*RoleBinding) Kind ¶
func (o *RoleBinding) Kind() string
Kind returns the name of the type of the object.
func (*RoleBinding) ManagedBy ¶
func (o *RoleBinding) ManagedBy() string
ManagedBy returns the value of the 'managed_by' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) Organization ¶
func (o *RoleBinding) Organization() *Organization
Organization returns the value of the 'organization' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) OrganizationID ¶
func (o *RoleBinding) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) Role ¶
func (o *RoleBinding) Role() *Role
Role returns the value of the 'role' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) RoleID ¶
func (o *RoleBinding) RoleID() string
RoleID returns the value of the 'role_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) Subscription ¶
func (o *RoleBinding) Subscription() *Subscription
Subscription returns the value of the 'subscription' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) SubscriptionID ¶
func (o *RoleBinding) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) Type ¶
func (o *RoleBinding) Type() string
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) UpdatedAt ¶
func (o *RoleBinding) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type RoleBindingBuilder ¶
type RoleBindingBuilder struct {
// contains filtered or unexported fields
}
func NewRoleBinding ¶
func NewRoleBinding() *RoleBindingBuilder
NewRoleBinding creates a new builder of 'role_binding' objects.
func (*RoleBindingBuilder) Account ¶
func (b *RoleBindingBuilder) Account(value *AccountBuilder) *RoleBindingBuilder
Account sets the value of the 'account' attribute to the given value.
func (*RoleBindingBuilder) AccountID ¶
func (b *RoleBindingBuilder) AccountID(value string) *RoleBindingBuilder
AccountID sets the value of the 'account_ID' attribute to the given value.
func (*RoleBindingBuilder) Build ¶
func (b *RoleBindingBuilder) Build() (object *RoleBinding, err error)
Build creates a 'role_binding' object using the configuration stored in the builder.
func (*RoleBindingBuilder) ConfigManaged ¶
func (b *RoleBindingBuilder) ConfigManaged(value bool) *RoleBindingBuilder
ConfigManaged sets the value of the 'config_managed' attribute to the given value.
func (*RoleBindingBuilder) Copy ¶
func (b *RoleBindingBuilder) Copy(object *RoleBinding) *RoleBindingBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*RoleBindingBuilder) CreatedAt ¶
func (b *RoleBindingBuilder) CreatedAt(value time.Time) *RoleBindingBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*RoleBindingBuilder) Empty ¶
func (b *RoleBindingBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*RoleBindingBuilder) HREF ¶
func (b *RoleBindingBuilder) HREF(value string) *RoleBindingBuilder
HREF sets the link to the object.
func (*RoleBindingBuilder) ID ¶
func (b *RoleBindingBuilder) ID(value string) *RoleBindingBuilder
ID sets the identifier of the object.
func (*RoleBindingBuilder) Link ¶
func (b *RoleBindingBuilder) Link(value bool) *RoleBindingBuilder
Link sets the flag that indicates if this is a link.
func (*RoleBindingBuilder) ManagedBy ¶
func (b *RoleBindingBuilder) ManagedBy(value string) *RoleBindingBuilder
ManagedBy sets the value of the 'managed_by' attribute to the given value.
func (*RoleBindingBuilder) Organization ¶
func (b *RoleBindingBuilder) Organization(value *OrganizationBuilder) *RoleBindingBuilder
Organization sets the value of the 'organization' attribute to the given value.
func (*RoleBindingBuilder) OrganizationID ¶
func (b *RoleBindingBuilder) OrganizationID(value string) *RoleBindingBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*RoleBindingBuilder) Role ¶
func (b *RoleBindingBuilder) Role(value *RoleBuilder) *RoleBindingBuilder
Role sets the value of the 'role' attribute to the given value.
func (*RoleBindingBuilder) RoleID ¶
func (b *RoleBindingBuilder) RoleID(value string) *RoleBindingBuilder
RoleID sets the value of the 'role_ID' attribute to the given value.
func (*RoleBindingBuilder) Subscription ¶
func (b *RoleBindingBuilder) Subscription(value *SubscriptionBuilder) *RoleBindingBuilder
Subscription sets the value of the 'subscription' attribute to the given value.
func (*RoleBindingBuilder) SubscriptionID ¶
func (b *RoleBindingBuilder) SubscriptionID(value string) *RoleBindingBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
func (*RoleBindingBuilder) Type ¶
func (b *RoleBindingBuilder) Type(value string) *RoleBindingBuilder
Type sets the value of the 'type' attribute to the given value.
func (*RoleBindingBuilder) UpdatedAt ¶
func (b *RoleBindingBuilder) UpdatedAt(value time.Time) *RoleBindingBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type RoleBindingList ¶
type RoleBindingList struct {
// contains filtered or unexported fields
}
RoleBindingList is a list of values of the 'role_binding' type.
func (*RoleBindingList) Each ¶
func (l *RoleBindingList) Each(f func(item *RoleBinding) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RoleBindingList) Empty ¶
func (l *RoleBindingList) Empty() bool
Empty returns true if the list is empty.
func (*RoleBindingList) Get ¶
func (l *RoleBindingList) Get(i int) *RoleBinding
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*RoleBindingList) GetHREF ¶
func (l *RoleBindingList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*RoleBindingList) HREF ¶
func (l *RoleBindingList) HREF() string
HREF returns the link to the list.
func (*RoleBindingList) Items ¶
func (l *RoleBindingList) Items() []*RoleBinding
Items returns the items of the list.
func (*RoleBindingList) Kind ¶
func (l *RoleBindingList) Kind() string
Kind returns the name of the type of the object.
func (*RoleBindingList) Len ¶
func (l *RoleBindingList) Len() int
Len returns the length of the list.
func (*RoleBindingList) Link ¶
func (l *RoleBindingList) Link() bool
Link returns true iif this is a link.
func (*RoleBindingList) Range ¶
func (l *RoleBindingList) Range(f func(index int, item *RoleBinding) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RoleBindingList) SetHREF ¶
func (l *RoleBindingList) SetHREF(href string)
Items sets the items of the list.
func (*RoleBindingList) SetItems ¶
func (l *RoleBindingList) SetItems(items []*RoleBinding)
Items sets the items of the list.
func (*RoleBindingList) SetLink ¶
func (l *RoleBindingList) SetLink(link bool)
Items sets the items of the list.
func (*RoleBindingList) Slice ¶
func (l *RoleBindingList) Slice() []*RoleBinding
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type RoleBindingListBuilder ¶
type RoleBindingListBuilder struct {
// contains filtered or unexported fields
}
RoleBindingListBuilder contains the data and logic needed to build 'role_binding' objects.
func NewRoleBindingList ¶
func NewRoleBindingList() *RoleBindingListBuilder
NewRoleBindingList creates a new builder of 'role_binding' objects.
func (*RoleBindingListBuilder) Build ¶
func (b *RoleBindingListBuilder) Build() (list *RoleBindingList, err error)
Build creates a list of 'role_binding' objects using the configuration stored in the builder.
func (*RoleBindingListBuilder) Copy ¶
func (b *RoleBindingListBuilder) Copy(list *RoleBindingList) *RoleBindingListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*RoleBindingListBuilder) Empty ¶
func (b *RoleBindingListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*RoleBindingListBuilder) Items ¶
func (b *RoleBindingListBuilder) Items(values ...*RoleBindingBuilder) *RoleBindingListBuilder
Items sets the items of the list.
type RoleBuilder ¶
type RoleBuilder struct {
// contains filtered or unexported fields
}
func (*RoleBuilder) Build ¶
func (b *RoleBuilder) Build() (object *Role, err error)
Build creates a 'role' object using the configuration stored in the builder.
func (*RoleBuilder) Copy ¶
func (b *RoleBuilder) Copy(object *Role) *RoleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*RoleBuilder) Empty ¶
func (b *RoleBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*RoleBuilder) HREF ¶
func (b *RoleBuilder) HREF(value string) *RoleBuilder
HREF sets the link to the object.
func (*RoleBuilder) ID ¶
func (b *RoleBuilder) ID(value string) *RoleBuilder
ID sets the identifier of the object.
func (*RoleBuilder) Link ¶
func (b *RoleBuilder) Link(value bool) *RoleBuilder
Link sets the flag that indicates if this is a link.
func (*RoleBuilder) Name ¶
func (b *RoleBuilder) Name(value string) *RoleBuilder
Name sets the value of the 'name' attribute to the given value.
func (*RoleBuilder) Permissions ¶
func (b *RoleBuilder) Permissions(values ...*PermissionBuilder) *RoleBuilder
Permissions sets the value of the 'permissions' attribute to the given values.
type RoleList ¶
type RoleList struct {
// contains filtered or unexported fields
}
RoleList is a list of values of the 'role' type.
func (*RoleList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RoleList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*RoleList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*RoleList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*RoleList) Slice ¶
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type RoleListBuilder ¶
type RoleListBuilder struct {
// contains filtered or unexported fields
}
RoleListBuilder contains the data and logic needed to build 'role' objects.
func NewRoleList ¶
func NewRoleList() *RoleListBuilder
NewRoleList creates a new builder of 'role' objects.
func (*RoleListBuilder) Build ¶
func (b *RoleListBuilder) Build() (list *RoleList, err error)
Build creates a list of 'role' objects using the configuration stored in the builder.
func (*RoleListBuilder) Copy ¶
func (b *RoleListBuilder) Copy(list *RoleList) *RoleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*RoleListBuilder) Empty ¶
func (b *RoleListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*RoleListBuilder) Items ¶
func (b *RoleListBuilder) Items(values ...*RoleBuilder) *RoleListBuilder
Items sets the items of the list.
type SkuRule ¶
type SkuRule struct {
// contains filtered or unexported fields
}
SkuRule represents the values of the 'sku_rule' type.
Identifies sku rule
func ReadSkuRule ¶
ReadSkuRule reads a value of the 'sku_rule' type from the given iterator.
func ReadSkuRuleList ¶
ReadSkuRuleList reads list of values of the ”sku_rule' type from the given iterator.
func UnmarshalSkuRule ¶
UnmarshalSkuRule reads a value of the 'sku_rule' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSkuRuleList ¶
UnmarshalSkuRuleList reads a list of values of the 'sku_rule' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SkuRule) Allowed ¶
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
Specifies the allowed parameter for calculation
func (*SkuRule) GetAllowed ¶
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
Specifies the allowed parameter for calculation
func (*SkuRule) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*SkuRule) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*SkuRule) GetQuotaId ¶
GetQuotaId returns the value of the 'quota_id' attribute and a flag indicating if the attribute has a value.
Specifies the quota id
func (*SkuRule) GetSku ¶
GetSku returns the value of the 'sku' attribute and a flag indicating if the attribute has a value.
Specifies the sku, such as ""MW00504""
type SkuRuleBuilder ¶
type SkuRuleBuilder struct {
// contains filtered or unexported fields
}
Identifies sku rule
func NewSkuRule ¶
func NewSkuRule() *SkuRuleBuilder
NewSkuRule creates a new builder of 'sku_rule' objects.
func (*SkuRuleBuilder) Allowed ¶
func (b *SkuRuleBuilder) Allowed(value int) *SkuRuleBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*SkuRuleBuilder) Build ¶
func (b *SkuRuleBuilder) Build() (object *SkuRule, err error)
Build creates a 'sku_rule' object using the configuration stored in the builder.
func (*SkuRuleBuilder) Copy ¶
func (b *SkuRuleBuilder) Copy(object *SkuRule) *SkuRuleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SkuRuleBuilder) Empty ¶
func (b *SkuRuleBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SkuRuleBuilder) HREF ¶
func (b *SkuRuleBuilder) HREF(value string) *SkuRuleBuilder
HREF sets the link to the object.
func (*SkuRuleBuilder) ID ¶
func (b *SkuRuleBuilder) ID(value string) *SkuRuleBuilder
ID sets the identifier of the object.
func (*SkuRuleBuilder) Link ¶
func (b *SkuRuleBuilder) Link(value bool) *SkuRuleBuilder
Link sets the flag that indicates if this is a link.
func (*SkuRuleBuilder) QuotaId ¶
func (b *SkuRuleBuilder) QuotaId(value string) *SkuRuleBuilder
QuotaId sets the value of the 'quota_id' attribute to the given value.
func (*SkuRuleBuilder) Sku ¶
func (b *SkuRuleBuilder) Sku(value string) *SkuRuleBuilder
Sku sets the value of the 'sku' attribute to the given value.
type SkuRuleList ¶
type SkuRuleList struct {
// contains filtered or unexported fields
}
SkuRuleList is a list of values of the 'sku_rule' type.
func (*SkuRuleList) Each ¶
func (l *SkuRuleList) Each(f func(item *SkuRule) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SkuRuleList) Empty ¶
func (l *SkuRuleList) Empty() bool
Empty returns true if the list is empty.
func (*SkuRuleList) Get ¶
func (l *SkuRuleList) Get(i int) *SkuRule
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SkuRuleList) GetHREF ¶
func (l *SkuRuleList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SkuRuleList) Items ¶
func (l *SkuRuleList) Items() []*SkuRule
Items returns the items of the list.
func (*SkuRuleList) Kind ¶
func (l *SkuRuleList) Kind() string
Kind returns the name of the type of the object.
func (*SkuRuleList) Range ¶
func (l *SkuRuleList) Range(f func(index int, item *SkuRule) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SkuRuleList) SetHREF ¶
func (l *SkuRuleList) SetHREF(href string)
Items sets the items of the list.
func (*SkuRuleList) SetItems ¶
func (l *SkuRuleList) SetItems(items []*SkuRule)
Items sets the items of the list.
func (*SkuRuleList) SetLink ¶
func (l *SkuRuleList) SetLink(link bool)
Items sets the items of the list.
func (*SkuRuleList) Slice ¶
func (l *SkuRuleList) Slice() []*SkuRule
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SkuRuleListBuilder ¶
type SkuRuleListBuilder struct {
// contains filtered or unexported fields
}
SkuRuleListBuilder contains the data and logic needed to build 'sku_rule' objects.
func NewSkuRuleList ¶
func NewSkuRuleList() *SkuRuleListBuilder
NewSkuRuleList creates a new builder of 'sku_rule' objects.
func (*SkuRuleListBuilder) Build ¶
func (b *SkuRuleListBuilder) Build() (list *SkuRuleList, err error)
Build creates a list of 'sku_rule' objects using the configuration stored in the builder.
func (*SkuRuleListBuilder) Copy ¶
func (b *SkuRuleListBuilder) Copy(list *SkuRuleList) *SkuRuleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SkuRuleListBuilder) Empty ¶
func (b *SkuRuleListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SkuRuleListBuilder) Items ¶
func (b *SkuRuleListBuilder) Items(values ...*SkuRuleBuilder) *SkuRuleListBuilder
Items sets the items of the list.
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
Subscription represents the values of the 'subscription' type.
func ReadSubscription ¶
func ReadSubscription(iterator *jsoniter.Iterator) *Subscription
ReadSubscription reads a value of the 'subscription' type from the given iterator.
func ReadSubscriptionList ¶
func ReadSubscriptionList(iterator *jsoniter.Iterator) []*Subscription
ReadSubscriptionList reads list of values of the ”subscription' type from the given iterator.
func UnmarshalSubscription ¶
func UnmarshalSubscription(source interface{}) (object *Subscription, err error)
UnmarshalSubscription reads a value of the 'subscription' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSubscriptionList ¶
func UnmarshalSubscriptionList(source interface{}) (items []*Subscription, err error)
UnmarshalSubscriptionList reads a list of values of the 'subscription' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Subscription) BillingMarketplaceAccount ¶
func (o *Subscription) BillingMarketplaceAccount() string
BillingMarketplaceAccount returns the value of the 'billing_marketplace_account' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Capabilities ¶
func (o *Subscription) Capabilities() []*Capability
Capabilities returns the value of the 'capabilities' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) CloudAccountID ¶
func (o *Subscription) CloudAccountID() string
CloudAccountID returns the value of the 'cloud_account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) CloudProviderID ¶
func (o *Subscription) CloudProviderID() string
CloudProviderID returns the value of the 'cloud_provider_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) ClusterBillingModel ¶
func (o *Subscription) ClusterBillingModel() BillingModel
ClusterBillingModel returns the value of the 'cluster_billing_model' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) ClusterID ¶
func (o *Subscription) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) ConsoleURL ¶
func (o *Subscription) ConsoleURL() string
ConsoleURL returns the value of the 'console_URL' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) ConsumerUUID ¶
func (o *Subscription) ConsumerUUID() string
ConsumerUUID returns the value of the 'consumer_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) CpuTotal ¶
func (o *Subscription) CpuTotal() int
CpuTotal returns the value of the 'cpu_total' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) CreatedAt ¶
func (o *Subscription) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Creator ¶
func (o *Subscription) Creator() *Account
Creator returns the value of the 'creator' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the account that created the subscription.
func (*Subscription) DisplayName ¶
func (o *Subscription) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Empty ¶
func (o *Subscription) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Subscription) ExternalClusterID ¶
func (o *Subscription) ExternalClusterID() string
ExternalClusterID returns the value of the 'external_cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) GetBillingMarketplaceAccount ¶
func (o *Subscription) GetBillingMarketplaceAccount() (value string, ok bool)
GetBillingMarketplaceAccount returns the value of the 'billing_marketplace_account' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetCapabilities ¶
func (o *Subscription) GetCapabilities() (value []*Capability, ok bool)
GetCapabilities returns the value of the 'capabilities' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetCloudAccountID ¶
func (o *Subscription) GetCloudAccountID() (value string, ok bool)
GetCloudAccountID returns the value of the 'cloud_account_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetCloudProviderID ¶
func (o *Subscription) GetCloudProviderID() (value string, ok bool)
GetCloudProviderID returns the value of the 'cloud_provider_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetClusterBillingModel ¶
func (o *Subscription) GetClusterBillingModel() (value BillingModel, ok bool)
GetClusterBillingModel returns the value of the 'cluster_billing_model' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetClusterID ¶
func (o *Subscription) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetConsoleURL ¶
func (o *Subscription) GetConsoleURL() (value string, ok bool)
GetConsoleURL returns the value of the 'console_URL' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetConsumerUUID ¶
func (o *Subscription) GetConsumerUUID() (value string, ok bool)
GetConsumerUUID returns the value of the 'consumer_UUID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetCpuTotal ¶
func (o *Subscription) GetCpuTotal() (value int, ok bool)
GetCpuTotal returns the value of the 'cpu_total' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetCreatedAt ¶
func (o *Subscription) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetCreator ¶
func (o *Subscription) GetCreator() (value *Account, ok bool)
GetCreator returns the value of the 'creator' attribute and a flag indicating if the attribute has a value.
Link to the account that created the subscription.
func (*Subscription) GetDisplayName ¶
func (o *Subscription) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetExternalClusterID ¶
func (o *Subscription) GetExternalClusterID() (value string, ok bool)
GetExternalClusterID returns the value of the 'external_cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetHREF ¶
func (o *Subscription) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Subscription) GetID ¶
func (o *Subscription) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Subscription) GetLabels ¶
func (o *Subscription) GetLabels() (value []*Label, ok bool)
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetLastReconcileDate ¶
func (o *Subscription) GetLastReconcileDate() (value time.Time, ok bool)
GetLastReconcileDate returns the value of the 'last_reconcile_date' attribute and a flag indicating if the attribute has a value.
Last time this subscription were reconciled about cluster usage.
func (*Subscription) GetLastReleasedAt ¶
func (o *Subscription) GetLastReleasedAt() (value time.Time, ok bool)
GetLastReleasedAt returns the value of the 'last_released_at' attribute and a flag indicating if the attribute has a value.
Last time status was set to Released for this cluster/subscription.
func (*Subscription) GetLastTelemetryDate ¶
func (o *Subscription) GetLastTelemetryDate() (value time.Time, ok bool)
GetLastTelemetryDate returns the value of the 'last_telemetry_date' attribute and a flag indicating if the attribute has a value.
Last telemetry authorization request for this cluster/subscription in Unix time
func (*Subscription) GetManaged ¶
func (o *Subscription) GetManaged() (value bool, ok bool)
GetManaged returns the value of the 'managed' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetMetrics ¶
func (o *Subscription) GetMetrics() (value []*SubscriptionMetrics, ok bool)
GetMetrics returns the value of the 'metrics' attribute and a flag indicating if the attribute has a value.
Metrics array. One or zero elements will present.
func (*Subscription) GetNotificationContacts ¶
func (o *Subscription) GetNotificationContacts() (value []*Account, ok bool)
GetNotificationContacts returns the value of the 'notification_contacts' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetOrganizationID ¶
func (o *Subscription) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetPlan ¶
func (o *Subscription) GetPlan() (value *Plan, ok bool)
GetPlan returns the value of the 'plan' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetProductBundle ¶
func (o *Subscription) GetProductBundle() (value string, ok bool)
GetProductBundle returns the value of the 'product_bundle' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetProvenance ¶
func (o *Subscription) GetProvenance() (value string, ok bool)
GetProvenance returns the value of the 'provenance' attribute and a flag indicating if the attribute has a value.
The origin of cluster registration (values are defined in AMS at pkg/api/subscription_types.go).
func (*Subscription) GetRegionID ¶
func (o *Subscription) GetRegionID() (value string, ok bool)
GetRegionID returns the value of the 'region_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetReleased ¶
func (o *Subscription) GetReleased() (value bool, ok bool)
GetReleased returns the value of the 'released' attribute and a flag indicating if the attribute has a value.
Flag used to denote whether or not the owner of the cluster has released the ownership and ready to be transferred to a different user.
func (*Subscription) GetRhRegionID ¶
func (o *Subscription) GetRhRegionID() (value string, ok bool)
GetRhRegionID returns the value of the 'rh_region_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetServiceLevel ¶
func (o *Subscription) GetServiceLevel() (value string, ok bool)
GetServiceLevel returns the value of the 'service_level' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetSocketTotal ¶
func (o *Subscription) GetSocketTotal() (value int, ok bool)
GetSocketTotal returns the value of the 'socket_total' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetStatus ¶
func (o *Subscription) GetStatus() (value string, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetSupportLevel ¶
func (o *Subscription) GetSupportLevel() (value string, ok bool)
GetSupportLevel returns the value of the 'support_level' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetSystemUnits ¶
func (o *Subscription) GetSystemUnits() (value string, ok bool)
GetSystemUnits returns the value of the 'system_units' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetTrialEndDate ¶
func (o *Subscription) GetTrialEndDate() (value time.Time, ok bool)
GetTrialEndDate returns the value of the 'trial_end_date' attribute and a flag indicating if the attribute has a value.
If the subscription is a trial, date the trial ends.
func (*Subscription) GetUpdatedAt ¶
func (o *Subscription) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetUsage ¶
func (o *Subscription) GetUsage() (value string, ok bool)
GetUsage returns the value of the 'usage' attribute and a flag indicating if the attribute has a value.
func (*Subscription) HREF ¶
func (o *Subscription) HREF() string
HREF returns the link to the object.
func (*Subscription) ID ¶
func (o *Subscription) ID() string
ID returns the identifier of the object.
func (*Subscription) Kind ¶
func (o *Subscription) Kind() string
Kind returns the name of the type of the object.
func (*Subscription) Labels ¶
func (o *Subscription) Labels() []*Label
Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) LastReconcileDate ¶
func (o *Subscription) LastReconcileDate() time.Time
LastReconcileDate returns the value of the 'last_reconcile_date' attribute, or the zero value of the type if the attribute doesn't have a value.
Last time this subscription were reconciled about cluster usage.
func (*Subscription) LastReleasedAt ¶
func (o *Subscription) LastReleasedAt() time.Time
LastReleasedAt returns the value of the 'last_released_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Last time status was set to Released for this cluster/subscription.
func (*Subscription) LastTelemetryDate ¶
func (o *Subscription) LastTelemetryDate() time.Time
LastTelemetryDate returns the value of the 'last_telemetry_date' attribute, or the zero value of the type if the attribute doesn't have a value.
Last telemetry authorization request for this cluster/subscription in Unix time
func (*Subscription) Link ¶
func (o *Subscription) Link() bool
Link returns true if this is a link.
func (*Subscription) Managed ¶
func (o *Subscription) Managed() bool
Managed returns the value of the 'managed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Metrics ¶
func (o *Subscription) Metrics() []*SubscriptionMetrics
Metrics returns the value of the 'metrics' attribute, or the zero value of the type if the attribute doesn't have a value.
Metrics array. One or zero elements will present.
func (*Subscription) NotificationContacts ¶
func (o *Subscription) NotificationContacts() []*Account
NotificationContacts returns the value of the 'notification_contacts' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) OrganizationID ¶
func (o *Subscription) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Plan ¶
func (o *Subscription) Plan() *Plan
Plan returns the value of the 'plan' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) ProductBundle ¶
func (o *Subscription) ProductBundle() string
ProductBundle returns the value of the 'product_bundle' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Provenance ¶
func (o *Subscription) Provenance() string
Provenance returns the value of the 'provenance' attribute, or the zero value of the type if the attribute doesn't have a value.
The origin of cluster registration (values are defined in AMS at pkg/api/subscription_types.go).
func (*Subscription) RegionID ¶
func (o *Subscription) RegionID() string
RegionID returns the value of the 'region_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Released ¶
func (o *Subscription) Released() bool
Released returns the value of the 'released' attribute, or the zero value of the type if the attribute doesn't have a value.
Flag used to denote whether or not the owner of the cluster has released the ownership and ready to be transferred to a different user.
func (*Subscription) RhRegionID ¶
func (o *Subscription) RhRegionID() string
RhRegionID returns the value of the 'rh_region_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) ServiceLevel ¶
func (o *Subscription) ServiceLevel() string
ServiceLevel returns the value of the 'service_level' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) SocketTotal ¶
func (o *Subscription) SocketTotal() int
SocketTotal returns the value of the 'socket_total' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Status ¶
func (o *Subscription) Status() string
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) SupportLevel ¶
func (o *Subscription) SupportLevel() string
SupportLevel returns the value of the 'support_level' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) SystemUnits ¶
func (o *Subscription) SystemUnits() string
SystemUnits returns the value of the 'system_units' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) TrialEndDate ¶
func (o *Subscription) TrialEndDate() time.Time
TrialEndDate returns the value of the 'trial_end_date' attribute, or the zero value of the type if the attribute doesn't have a value.
If the subscription is a trial, date the trial ends.
func (*Subscription) UpdatedAt ¶
func (o *Subscription) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Usage ¶
func (o *Subscription) Usage() string
Usage returns the value of the 'usage' attribute, or the zero value of the type if the attribute doesn't have a value.
type SubscriptionBuilder ¶
type SubscriptionBuilder struct {
// contains filtered or unexported fields
}
func NewSubscription ¶
func NewSubscription() *SubscriptionBuilder
NewSubscription creates a new builder of 'subscription' objects.
func (*SubscriptionBuilder) BillingMarketplaceAccount ¶
func (b *SubscriptionBuilder) BillingMarketplaceAccount(value string) *SubscriptionBuilder
BillingMarketplaceAccount sets the value of the 'billing_marketplace_account' attribute to the given value.
func (*SubscriptionBuilder) Build ¶
func (b *SubscriptionBuilder) Build() (object *Subscription, err error)
Build creates a 'subscription' object using the configuration stored in the builder.
func (*SubscriptionBuilder) Capabilities ¶
func (b *SubscriptionBuilder) Capabilities(values ...*CapabilityBuilder) *SubscriptionBuilder
Capabilities sets the value of the 'capabilities' attribute to the given values.
func (*SubscriptionBuilder) CloudAccountID ¶
func (b *SubscriptionBuilder) CloudAccountID(value string) *SubscriptionBuilder
CloudAccountID sets the value of the 'cloud_account_ID' attribute to the given value.
func (*SubscriptionBuilder) CloudProviderID ¶
func (b *SubscriptionBuilder) CloudProviderID(value string) *SubscriptionBuilder
CloudProviderID sets the value of the 'cloud_provider_ID' attribute to the given value.
func (*SubscriptionBuilder) ClusterBillingModel ¶
func (b *SubscriptionBuilder) ClusterBillingModel(value BillingModel) *SubscriptionBuilder
ClusterBillingModel sets the value of the 'cluster_billing_model' attribute to the given value.
Billing model for subscripiton and reserved_resource resources.
func (*SubscriptionBuilder) ClusterID ¶
func (b *SubscriptionBuilder) ClusterID(value string) *SubscriptionBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*SubscriptionBuilder) ConsoleURL ¶
func (b *SubscriptionBuilder) ConsoleURL(value string) *SubscriptionBuilder
ConsoleURL sets the value of the 'console_URL' attribute to the given value.
func (*SubscriptionBuilder) ConsumerUUID ¶
func (b *SubscriptionBuilder) ConsumerUUID(value string) *SubscriptionBuilder
ConsumerUUID sets the value of the 'consumer_UUID' attribute to the given value.
func (*SubscriptionBuilder) Copy ¶
func (b *SubscriptionBuilder) Copy(object *Subscription) *SubscriptionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SubscriptionBuilder) CpuTotal ¶
func (b *SubscriptionBuilder) CpuTotal(value int) *SubscriptionBuilder
CpuTotal sets the value of the 'cpu_total' attribute to the given value.
func (*SubscriptionBuilder) CreatedAt ¶
func (b *SubscriptionBuilder) CreatedAt(value time.Time) *SubscriptionBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*SubscriptionBuilder) Creator ¶
func (b *SubscriptionBuilder) Creator(value *AccountBuilder) *SubscriptionBuilder
Creator sets the value of the 'creator' attribute to the given value.
func (*SubscriptionBuilder) DisplayName ¶
func (b *SubscriptionBuilder) DisplayName(value string) *SubscriptionBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*SubscriptionBuilder) Empty ¶
func (b *SubscriptionBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SubscriptionBuilder) ExternalClusterID ¶
func (b *SubscriptionBuilder) ExternalClusterID(value string) *SubscriptionBuilder
ExternalClusterID sets the value of the 'external_cluster_ID' attribute to the given value.
func (*SubscriptionBuilder) HREF ¶
func (b *SubscriptionBuilder) HREF(value string) *SubscriptionBuilder
HREF sets the link to the object.
func (*SubscriptionBuilder) ID ¶
func (b *SubscriptionBuilder) ID(value string) *SubscriptionBuilder
ID sets the identifier of the object.
func (*SubscriptionBuilder) Labels ¶
func (b *SubscriptionBuilder) Labels(values ...*LabelBuilder) *SubscriptionBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*SubscriptionBuilder) LastReconcileDate ¶
func (b *SubscriptionBuilder) LastReconcileDate(value time.Time) *SubscriptionBuilder
LastReconcileDate sets the value of the 'last_reconcile_date' attribute to the given value.
func (*SubscriptionBuilder) LastReleasedAt ¶
func (b *SubscriptionBuilder) LastReleasedAt(value time.Time) *SubscriptionBuilder
LastReleasedAt sets the value of the 'last_released_at' attribute to the given value.
func (*SubscriptionBuilder) LastTelemetryDate ¶
func (b *SubscriptionBuilder) LastTelemetryDate(value time.Time) *SubscriptionBuilder
LastTelemetryDate sets the value of the 'last_telemetry_date' attribute to the given value.
func (*SubscriptionBuilder) Link ¶
func (b *SubscriptionBuilder) Link(value bool) *SubscriptionBuilder
Link sets the flag that indicates if this is a link.
func (*SubscriptionBuilder) Managed ¶
func (b *SubscriptionBuilder) Managed(value bool) *SubscriptionBuilder
Managed sets the value of the 'managed' attribute to the given value.
func (*SubscriptionBuilder) Metrics ¶
func (b *SubscriptionBuilder) Metrics(values ...*SubscriptionMetricsBuilder) *SubscriptionBuilder
Metrics sets the value of the 'metrics' attribute to the given values.
func (*SubscriptionBuilder) NotificationContacts ¶
func (b *SubscriptionBuilder) NotificationContacts(values ...*AccountBuilder) *SubscriptionBuilder
NotificationContacts sets the value of the 'notification_contacts' attribute to the given values.
func (*SubscriptionBuilder) OrganizationID ¶
func (b *SubscriptionBuilder) OrganizationID(value string) *SubscriptionBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*SubscriptionBuilder) Plan ¶
func (b *SubscriptionBuilder) Plan(value *PlanBuilder) *SubscriptionBuilder
Plan sets the value of the 'plan' attribute to the given value.
func (*SubscriptionBuilder) ProductBundle ¶
func (b *SubscriptionBuilder) ProductBundle(value string) *SubscriptionBuilder
ProductBundle sets the value of the 'product_bundle' attribute to the given value.
func (*SubscriptionBuilder) Provenance ¶
func (b *SubscriptionBuilder) Provenance(value string) *SubscriptionBuilder
Provenance sets the value of the 'provenance' attribute to the given value.
func (*SubscriptionBuilder) RegionID ¶
func (b *SubscriptionBuilder) RegionID(value string) *SubscriptionBuilder
RegionID sets the value of the 'region_ID' attribute to the given value.
func (*SubscriptionBuilder) Released ¶
func (b *SubscriptionBuilder) Released(value bool) *SubscriptionBuilder
Released sets the value of the 'released' attribute to the given value.
func (*SubscriptionBuilder) RhRegionID ¶
func (b *SubscriptionBuilder) RhRegionID(value string) *SubscriptionBuilder
RhRegionID sets the value of the 'rh_region_ID' attribute to the given value.
func (*SubscriptionBuilder) ServiceLevel ¶
func (b *SubscriptionBuilder) ServiceLevel(value string) *SubscriptionBuilder
ServiceLevel sets the value of the 'service_level' attribute to the given value.
func (*SubscriptionBuilder) SocketTotal ¶
func (b *SubscriptionBuilder) SocketTotal(value int) *SubscriptionBuilder
SocketTotal sets the value of the 'socket_total' attribute to the given value.
func (*SubscriptionBuilder) Status ¶
func (b *SubscriptionBuilder) Status(value string) *SubscriptionBuilder
Status sets the value of the 'status' attribute to the given value.
func (*SubscriptionBuilder) SupportLevel ¶
func (b *SubscriptionBuilder) SupportLevel(value string) *SubscriptionBuilder
SupportLevel sets the value of the 'support_level' attribute to the given value.
func (*SubscriptionBuilder) SystemUnits ¶
func (b *SubscriptionBuilder) SystemUnits(value string) *SubscriptionBuilder
SystemUnits sets the value of the 'system_units' attribute to the given value.
func (*SubscriptionBuilder) TrialEndDate ¶
func (b *SubscriptionBuilder) TrialEndDate(value time.Time) *SubscriptionBuilder
TrialEndDate sets the value of the 'trial_end_date' attribute to the given value.
func (*SubscriptionBuilder) UpdatedAt ¶
func (b *SubscriptionBuilder) UpdatedAt(value time.Time) *SubscriptionBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*SubscriptionBuilder) Usage ¶
func (b *SubscriptionBuilder) Usage(value string) *SubscriptionBuilder
Usage sets the value of the 'usage' attribute to the given value.
type SubscriptionList ¶
type SubscriptionList struct {
// contains filtered or unexported fields
}
SubscriptionList is a list of values of the 'subscription' type.
func (*SubscriptionList) Each ¶
func (l *SubscriptionList) Each(f func(item *Subscription) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SubscriptionList) Empty ¶
func (l *SubscriptionList) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionList) Get ¶
func (l *SubscriptionList) Get(i int) *Subscription
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SubscriptionList) GetHREF ¶
func (l *SubscriptionList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SubscriptionList) HREF ¶
func (l *SubscriptionList) HREF() string
HREF returns the link to the list.
func (*SubscriptionList) Items ¶
func (l *SubscriptionList) Items() []*Subscription
Items returns the items of the list.
func (*SubscriptionList) Kind ¶
func (l *SubscriptionList) Kind() string
Kind returns the name of the type of the object.
func (*SubscriptionList) Len ¶
func (l *SubscriptionList) Len() int
Len returns the length of the list.
func (*SubscriptionList) Link ¶
func (l *SubscriptionList) Link() bool
Link returns true iif this is a link.
func (*SubscriptionList) Range ¶
func (l *SubscriptionList) Range(f func(index int, item *Subscription) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SubscriptionList) SetHREF ¶
func (l *SubscriptionList) SetHREF(href string)
Items sets the items of the list.
func (*SubscriptionList) SetItems ¶
func (l *SubscriptionList) SetItems(items []*Subscription)
Items sets the items of the list.
func (*SubscriptionList) SetLink ¶
func (l *SubscriptionList) SetLink(link bool)
Items sets the items of the list.
func (*SubscriptionList) Slice ¶
func (l *SubscriptionList) Slice() []*Subscription
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SubscriptionListBuilder ¶
type SubscriptionListBuilder struct {
// contains filtered or unexported fields
}
SubscriptionListBuilder contains the data and logic needed to build 'subscription' objects.
func NewSubscriptionList ¶
func NewSubscriptionList() *SubscriptionListBuilder
NewSubscriptionList creates a new builder of 'subscription' objects.
func (*SubscriptionListBuilder) Build ¶
func (b *SubscriptionListBuilder) Build() (list *SubscriptionList, err error)
Build creates a list of 'subscription' objects using the configuration stored in the builder.
func (*SubscriptionListBuilder) Copy ¶
func (b *SubscriptionListBuilder) Copy(list *SubscriptionList) *SubscriptionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SubscriptionListBuilder) Empty ¶
func (b *SubscriptionListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionListBuilder) Items ¶
func (b *SubscriptionListBuilder) Items(values ...*SubscriptionBuilder) *SubscriptionListBuilder
Items sets the items of the list.
type SubscriptionMetrics ¶
type SubscriptionMetrics struct {
// contains filtered or unexported fields
}
SubscriptionMetrics represents the values of the 'subscription_metrics' type.
Each field is a metric fetched for a specific Subscription's cluster.
func ReadSubscriptionMetrics ¶
func ReadSubscriptionMetrics(iterator *jsoniter.Iterator) *SubscriptionMetrics
ReadSubscriptionMetrics reads a value of the 'subscription_metrics' type from the given iterator.
func ReadSubscriptionMetricsList ¶
func ReadSubscriptionMetricsList(iterator *jsoniter.Iterator) []*SubscriptionMetrics
ReadSubscriptionMetricsList reads list of values of the ”subscription_metrics' type from the given iterator.
func UnmarshalSubscriptionMetrics ¶
func UnmarshalSubscriptionMetrics(source interface{}) (object *SubscriptionMetrics, err error)
UnmarshalSubscriptionMetrics reads a value of the 'subscription_metrics' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSubscriptionMetricsList ¶
func UnmarshalSubscriptionMetricsList(source interface{}) (items []*SubscriptionMetrics, err error)
UnmarshalSubscriptionMetricsList reads a list of values of the 'subscription_metrics' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SubscriptionMetrics) CloudProvider ¶
func (o *SubscriptionMetrics) CloudProvider() string
CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) ComputeNodesCpu ¶
func (o *SubscriptionMetrics) ComputeNodesCpu() *ClusterResource
ComputeNodesCpu returns the value of the 'compute_nodes_cpu' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) ComputeNodesMemory ¶
func (o *SubscriptionMetrics) ComputeNodesMemory() *ClusterResource
ComputeNodesMemory returns the value of the 'compute_nodes_memory' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) ComputeNodesSockets ¶
func (o *SubscriptionMetrics) ComputeNodesSockets() *ClusterResource
ComputeNodesSockets returns the value of the 'compute_nodes_sockets' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) ConsoleUrl ¶
func (o *SubscriptionMetrics) ConsoleUrl() string
ConsoleUrl returns the value of the 'console_url' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) Cpu ¶
func (o *SubscriptionMetrics) Cpu() *ClusterResource
Cpu returns the value of the 'cpu' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) CriticalAlertsFiring ¶
func (o *SubscriptionMetrics) CriticalAlertsFiring() float64
CriticalAlertsFiring returns the value of the 'critical_alerts_firing' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) Empty ¶
func (o *SubscriptionMetrics) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SubscriptionMetrics) GetCloudProvider ¶
func (o *SubscriptionMetrics) GetCloudProvider() (value string, ok bool)
GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetComputeNodesCpu ¶
func (o *SubscriptionMetrics) GetComputeNodesCpu() (value *ClusterResource, ok bool)
GetComputeNodesCpu returns the value of the 'compute_nodes_cpu' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetComputeNodesMemory ¶
func (o *SubscriptionMetrics) GetComputeNodesMemory() (value *ClusterResource, ok bool)
GetComputeNodesMemory returns the value of the 'compute_nodes_memory' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetComputeNodesSockets ¶
func (o *SubscriptionMetrics) GetComputeNodesSockets() (value *ClusterResource, ok bool)
GetComputeNodesSockets returns the value of the 'compute_nodes_sockets' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetConsoleUrl ¶
func (o *SubscriptionMetrics) GetConsoleUrl() (value string, ok bool)
GetConsoleUrl returns the value of the 'console_url' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetCpu ¶
func (o *SubscriptionMetrics) GetCpu() (value *ClusterResource, ok bool)
GetCpu returns the value of the 'cpu' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetCriticalAlertsFiring ¶
func (o *SubscriptionMetrics) GetCriticalAlertsFiring() (value float64, ok bool)
GetCriticalAlertsFiring returns the value of the 'critical_alerts_firing' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetHealthState ¶
func (o *SubscriptionMetrics) GetHealthState() (value string, ok bool)
GetHealthState returns the value of the 'health_state' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetMemory ¶
func (o *SubscriptionMetrics) GetMemory() (value *ClusterResource, ok bool)
GetMemory returns the value of the 'memory' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetNodes ¶
func (o *SubscriptionMetrics) GetNodes() (value *ClusterMetricsNodes, ok bool)
GetNodes returns the value of the 'nodes' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetOpenshiftVersion ¶
func (o *SubscriptionMetrics) GetOpenshiftVersion() (value string, ok bool)
GetOpenshiftVersion returns the value of the 'openshift_version' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetOperatingSystem ¶
func (o *SubscriptionMetrics) GetOperatingSystem() (value string, ok bool)
GetOperatingSystem returns the value of the 'operating_system' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetOperatorsConditionFailing ¶
func (o *SubscriptionMetrics) GetOperatorsConditionFailing() (value float64, ok bool)
GetOperatorsConditionFailing returns the value of the 'operators_condition_failing' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetRegion ¶
func (o *SubscriptionMetrics) GetRegion() (value string, ok bool)
GetRegion returns the value of the 'region' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetSockets ¶
func (o *SubscriptionMetrics) GetSockets() (value *ClusterResource, ok bool)
GetSockets returns the value of the 'sockets' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetState ¶
func (o *SubscriptionMetrics) GetState() (value string, ok bool)
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetStateDescription ¶
func (o *SubscriptionMetrics) GetStateDescription() (value string, ok bool)
GetStateDescription returns the value of the 'state_description' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetStorage ¶
func (o *SubscriptionMetrics) GetStorage() (value *ClusterResource, ok bool)
GetStorage returns the value of the 'storage' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetSubscriptionCpuTotal ¶
func (o *SubscriptionMetrics) GetSubscriptionCpuTotal() (value float64, ok bool)
GetSubscriptionCpuTotal returns the value of the 'subscription_cpu_total' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetSubscriptionObligationExists ¶
func (o *SubscriptionMetrics) GetSubscriptionObligationExists() (value float64, ok bool)
GetSubscriptionObligationExists returns the value of the 'subscription_obligation_exists' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetSubscriptionSocketTotal ¶
func (o *SubscriptionMetrics) GetSubscriptionSocketTotal() (value float64, ok bool)
GetSubscriptionSocketTotal returns the value of the 'subscription_socket_total' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) GetUpgrade ¶
func (o *SubscriptionMetrics) GetUpgrade() (value *ClusterUpgrade, ok bool)
GetUpgrade returns the value of the 'upgrade' attribute and a flag indicating if the attribute has a value.
func (*SubscriptionMetrics) HealthState ¶
func (o *SubscriptionMetrics) HealthState() string
HealthState returns the value of the 'health_state' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) Memory ¶
func (o *SubscriptionMetrics) Memory() *ClusterResource
Memory returns the value of the 'memory' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) Nodes ¶
func (o *SubscriptionMetrics) Nodes() *ClusterMetricsNodes
Nodes returns the value of the 'nodes' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) OpenshiftVersion ¶
func (o *SubscriptionMetrics) OpenshiftVersion() string
OpenshiftVersion returns the value of the 'openshift_version' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) OperatingSystem ¶
func (o *SubscriptionMetrics) OperatingSystem() string
OperatingSystem returns the value of the 'operating_system' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) OperatorsConditionFailing ¶
func (o *SubscriptionMetrics) OperatorsConditionFailing() float64
OperatorsConditionFailing returns the value of the 'operators_condition_failing' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) Region ¶
func (o *SubscriptionMetrics) Region() string
Region returns the value of the 'region' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) Sockets ¶
func (o *SubscriptionMetrics) Sockets() *ClusterResource
Sockets returns the value of the 'sockets' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) State ¶
func (o *SubscriptionMetrics) State() string
State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) StateDescription ¶
func (o *SubscriptionMetrics) StateDescription() string
StateDescription returns the value of the 'state_description' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) Storage ¶
func (o *SubscriptionMetrics) Storage() *ClusterResource
Storage returns the value of the 'storage' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) SubscriptionCpuTotal ¶
func (o *SubscriptionMetrics) SubscriptionCpuTotal() float64
SubscriptionCpuTotal returns the value of the 'subscription_cpu_total' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) SubscriptionObligationExists ¶
func (o *SubscriptionMetrics) SubscriptionObligationExists() float64
SubscriptionObligationExists returns the value of the 'subscription_obligation_exists' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) SubscriptionSocketTotal ¶
func (o *SubscriptionMetrics) SubscriptionSocketTotal() float64
SubscriptionSocketTotal returns the value of the 'subscription_socket_total' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SubscriptionMetrics) Upgrade ¶
func (o *SubscriptionMetrics) Upgrade() *ClusterUpgrade
Upgrade returns the value of the 'upgrade' attribute, or the zero value of the type if the attribute doesn't have a value.
type SubscriptionMetricsBuilder ¶
type SubscriptionMetricsBuilder struct {
// contains filtered or unexported fields
}
Each field is a metric fetched for a specific Subscription's cluster.
func NewSubscriptionMetrics ¶
func NewSubscriptionMetrics() *SubscriptionMetricsBuilder
NewSubscriptionMetrics creates a new builder of 'subscription_metrics' objects.
func (*SubscriptionMetricsBuilder) Build ¶
func (b *SubscriptionMetricsBuilder) Build() (object *SubscriptionMetrics, err error)
Build creates a 'subscription_metrics' object using the configuration stored in the builder.
func (*SubscriptionMetricsBuilder) CloudProvider ¶
func (b *SubscriptionMetricsBuilder) CloudProvider(value string) *SubscriptionMetricsBuilder
CloudProvider sets the value of the 'cloud_provider' attribute to the given value.
func (*SubscriptionMetricsBuilder) ComputeNodesCpu ¶
func (b *SubscriptionMetricsBuilder) ComputeNodesCpu(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
ComputeNodesCpu sets the value of the 'compute_nodes_cpu' attribute to the given value.
func (*SubscriptionMetricsBuilder) ComputeNodesMemory ¶
func (b *SubscriptionMetricsBuilder) ComputeNodesMemory(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
ComputeNodesMemory sets the value of the 'compute_nodes_memory' attribute to the given value.
func (*SubscriptionMetricsBuilder) ComputeNodesSockets ¶
func (b *SubscriptionMetricsBuilder) ComputeNodesSockets(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
ComputeNodesSockets sets the value of the 'compute_nodes_sockets' attribute to the given value.
func (*SubscriptionMetricsBuilder) ConsoleUrl ¶
func (b *SubscriptionMetricsBuilder) ConsoleUrl(value string) *SubscriptionMetricsBuilder
ConsoleUrl sets the value of the 'console_url' attribute to the given value.
func (*SubscriptionMetricsBuilder) Copy ¶
func (b *SubscriptionMetricsBuilder) Copy(object *SubscriptionMetrics) *SubscriptionMetricsBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SubscriptionMetricsBuilder) Cpu ¶
func (b *SubscriptionMetricsBuilder) Cpu(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
Cpu sets the value of the 'cpu' attribute to the given value.
func (*SubscriptionMetricsBuilder) CriticalAlertsFiring ¶
func (b *SubscriptionMetricsBuilder) CriticalAlertsFiring(value float64) *SubscriptionMetricsBuilder
CriticalAlertsFiring sets the value of the 'critical_alerts_firing' attribute to the given value.
func (*SubscriptionMetricsBuilder) Empty ¶
func (b *SubscriptionMetricsBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SubscriptionMetricsBuilder) HealthState ¶
func (b *SubscriptionMetricsBuilder) HealthState(value string) *SubscriptionMetricsBuilder
HealthState sets the value of the 'health_state' attribute to the given value.
func (*SubscriptionMetricsBuilder) Memory ¶
func (b *SubscriptionMetricsBuilder) Memory(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
Memory sets the value of the 'memory' attribute to the given value.
func (*SubscriptionMetricsBuilder) Nodes ¶
func (b *SubscriptionMetricsBuilder) Nodes(value *ClusterMetricsNodesBuilder) *SubscriptionMetricsBuilder
Nodes sets the value of the 'nodes' attribute to the given value.
func (*SubscriptionMetricsBuilder) OpenshiftVersion ¶
func (b *SubscriptionMetricsBuilder) OpenshiftVersion(value string) *SubscriptionMetricsBuilder
OpenshiftVersion sets the value of the 'openshift_version' attribute to the given value.
func (*SubscriptionMetricsBuilder) OperatingSystem ¶
func (b *SubscriptionMetricsBuilder) OperatingSystem(value string) *SubscriptionMetricsBuilder
OperatingSystem sets the value of the 'operating_system' attribute to the given value.
func (*SubscriptionMetricsBuilder) OperatorsConditionFailing ¶
func (b *SubscriptionMetricsBuilder) OperatorsConditionFailing(value float64) *SubscriptionMetricsBuilder
OperatorsConditionFailing sets the value of the 'operators_condition_failing' attribute to the given value.
func (*SubscriptionMetricsBuilder) Region ¶
func (b *SubscriptionMetricsBuilder) Region(value string) *SubscriptionMetricsBuilder
Region sets the value of the 'region' attribute to the given value.
func (*SubscriptionMetricsBuilder) Sockets ¶
func (b *SubscriptionMetricsBuilder) Sockets(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
Sockets sets the value of the 'sockets' attribute to the given value.
func (*SubscriptionMetricsBuilder) State ¶
func (b *SubscriptionMetricsBuilder) State(value string) *SubscriptionMetricsBuilder
State sets the value of the 'state' attribute to the given value.
func (*SubscriptionMetricsBuilder) StateDescription ¶
func (b *SubscriptionMetricsBuilder) StateDescription(value string) *SubscriptionMetricsBuilder
StateDescription sets the value of the 'state_description' attribute to the given value.
func (*SubscriptionMetricsBuilder) Storage ¶
func (b *SubscriptionMetricsBuilder) Storage(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder
Storage sets the value of the 'storage' attribute to the given value.
func (*SubscriptionMetricsBuilder) SubscriptionCpuTotal ¶
func (b *SubscriptionMetricsBuilder) SubscriptionCpuTotal(value float64) *SubscriptionMetricsBuilder
SubscriptionCpuTotal sets the value of the 'subscription_cpu_total' attribute to the given value.
func (*SubscriptionMetricsBuilder) SubscriptionObligationExists ¶
func (b *SubscriptionMetricsBuilder) SubscriptionObligationExists(value float64) *SubscriptionMetricsBuilder
SubscriptionObligationExists sets the value of the 'subscription_obligation_exists' attribute to the given value.
func (*SubscriptionMetricsBuilder) SubscriptionSocketTotal ¶
func (b *SubscriptionMetricsBuilder) SubscriptionSocketTotal(value float64) *SubscriptionMetricsBuilder
SubscriptionSocketTotal sets the value of the 'subscription_socket_total' attribute to the given value.
func (*SubscriptionMetricsBuilder) Upgrade ¶
func (b *SubscriptionMetricsBuilder) Upgrade(value *ClusterUpgradeBuilder) *SubscriptionMetricsBuilder
Upgrade sets the value of the 'upgrade' attribute to the given value.
type SubscriptionMetricsList ¶
type SubscriptionMetricsList struct {
// contains filtered or unexported fields
}
SubscriptionMetricsList is a list of values of the 'subscription_metrics' type.
func (*SubscriptionMetricsList) Each ¶
func (l *SubscriptionMetricsList) Each(f func(item *SubscriptionMetrics) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SubscriptionMetricsList) Empty ¶
func (l *SubscriptionMetricsList) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionMetricsList) Get ¶
func (l *SubscriptionMetricsList) Get(i int) *SubscriptionMetrics
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SubscriptionMetricsList) Items ¶
func (l *SubscriptionMetricsList) Items() []*SubscriptionMetrics
Items returns the items of the list.
func (*SubscriptionMetricsList) Len ¶
func (l *SubscriptionMetricsList) Len() int
Len returns the length of the list.
func (*SubscriptionMetricsList) Range ¶
func (l *SubscriptionMetricsList) Range(f func(index int, item *SubscriptionMetrics) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SubscriptionMetricsList) SetHREF ¶
func (l *SubscriptionMetricsList) SetHREF(href string)
Items sets the items of the list.
func (*SubscriptionMetricsList) SetItems ¶
func (l *SubscriptionMetricsList) SetItems(items []*SubscriptionMetrics)
Items sets the items of the list.
func (*SubscriptionMetricsList) SetLink ¶
func (l *SubscriptionMetricsList) SetLink(link bool)
Items sets the items of the list.
func (*SubscriptionMetricsList) Slice ¶
func (l *SubscriptionMetricsList) Slice() []*SubscriptionMetrics
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SubscriptionMetricsListBuilder ¶
type SubscriptionMetricsListBuilder struct {
// contains filtered or unexported fields
}
SubscriptionMetricsListBuilder contains the data and logic needed to build 'subscription_metrics' objects.
func NewSubscriptionMetricsList ¶
func NewSubscriptionMetricsList() *SubscriptionMetricsListBuilder
NewSubscriptionMetricsList creates a new builder of 'subscription_metrics' objects.
func (*SubscriptionMetricsListBuilder) Build ¶
func (b *SubscriptionMetricsListBuilder) Build() (list *SubscriptionMetricsList, err error)
Build creates a list of 'subscription_metrics' objects using the configuration stored in the builder.
func (*SubscriptionMetricsListBuilder) Copy ¶
func (b *SubscriptionMetricsListBuilder) Copy(list *SubscriptionMetricsList) *SubscriptionMetricsListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SubscriptionMetricsListBuilder) Empty ¶
func (b *SubscriptionMetricsListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionMetricsListBuilder) Items ¶
func (b *SubscriptionMetricsListBuilder) Items(values ...*SubscriptionMetricsBuilder) *SubscriptionMetricsListBuilder
Items sets the items of the list.
type SubscriptionRegistration ¶
type SubscriptionRegistration struct {
// contains filtered or unexported fields
}
SubscriptionRegistration represents the values of the 'subscription_registration' type.
Registration of a new subscription.
func ReadSubscriptionRegistration ¶
func ReadSubscriptionRegistration(iterator *jsoniter.Iterator) *SubscriptionRegistration
ReadSubscriptionRegistration reads a value of the 'subscription_registration' type from the given iterator.
func ReadSubscriptionRegistrationList ¶
func ReadSubscriptionRegistrationList(iterator *jsoniter.Iterator) []*SubscriptionRegistration
ReadSubscriptionRegistrationList reads list of values of the ”subscription_registration' type from the given iterator.
func UnmarshalSubscriptionRegistration ¶
func UnmarshalSubscriptionRegistration(source interface{}) (object *SubscriptionRegistration, err error)
UnmarshalSubscriptionRegistration reads a value of the 'subscription_registration' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSubscriptionRegistrationList ¶
func UnmarshalSubscriptionRegistrationList(source interface{}) (items []*SubscriptionRegistration, err error)
UnmarshalSubscriptionRegistrationList reads a list of values of the 'subscription_registration' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SubscriptionRegistration) ClusterUUID ¶
func (o *SubscriptionRegistration) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
External cluster ID.
func (*SubscriptionRegistration) ConsoleURL ¶
func (o *SubscriptionRegistration) ConsoleURL() string
ConsoleURL returns the value of the 'console_URL' attribute, or the zero value of the type if the attribute doesn't have a value.
Console URL of subscription (optional).
func (*SubscriptionRegistration) DisplayName ¶
func (o *SubscriptionRegistration) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
Display name of subscription (optional).
func (*SubscriptionRegistration) Empty ¶
func (o *SubscriptionRegistration) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SubscriptionRegistration) GetClusterUUID ¶
func (o *SubscriptionRegistration) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
External cluster ID.
func (*SubscriptionRegistration) GetConsoleURL ¶
func (o *SubscriptionRegistration) GetConsoleURL() (value string, ok bool)
GetConsoleURL returns the value of the 'console_URL' attribute and a flag indicating if the attribute has a value.
Console URL of subscription (optional).
func (*SubscriptionRegistration) GetDisplayName ¶
func (o *SubscriptionRegistration) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
Display name of subscription (optional).
func (*SubscriptionRegistration) GetPlanID ¶
func (o *SubscriptionRegistration) GetPlanID() (value PlanID, ok bool)
GetPlanID returns the value of the 'plan_ID' attribute and a flag indicating if the attribute has a value.
Plan ID of subscription.
func (*SubscriptionRegistration) GetStatus ¶
func (o *SubscriptionRegistration) GetStatus() (value string, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
Status of subscription.
func (*SubscriptionRegistration) PlanID ¶
func (o *SubscriptionRegistration) PlanID() PlanID
PlanID returns the value of the 'plan_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Plan ID of subscription.
func (*SubscriptionRegistration) Status ¶
func (o *SubscriptionRegistration) Status() string
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
Status of subscription.
type SubscriptionRegistrationBuilder ¶
type SubscriptionRegistrationBuilder struct {
// contains filtered or unexported fields
}
Registration of a new subscription.
func NewSubscriptionRegistration ¶
func NewSubscriptionRegistration() *SubscriptionRegistrationBuilder
NewSubscriptionRegistration creates a new builder of 'subscription_registration' objects.
func (*SubscriptionRegistrationBuilder) Build ¶
func (b *SubscriptionRegistrationBuilder) Build() (object *SubscriptionRegistration, err error)
Build creates a 'subscription_registration' object using the configuration stored in the builder.
func (*SubscriptionRegistrationBuilder) ClusterUUID ¶
func (b *SubscriptionRegistrationBuilder) ClusterUUID(value string) *SubscriptionRegistrationBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*SubscriptionRegistrationBuilder) ConsoleURL ¶
func (b *SubscriptionRegistrationBuilder) ConsoleURL(value string) *SubscriptionRegistrationBuilder
ConsoleURL sets the value of the 'console_URL' attribute to the given value.
func (*SubscriptionRegistrationBuilder) Copy ¶
func (b *SubscriptionRegistrationBuilder) Copy(object *SubscriptionRegistration) *SubscriptionRegistrationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SubscriptionRegistrationBuilder) DisplayName ¶
func (b *SubscriptionRegistrationBuilder) DisplayName(value string) *SubscriptionRegistrationBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*SubscriptionRegistrationBuilder) Empty ¶
func (b *SubscriptionRegistrationBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SubscriptionRegistrationBuilder) PlanID ¶
func (b *SubscriptionRegistrationBuilder) PlanID(value PlanID) *SubscriptionRegistrationBuilder
PlanID sets the value of the 'plan_ID' attribute to the given value.
Plan ID of subscription.
func (*SubscriptionRegistrationBuilder) Status ¶
func (b *SubscriptionRegistrationBuilder) Status(value string) *SubscriptionRegistrationBuilder
Status sets the value of the 'status' attribute to the given value.
type SubscriptionRegistrationList ¶
type SubscriptionRegistrationList struct {
// contains filtered or unexported fields
}
SubscriptionRegistrationList is a list of values of the 'subscription_registration' type.
func (*SubscriptionRegistrationList) Each ¶
func (l *SubscriptionRegistrationList) Each(f func(item *SubscriptionRegistration) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SubscriptionRegistrationList) Empty ¶
func (l *SubscriptionRegistrationList) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionRegistrationList) Get ¶
func (l *SubscriptionRegistrationList) Get(i int) *SubscriptionRegistration
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SubscriptionRegistrationList) Items ¶
func (l *SubscriptionRegistrationList) Items() []*SubscriptionRegistration
Items returns the items of the list.
func (*SubscriptionRegistrationList) Len ¶
func (l *SubscriptionRegistrationList) Len() int
Len returns the length of the list.
func (*SubscriptionRegistrationList) Range ¶
func (l *SubscriptionRegistrationList) Range(f func(index int, item *SubscriptionRegistration) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SubscriptionRegistrationList) SetHREF ¶
func (l *SubscriptionRegistrationList) SetHREF(href string)
Items sets the items of the list.
func (*SubscriptionRegistrationList) SetItems ¶
func (l *SubscriptionRegistrationList) SetItems(items []*SubscriptionRegistration)
Items sets the items of the list.
func (*SubscriptionRegistrationList) SetLink ¶
func (l *SubscriptionRegistrationList) SetLink(link bool)
Items sets the items of the list.
func (*SubscriptionRegistrationList) Slice ¶
func (l *SubscriptionRegistrationList) Slice() []*SubscriptionRegistration
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SubscriptionRegistrationListBuilder ¶
type SubscriptionRegistrationListBuilder struct {
// contains filtered or unexported fields
}
SubscriptionRegistrationListBuilder contains the data and logic needed to build 'subscription_registration' objects.
func NewSubscriptionRegistrationList ¶
func NewSubscriptionRegistrationList() *SubscriptionRegistrationListBuilder
NewSubscriptionRegistrationList creates a new builder of 'subscription_registration' objects.
func (*SubscriptionRegistrationListBuilder) Build ¶
func (b *SubscriptionRegistrationListBuilder) Build() (list *SubscriptionRegistrationList, err error)
Build creates a list of 'subscription_registration' objects using the configuration stored in the builder.
func (*SubscriptionRegistrationListBuilder) Copy ¶
func (b *SubscriptionRegistrationListBuilder) Copy(list *SubscriptionRegistrationList) *SubscriptionRegistrationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SubscriptionRegistrationListBuilder) Empty ¶
func (b *SubscriptionRegistrationListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionRegistrationListBuilder) Items ¶
func (b *SubscriptionRegistrationListBuilder) Items(values ...*SubscriptionRegistrationBuilder) *SubscriptionRegistrationListBuilder
Items sets the items of the list.
type SummaryDashboard ¶
type SummaryDashboard struct {
// contains filtered or unexported fields
}
SummaryDashboard represents the values of the 'summary_dashboard' type.
func ReadSummaryDashboard ¶
func ReadSummaryDashboard(iterator *jsoniter.Iterator) *SummaryDashboard
ReadSummaryDashboard reads a value of the 'summary_dashboard' type from the given iterator.
func ReadSummaryDashboardList ¶
func ReadSummaryDashboardList(iterator *jsoniter.Iterator) []*SummaryDashboard
ReadSummaryDashboardList reads list of values of the ”summary_dashboard' type from the given iterator.
func UnmarshalSummaryDashboard ¶
func UnmarshalSummaryDashboard(source interface{}) (object *SummaryDashboard, err error)
UnmarshalSummaryDashboard reads a value of the 'summary_dashboard' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSummaryDashboardList ¶
func UnmarshalSummaryDashboardList(source interface{}) (items []*SummaryDashboard, err error)
UnmarshalSummaryDashboardList reads a list of values of the 'summary_dashboard' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SummaryDashboard) Empty ¶
func (o *SummaryDashboard) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SummaryDashboard) GetHREF ¶
func (o *SummaryDashboard) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*SummaryDashboard) GetID ¶
func (o *SummaryDashboard) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*SummaryDashboard) GetMetrics ¶
func (o *SummaryDashboard) GetMetrics() (value []*SummaryMetrics, ok bool)
GetMetrics returns the value of the 'metrics' attribute and a flag indicating if the attribute has a value.
func (*SummaryDashboard) HREF ¶
func (o *SummaryDashboard) HREF() string
HREF returns the link to the object.
func (*SummaryDashboard) ID ¶
func (o *SummaryDashboard) ID() string
ID returns the identifier of the object.
func (*SummaryDashboard) Kind ¶
func (o *SummaryDashboard) Kind() string
Kind returns the name of the type of the object.
func (*SummaryDashboard) Link ¶
func (o *SummaryDashboard) Link() bool
Link returns true if this is a link.
func (*SummaryDashboard) Metrics ¶
func (o *SummaryDashboard) Metrics() []*SummaryMetrics
Metrics returns the value of the 'metrics' attribute, or the zero value of the type if the attribute doesn't have a value.
type SummaryDashboardBuilder ¶
type SummaryDashboardBuilder struct {
// contains filtered or unexported fields
}
func NewSummaryDashboard ¶
func NewSummaryDashboard() *SummaryDashboardBuilder
NewSummaryDashboard creates a new builder of 'summary_dashboard' objects.
func (*SummaryDashboardBuilder) Build ¶
func (b *SummaryDashboardBuilder) Build() (object *SummaryDashboard, err error)
Build creates a 'summary_dashboard' object using the configuration stored in the builder.
func (*SummaryDashboardBuilder) Copy ¶
func (b *SummaryDashboardBuilder) Copy(object *SummaryDashboard) *SummaryDashboardBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SummaryDashboardBuilder) Empty ¶
func (b *SummaryDashboardBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SummaryDashboardBuilder) HREF ¶
func (b *SummaryDashboardBuilder) HREF(value string) *SummaryDashboardBuilder
HREF sets the link to the object.
func (*SummaryDashboardBuilder) ID ¶
func (b *SummaryDashboardBuilder) ID(value string) *SummaryDashboardBuilder
ID sets the identifier of the object.
func (*SummaryDashboardBuilder) Link ¶
func (b *SummaryDashboardBuilder) Link(value bool) *SummaryDashboardBuilder
Link sets the flag that indicates if this is a link.
func (*SummaryDashboardBuilder) Metrics ¶
func (b *SummaryDashboardBuilder) Metrics(values ...*SummaryMetricsBuilder) *SummaryDashboardBuilder
Metrics sets the value of the 'metrics' attribute to the given values.
type SummaryDashboardList ¶
type SummaryDashboardList struct {
// contains filtered or unexported fields
}
SummaryDashboardList is a list of values of the 'summary_dashboard' type.
func (*SummaryDashboardList) Each ¶
func (l *SummaryDashboardList) Each(f func(item *SummaryDashboard) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SummaryDashboardList) Empty ¶
func (l *SummaryDashboardList) Empty() bool
Empty returns true if the list is empty.
func (*SummaryDashboardList) Get ¶
func (l *SummaryDashboardList) Get(i int) *SummaryDashboard
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SummaryDashboardList) GetHREF ¶
func (l *SummaryDashboardList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SummaryDashboardList) HREF ¶
func (l *SummaryDashboardList) HREF() string
HREF returns the link to the list.
func (*SummaryDashboardList) Items ¶
func (l *SummaryDashboardList) Items() []*SummaryDashboard
Items returns the items of the list.
func (*SummaryDashboardList) Kind ¶
func (l *SummaryDashboardList) Kind() string
Kind returns the name of the type of the object.
func (*SummaryDashboardList) Len ¶
func (l *SummaryDashboardList) Len() int
Len returns the length of the list.
func (*SummaryDashboardList) Link ¶
func (l *SummaryDashboardList) Link() bool
Link returns true iif this is a link.
func (*SummaryDashboardList) Range ¶
func (l *SummaryDashboardList) Range(f func(index int, item *SummaryDashboard) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SummaryDashboardList) SetHREF ¶
func (l *SummaryDashboardList) SetHREF(href string)
Items sets the items of the list.
func (*SummaryDashboardList) SetItems ¶
func (l *SummaryDashboardList) SetItems(items []*SummaryDashboard)
Items sets the items of the list.
func (*SummaryDashboardList) SetLink ¶
func (l *SummaryDashboardList) SetLink(link bool)
Items sets the items of the list.
func (*SummaryDashboardList) Slice ¶
func (l *SummaryDashboardList) Slice() []*SummaryDashboard
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SummaryDashboardListBuilder ¶
type SummaryDashboardListBuilder struct {
// contains filtered or unexported fields
}
SummaryDashboardListBuilder contains the data and logic needed to build 'summary_dashboard' objects.
func NewSummaryDashboardList ¶
func NewSummaryDashboardList() *SummaryDashboardListBuilder
NewSummaryDashboardList creates a new builder of 'summary_dashboard' objects.
func (*SummaryDashboardListBuilder) Build ¶
func (b *SummaryDashboardListBuilder) Build() (list *SummaryDashboardList, err error)
Build creates a list of 'summary_dashboard' objects using the configuration stored in the builder.
func (*SummaryDashboardListBuilder) Copy ¶
func (b *SummaryDashboardListBuilder) Copy(list *SummaryDashboardList) *SummaryDashboardListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SummaryDashboardListBuilder) Empty ¶
func (b *SummaryDashboardListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SummaryDashboardListBuilder) Items ¶
func (b *SummaryDashboardListBuilder) Items(values ...*SummaryDashboardBuilder) *SummaryDashboardListBuilder
Items sets the items of the list.
type SummaryMetrics ¶
type SummaryMetrics struct {
// contains filtered or unexported fields
}
SummaryMetrics represents the values of the 'summary_metrics' type.
func ReadSummaryMetrics ¶
func ReadSummaryMetrics(iterator *jsoniter.Iterator) *SummaryMetrics
ReadSummaryMetrics reads a value of the 'summary_metrics' type from the given iterator.
func ReadSummaryMetricsList ¶
func ReadSummaryMetricsList(iterator *jsoniter.Iterator) []*SummaryMetrics
ReadSummaryMetricsList reads list of values of the ”summary_metrics' type from the given iterator.
func UnmarshalSummaryMetrics ¶
func UnmarshalSummaryMetrics(source interface{}) (object *SummaryMetrics, err error)
UnmarshalSummaryMetrics reads a value of the 'summary_metrics' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSummaryMetricsList ¶
func UnmarshalSummaryMetricsList(source interface{}) (items []*SummaryMetrics, err error)
UnmarshalSummaryMetricsList reads a list of values of the 'summary_metrics' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SummaryMetrics) Empty ¶
func (o *SummaryMetrics) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SummaryMetrics) GetName ¶
func (o *SummaryMetrics) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*SummaryMetrics) GetVector ¶
func (o *SummaryMetrics) GetVector() (value []*SummarySample, ok bool)
GetVector returns the value of the 'vector' attribute and a flag indicating if the attribute has a value.
func (*SummaryMetrics) Name ¶
func (o *SummaryMetrics) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SummaryMetrics) Vector ¶
func (o *SummaryMetrics) Vector() []*SummarySample
Vector returns the value of the 'vector' attribute, or the zero value of the type if the attribute doesn't have a value.
type SummaryMetricsBuilder ¶
type SummaryMetricsBuilder struct {
// contains filtered or unexported fields
}
func NewSummaryMetrics ¶
func NewSummaryMetrics() *SummaryMetricsBuilder
NewSummaryMetrics creates a new builder of 'summary_metrics' objects.
func (*SummaryMetricsBuilder) Build ¶
func (b *SummaryMetricsBuilder) Build() (object *SummaryMetrics, err error)
Build creates a 'summary_metrics' object using the configuration stored in the builder.
func (*SummaryMetricsBuilder) Copy ¶
func (b *SummaryMetricsBuilder) Copy(object *SummaryMetrics) *SummaryMetricsBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SummaryMetricsBuilder) Empty ¶
func (b *SummaryMetricsBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SummaryMetricsBuilder) Name ¶
func (b *SummaryMetricsBuilder) Name(value string) *SummaryMetricsBuilder
Name sets the value of the 'name' attribute to the given value.
func (*SummaryMetricsBuilder) Vector ¶
func (b *SummaryMetricsBuilder) Vector(values ...*SummarySampleBuilder) *SummaryMetricsBuilder
Vector sets the value of the 'vector' attribute to the given values.
type SummaryMetricsList ¶
type SummaryMetricsList struct {
// contains filtered or unexported fields
}
SummaryMetricsList is a list of values of the 'summary_metrics' type.
func (*SummaryMetricsList) Each ¶
func (l *SummaryMetricsList) Each(f func(item *SummaryMetrics) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SummaryMetricsList) Empty ¶
func (l *SummaryMetricsList) Empty() bool
Empty returns true if the list is empty.
func (*SummaryMetricsList) Get ¶
func (l *SummaryMetricsList) Get(i int) *SummaryMetrics
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SummaryMetricsList) Items ¶
func (l *SummaryMetricsList) Items() []*SummaryMetrics
Items returns the items of the list.
func (*SummaryMetricsList) Len ¶
func (l *SummaryMetricsList) Len() int
Len returns the length of the list.
func (*SummaryMetricsList) Range ¶
func (l *SummaryMetricsList) Range(f func(index int, item *SummaryMetrics) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SummaryMetricsList) SetHREF ¶
func (l *SummaryMetricsList) SetHREF(href string)
Items sets the items of the list.
func (*SummaryMetricsList) SetItems ¶
func (l *SummaryMetricsList) SetItems(items []*SummaryMetrics)
Items sets the items of the list.
func (*SummaryMetricsList) SetLink ¶
func (l *SummaryMetricsList) SetLink(link bool)
Items sets the items of the list.
func (*SummaryMetricsList) Slice ¶
func (l *SummaryMetricsList) Slice() []*SummaryMetrics
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SummaryMetricsListBuilder ¶
type SummaryMetricsListBuilder struct {
// contains filtered or unexported fields
}
SummaryMetricsListBuilder contains the data and logic needed to build 'summary_metrics' objects.
func NewSummaryMetricsList ¶
func NewSummaryMetricsList() *SummaryMetricsListBuilder
NewSummaryMetricsList creates a new builder of 'summary_metrics' objects.
func (*SummaryMetricsListBuilder) Build ¶
func (b *SummaryMetricsListBuilder) Build() (list *SummaryMetricsList, err error)
Build creates a list of 'summary_metrics' objects using the configuration stored in the builder.
func (*SummaryMetricsListBuilder) Copy ¶
func (b *SummaryMetricsListBuilder) Copy(list *SummaryMetricsList) *SummaryMetricsListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SummaryMetricsListBuilder) Empty ¶
func (b *SummaryMetricsListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SummaryMetricsListBuilder) Items ¶
func (b *SummaryMetricsListBuilder) Items(values ...*SummaryMetricsBuilder) *SummaryMetricsListBuilder
Items sets the items of the list.
type SummarySample ¶
type SummarySample struct {
// contains filtered or unexported fields
}
SummarySample represents the values of the 'summary_sample' type.
func ReadSummarySample ¶
func ReadSummarySample(iterator *jsoniter.Iterator) *SummarySample
ReadSummarySample reads a value of the 'summary_sample' type from the given iterator.
func ReadSummarySampleList ¶
func ReadSummarySampleList(iterator *jsoniter.Iterator) []*SummarySample
ReadSummarySampleList reads list of values of the ”summary_sample' type from the given iterator.
func UnmarshalSummarySample ¶
func UnmarshalSummarySample(source interface{}) (object *SummarySample, err error)
UnmarshalSummarySample reads a value of the 'summary_sample' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSummarySampleList ¶
func UnmarshalSummarySampleList(source interface{}) (items []*SummarySample, err error)
UnmarshalSummarySampleList reads a list of values of the 'summary_sample' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SummarySample) Empty ¶
func (o *SummarySample) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SummarySample) GetTime ¶
func (o *SummarySample) GetTime() (value string, ok bool)
GetTime returns the value of the 'time' attribute and a flag indicating if the attribute has a value.
func (*SummarySample) GetValue ¶
func (o *SummarySample) GetValue() (value float64, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
func (*SummarySample) Time ¶
func (o *SummarySample) Time() string
Time returns the value of the 'time' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SummarySample) Value ¶
func (o *SummarySample) Value() float64
Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.
type SummarySampleBuilder ¶
type SummarySampleBuilder struct {
// contains filtered or unexported fields
}
func NewSummarySample ¶
func NewSummarySample() *SummarySampleBuilder
NewSummarySample creates a new builder of 'summary_sample' objects.
func (*SummarySampleBuilder) Build ¶
func (b *SummarySampleBuilder) Build() (object *SummarySample, err error)
Build creates a 'summary_sample' object using the configuration stored in the builder.
func (*SummarySampleBuilder) Copy ¶
func (b *SummarySampleBuilder) Copy(object *SummarySample) *SummarySampleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SummarySampleBuilder) Empty ¶
func (b *SummarySampleBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SummarySampleBuilder) Time ¶
func (b *SummarySampleBuilder) Time(value string) *SummarySampleBuilder
Time sets the value of the 'time' attribute to the given value.
func (*SummarySampleBuilder) Value ¶
func (b *SummarySampleBuilder) Value(value float64) *SummarySampleBuilder
Value sets the value of the 'value' attribute to the given value.
type SummarySampleList ¶
type SummarySampleList struct {
// contains filtered or unexported fields
}
SummarySampleList is a list of values of the 'summary_sample' type.
func (*SummarySampleList) Each ¶
func (l *SummarySampleList) Each(f func(item *SummarySample) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SummarySampleList) Empty ¶
func (l *SummarySampleList) Empty() bool
Empty returns true if the list is empty.
func (*SummarySampleList) Get ¶
func (l *SummarySampleList) Get(i int) *SummarySample
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SummarySampleList) Items ¶
func (l *SummarySampleList) Items() []*SummarySample
Items returns the items of the list.
func (*SummarySampleList) Len ¶
func (l *SummarySampleList) Len() int
Len returns the length of the list.
func (*SummarySampleList) Range ¶
func (l *SummarySampleList) Range(f func(index int, item *SummarySample) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SummarySampleList) SetHREF ¶
func (l *SummarySampleList) SetHREF(href string)
Items sets the items of the list.
func (*SummarySampleList) SetItems ¶
func (l *SummarySampleList) SetItems(items []*SummarySample)
Items sets the items of the list.
func (*SummarySampleList) SetLink ¶
func (l *SummarySampleList) SetLink(link bool)
Items sets the items of the list.
func (*SummarySampleList) Slice ¶
func (l *SummarySampleList) Slice() []*SummarySample
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SummarySampleListBuilder ¶
type SummarySampleListBuilder struct {
// contains filtered or unexported fields
}
SummarySampleListBuilder contains the data and logic needed to build 'summary_sample' objects.
func NewSummarySampleList ¶
func NewSummarySampleList() *SummarySampleListBuilder
NewSummarySampleList creates a new builder of 'summary_sample' objects.
func (*SummarySampleListBuilder) Build ¶
func (b *SummarySampleListBuilder) Build() (list *SummarySampleList, err error)
Build creates a list of 'summary_sample' objects using the configuration stored in the builder.
func (*SummarySampleListBuilder) Copy ¶
func (b *SummarySampleListBuilder) Copy(list *SummarySampleList) *SummarySampleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SummarySampleListBuilder) Empty ¶
func (b *SummarySampleListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SummarySampleListBuilder) Items ¶
func (b *SummarySampleListBuilder) Items(values ...*SummarySampleBuilder) *SummarySampleListBuilder
Items sets the items of the list.
type SupportCaseRequest ¶
type SupportCaseRequest struct {
// contains filtered or unexported fields
}
SupportCaseRequest represents the values of the 'support_case_request' type.
func ReadSupportCaseRequest ¶
func ReadSupportCaseRequest(iterator *jsoniter.Iterator) *SupportCaseRequest
ReadSupportCaseRequest reads a value of the 'support_case_request' type from the given iterator.
func ReadSupportCaseRequestList ¶
func ReadSupportCaseRequestList(iterator *jsoniter.Iterator) []*SupportCaseRequest
ReadSupportCaseRequestList reads list of values of the ”support_case_request' type from the given iterator.
func UnmarshalSupportCaseRequest ¶
func UnmarshalSupportCaseRequest(source interface{}) (object *SupportCaseRequest, err error)
UnmarshalSupportCaseRequest reads a value of the 'support_case_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSupportCaseRequestList ¶
func UnmarshalSupportCaseRequestList(source interface{}) (items []*SupportCaseRequest, err error)
UnmarshalSupportCaseRequestList reads a list of values of the 'support_case_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SupportCaseRequest) ClusterId ¶
func (o *SupportCaseRequest) ClusterId() string
ClusterId returns the value of the 'cluster_id' attribute, or the zero value of the type if the attribute doesn't have a value.
(optional) cluster id of the cluster on which we create the support case for.
func (*SupportCaseRequest) ClusterUuid ¶
func (o *SupportCaseRequest) ClusterUuid() string
ClusterUuid returns the value of the 'cluster_uuid' attribute, or the zero value of the type if the attribute doesn't have a value.
(optional) cluster uuid of the cluster on which we create the support case for.
func (*SupportCaseRequest) Description ¶
func (o *SupportCaseRequest) Description() string
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case desciption.
func (*SupportCaseRequest) Empty ¶
func (o *SupportCaseRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SupportCaseRequest) EventStreamId ¶
func (o *SupportCaseRequest) EventStreamId() string
EventStreamId returns the value of the 'event_stream_id' attribute, or the zero value of the type if the attribute doesn't have a value.
(optional) event stream id for the support case so we could track it.
func (*SupportCaseRequest) GetClusterId ¶
func (o *SupportCaseRequest) GetClusterId() (value string, ok bool)
GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.
(optional) cluster id of the cluster on which we create the support case for.
func (*SupportCaseRequest) GetClusterUuid ¶
func (o *SupportCaseRequest) GetClusterUuid() (value string, ok bool)
GetClusterUuid returns the value of the 'cluster_uuid' attribute and a flag indicating if the attribute has a value.
(optional) cluster uuid of the cluster on which we create the support case for.
func (*SupportCaseRequest) GetDescription ¶
func (o *SupportCaseRequest) GetDescription() (value string, ok bool)
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Support case desciption.
func (*SupportCaseRequest) GetEventStreamId ¶
func (o *SupportCaseRequest) GetEventStreamId() (value string, ok bool)
GetEventStreamId returns the value of the 'event_stream_id' attribute and a flag indicating if the attribute has a value.
(optional) event stream id for the support case so we could track it.
func (*SupportCaseRequest) GetHREF ¶
func (o *SupportCaseRequest) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*SupportCaseRequest) GetID ¶
func (o *SupportCaseRequest) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*SupportCaseRequest) GetSeverity ¶
func (o *SupportCaseRequest) GetSeverity() (value string, ok bool)
GetSeverity returns the value of the 'severity' attribute and a flag indicating if the attribute has a value.
Support case severity.
func (*SupportCaseRequest) GetSubscriptionId ¶
func (o *SupportCaseRequest) GetSubscriptionId() (value string, ok bool)
GetSubscriptionId returns the value of the 'subscription_id' attribute and a flag indicating if the attribute has a value.
(optional) subscription id of the subscription on which we create the support case for.
func (*SupportCaseRequest) GetSummary ¶
func (o *SupportCaseRequest) GetSummary() (value string, ok bool)
GetSummary returns the value of the 'summary' attribute and a flag indicating if the attribute has a value.
Support case title.
func (*SupportCaseRequest) HREF ¶
func (o *SupportCaseRequest) HREF() string
HREF returns the link to the object.
func (*SupportCaseRequest) ID ¶
func (o *SupportCaseRequest) ID() string
ID returns the identifier of the object.
func (*SupportCaseRequest) Kind ¶
func (o *SupportCaseRequest) Kind() string
Kind returns the name of the type of the object.
func (*SupportCaseRequest) Link ¶
func (o *SupportCaseRequest) Link() bool
Link returns true if this is a link.
func (*SupportCaseRequest) Severity ¶
func (o *SupportCaseRequest) Severity() string
Severity returns the value of the 'severity' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case severity.
func (*SupportCaseRequest) SubscriptionId ¶
func (o *SupportCaseRequest) SubscriptionId() string
SubscriptionId returns the value of the 'subscription_id' attribute, or the zero value of the type if the attribute doesn't have a value.
(optional) subscription id of the subscription on which we create the support case for.
func (*SupportCaseRequest) Summary ¶
func (o *SupportCaseRequest) Summary() string
Summary returns the value of the 'summary' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case title.
type SupportCaseRequestBuilder ¶
type SupportCaseRequestBuilder struct {
// contains filtered or unexported fields
}
func NewSupportCaseRequest ¶
func NewSupportCaseRequest() *SupportCaseRequestBuilder
NewSupportCaseRequest creates a new builder of 'support_case_request' objects.
func (*SupportCaseRequestBuilder) Build ¶
func (b *SupportCaseRequestBuilder) Build() (object *SupportCaseRequest, err error)
Build creates a 'support_case_request' object using the configuration stored in the builder.
func (*SupportCaseRequestBuilder) ClusterId ¶
func (b *SupportCaseRequestBuilder) ClusterId(value string) *SupportCaseRequestBuilder
ClusterId sets the value of the 'cluster_id' attribute to the given value.
func (*SupportCaseRequestBuilder) ClusterUuid ¶
func (b *SupportCaseRequestBuilder) ClusterUuid(value string) *SupportCaseRequestBuilder
ClusterUuid sets the value of the 'cluster_uuid' attribute to the given value.
func (*SupportCaseRequestBuilder) Copy ¶
func (b *SupportCaseRequestBuilder) Copy(object *SupportCaseRequest) *SupportCaseRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SupportCaseRequestBuilder) Description ¶
func (b *SupportCaseRequestBuilder) Description(value string) *SupportCaseRequestBuilder
Description sets the value of the 'description' attribute to the given value.
func (*SupportCaseRequestBuilder) Empty ¶
func (b *SupportCaseRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SupportCaseRequestBuilder) EventStreamId ¶
func (b *SupportCaseRequestBuilder) EventStreamId(value string) *SupportCaseRequestBuilder
EventStreamId sets the value of the 'event_stream_id' attribute to the given value.
func (*SupportCaseRequestBuilder) HREF ¶
func (b *SupportCaseRequestBuilder) HREF(value string) *SupportCaseRequestBuilder
HREF sets the link to the object.
func (*SupportCaseRequestBuilder) ID ¶
func (b *SupportCaseRequestBuilder) ID(value string) *SupportCaseRequestBuilder
ID sets the identifier of the object.
func (*SupportCaseRequestBuilder) Link ¶
func (b *SupportCaseRequestBuilder) Link(value bool) *SupportCaseRequestBuilder
Link sets the flag that indicates if this is a link.
func (*SupportCaseRequestBuilder) Severity ¶
func (b *SupportCaseRequestBuilder) Severity(value string) *SupportCaseRequestBuilder
Severity sets the value of the 'severity' attribute to the given value.
func (*SupportCaseRequestBuilder) SubscriptionId ¶
func (b *SupportCaseRequestBuilder) SubscriptionId(value string) *SupportCaseRequestBuilder
SubscriptionId sets the value of the 'subscription_id' attribute to the given value.
func (*SupportCaseRequestBuilder) Summary ¶
func (b *SupportCaseRequestBuilder) Summary(value string) *SupportCaseRequestBuilder
Summary sets the value of the 'summary' attribute to the given value.
type SupportCaseRequestList ¶
type SupportCaseRequestList struct {
// contains filtered or unexported fields
}
SupportCaseRequestList is a list of values of the 'support_case_request' type.
func (*SupportCaseRequestList) Each ¶
func (l *SupportCaseRequestList) Each(f func(item *SupportCaseRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SupportCaseRequestList) Empty ¶
func (l *SupportCaseRequestList) Empty() bool
Empty returns true if the list is empty.
func (*SupportCaseRequestList) Get ¶
func (l *SupportCaseRequestList) Get(i int) *SupportCaseRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SupportCaseRequestList) GetHREF ¶
func (l *SupportCaseRequestList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SupportCaseRequestList) HREF ¶
func (l *SupportCaseRequestList) HREF() string
HREF returns the link to the list.
func (*SupportCaseRequestList) Items ¶
func (l *SupportCaseRequestList) Items() []*SupportCaseRequest
Items returns the items of the list.
func (*SupportCaseRequestList) Kind ¶
func (l *SupportCaseRequestList) Kind() string
Kind returns the name of the type of the object.
func (*SupportCaseRequestList) Len ¶
func (l *SupportCaseRequestList) Len() int
Len returns the length of the list.
func (*SupportCaseRequestList) Link ¶
func (l *SupportCaseRequestList) Link() bool
Link returns true iif this is a link.
func (*SupportCaseRequestList) Range ¶
func (l *SupportCaseRequestList) Range(f func(index int, item *SupportCaseRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SupportCaseRequestList) SetHREF ¶
func (l *SupportCaseRequestList) SetHREF(href string)
Items sets the items of the list.
func (*SupportCaseRequestList) SetItems ¶
func (l *SupportCaseRequestList) SetItems(items []*SupportCaseRequest)
Items sets the items of the list.
func (*SupportCaseRequestList) SetLink ¶
func (l *SupportCaseRequestList) SetLink(link bool)
Items sets the items of the list.
func (*SupportCaseRequestList) Slice ¶
func (l *SupportCaseRequestList) Slice() []*SupportCaseRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SupportCaseRequestListBuilder ¶
type SupportCaseRequestListBuilder struct {
// contains filtered or unexported fields
}
SupportCaseRequestListBuilder contains the data and logic needed to build 'support_case_request' objects.
func NewSupportCaseRequestList ¶
func NewSupportCaseRequestList() *SupportCaseRequestListBuilder
NewSupportCaseRequestList creates a new builder of 'support_case_request' objects.
func (*SupportCaseRequestListBuilder) Build ¶
func (b *SupportCaseRequestListBuilder) Build() (list *SupportCaseRequestList, err error)
Build creates a list of 'support_case_request' objects using the configuration stored in the builder.
func (*SupportCaseRequestListBuilder) Copy ¶
func (b *SupportCaseRequestListBuilder) Copy(list *SupportCaseRequestList) *SupportCaseRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SupportCaseRequestListBuilder) Empty ¶
func (b *SupportCaseRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SupportCaseRequestListBuilder) Items ¶
func (b *SupportCaseRequestListBuilder) Items(values ...*SupportCaseRequestBuilder) *SupportCaseRequestListBuilder
Items sets the items of the list.
type SupportCaseResponse ¶
type SupportCaseResponse struct {
// contains filtered or unexported fields
}
SupportCaseResponse represents the values of the 'support_case_response' type.
func ReadSupportCaseResponse ¶
func ReadSupportCaseResponse(iterator *jsoniter.Iterator) *SupportCaseResponse
ReadSupportCaseResponse reads a value of the 'support_case_response' type from the given iterator.
func ReadSupportCaseResponseList ¶
func ReadSupportCaseResponseList(iterator *jsoniter.Iterator) []*SupportCaseResponse
ReadSupportCaseResponseList reads list of values of the ”support_case_response' type from the given iterator.
func UnmarshalSupportCaseResponse ¶
func UnmarshalSupportCaseResponse(source interface{}) (object *SupportCaseResponse, err error)
UnmarshalSupportCaseResponse reads a value of the 'support_case_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSupportCaseResponseList ¶
func UnmarshalSupportCaseResponseList(source interface{}) (items []*SupportCaseResponse, err error)
UnmarshalSupportCaseResponseList reads a list of values of the 'support_case_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SupportCaseResponse) CaseNumber ¶
func (o *SupportCaseResponse) CaseNumber() string
CaseNumber returns the value of the 'case_number' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case number.
func (*SupportCaseResponse) ClusterId ¶
func (o *SupportCaseResponse) ClusterId() string
ClusterId returns the value of the 'cluster_id' attribute, or the zero value of the type if the attribute doesn't have a value.
(optional) cluster id of the cluster on which we created the support case for.
func (*SupportCaseResponse) ClusterUuid ¶
func (o *SupportCaseResponse) ClusterUuid() string
ClusterUuid returns the value of the 'cluster_uuid' attribute, or the zero value of the type if the attribute doesn't have a value.
(optional) cluster uuid of the cluster on which we created the support case for.
func (*SupportCaseResponse) Description ¶
func (o *SupportCaseResponse) Description() string
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case desciption.
func (*SupportCaseResponse) Empty ¶
func (o *SupportCaseResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SupportCaseResponse) GetCaseNumber ¶
func (o *SupportCaseResponse) GetCaseNumber() (value string, ok bool)
GetCaseNumber returns the value of the 'case_number' attribute and a flag indicating if the attribute has a value.
Support case number.
func (*SupportCaseResponse) GetClusterId ¶
func (o *SupportCaseResponse) GetClusterId() (value string, ok bool)
GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.
(optional) cluster id of the cluster on which we created the support case for.
func (*SupportCaseResponse) GetClusterUuid ¶
func (o *SupportCaseResponse) GetClusterUuid() (value string, ok bool)
GetClusterUuid returns the value of the 'cluster_uuid' attribute and a flag indicating if the attribute has a value.
(optional) cluster uuid of the cluster on which we created the support case for.
func (*SupportCaseResponse) GetDescription ¶
func (o *SupportCaseResponse) GetDescription() (value string, ok bool)
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Support case desciption.
func (*SupportCaseResponse) GetHREF ¶
func (o *SupportCaseResponse) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*SupportCaseResponse) GetID ¶
func (o *SupportCaseResponse) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*SupportCaseResponse) GetSeverity ¶
func (o *SupportCaseResponse) GetSeverity() (value string, ok bool)
GetSeverity returns the value of the 'severity' attribute and a flag indicating if the attribute has a value.
Support case severity.
func (*SupportCaseResponse) GetStatus ¶
func (o *SupportCaseResponse) GetStatus() (value string, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
Support case status.
func (*SupportCaseResponse) GetSubscriptionId ¶
func (o *SupportCaseResponse) GetSubscriptionId() (value string, ok bool)
GetSubscriptionId returns the value of the 'subscription_id' attribute and a flag indicating if the attribute has a value.
(optional) subscription id of the subscription on which we created the support case for.
func (*SupportCaseResponse) GetSummary ¶
func (o *SupportCaseResponse) GetSummary() (value string, ok bool)
GetSummary returns the value of the 'summary' attribute and a flag indicating if the attribute has a value.
Support case title.
func (*SupportCaseResponse) GetURI ¶
func (o *SupportCaseResponse) GetURI() (value string, ok bool)
GetURI returns the value of the 'URI' attribute and a flag indicating if the attribute has a value.
Support case uri.
func (*SupportCaseResponse) HREF ¶
func (o *SupportCaseResponse) HREF() string
HREF returns the link to the object.
func (*SupportCaseResponse) ID ¶
func (o *SupportCaseResponse) ID() string
ID returns the identifier of the object.
func (*SupportCaseResponse) Kind ¶
func (o *SupportCaseResponse) Kind() string
Kind returns the name of the type of the object.
func (*SupportCaseResponse) Link ¶
func (o *SupportCaseResponse) Link() bool
Link returns true if this is a link.
func (*SupportCaseResponse) Severity ¶
func (o *SupportCaseResponse) Severity() string
Severity returns the value of the 'severity' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case severity.
func (*SupportCaseResponse) Status ¶
func (o *SupportCaseResponse) Status() string
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case status.
func (*SupportCaseResponse) SubscriptionId ¶
func (o *SupportCaseResponse) SubscriptionId() string
SubscriptionId returns the value of the 'subscription_id' attribute, or the zero value of the type if the attribute doesn't have a value.
(optional) subscription id of the subscription on which we created the support case for.
func (*SupportCaseResponse) Summary ¶
func (o *SupportCaseResponse) Summary() string
Summary returns the value of the 'summary' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case title.
func (*SupportCaseResponse) URI ¶
func (o *SupportCaseResponse) URI() string
URI returns the value of the 'URI' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case uri.
type SupportCaseResponseBuilder ¶
type SupportCaseResponseBuilder struct {
// contains filtered or unexported fields
}
func NewSupportCaseResponse ¶
func NewSupportCaseResponse() *SupportCaseResponseBuilder
NewSupportCaseResponse creates a new builder of 'support_case_response' objects.
func (*SupportCaseResponseBuilder) Build ¶
func (b *SupportCaseResponseBuilder) Build() (object *SupportCaseResponse, err error)
Build creates a 'support_case_response' object using the configuration stored in the builder.
func (*SupportCaseResponseBuilder) CaseNumber ¶
func (b *SupportCaseResponseBuilder) CaseNumber(value string) *SupportCaseResponseBuilder
CaseNumber sets the value of the 'case_number' attribute to the given value.
func (*SupportCaseResponseBuilder) ClusterId ¶
func (b *SupportCaseResponseBuilder) ClusterId(value string) *SupportCaseResponseBuilder
ClusterId sets the value of the 'cluster_id' attribute to the given value.
func (*SupportCaseResponseBuilder) ClusterUuid ¶
func (b *SupportCaseResponseBuilder) ClusterUuid(value string) *SupportCaseResponseBuilder
ClusterUuid sets the value of the 'cluster_uuid' attribute to the given value.
func (*SupportCaseResponseBuilder) Copy ¶
func (b *SupportCaseResponseBuilder) Copy(object *SupportCaseResponse) *SupportCaseResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SupportCaseResponseBuilder) Description ¶
func (b *SupportCaseResponseBuilder) Description(value string) *SupportCaseResponseBuilder
Description sets the value of the 'description' attribute to the given value.
func (*SupportCaseResponseBuilder) Empty ¶
func (b *SupportCaseResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*SupportCaseResponseBuilder) HREF ¶
func (b *SupportCaseResponseBuilder) HREF(value string) *SupportCaseResponseBuilder
HREF sets the link to the object.
func (*SupportCaseResponseBuilder) ID ¶
func (b *SupportCaseResponseBuilder) ID(value string) *SupportCaseResponseBuilder
ID sets the identifier of the object.
func (*SupportCaseResponseBuilder) Link ¶
func (b *SupportCaseResponseBuilder) Link(value bool) *SupportCaseResponseBuilder
Link sets the flag that indicates if this is a link.
func (*SupportCaseResponseBuilder) Severity ¶
func (b *SupportCaseResponseBuilder) Severity(value string) *SupportCaseResponseBuilder
Severity sets the value of the 'severity' attribute to the given value.
func (*SupportCaseResponseBuilder) Status ¶
func (b *SupportCaseResponseBuilder) Status(value string) *SupportCaseResponseBuilder
Status sets the value of the 'status' attribute to the given value.
func (*SupportCaseResponseBuilder) SubscriptionId ¶
func (b *SupportCaseResponseBuilder) SubscriptionId(value string) *SupportCaseResponseBuilder
SubscriptionId sets the value of the 'subscription_id' attribute to the given value.
func (*SupportCaseResponseBuilder) Summary ¶
func (b *SupportCaseResponseBuilder) Summary(value string) *SupportCaseResponseBuilder
Summary sets the value of the 'summary' attribute to the given value.
func (*SupportCaseResponseBuilder) URI ¶
func (b *SupportCaseResponseBuilder) URI(value string) *SupportCaseResponseBuilder
URI sets the value of the 'URI' attribute to the given value.
type SupportCaseResponseList ¶
type SupportCaseResponseList struct {
// contains filtered or unexported fields
}
SupportCaseResponseList is a list of values of the 'support_case_response' type.
func (*SupportCaseResponseList) Each ¶
func (l *SupportCaseResponseList) Each(f func(item *SupportCaseResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SupportCaseResponseList) Empty ¶
func (l *SupportCaseResponseList) Empty() bool
Empty returns true if the list is empty.
func (*SupportCaseResponseList) Get ¶
func (l *SupportCaseResponseList) Get(i int) *SupportCaseResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SupportCaseResponseList) GetHREF ¶
func (l *SupportCaseResponseList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SupportCaseResponseList) HREF ¶
func (l *SupportCaseResponseList) HREF() string
HREF returns the link to the list.
func (*SupportCaseResponseList) Items ¶
func (l *SupportCaseResponseList) Items() []*SupportCaseResponse
Items returns the items of the list.
func (*SupportCaseResponseList) Kind ¶
func (l *SupportCaseResponseList) Kind() string
Kind returns the name of the type of the object.
func (*SupportCaseResponseList) Len ¶
func (l *SupportCaseResponseList) Len() int
Len returns the length of the list.
func (*SupportCaseResponseList) Link ¶
func (l *SupportCaseResponseList) Link() bool
Link returns true iif this is a link.
func (*SupportCaseResponseList) Range ¶
func (l *SupportCaseResponseList) Range(f func(index int, item *SupportCaseResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SupportCaseResponseList) SetHREF ¶
func (l *SupportCaseResponseList) SetHREF(href string)
Items sets the items of the list.
func (*SupportCaseResponseList) SetItems ¶
func (l *SupportCaseResponseList) SetItems(items []*SupportCaseResponse)
Items sets the items of the list.
func (*SupportCaseResponseList) SetLink ¶
func (l *SupportCaseResponseList) SetLink(link bool)
Items sets the items of the list.
func (*SupportCaseResponseList) Slice ¶
func (l *SupportCaseResponseList) Slice() []*SupportCaseResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SupportCaseResponseListBuilder ¶
type SupportCaseResponseListBuilder struct {
// contains filtered or unexported fields
}
SupportCaseResponseListBuilder contains the data and logic needed to build 'support_case_response' objects.
func NewSupportCaseResponseList ¶
func NewSupportCaseResponseList() *SupportCaseResponseListBuilder
NewSupportCaseResponseList creates a new builder of 'support_case_response' objects.
func (*SupportCaseResponseListBuilder) Build ¶
func (b *SupportCaseResponseListBuilder) Build() (list *SupportCaseResponseList, err error)
Build creates a list of 'support_case_response' objects using the configuration stored in the builder.
func (*SupportCaseResponseListBuilder) Copy ¶
func (b *SupportCaseResponseListBuilder) Copy(list *SupportCaseResponseList) *SupportCaseResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SupportCaseResponseListBuilder) Empty ¶
func (b *SupportCaseResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*SupportCaseResponseListBuilder) Items ¶
func (b *SupportCaseResponseListBuilder) Items(values ...*SupportCaseResponseBuilder) *SupportCaseResponseListBuilder
Items sets the items of the list.
type TemplateParameter ¶
type TemplateParameter struct {
// contains filtered or unexported fields
}
TemplateParameter represents the values of the 'template_parameter' type.
A template parameter is used in an email to replace placeholder content with values specific to the email recipient.
func ReadTemplateParameter ¶
func ReadTemplateParameter(iterator *jsoniter.Iterator) *TemplateParameter
ReadTemplateParameter reads a value of the 'template_parameter' type from the given iterator.
func ReadTemplateParameterList ¶
func ReadTemplateParameterList(iterator *jsoniter.Iterator) []*TemplateParameter
ReadTemplateParameterList reads list of values of the ”template_parameter' type from the given iterator.
func UnmarshalTemplateParameter ¶
func UnmarshalTemplateParameter(source interface{}) (object *TemplateParameter, err error)
UnmarshalTemplateParameter reads a value of the 'template_parameter' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalTemplateParameterList ¶
func UnmarshalTemplateParameterList(source interface{}) (items []*TemplateParameter, err error)
UnmarshalTemplateParameterList reads a list of values of the 'template_parameter' type from the given source, which can be a slice of bytes, a string or a reader.
func (*TemplateParameter) Content ¶
func (o *TemplateParameter) Content() string
Content returns the value of the 'content' attribute, or the zero value of the type if the attribute doesn't have a value.
The content that will replace the template parameter in the email
func (*TemplateParameter) Empty ¶
func (o *TemplateParameter) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*TemplateParameter) GetContent ¶
func (o *TemplateParameter) GetContent() (value string, ok bool)
GetContent returns the value of the 'content' attribute and a flag indicating if the attribute has a value.
The content that will replace the template parameter in the email
func (*TemplateParameter) GetName ¶
func (o *TemplateParameter) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the value to be replaced
func (*TemplateParameter) Name ¶
func (o *TemplateParameter) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the value to be replaced
type TemplateParameterBuilder ¶
type TemplateParameterBuilder struct {
// contains filtered or unexported fields
}
A template parameter is used in an email to replace placeholder content with values specific to the email recipient.
func NewTemplateParameter ¶
func NewTemplateParameter() *TemplateParameterBuilder
NewTemplateParameter creates a new builder of 'template_parameter' objects.
func (*TemplateParameterBuilder) Build ¶
func (b *TemplateParameterBuilder) Build() (object *TemplateParameter, err error)
Build creates a 'template_parameter' object using the configuration stored in the builder.
func (*TemplateParameterBuilder) Content ¶
func (b *TemplateParameterBuilder) Content(value string) *TemplateParameterBuilder
Content sets the value of the 'content' attribute to the given value.
func (*TemplateParameterBuilder) Copy ¶
func (b *TemplateParameterBuilder) Copy(object *TemplateParameter) *TemplateParameterBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*TemplateParameterBuilder) Empty ¶
func (b *TemplateParameterBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*TemplateParameterBuilder) Name ¶
func (b *TemplateParameterBuilder) Name(value string) *TemplateParameterBuilder
Name sets the value of the 'name' attribute to the given value.
type TemplateParameterList ¶
type TemplateParameterList struct {
// contains filtered or unexported fields
}
TemplateParameterList is a list of values of the 'template_parameter' type.
func (*TemplateParameterList) Each ¶
func (l *TemplateParameterList) Each(f func(item *TemplateParameter) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TemplateParameterList) Empty ¶
func (l *TemplateParameterList) Empty() bool
Empty returns true if the list is empty.
func (*TemplateParameterList) Get ¶
func (l *TemplateParameterList) Get(i int) *TemplateParameter
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*TemplateParameterList) Items ¶
func (l *TemplateParameterList) Items() []*TemplateParameter
Items returns the items of the list.
func (*TemplateParameterList) Len ¶
func (l *TemplateParameterList) Len() int
Len returns the length of the list.
func (*TemplateParameterList) Range ¶
func (l *TemplateParameterList) Range(f func(index int, item *TemplateParameter) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TemplateParameterList) SetHREF ¶
func (l *TemplateParameterList) SetHREF(href string)
Items sets the items of the list.
func (*TemplateParameterList) SetItems ¶
func (l *TemplateParameterList) SetItems(items []*TemplateParameter)
Items sets the items of the list.
func (*TemplateParameterList) SetLink ¶
func (l *TemplateParameterList) SetLink(link bool)
Items sets the items of the list.
func (*TemplateParameterList) Slice ¶
func (l *TemplateParameterList) Slice() []*TemplateParameter
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type TemplateParameterListBuilder ¶
type TemplateParameterListBuilder struct {
// contains filtered or unexported fields
}
TemplateParameterListBuilder contains the data and logic needed to build 'template_parameter' objects.
func NewTemplateParameterList ¶
func NewTemplateParameterList() *TemplateParameterListBuilder
NewTemplateParameterList creates a new builder of 'template_parameter' objects.
func (*TemplateParameterListBuilder) Build ¶
func (b *TemplateParameterListBuilder) Build() (list *TemplateParameterList, err error)
Build creates a list of 'template_parameter' objects using the configuration stored in the builder.
func (*TemplateParameterListBuilder) Copy ¶
func (b *TemplateParameterListBuilder) Copy(list *TemplateParameterList) *TemplateParameterListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*TemplateParameterListBuilder) Empty ¶
func (b *TemplateParameterListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*TemplateParameterListBuilder) Items ¶
func (b *TemplateParameterListBuilder) Items(values ...*TemplateParameterBuilder) *TemplateParameterListBuilder
Items sets the items of the list.
type TokenAuthorizationRequest ¶
type TokenAuthorizationRequest struct {
// contains filtered or unexported fields
}
TokenAuthorizationRequest represents the values of the 'token_authorization_request' type.
func ReadTokenAuthorizationRequest ¶
func ReadTokenAuthorizationRequest(iterator *jsoniter.Iterator) *TokenAuthorizationRequest
ReadTokenAuthorizationRequest reads a value of the 'token_authorization_request' type from the given iterator.
func ReadTokenAuthorizationRequestList ¶
func ReadTokenAuthorizationRequestList(iterator *jsoniter.Iterator) []*TokenAuthorizationRequest
ReadTokenAuthorizationRequestList reads list of values of the ”token_authorization_request' type from the given iterator.
func UnmarshalTokenAuthorizationRequest ¶
func UnmarshalTokenAuthorizationRequest(source interface{}) (object *TokenAuthorizationRequest, err error)
UnmarshalTokenAuthorizationRequest reads a value of the 'token_authorization_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalTokenAuthorizationRequestList ¶
func UnmarshalTokenAuthorizationRequestList(source interface{}) (items []*TokenAuthorizationRequest, err error)
UnmarshalTokenAuthorizationRequestList reads a list of values of the 'token_authorization_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*TokenAuthorizationRequest) AuthorizationToken ¶
func (o *TokenAuthorizationRequest) AuthorizationToken() string
AuthorizationToken returns the value of the 'authorization_token' attribute, or the zero value of the type if the attribute doesn't have a value.
The pull secret of a given account
func (*TokenAuthorizationRequest) Empty ¶
func (o *TokenAuthorizationRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*TokenAuthorizationRequest) GetAuthorizationToken ¶
func (o *TokenAuthorizationRequest) GetAuthorizationToken() (value string, ok bool)
GetAuthorizationToken returns the value of the 'authorization_token' attribute and a flag indicating if the attribute has a value.
The pull secret of a given account
type TokenAuthorizationRequestBuilder ¶
type TokenAuthorizationRequestBuilder struct {
// contains filtered or unexported fields
}
func NewTokenAuthorizationRequest ¶
func NewTokenAuthorizationRequest() *TokenAuthorizationRequestBuilder
NewTokenAuthorizationRequest creates a new builder of 'token_authorization_request' objects.
func (*TokenAuthorizationRequestBuilder) AuthorizationToken ¶
func (b *TokenAuthorizationRequestBuilder) AuthorizationToken(value string) *TokenAuthorizationRequestBuilder
AuthorizationToken sets the value of the 'authorization_token' attribute to the given value.
func (*TokenAuthorizationRequestBuilder) Build ¶
func (b *TokenAuthorizationRequestBuilder) Build() (object *TokenAuthorizationRequest, err error)
Build creates a 'token_authorization_request' object using the configuration stored in the builder.
func (*TokenAuthorizationRequestBuilder) Copy ¶
func (b *TokenAuthorizationRequestBuilder) Copy(object *TokenAuthorizationRequest) *TokenAuthorizationRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*TokenAuthorizationRequestBuilder) Empty ¶
func (b *TokenAuthorizationRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
type TokenAuthorizationRequestList ¶
type TokenAuthorizationRequestList struct {
// contains filtered or unexported fields
}
TokenAuthorizationRequestList is a list of values of the 'token_authorization_request' type.
func (*TokenAuthorizationRequestList) Each ¶
func (l *TokenAuthorizationRequestList) Each(f func(item *TokenAuthorizationRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TokenAuthorizationRequestList) Empty ¶
func (l *TokenAuthorizationRequestList) Empty() bool
Empty returns true if the list is empty.
func (*TokenAuthorizationRequestList) Get ¶
func (l *TokenAuthorizationRequestList) Get(i int) *TokenAuthorizationRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*TokenAuthorizationRequestList) Items ¶
func (l *TokenAuthorizationRequestList) Items() []*TokenAuthorizationRequest
Items returns the items of the list.
func (*TokenAuthorizationRequestList) Len ¶
func (l *TokenAuthorizationRequestList) Len() int
Len returns the length of the list.
func (*TokenAuthorizationRequestList) Range ¶
func (l *TokenAuthorizationRequestList) Range(f func(index int, item *TokenAuthorizationRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TokenAuthorizationRequestList) SetHREF ¶
func (l *TokenAuthorizationRequestList) SetHREF(href string)
Items sets the items of the list.
func (*TokenAuthorizationRequestList) SetItems ¶
func (l *TokenAuthorizationRequestList) SetItems(items []*TokenAuthorizationRequest)
Items sets the items of the list.
func (*TokenAuthorizationRequestList) SetLink ¶
func (l *TokenAuthorizationRequestList) SetLink(link bool)
Items sets the items of the list.
func (*TokenAuthorizationRequestList) Slice ¶
func (l *TokenAuthorizationRequestList) Slice() []*TokenAuthorizationRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type TokenAuthorizationRequestListBuilder ¶
type TokenAuthorizationRequestListBuilder struct {
// contains filtered or unexported fields
}
TokenAuthorizationRequestListBuilder contains the data and logic needed to build 'token_authorization_request' objects.
func NewTokenAuthorizationRequestList ¶
func NewTokenAuthorizationRequestList() *TokenAuthorizationRequestListBuilder
NewTokenAuthorizationRequestList creates a new builder of 'token_authorization_request' objects.
func (*TokenAuthorizationRequestListBuilder) Build ¶
func (b *TokenAuthorizationRequestListBuilder) Build() (list *TokenAuthorizationRequestList, err error)
Build creates a list of 'token_authorization_request' objects using the configuration stored in the builder.
func (*TokenAuthorizationRequestListBuilder) Copy ¶
func (b *TokenAuthorizationRequestListBuilder) Copy(list *TokenAuthorizationRequestList) *TokenAuthorizationRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*TokenAuthorizationRequestListBuilder) Empty ¶
func (b *TokenAuthorizationRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*TokenAuthorizationRequestListBuilder) Items ¶
func (b *TokenAuthorizationRequestListBuilder) Items(values ...*TokenAuthorizationRequestBuilder) *TokenAuthorizationRequestListBuilder
Items sets the items of the list.
type TokenAuthorizationResponse ¶
type TokenAuthorizationResponse struct {
// contains filtered or unexported fields
}
TokenAuthorizationResponse represents the values of the 'token_authorization_response' type.
func ReadTokenAuthorizationResponse ¶
func ReadTokenAuthorizationResponse(iterator *jsoniter.Iterator) *TokenAuthorizationResponse
ReadTokenAuthorizationResponse reads a value of the 'token_authorization_response' type from the given iterator.
func ReadTokenAuthorizationResponseList ¶
func ReadTokenAuthorizationResponseList(iterator *jsoniter.Iterator) []*TokenAuthorizationResponse
ReadTokenAuthorizationResponseList reads list of values of the ”token_authorization_response' type from the given iterator.
func UnmarshalTokenAuthorizationResponse ¶
func UnmarshalTokenAuthorizationResponse(source interface{}) (object *TokenAuthorizationResponse, err error)
UnmarshalTokenAuthorizationResponse reads a value of the 'token_authorization_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalTokenAuthorizationResponseList ¶
func UnmarshalTokenAuthorizationResponseList(source interface{}) (items []*TokenAuthorizationResponse, err error)
UnmarshalTokenAuthorizationResponseList reads a list of values of the 'token_authorization_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*TokenAuthorizationResponse) Account ¶
func (o *TokenAuthorizationResponse) Account() *Account
Account returns the value of the 'account' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*TokenAuthorizationResponse) Empty ¶
func (o *TokenAuthorizationResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*TokenAuthorizationResponse) GetAccount ¶
func (o *TokenAuthorizationResponse) GetAccount() (value *Account, ok bool)
GetAccount returns the value of the 'account' attribute and a flag indicating if the attribute has a value.
type TokenAuthorizationResponseBuilder ¶
type TokenAuthorizationResponseBuilder struct {
// contains filtered or unexported fields
}
func NewTokenAuthorizationResponse ¶
func NewTokenAuthorizationResponse() *TokenAuthorizationResponseBuilder
NewTokenAuthorizationResponse creates a new builder of 'token_authorization_response' objects.
func (*TokenAuthorizationResponseBuilder) Account ¶
func (b *TokenAuthorizationResponseBuilder) Account(value *AccountBuilder) *TokenAuthorizationResponseBuilder
Account sets the value of the 'account' attribute to the given value.
func (*TokenAuthorizationResponseBuilder) Build ¶
func (b *TokenAuthorizationResponseBuilder) Build() (object *TokenAuthorizationResponse, err error)
Build creates a 'token_authorization_response' object using the configuration stored in the builder.
func (*TokenAuthorizationResponseBuilder) Copy ¶
func (b *TokenAuthorizationResponseBuilder) Copy(object *TokenAuthorizationResponse) *TokenAuthorizationResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*TokenAuthorizationResponseBuilder) Empty ¶
func (b *TokenAuthorizationResponseBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
type TokenAuthorizationResponseList ¶
type TokenAuthorizationResponseList struct {
// contains filtered or unexported fields
}
TokenAuthorizationResponseList is a list of values of the 'token_authorization_response' type.
func (*TokenAuthorizationResponseList) Each ¶
func (l *TokenAuthorizationResponseList) Each(f func(item *TokenAuthorizationResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TokenAuthorizationResponseList) Empty ¶
func (l *TokenAuthorizationResponseList) Empty() bool
Empty returns true if the list is empty.
func (*TokenAuthorizationResponseList) Get ¶
func (l *TokenAuthorizationResponseList) Get(i int) *TokenAuthorizationResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*TokenAuthorizationResponseList) Items ¶
func (l *TokenAuthorizationResponseList) Items() []*TokenAuthorizationResponse
Items returns the items of the list.
func (*TokenAuthorizationResponseList) Len ¶
func (l *TokenAuthorizationResponseList) Len() int
Len returns the length of the list.
func (*TokenAuthorizationResponseList) Range ¶
func (l *TokenAuthorizationResponseList) Range(f func(index int, item *TokenAuthorizationResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TokenAuthorizationResponseList) SetHREF ¶
func (l *TokenAuthorizationResponseList) SetHREF(href string)
Items sets the items of the list.
func (*TokenAuthorizationResponseList) SetItems ¶
func (l *TokenAuthorizationResponseList) SetItems(items []*TokenAuthorizationResponse)
Items sets the items of the list.
func (*TokenAuthorizationResponseList) SetLink ¶
func (l *TokenAuthorizationResponseList) SetLink(link bool)
Items sets the items of the list.
func (*TokenAuthorizationResponseList) Slice ¶
func (l *TokenAuthorizationResponseList) Slice() []*TokenAuthorizationResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type TokenAuthorizationResponseListBuilder ¶
type TokenAuthorizationResponseListBuilder struct {
// contains filtered or unexported fields
}
TokenAuthorizationResponseListBuilder contains the data and logic needed to build 'token_authorization_response' objects.
func NewTokenAuthorizationResponseList ¶
func NewTokenAuthorizationResponseList() *TokenAuthorizationResponseListBuilder
NewTokenAuthorizationResponseList creates a new builder of 'token_authorization_response' objects.
func (*TokenAuthorizationResponseListBuilder) Build ¶
func (b *TokenAuthorizationResponseListBuilder) Build() (list *TokenAuthorizationResponseList, err error)
Build creates a list of 'token_authorization_response' objects using the configuration stored in the builder.
func (*TokenAuthorizationResponseListBuilder) Copy ¶
func (b *TokenAuthorizationResponseListBuilder) Copy(list *TokenAuthorizationResponseList) *TokenAuthorizationResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*TokenAuthorizationResponseListBuilder) Empty ¶
func (b *TokenAuthorizationResponseListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*TokenAuthorizationResponseListBuilder) Items ¶
func (b *TokenAuthorizationResponseListBuilder) Items(values ...*TokenAuthorizationResponseBuilder) *TokenAuthorizationResponseListBuilder
Items sets the items of the list.
type ValueUnit ¶
type ValueUnit struct {
// contains filtered or unexported fields
}
ValueUnit represents the values of the 'value_unit' type.
func ReadValueUnit ¶
ReadValueUnit reads a value of the 'value_unit' type from the given iterator.
func ReadValueUnitList ¶
ReadValueUnitList reads list of values of the ”value_unit' type from the given iterator.
func UnmarshalValueUnit ¶
UnmarshalValueUnit reads a value of the 'value_unit' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalValueUnitList ¶
UnmarshalValueUnitList reads a list of values of the 'value_unit' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ValueUnit) Empty ¶
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ValueUnit) GetUnit ¶
GetUnit returns the value of the 'unit' attribute and a flag indicating if the attribute has a value.
func (*ValueUnit) GetValue ¶
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
type ValueUnitBuilder ¶
type ValueUnitBuilder struct {
// contains filtered or unexported fields
}
func NewValueUnit ¶
func NewValueUnit() *ValueUnitBuilder
NewValueUnit creates a new builder of 'value_unit' objects.
func (*ValueUnitBuilder) Build ¶
func (b *ValueUnitBuilder) Build() (object *ValueUnit, err error)
Build creates a 'value_unit' object using the configuration stored in the builder.
func (*ValueUnitBuilder) Copy ¶
func (b *ValueUnitBuilder) Copy(object *ValueUnit) *ValueUnitBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ValueUnitBuilder) Empty ¶
func (b *ValueUnitBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ValueUnitBuilder) Unit ¶
func (b *ValueUnitBuilder) Unit(value string) *ValueUnitBuilder
Unit sets the value of the 'unit' attribute to the given value.
func (*ValueUnitBuilder) Value ¶
func (b *ValueUnitBuilder) Value(value float64) *ValueUnitBuilder
Value sets the value of the 'value' attribute to the given value.
type ValueUnitList ¶
type ValueUnitList struct {
// contains filtered or unexported fields
}
ValueUnitList is a list of values of the 'value_unit' type.
func (*ValueUnitList) Each ¶
func (l *ValueUnitList) Each(f func(item *ValueUnit) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ValueUnitList) Empty ¶
func (l *ValueUnitList) Empty() bool
Empty returns true if the list is empty.
func (*ValueUnitList) Get ¶
func (l *ValueUnitList) Get(i int) *ValueUnit
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ValueUnitList) Items ¶
func (l *ValueUnitList) Items() []*ValueUnit
Items returns the items of the list.
func (*ValueUnitList) Range ¶
func (l *ValueUnitList) Range(f func(index int, item *ValueUnit) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ValueUnitList) SetHREF ¶
func (l *ValueUnitList) SetHREF(href string)
Items sets the items of the list.
func (*ValueUnitList) SetItems ¶
func (l *ValueUnitList) SetItems(items []*ValueUnit)
Items sets the items of the list.
func (*ValueUnitList) SetLink ¶
func (l *ValueUnitList) SetLink(link bool)
Items sets the items of the list.
func (*ValueUnitList) Slice ¶
func (l *ValueUnitList) Slice() []*ValueUnit
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ValueUnitListBuilder ¶
type ValueUnitListBuilder struct {
// contains filtered or unexported fields
}
ValueUnitListBuilder contains the data and logic needed to build 'value_unit' objects.
func NewValueUnitList ¶
func NewValueUnitList() *ValueUnitListBuilder
NewValueUnitList creates a new builder of 'value_unit' objects.
func (*ValueUnitListBuilder) Build ¶
func (b *ValueUnitListBuilder) Build() (list *ValueUnitList, err error)
Build creates a list of 'value_unit' objects using the configuration stored in the builder.
func (*ValueUnitListBuilder) Copy ¶
func (b *ValueUnitListBuilder) Copy(list *ValueUnitList) *ValueUnitListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ValueUnitListBuilder) Empty ¶
func (b *ValueUnitListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ValueUnitListBuilder) Items ¶
func (b *ValueUnitListBuilder) Items(values ...*ValueUnitBuilder) *ValueUnitListBuilder
Items sets the items of the list.
Source Files
¶
- access_token_auth_builder.go
- access_token_auth_list_builder.go
- access_token_auth_list_type_json.go
- access_token_auth_type.go
- access_token_auth_type_json.go
- access_token_builder.go
- access_token_list_builder.go
- access_token_list_type_json.go
- access_token_type.go
- access_token_type_json.go
- account_builder.go
- account_list_builder.go
- account_list_type_json.go
- account_type.go
- account_type_json.go
- action_list_type_json.go
- action_type.go
- billing_model_item_builder.go
- billing_model_item_list_builder.go
- billing_model_item_list_type_json.go
- billing_model_item_type.go
- billing_model_item_type_json.go
- billing_model_list_type_json.go
- billing_model_type.go
- boolean_list_type_json.go
- capability_builder.go
- capability_list_builder.go
- capability_list_type_json.go
- capability_type.go
- capability_type_json.go
- cloud_account_builder.go
- cloud_account_list_builder.go
- cloud_account_list_type_json.go
- cloud_account_type.go
- cloud_account_type_json.go
- cloud_resource_builder.go
- cloud_resource_list_builder.go
- cloud_resource_list_type_json.go
- cloud_resource_type.go
- cloud_resource_type_json.go
- cluster_authorization_request_builder.go
- cluster_authorization_request_list_builder.go
- cluster_authorization_request_list_type_json.go
- cluster_authorization_request_type.go
- cluster_authorization_request_type_json.go
- cluster_authorization_response_builder.go
- cluster_authorization_response_list_builder.go
- cluster_authorization_response_list_type_json.go
- cluster_authorization_response_type.go
- cluster_authorization_response_type_json.go
- cluster_metrics_nodes_builder.go
- cluster_metrics_nodes_list_builder.go
- cluster_metrics_nodes_list_type_json.go
- cluster_metrics_nodes_type.go
- cluster_metrics_nodes_type_json.go
- cluster_registration_request_builder.go
- cluster_registration_request_list_builder.go
- cluster_registration_request_list_type_json.go
- cluster_registration_request_type.go
- cluster_registration_request_type_json.go
- cluster_registration_response_builder.go
- cluster_registration_response_list_builder.go
- cluster_registration_response_list_type_json.go
- cluster_registration_response_type.go
- cluster_registration_response_type_json.go
- cluster_resource_builder.go
- cluster_resource_list_builder.go
- cluster_resource_list_type_json.go
- cluster_resource_type.go
- cluster_resource_type_json.go
- cluster_upgrade_builder.go
- cluster_upgrade_list_builder.go
- cluster_upgrade_list_type_json.go
- cluster_upgrade_type.go
- cluster_upgrade_type_json.go
- contract_builder.go
- contract_dimension_builder.go
- contract_dimension_list_builder.go
- contract_dimension_list_type_json.go
- contract_dimension_type.go
- contract_dimension_type_json.go
- contract_list_builder.go
- contract_list_type_json.go
- contract_type.go
- contract_type_json.go
- date_list_type_json.go
- default_capability_builder.go
- default_capability_list_builder.go
- default_capability_list_type_json.go
- default_capability_type.go
- default_capability_type_json.go
- deleted_subscription_builder.go
- deleted_subscription_list_builder.go
- deleted_subscription_list_type_json.go
- deleted_subscription_type.go
- deleted_subscription_type_json.go
- feature_toggle_builder.go
- feature_toggle_list_builder.go
- feature_toggle_list_type_json.go
- feature_toggle_query_request_builder.go
- feature_toggle_query_request_list_builder.go
- feature_toggle_query_request_list_type_json.go
- feature_toggle_query_request_type.go
- feature_toggle_query_request_type_json.go
- feature_toggle_type.go
- feature_toggle_type_json.go
- float_list_type_json.go
- generic_notify_details_response_builder.go
- generic_notify_details_response_list_builder.go
- generic_notify_details_response_list_type_json.go
- generic_notify_details_response_type.go
- generic_notify_details_response_type_json.go
- integer_list_type_json.go
- interface_list_type_json.go
- label_builder.go
- label_list_builder.go
- label_list_type_json.go
- label_type.go
- label_type_json.go
- long_list_type_json.go
- metadata_reader.go
- metadata_type.go
- notification_details_request_builder.go
- notification_details_request_list_builder.go
- notification_details_request_list_type_json.go
- notification_details_request_type.go
- notification_details_request_type_json.go
- notification_details_response_builder.go
- notification_details_response_list_builder.go
- notification_details_response_list_type_json.go
- notification_details_response_type.go
- notification_details_response_type_json.go
- organization_builder.go
- organization_list_builder.go
- organization_list_type_json.go
- organization_type.go
- organization_type_json.go
- permission_builder.go
- permission_list_builder.go
- permission_list_type_json.go
- permission_type.go
- permission_type_json.go
- plan_builder.go
- plan_id_list_type_json.go
- plan_id_type.go
- plan_list_builder.go
- plan_list_type_json.go
- plan_type.go
- plan_type_json.go
- pull_secrets_request_builder.go
- pull_secrets_request_list_builder.go
- pull_secrets_request_list_type_json.go
- pull_secrets_request_type.go
- pull_secrets_request_type_json.go
- quota_authorization_request_builder.go
- quota_authorization_request_list_builder.go
- quota_authorization_request_list_type_json.go
- quota_authorization_request_type.go
- quota_authorization_request_type_json.go
- quota_authorization_response_builder.go
- quota_authorization_response_list_builder.go
- quota_authorization_response_list_type_json.go
- quota_authorization_response_type.go
- quota_authorization_response_type_json.go
- quota_cost_builder.go
- quota_cost_list_builder.go
- quota_cost_list_type_json.go
- quota_cost_type.go
- quota_cost_type_json.go
- quota_rules_builder.go
- quota_rules_list_builder.go
- quota_rules_list_type_json.go
- quota_rules_type.go
- quota_rules_type_json.go
- registry_builder.go
- registry_credential_builder.go
- registry_credential_list_builder.go
- registry_credential_list_type_json.go
- registry_credential_type.go
- registry_credential_type_json.go
- registry_list_builder.go
- registry_list_type_json.go
- registry_type.go
- registry_type_json.go
- related_resource_builder.go
- related_resource_list_builder.go
- related_resource_list_type_json.go
- related_resource_type.go
- related_resource_type_json.go
- reserved_resource_builder.go
- reserved_resource_list_builder.go
- reserved_resource_list_type_json.go
- reserved_resource_type.go
- reserved_resource_type_json.go
- resource_builder.go
- resource_list_builder.go
- resource_list_type_json.go
- resource_quota_builder.go
- resource_quota_list_builder.go
- resource_quota_list_type_json.go
- resource_quota_type.go
- resource_quota_type_json.go
- resource_type.go
- resource_type_json.go
- role_binding_builder.go
- role_binding_list_builder.go
- role_binding_list_type_json.go
- role_binding_type.go
- role_binding_type_json.go
- role_builder.go
- role_list_builder.go
- role_list_type_json.go
- role_type.go
- role_type_json.go
- sku_rule_builder.go
- sku_rule_list_builder.go
- sku_rule_list_type_json.go
- sku_rule_type.go
- sku_rule_type_json.go
- string_list_type_json.go
- subscription_builder.go
- subscription_list_builder.go
- subscription_list_type_json.go
- subscription_metrics_builder.go
- subscription_metrics_list_builder.go
- subscription_metrics_list_type_json.go
- subscription_metrics_type.go
- subscription_metrics_type_json.go
- subscription_registration_builder.go
- subscription_registration_list_builder.go
- subscription_registration_list_type_json.go
- subscription_registration_type.go
- subscription_registration_type_json.go
- subscription_type.go
- subscription_type_json.go
- summary_dashboard_builder.go
- summary_dashboard_list_builder.go
- summary_dashboard_list_type_json.go
- summary_dashboard_type.go
- summary_dashboard_type_json.go
- summary_metrics_builder.go
- summary_metrics_list_builder.go
- summary_metrics_list_type_json.go
- summary_metrics_type.go
- summary_metrics_type_json.go
- summary_sample_builder.go
- summary_sample_list_builder.go
- summary_sample_list_type_json.go
- summary_sample_type.go
- summary_sample_type_json.go
- support_case_request_builder.go
- support_case_request_list_builder.go
- support_case_request_list_type_json.go
- support_case_request_type.go
- support_case_request_type_json.go
- support_case_response_builder.go
- support_case_response_list_builder.go
- support_case_response_list_type_json.go
- support_case_response_type.go
- support_case_response_type_json.go
- template_parameter_builder.go
- template_parameter_list_builder.go
- template_parameter_list_type_json.go
- template_parameter_type.go
- template_parameter_type_json.go
- token_authorization_request_builder.go
- token_authorization_request_list_builder.go
- token_authorization_request_list_type_json.go
- token_authorization_request_type.go
- token_authorization_request_type_json.go
- token_authorization_response_builder.go
- token_authorization_response_list_builder.go
- token_authorization_response_list_type_json.go
- token_authorization_response_type.go
- token_authorization_response_type_json.go
- value_unit_builder.go
- value_unit_list_builder.go
- value_unit_list_type_json.go
- value_unit_type.go
- value_unit_type_json.go