v1

package
v0.0.430 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation ¶

Index ¶

Constants ¶

View Source
const AccessTokenAuthListKind = "AccessTokenAuthList"

AccessTokenAuthListKind is the name of the type used to represent list of objects of type 'access_token_auth'.

View Source
const AccessTokenAuthListLinkKind = "AccessTokenAuthListLink"

AccessTokenAuthListLinkKind is the name of the type used to represent links to list of objects of type 'access_token_auth'.

View Source
const AccessTokenAuthListNilKind = "AccessTokenAuthListNil"

AccessTokenAuthNilKind is the name of the type used to nil lists of objects of type 'access_token_auth'.

View Source
const AccessTokenListKind = "AccessTokenList"

AccessTokenListKind is the name of the type used to represent list of objects of type 'access_token'.

View Source
const AccessTokenListLinkKind = "AccessTokenListLink"

AccessTokenListLinkKind is the name of the type used to represent links to list of objects of type 'access_token'.

View Source
const AccessTokenListNilKind = "AccessTokenListNil"

AccessTokenNilKind is the name of the type used to nil lists of objects of type 'access_token'.

View Source
const AccountKind = "Account"

AccountKind is the name of the type used to represent objects of type 'account'.

View Source
const AccountLinkKind = "AccountLink"

AccountLinkKind is the name of the type used to represent links to objects of type 'account'.

View Source
const AccountListKind = "AccountList"

AccountListKind is the name of the type used to represent list of objects of type 'account'.

View Source
const AccountListLinkKind = "AccountListLink"

AccountListLinkKind is the name of the type used to represent links to list of objects of type 'account'.

View Source
const AccountListNilKind = "AccountListNil"

AccountNilKind is the name of the type used to nil lists of objects of type 'account'.

View Source
const AccountNilKind = "AccountNil"

AccountNilKind is the name of the type used to nil references to objects of type 'account'.

View Source
const BillingModelItemKind = "BillingModelItem"

BillingModelItemKind is the name of the type used to represent objects of type 'billing_model_item'.

View Source
const BillingModelItemLinkKind = "BillingModelItemLink"

BillingModelItemLinkKind is the name of the type used to represent links to objects of type 'billing_model_item'.

View Source
const BillingModelItemListKind = "BillingModelItemList"

BillingModelItemListKind is the name of the type used to represent list of objects of type 'billing_model_item'.

View Source
const BillingModelItemListLinkKind = "BillingModelItemListLink"

BillingModelItemListLinkKind is the name of the type used to represent links to list of objects of type 'billing_model_item'.

View Source
const BillingModelItemListNilKind = "BillingModelItemListNil"

BillingModelItemNilKind is the name of the type used to nil lists of objects of type 'billing_model_item'.

View Source
const BillingModelItemNilKind = "BillingModelItemNil"

BillingModelItemNilKind is the name of the type used to nil references to objects of type 'billing_model_item'.

View Source
const CapabilityListKind = "CapabilityList"

CapabilityListKind is the name of the type used to represent list of objects of type 'capability'.

View Source
const CapabilityListLinkKind = "CapabilityListLink"

CapabilityListLinkKind is the name of the type used to represent links to list of objects of type 'capability'.

View Source
const CapabilityListNilKind = "CapabilityListNil"

CapabilityNilKind is the name of the type used to nil lists of objects of type 'capability'.

View Source
const CloudAccountListKind = "CloudAccountList"

CloudAccountListKind is the name of the type used to represent list of objects of type 'cloud_account'.

View Source
const CloudAccountListLinkKind = "CloudAccountListLink"

CloudAccountListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_account'.

View Source
const CloudAccountListNilKind = "CloudAccountListNil"

CloudAccountNilKind is the name of the type used to nil lists of objects of type 'cloud_account'.

View Source
const CloudResourceKind = "CloudResource"

CloudResourceKind is the name of the type used to represent objects of type 'cloud_resource'.

View Source
const CloudResourceLinkKind = "CloudResourceLink"

CloudResourceLinkKind is the name of the type used to represent links to objects of type 'cloud_resource'.

View Source
const CloudResourceListKind = "CloudResourceList"

CloudResourceListKind is the name of the type used to represent list of objects of type 'cloud_resource'.

View Source
const CloudResourceListLinkKind = "CloudResourceListLink"

CloudResourceListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_resource'.

View Source
const CloudResourceListNilKind = "CloudResourceListNil"

CloudResourceNilKind is the name of the type used to nil lists of objects of type 'cloud_resource'.

View Source
const CloudResourceNilKind = "CloudResourceNil"

CloudResourceNilKind is the name of the type used to nil references to objects of type 'cloud_resource'.

View Source
const ClusterAuthorizationRequestListKind = "ClusterAuthorizationRequestList"

ClusterAuthorizationRequestListKind is the name of the type used to represent list of objects of type 'cluster_authorization_request'.

View Source
const ClusterAuthorizationRequestListLinkKind = "ClusterAuthorizationRequestListLink"

ClusterAuthorizationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_authorization_request'.

View Source
const ClusterAuthorizationRequestListNilKind = "ClusterAuthorizationRequestListNil"

ClusterAuthorizationRequestNilKind is the name of the type used to nil lists of objects of type 'cluster_authorization_request'.

View Source
const ClusterAuthorizationResponseListKind = "ClusterAuthorizationResponseList"

ClusterAuthorizationResponseListKind is the name of the type used to represent list of objects of type 'cluster_authorization_response'.

View Source
const ClusterAuthorizationResponseListLinkKind = "ClusterAuthorizationResponseListLink"

ClusterAuthorizationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_authorization_response'.

View Source
const ClusterAuthorizationResponseListNilKind = "ClusterAuthorizationResponseListNil"

ClusterAuthorizationResponseNilKind is the name of the type used to nil lists of objects of type 'cluster_authorization_response'.

View Source
const ClusterMetricsNodesListKind = "ClusterMetricsNodesList"

ClusterMetricsNodesListKind is the name of the type used to represent list of objects of type 'cluster_metrics_nodes'.

View Source
const ClusterMetricsNodesListLinkKind = "ClusterMetricsNodesListLink"

ClusterMetricsNodesListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_metrics_nodes'.

View Source
const ClusterMetricsNodesListNilKind = "ClusterMetricsNodesListNil"

ClusterMetricsNodesNilKind is the name of the type used to nil lists of objects of type 'cluster_metrics_nodes'.

View Source
const ClusterRegistrationRequestListKind = "ClusterRegistrationRequestList"

ClusterRegistrationRequestListKind is the name of the type used to represent list of objects of type 'cluster_registration_request'.

View Source
const ClusterRegistrationRequestListLinkKind = "ClusterRegistrationRequestListLink"

ClusterRegistrationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_registration_request'.

View Source
const ClusterRegistrationRequestListNilKind = "ClusterRegistrationRequestListNil"

ClusterRegistrationRequestNilKind is the name of the type used to nil lists of objects of type 'cluster_registration_request'.

View Source
const ClusterRegistrationResponseListKind = "ClusterRegistrationResponseList"

ClusterRegistrationResponseListKind is the name of the type used to represent list of objects of type 'cluster_registration_response'.

View Source
const ClusterRegistrationResponseListLinkKind = "ClusterRegistrationResponseListLink"

ClusterRegistrationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_registration_response'.

View Source
const ClusterRegistrationResponseListNilKind = "ClusterRegistrationResponseListNil"

ClusterRegistrationResponseNilKind is the name of the type used to nil lists of objects of type 'cluster_registration_response'.

View Source
const ClusterResourceListKind = "ClusterResourceList"

ClusterResourceListKind is the name of the type used to represent list of objects of type 'cluster_resource'.

View Source
const ClusterResourceListLinkKind = "ClusterResourceListLink"

ClusterResourceListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_resource'.

View Source
const ClusterResourceListNilKind = "ClusterResourceListNil"

ClusterResourceNilKind is the name of the type used to nil lists of objects of type 'cluster_resource'.

View Source
const ClusterUpgradeListKind = "ClusterUpgradeList"

ClusterUpgradeListKind is the name of the type used to represent list of objects of type 'cluster_upgrade'.

View Source
const ClusterUpgradeListLinkKind = "ClusterUpgradeListLink"

ClusterUpgradeListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_upgrade'.

View Source
const ClusterUpgradeListNilKind = "ClusterUpgradeListNil"

ClusterUpgradeNilKind is the name of the type used to nil lists of objects of type 'cluster_upgrade'.

View Source
const ContractDimensionListKind = "ContractDimensionList"

ContractDimensionListKind is the name of the type used to represent list of objects of type 'contract_dimension'.

View Source
const ContractDimensionListLinkKind = "ContractDimensionListLink"

ContractDimensionListLinkKind is the name of the type used to represent links to list of objects of type 'contract_dimension'.

View Source
const ContractDimensionListNilKind = "ContractDimensionListNil"

ContractDimensionNilKind is the name of the type used to nil lists of objects of type 'contract_dimension'.

View Source
const ContractListKind = "ContractList"

ContractListKind is the name of the type used to represent list of objects of type 'contract'.

View Source
const ContractListLinkKind = "ContractListLink"

ContractListLinkKind is the name of the type used to represent links to list of objects of type 'contract'.

View Source
const ContractListNilKind = "ContractListNil"

ContractNilKind is the name of the type used to nil lists of objects of type 'contract'.

View Source
const DefaultCapabilityListKind = "DefaultCapabilityList"

DefaultCapabilityListKind is the name of the type used to represent list of objects of type 'default_capability'.

View Source
const DefaultCapabilityListLinkKind = "DefaultCapabilityListLink"

DefaultCapabilityListLinkKind is the name of the type used to represent links to list of objects of type 'default_capability'.

View Source
const DefaultCapabilityListNilKind = "DefaultCapabilityListNil"

DefaultCapabilityNilKind is the name of the type used to nil lists of objects of type 'default_capability'.

View Source
const DeletedSubscriptionKind = "DeletedSubscription"

DeletedSubscriptionKind is the name of the type used to represent objects of type 'deleted_subscription'.

View Source
const DeletedSubscriptionLinkKind = "DeletedSubscriptionLink"

DeletedSubscriptionLinkKind is the name of the type used to represent links to objects of type 'deleted_subscription'.

View Source
const DeletedSubscriptionListKind = "DeletedSubscriptionList"

DeletedSubscriptionListKind is the name of the type used to represent list of objects of type 'deleted_subscription'.

View Source
const DeletedSubscriptionListLinkKind = "DeletedSubscriptionListLink"

DeletedSubscriptionListLinkKind is the name of the type used to represent links to list of objects of type 'deleted_subscription'.

View Source
const DeletedSubscriptionListNilKind = "DeletedSubscriptionListNil"

DeletedSubscriptionNilKind is the name of the type used to nil lists of objects of type 'deleted_subscription'.

View Source
const DeletedSubscriptionNilKind = "DeletedSubscriptionNil"

DeletedSubscriptionNilKind is the name of the type used to nil references to objects of type 'deleted_subscription'.

View Source
const FeatureToggleKind = "FeatureToggle"

FeatureToggleKind is the name of the type used to represent objects of type 'feature_toggle'.

View Source
const FeatureToggleLinkKind = "FeatureToggleLink"

FeatureToggleLinkKind is the name of the type used to represent links to objects of type 'feature_toggle'.

View Source
const FeatureToggleListKind = "FeatureToggleList"

FeatureToggleListKind is the name of the type used to represent list of objects of type 'feature_toggle'.

View Source
const FeatureToggleListLinkKind = "FeatureToggleListLink"

FeatureToggleListLinkKind is the name of the type used to represent links to list of objects of type 'feature_toggle'.

View Source
const FeatureToggleListNilKind = "FeatureToggleListNil"

FeatureToggleNilKind is the name of the type used to nil lists of objects of type 'feature_toggle'.

View Source
const FeatureToggleNilKind = "FeatureToggleNil"

FeatureToggleNilKind is the name of the type used to nil references to objects of type 'feature_toggle'.

View Source
const FeatureToggleQueryRequestListKind = "FeatureToggleQueryRequestList"

FeatureToggleQueryRequestListKind is the name of the type used to represent list of objects of type 'feature_toggle_query_request'.

View Source
const FeatureToggleQueryRequestListLinkKind = "FeatureToggleQueryRequestListLink"

FeatureToggleQueryRequestListLinkKind is the name of the type used to represent links to list of objects of type 'feature_toggle_query_request'.

View Source
const FeatureToggleQueryRequestListNilKind = "FeatureToggleQueryRequestListNil"

FeatureToggleQueryRequestNilKind is the name of the type used to nil lists of objects of type 'feature_toggle_query_request'.

View Source
const GenericNotifyDetailsResponseKind = "GenericNotifyDetailsResponse"

GenericNotifyDetailsResponseKind is the name of the type used to represent objects of type 'generic_notify_details_response'.

View Source
const GenericNotifyDetailsResponseLinkKind = "GenericNotifyDetailsResponseLink"

GenericNotifyDetailsResponseLinkKind is the name of the type used to represent links to objects of type 'generic_notify_details_response'.

View Source
const GenericNotifyDetailsResponseListKind = "GenericNotifyDetailsResponseList"

GenericNotifyDetailsResponseListKind is the name of the type used to represent list of objects of type 'generic_notify_details_response'.

View Source
const GenericNotifyDetailsResponseListLinkKind = "GenericNotifyDetailsResponseListLink"

GenericNotifyDetailsResponseListLinkKind is the name of the type used to represent links to list of objects of type 'generic_notify_details_response'.

View Source
const GenericNotifyDetailsResponseListNilKind = "GenericNotifyDetailsResponseListNil"

GenericNotifyDetailsResponseNilKind is the name of the type used to nil lists of objects of type 'generic_notify_details_response'.

View Source
const GenericNotifyDetailsResponseNilKind = "GenericNotifyDetailsResponseNil"

GenericNotifyDetailsResponseNilKind is the name of the type used to nil references to objects of type 'generic_notify_details_response'.

View Source
const LabelKind = "Label"

LabelKind is the name of the type used to represent objects of type 'label'.

View Source
const LabelLinkKind = "LabelLink"

LabelLinkKind is the name of the type used to represent links to objects of type 'label'.

View Source
const LabelListKind = "LabelList"

LabelListKind is the name of the type used to represent list of objects of type 'label'.

View Source
const LabelListLinkKind = "LabelListLink"

LabelListLinkKind is the name of the type used to represent links to list of objects of type 'label'.

View Source
const LabelListNilKind = "LabelListNil"

LabelNilKind is the name of the type used to nil lists of objects of type 'label'.

View Source
const LabelNilKind = "LabelNil"

LabelNilKind is the name of the type used to nil references to objects of type 'label'.

View Source
const NotificationDetailsRequestListKind = "NotificationDetailsRequestList"

NotificationDetailsRequestListKind is the name of the type used to represent list of objects of type 'notification_details_request'.

View Source
const NotificationDetailsRequestListLinkKind = "NotificationDetailsRequestListLink"

NotificationDetailsRequestListLinkKind is the name of the type used to represent links to list of objects of type 'notification_details_request'.

View Source
const NotificationDetailsRequestListNilKind = "NotificationDetailsRequestListNil"

NotificationDetailsRequestNilKind is the name of the type used to nil lists of objects of type 'notification_details_request'.

View Source
const NotificationDetailsResponseKind = "NotificationDetailsResponse"

NotificationDetailsResponseKind is the name of the type used to represent objects of type 'notification_details_response'.

View Source
const NotificationDetailsResponseLinkKind = "NotificationDetailsResponseLink"

NotificationDetailsResponseLinkKind is the name of the type used to represent links to objects of type 'notification_details_response'.

View Source
const NotificationDetailsResponseListKind = "NotificationDetailsResponseList"

NotificationDetailsResponseListKind is the name of the type used to represent list of objects of type 'notification_details_response'.

View Source
const NotificationDetailsResponseListLinkKind = "NotificationDetailsResponseListLink"

NotificationDetailsResponseListLinkKind is the name of the type used to represent links to list of objects of type 'notification_details_response'.

View Source
const NotificationDetailsResponseListNilKind = "NotificationDetailsResponseListNil"

NotificationDetailsResponseNilKind is the name of the type used to nil lists of objects of type 'notification_details_response'.

View Source
const NotificationDetailsResponseNilKind = "NotificationDetailsResponseNil"

NotificationDetailsResponseNilKind is the name of the type used to nil references to objects of type 'notification_details_response'.

View Source
const OrganizationKind = "Organization"

OrganizationKind is the name of the type used to represent objects of type 'organization'.

View Source
const OrganizationLinkKind = "OrganizationLink"

OrganizationLinkKind is the name of the type used to represent links to objects of type 'organization'.

View Source
const OrganizationListKind = "OrganizationList"

OrganizationListKind is the name of the type used to represent list of objects of type 'organization'.

View Source
const OrganizationListLinkKind = "OrganizationListLink"

OrganizationListLinkKind is the name of the type used to represent links to list of objects of type 'organization'.

View Source
const OrganizationListNilKind = "OrganizationListNil"

OrganizationNilKind is the name of the type used to nil lists of objects of type 'organization'.

View Source
const OrganizationNilKind = "OrganizationNil"

OrganizationNilKind is the name of the type used to nil references to objects of type 'organization'.

View Source
const PermissionKind = "Permission"

PermissionKind is the name of the type used to represent objects of type 'permission'.

View Source
const PermissionLinkKind = "PermissionLink"

PermissionLinkKind is the name of the type used to represent links to objects of type 'permission'.

View Source
const PermissionListKind = "PermissionList"

PermissionListKind is the name of the type used to represent list of objects of type 'permission'.

View Source
const PermissionListLinkKind = "PermissionListLink"

PermissionListLinkKind is the name of the type used to represent links to list of objects of type 'permission'.

View Source
const PermissionListNilKind = "PermissionListNil"

PermissionNilKind is the name of the type used to nil lists of objects of type 'permission'.

View Source
const PermissionNilKind = "PermissionNil"

PermissionNilKind is the name of the type used to nil references to objects of type 'permission'.

View Source
const PlanKind = "Plan"

PlanKind is the name of the type used to represent objects of type 'plan'.

View Source
const PlanLinkKind = "PlanLink"

PlanLinkKind is the name of the type used to represent links to objects of type 'plan'.

View Source
const PlanListKind = "PlanList"

PlanListKind is the name of the type used to represent list of objects of type 'plan'.

View Source
const PlanListLinkKind = "PlanListLink"

PlanListLinkKind is the name of the type used to represent links to list of objects of type 'plan'.

View Source
const PlanListNilKind = "PlanListNil"

PlanNilKind is the name of the type used to nil lists of objects of type 'plan'.

View Source
const PlanNilKind = "PlanNil"

PlanNilKind is the name of the type used to nil references to objects of type 'plan'.

View Source
const PullSecretsRequestListKind = "PullSecretsRequestList"

PullSecretsRequestListKind is the name of the type used to represent list of objects of type 'pull_secrets_request'.

View Source
const PullSecretsRequestListLinkKind = "PullSecretsRequestListLink"

PullSecretsRequestListLinkKind is the name of the type used to represent links to list of objects of type 'pull_secrets_request'.

View Source
const PullSecretsRequestListNilKind = "PullSecretsRequestListNil"

PullSecretsRequestNilKind is the name of the type used to nil lists of objects of type 'pull_secrets_request'.

View Source
const QuotaAuthorizationRequestListKind = "QuotaAuthorizationRequestList"

QuotaAuthorizationRequestListKind is the name of the type used to represent list of objects of type 'quota_authorization_request'.

View Source
const QuotaAuthorizationRequestListLinkKind = "QuotaAuthorizationRequestListLink"

QuotaAuthorizationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'quota_authorization_request'.

View Source
const QuotaAuthorizationRequestListNilKind = "QuotaAuthorizationRequestListNil"

QuotaAuthorizationRequestNilKind is the name of the type used to nil lists of objects of type 'quota_authorization_request'.

View Source
const QuotaAuthorizationResponseListKind = "QuotaAuthorizationResponseList"

QuotaAuthorizationResponseListKind is the name of the type used to represent list of objects of type 'quota_authorization_response'.

View Source
const QuotaAuthorizationResponseListLinkKind = "QuotaAuthorizationResponseListLink"

QuotaAuthorizationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'quota_authorization_response'.

View Source
const QuotaAuthorizationResponseListNilKind = "QuotaAuthorizationResponseListNil"

QuotaAuthorizationResponseNilKind is the name of the type used to nil lists of objects of type 'quota_authorization_response'.

View Source
const QuotaCostListKind = "QuotaCostList"

QuotaCostListKind is the name of the type used to represent list of objects of type 'quota_cost'.

View Source
const QuotaCostListLinkKind = "QuotaCostListLink"

QuotaCostListLinkKind is the name of the type used to represent links to list of objects of type 'quota_cost'.

View Source
const QuotaCostListNilKind = "QuotaCostListNil"

QuotaCostNilKind is the name of the type used to nil lists of objects of type 'quota_cost'.

View Source
const QuotaRulesListKind = "QuotaRulesList"

QuotaRulesListKind is the name of the type used to represent list of objects of type 'quota_rules'.

View Source
const QuotaRulesListLinkKind = "QuotaRulesListLink"

QuotaRulesListLinkKind is the name of the type used to represent links to list of objects of type 'quota_rules'.

View Source
const QuotaRulesListNilKind = "QuotaRulesListNil"

QuotaRulesNilKind is the name of the type used to nil lists of objects of type 'quota_rules'.

View Source
const RegistryCredentialKind = "RegistryCredential"

RegistryCredentialKind is the name of the type used to represent objects of type 'registry_credential'.

View Source
const RegistryCredentialLinkKind = "RegistryCredentialLink"

RegistryCredentialLinkKind is the name of the type used to represent links to objects of type 'registry_credential'.

View Source
const RegistryCredentialListKind = "RegistryCredentialList"

RegistryCredentialListKind is the name of the type used to represent list of objects of type 'registry_credential'.

View Source
const RegistryCredentialListLinkKind = "RegistryCredentialListLink"

RegistryCredentialListLinkKind is the name of the type used to represent links to list of objects of type 'registry_credential'.

View Source
const RegistryCredentialListNilKind = "RegistryCredentialListNil"

RegistryCredentialNilKind is the name of the type used to nil lists of objects of type 'registry_credential'.

View Source
const RegistryCredentialNilKind = "RegistryCredentialNil"

RegistryCredentialNilKind is the name of the type used to nil references to objects of type 'registry_credential'.

View Source
const RegistryKind = "Registry"

RegistryKind is the name of the type used to represent objects of type 'registry'.

View Source
const RegistryLinkKind = "RegistryLink"

RegistryLinkKind is the name of the type used to represent links to objects of type 'registry'.

View Source
const RegistryListKind = "RegistryList"

RegistryListKind is the name of the type used to represent list of objects of type 'registry'.

View Source
const RegistryListLinkKind = "RegistryListLink"

RegistryListLinkKind is the name of the type used to represent links to list of objects of type 'registry'.

View Source
const RegistryListNilKind = "RegistryListNil"

RegistryNilKind is the name of the type used to nil lists of objects of type 'registry'.

View Source
const RegistryNilKind = "RegistryNil"

RegistryNilKind is the name of the type used to nil references to objects of type 'registry'.

View Source
const RelatedResourceListKind = "RelatedResourceList"

RelatedResourceListKind is the name of the type used to represent list of objects of type 'related_resource'.

View Source
const RelatedResourceListLinkKind = "RelatedResourceListLink"

RelatedResourceListLinkKind is the name of the type used to represent links to list of objects of type 'related_resource'.

View Source
const RelatedResourceListNilKind = "RelatedResourceListNil"

RelatedResourceNilKind is the name of the type used to nil lists of objects of type 'related_resource'.

View Source
const ReservedResourceListKind = "ReservedResourceList"

ReservedResourceListKind is the name of the type used to represent list of objects of type 'reserved_resource'.

View Source
const ReservedResourceListLinkKind = "ReservedResourceListLink"

ReservedResourceListLinkKind is the name of the type used to represent links to list of objects of type 'reserved_resource'.

View Source
const ReservedResourceListNilKind = "ReservedResourceListNil"

ReservedResourceNilKind is the name of the type used to nil lists of objects of type 'reserved_resource'.

View Source
const ResourceKind = "Resource"

ResourceKind is the name of the type used to represent objects of type 'resource'.

View Source
const ResourceLinkKind = "ResourceLink"

ResourceLinkKind is the name of the type used to represent links to objects of type 'resource'.

View Source
const ResourceListKind = "ResourceList"

ResourceListKind is the name of the type used to represent list of objects of type 'resource'.

View Source
const ResourceListLinkKind = "ResourceListLink"

ResourceListLinkKind is the name of the type used to represent links to list of objects of type 'resource'.

View Source
const ResourceListNilKind = "ResourceListNil"

ResourceNilKind is the name of the type used to nil lists of objects of type 'resource'.

View Source
const ResourceNilKind = "ResourceNil"

ResourceNilKind is the name of the type used to nil references to objects of type 'resource'.

View Source
const ResourceQuotaKind = "ResourceQuota"

ResourceQuotaKind is the name of the type used to represent objects of type 'resource_quota'.

View Source
const ResourceQuotaLinkKind = "ResourceQuotaLink"

ResourceQuotaLinkKind is the name of the type used to represent links to objects of type 'resource_quota'.

View Source
const ResourceQuotaListKind = "ResourceQuotaList"

ResourceQuotaListKind is the name of the type used to represent list of objects of type 'resource_quota'.

View Source
const ResourceQuotaListLinkKind = "ResourceQuotaListLink"

ResourceQuotaListLinkKind is the name of the type used to represent links to list of objects of type 'resource_quota'.

View Source
const ResourceQuotaListNilKind = "ResourceQuotaListNil"

ResourceQuotaNilKind is the name of the type used to nil lists of objects of type 'resource_quota'.

View Source
const ResourceQuotaNilKind = "ResourceQuotaNil"

ResourceQuotaNilKind is the name of the type used to nil references to objects of type 'resource_quota'.

View Source
const RoleBindingKind = "RoleBinding"

RoleBindingKind is the name of the type used to represent objects of type 'role_binding'.

View Source
const RoleBindingLinkKind = "RoleBindingLink"

RoleBindingLinkKind is the name of the type used to represent links to objects of type 'role_binding'.

View Source
const RoleBindingListKind = "RoleBindingList"

RoleBindingListKind is the name of the type used to represent list of objects of type 'role_binding'.

View Source
const RoleBindingListLinkKind = "RoleBindingListLink"

RoleBindingListLinkKind is the name of the type used to represent links to list of objects of type 'role_binding'.

View Source
const RoleBindingListNilKind = "RoleBindingListNil"

RoleBindingNilKind is the name of the type used to nil lists of objects of type 'role_binding'.

View Source
const RoleBindingNilKind = "RoleBindingNil"

RoleBindingNilKind is the name of the type used to nil references to objects of type 'role_binding'.

View Source
const RoleKind = "Role"

RoleKind is the name of the type used to represent objects of type 'role'.

View Source
const RoleLinkKind = "RoleLink"

RoleLinkKind is the name of the type used to represent links to objects of type 'role'.

View Source
const RoleListKind = "RoleList"

RoleListKind is the name of the type used to represent list of objects of type 'role'.

View Source
const RoleListLinkKind = "RoleListLink"

RoleListLinkKind is the name of the type used to represent links to list of objects of type 'role'.

View Source
const RoleListNilKind = "RoleListNil"

RoleNilKind is the name of the type used to nil lists of objects of type 'role'.

View Source
const RoleNilKind = "RoleNil"

RoleNilKind is the name of the type used to nil references to objects of type 'role'.

View Source
const SkuRuleKind = "SkuRule"

SkuRuleKind is the name of the type used to represent objects of type 'sku_rule'.

View Source
const SkuRuleLinkKind = "SkuRuleLink"

SkuRuleLinkKind is the name of the type used to represent links to objects of type 'sku_rule'.

View Source
const SkuRuleListKind = "SkuRuleList"

SkuRuleListKind is the name of the type used to represent list of objects of type 'sku_rule'.

View Source
const SkuRuleListLinkKind = "SkuRuleListLink"

SkuRuleListLinkKind is the name of the type used to represent links to list of objects of type 'sku_rule'.

View Source
const SkuRuleListNilKind = "SkuRuleListNil"

SkuRuleNilKind is the name of the type used to nil lists of objects of type 'sku_rule'.

View Source
const SkuRuleNilKind = "SkuRuleNil"

SkuRuleNilKind is the name of the type used to nil references to objects of type 'sku_rule'.

View Source
const SubscriptionKind = "Subscription"

SubscriptionKind is the name of the type used to represent objects of type 'subscription'.

View Source
const SubscriptionLinkKind = "SubscriptionLink"

SubscriptionLinkKind is the name of the type used to represent links to objects of type 'subscription'.

View Source
const SubscriptionListKind = "SubscriptionList"

SubscriptionListKind is the name of the type used to represent list of objects of type 'subscription'.

View Source
const SubscriptionListLinkKind = "SubscriptionListLink"

SubscriptionListLinkKind is the name of the type used to represent links to list of objects of type 'subscription'.

View Source
const SubscriptionListNilKind = "SubscriptionListNil"

SubscriptionNilKind is the name of the type used to nil lists of objects of type 'subscription'.

View Source
const SubscriptionMetricsListKind = "SubscriptionMetricsList"

SubscriptionMetricsListKind is the name of the type used to represent list of objects of type 'subscription_metrics'.

View Source
const SubscriptionMetricsListLinkKind = "SubscriptionMetricsListLink"

SubscriptionMetricsListLinkKind is the name of the type used to represent links to list of objects of type 'subscription_metrics'.

View Source
const SubscriptionMetricsListNilKind = "SubscriptionMetricsListNil"

SubscriptionMetricsNilKind is the name of the type used to nil lists of objects of type 'subscription_metrics'.

View Source
const SubscriptionNilKind = "SubscriptionNil"

SubscriptionNilKind is the name of the type used to nil references to objects of type 'subscription'.

View Source
const SubscriptionRegistrationListKind = "SubscriptionRegistrationList"

SubscriptionRegistrationListKind is the name of the type used to represent list of objects of type 'subscription_registration'.

View Source
const SubscriptionRegistrationListLinkKind = "SubscriptionRegistrationListLink"

SubscriptionRegistrationListLinkKind is the name of the type used to represent links to list of objects of type 'subscription_registration'.

View Source
const SubscriptionRegistrationListNilKind = "SubscriptionRegistrationListNil"

SubscriptionRegistrationNilKind is the name of the type used to nil lists of objects of type 'subscription_registration'.

View Source
const SummaryDashboardKind = "SummaryDashboard"

SummaryDashboardKind is the name of the type used to represent objects of type 'summary_dashboard'.

View Source
const SummaryDashboardLinkKind = "SummaryDashboardLink"

SummaryDashboardLinkKind is the name of the type used to represent links to objects of type 'summary_dashboard'.

View Source
const SummaryDashboardListKind = "SummaryDashboardList"

SummaryDashboardListKind is the name of the type used to represent list of objects of type 'summary_dashboard'.

View Source
const SummaryDashboardListLinkKind = "SummaryDashboardListLink"

SummaryDashboardListLinkKind is the name of the type used to represent links to list of objects of type 'summary_dashboard'.

View Source
const SummaryDashboardListNilKind = "SummaryDashboardListNil"

SummaryDashboardNilKind is the name of the type used to nil lists of objects of type 'summary_dashboard'.

View Source
const SummaryDashboardNilKind = "SummaryDashboardNil"

SummaryDashboardNilKind is the name of the type used to nil references to objects of type 'summary_dashboard'.

View Source
const SummaryMetricsListKind = "SummaryMetricsList"

SummaryMetricsListKind is the name of the type used to represent list of objects of type 'summary_metrics'.

View Source
const SummaryMetricsListLinkKind = "SummaryMetricsListLink"

SummaryMetricsListLinkKind is the name of the type used to represent links to list of objects of type 'summary_metrics'.

View Source
const SummaryMetricsListNilKind = "SummaryMetricsListNil"

SummaryMetricsNilKind is the name of the type used to nil lists of objects of type 'summary_metrics'.

View Source
const SummarySampleListKind = "SummarySampleList"

SummarySampleListKind is the name of the type used to represent list of objects of type 'summary_sample'.

View Source
const SummarySampleListLinkKind = "SummarySampleListLink"

SummarySampleListLinkKind is the name of the type used to represent links to list of objects of type 'summary_sample'.

View Source
const SummarySampleListNilKind = "SummarySampleListNil"

SummarySampleNilKind is the name of the type used to nil lists of objects of type 'summary_sample'.

View Source
const SupportCaseRequestKind = "SupportCaseRequest"

SupportCaseRequestKind is the name of the type used to represent objects of type 'support_case_request'.

View Source
const SupportCaseRequestLinkKind = "SupportCaseRequestLink"

SupportCaseRequestLinkKind is the name of the type used to represent links to objects of type 'support_case_request'.

View Source
const SupportCaseRequestListKind = "SupportCaseRequestList"

SupportCaseRequestListKind is the name of the type used to represent list of objects of type 'support_case_request'.

View Source
const SupportCaseRequestListLinkKind = "SupportCaseRequestListLink"

SupportCaseRequestListLinkKind is the name of the type used to represent links to list of objects of type 'support_case_request'.

View Source
const SupportCaseRequestListNilKind = "SupportCaseRequestListNil"

SupportCaseRequestNilKind is the name of the type used to nil lists of objects of type 'support_case_request'.

View Source
const SupportCaseRequestNilKind = "SupportCaseRequestNil"

SupportCaseRequestNilKind is the name of the type used to nil references to objects of type 'support_case_request'.

View Source
const SupportCaseResponseKind = "SupportCaseResponse"

SupportCaseResponseKind is the name of the type used to represent objects of type 'support_case_response'.

View Source
const SupportCaseResponseLinkKind = "SupportCaseResponseLink"

SupportCaseResponseLinkKind is the name of the type used to represent links to objects of type 'support_case_response'.

View Source
const SupportCaseResponseListKind = "SupportCaseResponseList"

SupportCaseResponseListKind is the name of the type used to represent list of objects of type 'support_case_response'.

View Source
const SupportCaseResponseListLinkKind = "SupportCaseResponseListLink"

SupportCaseResponseListLinkKind is the name of the type used to represent links to list of objects of type 'support_case_response'.

View Source
const SupportCaseResponseListNilKind = "SupportCaseResponseListNil"

SupportCaseResponseNilKind is the name of the type used to nil lists of objects of type 'support_case_response'.

View Source
const SupportCaseResponseNilKind = "SupportCaseResponseNil"

SupportCaseResponseNilKind is the name of the type used to nil references to objects of type 'support_case_response'.

View Source
const TemplateParameterListKind = "TemplateParameterList"

TemplateParameterListKind is the name of the type used to represent list of objects of type 'template_parameter'.

View Source
const TemplateParameterListLinkKind = "TemplateParameterListLink"

TemplateParameterListLinkKind is the name of the type used to represent links to list of objects of type 'template_parameter'.

View Source
const TemplateParameterListNilKind = "TemplateParameterListNil"

TemplateParameterNilKind is the name of the type used to nil lists of objects of type 'template_parameter'.

View Source
const TokenAuthorizationRequestListKind = "TokenAuthorizationRequestList"

TokenAuthorizationRequestListKind is the name of the type used to represent list of objects of type 'token_authorization_request'.

View Source
const TokenAuthorizationRequestListLinkKind = "TokenAuthorizationRequestListLink"

TokenAuthorizationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'token_authorization_request'.

View Source
const TokenAuthorizationRequestListNilKind = "TokenAuthorizationRequestListNil"

TokenAuthorizationRequestNilKind is the name of the type used to nil lists of objects of type 'token_authorization_request'.

View Source
const TokenAuthorizationResponseListKind = "TokenAuthorizationResponseList"

TokenAuthorizationResponseListKind is the name of the type used to represent list of objects of type 'token_authorization_response'.

View Source
const TokenAuthorizationResponseListLinkKind = "TokenAuthorizationResponseListLink"

TokenAuthorizationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'token_authorization_response'.

View Source
const TokenAuthorizationResponseListNilKind = "TokenAuthorizationResponseListNil"

TokenAuthorizationResponseNilKind is the name of the type used to nil lists of objects of type 'token_authorization_response'.

View Source
const ValueUnitListKind = "ValueUnitList"

ValueUnitListKind is the name of the type used to represent list of objects of type 'value_unit'.

View Source
const ValueUnitListLinkKind = "ValueUnitListLink"

ValueUnitListLinkKind is the name of the type used to represent links to list of objects of type 'value_unit'.

View Source
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 ¶

func MarshalAccount(object *Account, writer io.Writer) error

MarshalAccount writes a value of the 'account' type to the given writer.

func MarshalAccountList ¶

func MarshalAccountList(list []*Account, writer io.Writer) error

MarshalAccountList writes a list of values of the 'account' type to the given writer.

func MarshalActionList ¶

func MarshalActionList(list []Action, writer io.Writer) error

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 ¶

func MarshalBooleanList(list []bool, writer io.Writer) error

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 ¶

func MarshalContract(object *Contract, writer io.Writer) error

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 ¶

func MarshalContractList(list []*Contract, writer io.Writer) error

MarshalContractList writes a list of values of the 'contract' type to the given writer.

func MarshalDateList ¶

func MarshalDateList(list []time.Time, writer io.Writer) error

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 ¶

func MarshalFloatList(list []float64, writer io.Writer) error

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 ¶

func MarshalIntegerList(list []int, writer io.Writer) error

MarshalIntegerList writes a list of values of the 'integer' type to the given writer.

func MarshalInterfaceList ¶

func MarshalInterfaceList(list []interface{}, writer io.Writer) error

MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.

func MarshalLabel ¶

func MarshalLabel(object *Label, writer io.Writer) error

MarshalLabel writes a value of the 'label' type to the given writer.

func MarshalLabelList ¶

func MarshalLabelList(list []*Label, writer io.Writer) error

MarshalLabelList writes a list of values of the 'label' type to the given writer.

func MarshalLongList ¶

func MarshalLongList(list []int64, writer io.Writer) error

MarshalLongList writes a list of values of the 'long' type to the given writer.

func MarshalMetadata ¶

func MarshalMetadata(object *Metadata, writer io.Writer) error

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 ¶

func MarshalPlan(object *Plan, writer io.Writer) error

MarshalPlan writes a value of the 'plan' type to the given writer.

func MarshalPlanIDList ¶

func MarshalPlanIDList(list []PlanID, writer io.Writer) error

MarshalPlanIDList writes a list of values of the 'plan_ID' type to the given writer.

func MarshalPlanList ¶

func MarshalPlanList(list []*Plan, writer io.Writer) error

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 ¶

func MarshalQuotaCost(object *QuotaCost, writer io.Writer) error

MarshalQuotaCost writes a value of the 'quota_cost' type to the given writer.

func MarshalQuotaCostList ¶

func MarshalQuotaCostList(list []*QuotaCost, writer io.Writer) error

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 ¶

func MarshalRegistry(object *Registry, writer io.Writer) error

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 ¶

func MarshalRegistryList(list []*Registry, writer io.Writer) error

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 ¶

func MarshalResource(object *Resource, writer io.Writer) error

MarshalResource writes a value of the 'resource' type to the given writer.

func MarshalResourceList ¶

func MarshalResourceList(list []*Resource, writer io.Writer) error

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 ¶

func MarshalRole(object *Role, writer io.Writer) error

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 ¶

func MarshalRoleList(list []*Role, writer io.Writer) error

MarshalRoleList writes a list of values of the 'role' type to the given writer.

func MarshalSkuRule ¶

func MarshalSkuRule(object *SkuRule, writer io.Writer) error

MarshalSkuRule writes a value of the 'sku_rule' type to the given writer.

func MarshalSkuRuleList ¶

func MarshalSkuRuleList(list []*SkuRule, writer io.Writer) error

MarshalSkuRuleList writes a list of values of the 'sku_rule' type to the given writer.

func MarshalStringList ¶

func MarshalStringList(list []string, writer io.Writer) error

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 ¶

func MarshalValueUnit(object *ValueUnit, writer io.Writer) error

MarshalValueUnit writes a value of the 'value_unit' type to the given writer.

func MarshalValueUnitList ¶

func MarshalValueUnitList(list []*ValueUnit, writer io.Writer) error

MarshalValueUnitList writes a list of values of the 'value_unit' type to the given writer.

func ReadBooleanList ¶

func ReadBooleanList(iterator *jsoniter.Iterator) []bool

ReadBooleanList reads list of values of the ”boolean' type from the given iterator.

func ReadDateList ¶

func ReadDateList(iterator *jsoniter.Iterator) []time.Time

ReadDateList reads list of values of the ”date' type from the given iterator.

func ReadFloatList ¶

func ReadFloatList(iterator *jsoniter.Iterator) []float64

ReadFloatList reads list of values of the ”float' type from the given iterator.

func ReadIntegerList ¶

func ReadIntegerList(iterator *jsoniter.Iterator) []int

ReadIntegerList reads list of values of the ”integer' type from the given iterator.

func ReadInterfaceList ¶

func ReadInterfaceList(iterator *jsoniter.Iterator) []interface{}

ReadInterfaceList reads list of values of the ”interface' type from the given iterator.

func ReadLongList ¶

func ReadLongList(iterator *jsoniter.Iterator) []int64

ReadLongList reads list of values of the ”long' type from the given iterator.

func ReadStringList ¶

func ReadStringList(iterator *jsoniter.Iterator) []string

ReadStringList reads list of values of the ”string' type from the given iterator.

func UnmarshalBooleanList ¶

func UnmarshalBooleanList(source interface{}) (items []bool, err error)

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 ¶

func UnmarshalDateList(source interface{}) (items []time.Time, err error)

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 ¶

func UnmarshalFloatList(source interface{}) (items []float64, err error)

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 ¶

func UnmarshalIntegerList(source interface{}) (items []int, err error)

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 ¶

func UnmarshalLongList(source interface{}) (items []int64, err error)

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 ¶

func UnmarshalStringList(source interface{}) (items []string, err error)

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 ¶

func WriteAccount(object *Account, stream *jsoniter.Stream)

WriteAccount writes a value of the 'account' type to the given stream.

func WriteAccountList ¶

func WriteAccountList(list []*Account, stream *jsoniter.Stream)

WriteAccountList writes a list of value of the 'account' type to the given stream.

func WriteActionList ¶

func WriteActionList(list []Action, stream *jsoniter.Stream)

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 ¶

func WriteBooleanList(list []bool, stream *jsoniter.Stream)

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 ¶

func WriteContract(object *Contract, stream *jsoniter.Stream)

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 ¶

func WriteContractList(list []*Contract, stream *jsoniter.Stream)

WriteContractList writes a list of value of the 'contract' type to the given stream.

func WriteDateList ¶

func WriteDateList(list []time.Time, stream *jsoniter.Stream)

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 ¶

func WriteFloatList(list []float64, stream *jsoniter.Stream)

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 ¶

func WriteIntegerList(list []int, stream *jsoniter.Stream)

WriteIntegerList writes a list of value of the 'integer' type to the given stream.

func WriteInterfaceList ¶

func WriteInterfaceList(list []interface{}, stream *jsoniter.Stream)

WriteInterfaceList writes a list of value of the 'interface' type to the given stream.

func WriteLabel ¶

func WriteLabel(object *Label, stream *jsoniter.Stream)

WriteLabel writes a value of the 'label' type to the given stream.

func WriteLabelList ¶

func WriteLabelList(list []*Label, stream *jsoniter.Stream)

WriteLabelList writes a list of value of the 'label' type to the given stream.

func WriteLongList ¶

func WriteLongList(list []int64, stream *jsoniter.Stream)

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 WritePlan ¶

func WritePlan(object *Plan, stream *jsoniter.Stream)

WritePlan writes a value of the 'plan' type to the given stream.

func WritePlanIDList ¶

func WritePlanIDList(list []PlanID, stream *jsoniter.Stream)

WritePlanIDList writes a list of value of the 'plan_ID' type to the given stream.

func WritePlanList ¶

func WritePlanList(list []*Plan, stream *jsoniter.Stream)

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 ¶

func WriteQuotaCost(object *QuotaCost, stream *jsoniter.Stream)

WriteQuotaCost writes a value of the 'quota_cost' type to the given stream.

func WriteQuotaCostList ¶

func WriteQuotaCostList(list []*QuotaCost, stream *jsoniter.Stream)

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 ¶

func WriteRegistry(object *Registry, stream *jsoniter.Stream)

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 ¶

func WriteRegistryList(list []*Registry, stream *jsoniter.Stream)

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 ¶

func WriteResource(object *Resource, stream *jsoniter.Stream)

WriteResource writes a value of the 'resource' type to the given stream.

func WriteResourceList ¶

func WriteResourceList(list []*Resource, stream *jsoniter.Stream)

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 WriteRole ¶

func WriteRole(object *Role, stream *jsoniter.Stream)

WriteRole writes a value of the 'role' 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 ¶

func WriteRoleList(list []*Role, stream *jsoniter.Stream)

WriteRoleList writes a list of value of the 'role' type to the given stream.

func WriteSkuRule ¶

func WriteSkuRule(object *SkuRule, stream *jsoniter.Stream)

WriteSkuRule writes a value of the 'sku_rule' type to the given stream.

func WriteSkuRuleList ¶

func WriteSkuRuleList(list []*SkuRule, stream *jsoniter.Stream)

WriteSkuRuleList writes a list of value of the 'sku_rule' type to the given stream.

func WriteStringList ¶

func WriteStringList(list []string, stream *jsoniter.Stream)

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 ¶

func WriteValueUnit(object *ValueUnit, stream *jsoniter.Stream)

WriteValueUnit writes a value of the 'value_unit' type to the given stream.

func WriteValueUnitList ¶

func WriteValueUnitList(list []*ValueUnit, stream *jsoniter.Stream)

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 ¶

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 ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AccessTokenAuthBuilder) Email ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

func ReadAccount(iterator *jsoniter.Iterator) *Account

ReadAccount reads a value of the 'account' type from the given iterator.

func ReadAccountList ¶

func ReadAccountList(iterator *jsoniter.Iterator) []*Account

ReadAccountList reads list of values of the ”account' type from the given iterator.

func UnmarshalAccount ¶

func UnmarshalAccount(source interface{}) (object *Account, err error)

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 ¶

func UnmarshalAccountList(source interface{}) (items []*Account, err error)

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 ¶

func (o *Account) BanCode() string

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 ¶

func (o *Account) BanDescription() string

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 ¶

func (o *Account) Banned() bool

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 ¶

func (o *Account) 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 (*Account) Email ¶

func (o *Account) 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 (*Account) Empty ¶

func (o *Account) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Account) FirstName ¶

func (o *Account) FirstName() string

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 ¶

func (o *Account) GetBanCode() (value string, ok bool)

GetBanCode returns the value of the 'ban_code' attribute and a flag indicating if the attribute has a value.

func (*Account) GetBanDescription ¶

func (o *Account) GetBanDescription() (value string, ok bool)

GetBanDescription returns the value of the 'ban_description' attribute and a flag indicating if the attribute has a value.

func (*Account) GetBanned ¶

func (o *Account) GetBanned() (value bool, ok bool)

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 ¶

func (o *Account) 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 (*Account) GetEmail ¶

func (o *Account) GetEmail() (value string, ok bool)

GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.

func (*Account) GetFirstName ¶

func (o *Account) GetFirstName() (value string, ok bool)

GetFirstName returns the value of the 'first_name' attribute and a flag indicating if the attribute has a value.

func (*Account) GetHREF ¶

func (o *Account) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Account) GetID ¶

func (o *Account) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Account) GetLabels ¶

func (o *Account) GetLabels() (value []*Label, ok bool)

GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.

func (*Account) GetLastName ¶

func (o *Account) GetLastName() (value string, ok bool)

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 ¶

func (o *Account) GetRhitAccountID() (value string, ok bool)

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 ¶

func (o *Account) GetRhitWebUserId() (value string, ok bool)

GetRhitWebUserId returns the value of the 'rhit_web_user_id' attribute and a flag indicating if the attribute has a value.

func (*Account) GetServiceAccount ¶

func (o *Account) GetServiceAccount() (value bool, ok bool)

GetServiceAccount returns the value of the 'service_account' attribute and a flag indicating if the attribute has a value.

func (*Account) GetUpdatedAt ¶

func (o *Account) 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 (*Account) GetUsername ¶

func (o *Account) GetUsername() (value string, ok bool)

GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.

func (*Account) HREF ¶

func (o *Account) HREF() string

HREF returns the link to the object.

func (*Account) ID ¶

func (o *Account) ID() string

ID returns the identifier of the object.

func (*Account) Kind ¶

func (o *Account) Kind() string

Kind returns the name of the type of the object.

func (*Account) Labels ¶

func (o *Account) 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 (*Account) LastName ¶

func (o *Account) LastName() string

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 (o *Account) Link() bool

Link returns true if this is a link.

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 ¶

func (o *Account) RhitAccountID() string

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 ¶

func (o *Account) RhitWebUserId() string

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 ¶

func (o *Account) ServiceAccount() bool

ServiceAccount returns the value of the 'service_account' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Account) UpdatedAt ¶

func (o *Account) 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 (*Account) Username ¶

func (o *Account) 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 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 (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) HREF ¶

func (l *AccountList) HREF() string

HREF returns the link to the list.

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) Len ¶

func (l *AccountList) Len() int

Len returns the length of the list.

func (l *AccountList) Link() bool

Link returns true iif this is a link.

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 (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 ¶

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 ¶

Items sets the items of the list.

type Action ¶

type Action string

Action represents the values of the 'action' enumerated type.

const (
	//
	ActionCreate Action = "create"
	//
	ActionDelete Action = "delete"
	//
	ActionGet Action = "get"
	//
	ActionList Action = "list"
	//
	ActionUpdate Action = "update"
)

func ReadActionList ¶

func ReadActionList(iterator *jsoniter.Iterator) []Action

ReadActionList reads list of values of the ”action' type from the given iterator.

func UnmarshalActionList ¶

func UnmarshalActionList(source interface{}) (items []Action, err error)

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 (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 ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*BillingModelItemBuilder) Description ¶

Description sets the value of the 'description' attribute to the given value.

func (*BillingModelItemBuilder) DisplayName ¶

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 ¶

HREF sets the link to the object.

func (*BillingModelItemBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*BillingModelItemBuilder) Marketplace ¶

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 ¶

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 (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 (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 ¶

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 ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

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 (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 ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

HREF sets the link to the object.

func (*CloudResourceBuilder) ID ¶

ID sets the identifier of the object.

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 (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 (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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) AvailabilityZone ¶

AvailabilityZone sets the value of the 'availability_zone' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) BYOC ¶

BYOC sets the value of the 'BYOC' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) Build ¶

Build creates a 'cluster_authorization_request' object using the configuration stored in the builder.

func (*ClusterAuthorizationRequestBuilder) CloudAccountID ¶

CloudAccountID sets the value of the 'cloud_account_ID' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) CloudProviderID ¶

CloudProviderID sets the value of the 'cloud_provider_ID' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) ClusterID ¶

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterAuthorizationRequestBuilder) Disconnected ¶

Disconnected sets the value of the 'disconnected' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) DisplayName ¶

DisplayName sets the value of the 'display_name' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterAuthorizationRequestBuilder) ExternalClusterID ¶

ExternalClusterID sets the value of the 'external_cluster_ID' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) Managed ¶

Managed sets the value of the 'managed' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) ProductCategory ¶

ProductCategory sets the value of the 'product_category' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) ProductID ¶

ProductID sets the value of the 'product_ID' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) QuotaVersion ¶

QuotaVersion sets the value of the 'quota_version' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) Reserve ¶

Reserve sets the value of the 'reserve' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) Resources ¶

Resources sets the value of the 'resources' attribute to the given values.

func (*ClusterAuthorizationRequestBuilder) RhRegionID ¶

RhRegionID sets the value of the 'rh_region_ID' attribute to the given value.

func (*ClusterAuthorizationRequestBuilder) Scope ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*ClusterAuthorizationRequestList) Get ¶

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 ¶

Items returns the items of the list.

func (*ClusterAuthorizationRequestList) Len ¶

Len returns the length of the list.

func (*ClusterAuthorizationRequestList) 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 (*ClusterAuthorizationRequestList) SetHREF ¶

func (l *ClusterAuthorizationRequestList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterAuthorizationRequestList) SetItems ¶

Items sets the items of the list.

func (l *ClusterAuthorizationRequestList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterAuthorizationRequestList) 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 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 ¶

Build creates a list of 'cluster_authorization_request' objects using the configuration stored in the builder.

func (*ClusterAuthorizationRequestListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterAuthorizationRequestListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ClusterAuthorizationRequestListBuilder) Items ¶

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 ¶

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 ¶

Allowed sets the value of the 'allowed' attribute to the given value.

func (*ClusterAuthorizationResponseBuilder) Build ¶

Build creates a 'cluster_authorization_response' object using the configuration stored in the builder.

func (*ClusterAuthorizationResponseBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterAuthorizationResponseBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterAuthorizationResponseBuilder) ExcessResources ¶

ExcessResources sets the value of the 'excess_resources' attribute to the given values.

func (*ClusterAuthorizationResponseBuilder) Subscription ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*ClusterAuthorizationResponseList) Get ¶

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 ¶

Items returns the items of the list.

func (*ClusterAuthorizationResponseList) Len ¶

Len returns the length of the list.

func (*ClusterAuthorizationResponseList) 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 (*ClusterAuthorizationResponseList) SetHREF ¶

func (l *ClusterAuthorizationResponseList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterAuthorizationResponseList) SetItems ¶

Items sets the items of the list.

func (l *ClusterAuthorizationResponseList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterAuthorizationResponseList) 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 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 ¶

Build creates a list of 'cluster_authorization_response' objects using the configuration stored in the builder.

func (*ClusterAuthorizationResponseListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterAuthorizationResponseListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ClusterAuthorizationResponseListBuilder) Items ¶

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 ¶

Compute sets the value of the 'compute' attribute to the given value.

func (*ClusterMetricsNodesBuilder) Copy ¶

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 ¶

Infra sets the value of the 'infra' attribute to the given value.

func (*ClusterMetricsNodesBuilder) Master ¶

Master sets the value of the 'master' attribute to the given value.

func (*ClusterMetricsNodesBuilder) Total ¶

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 ¶

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 ¶

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 (l *ClusterMetricsNodesList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterMetricsNodesList) 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 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 ¶

Build creates a list of 'cluster_metrics_nodes' objects using the configuration stored in the builder.

func (*ClusterMetricsNodesListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterMetricsNodesListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ClusterMetricsNodesListBuilder) Items ¶

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 ¶

AuthorizationToken sets the value of the 'authorization_token' attribute to the given value.

func (*ClusterRegistrationRequestBuilder) Build ¶

Build creates a 'cluster_registration_request' object using the configuration stored in the builder.

func (*ClusterRegistrationRequestBuilder) ClusterID ¶

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*ClusterRegistrationRequestBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterRegistrationRequestBuilder) Empty ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*ClusterRegistrationRequestList) Get ¶

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 ¶

Items returns the items of the list.

func (*ClusterRegistrationRequestList) Len ¶

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 ¶

Items sets the items of the list.

func (l *ClusterRegistrationRequestList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterRegistrationRequestList) 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 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 ¶

Build creates a list of 'cluster_registration_request' objects using the configuration stored in the builder.

func (*ClusterRegistrationRequestListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterRegistrationRequestListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ClusterRegistrationRequestListBuilder) Items ¶

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 ¶

AccountID sets the value of the 'account_ID' attribute to the given value.

func (*ClusterRegistrationResponseBuilder) AuthorizationToken ¶

AuthorizationToken sets the value of the 'authorization_token' attribute to the given value.

func (*ClusterRegistrationResponseBuilder) Build ¶

Build creates a 'cluster_registration_response' object using the configuration stored in the builder.

func (*ClusterRegistrationResponseBuilder) ClusterID ¶

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*ClusterRegistrationResponseBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterRegistrationResponseBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterRegistrationResponseBuilder) ExpiresAt ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*ClusterRegistrationResponseList) Get ¶

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 ¶

Items returns the items of the list.

func (*ClusterRegistrationResponseList) Len ¶

Len returns the length of the list.

func (*ClusterRegistrationResponseList) 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 (*ClusterRegistrationResponseList) SetHREF ¶

func (l *ClusterRegistrationResponseList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterRegistrationResponseList) SetItems ¶

Items sets the items of the list.

func (l *ClusterRegistrationResponseList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterRegistrationResponseList) 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 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 ¶

Build creates a list of 'cluster_registration_response' objects using the configuration stored in the builder.

func (*ClusterRegistrationResponseListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterRegistrationResponseListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ClusterRegistrationResponseListBuilder) Items ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

func ReadContract(iterator *jsoniter.Iterator) *Contract

ReadContract reads a value of the 'contract' type from the given iterator.

func ReadContractList ¶

func ReadContractList(iterator *jsoniter.Iterator) []*Contract

ReadContractList reads list of values of the ”contract' type from the given iterator.

func UnmarshalContract ¶

func UnmarshalContract(source interface{}) (object *Contract, err error)

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 ¶

func UnmarshalContractList(source interface{}) (items []*Contract, err error)

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) Empty ¶

func (o *Contract) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Contract) EndDate ¶

func (o *Contract) EndDate() time.Time

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 ¶

func (o *Contract) GetEndDate() (value time.Time, ok bool)

GetEndDate returns the value of the 'end_date' attribute and a flag indicating if the attribute has a value.

func (*Contract) GetStartDate ¶

func (o *Contract) GetStartDate() (value time.Time, ok bool)

GetStartDate returns the value of the 'start_date' attribute and a flag indicating if the attribute has a value.

func (*Contract) StartDate ¶

func (o *Contract) StartDate() time.Time

StartDate returns the value of the 'start_date' attribute, or the zero value of the type if the attribute doesn't have 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 ¶

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 ¶

Name sets the value of the 'name' attribute to the given value.

func (*ContractDimensionBuilder) Value ¶

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 ¶

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 ¶

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 (l *ContractDimensionList) SetLink(link bool)

Items sets the items of the list.

func (*ContractDimensionList) 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 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 ¶

Build creates a list of 'contract_dimension' objects using the configuration stored in the builder.

func (*ContractDimensionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ContractDimensionListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*ContractDimensionListBuilder) Items ¶

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) Len ¶

func (l *ContractList) Len() int

Len returns the length 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 (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 ¶

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 ¶

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 ¶

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 ¶

Name sets the value of the 'name' attribute to the given value.

func (*DefaultCapabilityBuilder) Value ¶

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 ¶

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 ¶

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 (l *DefaultCapabilityList) SetLink(link bool)

Items sets the items of the list.

func (*DefaultCapabilityList) 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 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 ¶

Build creates a list of 'default_capability' objects using the configuration stored in the builder.

func (*DefaultCapabilityListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*DefaultCapabilityListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*DefaultCapabilityListBuilder) Items ¶

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 (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 ¶

CloudAccountID sets the value of the 'cloud_account_ID' attribute to the given value.

func (*DeletedSubscriptionBuilder) CloudProviderID ¶

CloudProviderID sets the value of the 'cloud_provider_ID' attribute to the given value.

func (*DeletedSubscriptionBuilder) ClusterBillingModel ¶

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 ¶

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*DeletedSubscriptionBuilder) ConsoleURL ¶

ConsoleURL sets the value of the 'console_URL' attribute to the given value.

func (*DeletedSubscriptionBuilder) ConsumerUUID ¶

ConsumerUUID sets the value of the 'consumer_UUID' attribute to the given value.

func (*DeletedSubscriptionBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*DeletedSubscriptionBuilder) CpuTotal ¶

CpuTotal sets the value of the 'cpu_total' attribute to the given value.

func (*DeletedSubscriptionBuilder) CreatedAt ¶

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*DeletedSubscriptionBuilder) CreatorId ¶

CreatorId sets the value of the 'creator_id' attribute to the given value.

func (*DeletedSubscriptionBuilder) DisplayName ¶

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 ¶

HREF sets the link to the object.

func (*DeletedSubscriptionBuilder) ID ¶

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 ¶

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.

Link sets the flag that indicates if this is a link.

func (*DeletedSubscriptionBuilder) Managed ¶

Managed sets the value of the 'managed' attribute to the given value.

func (*DeletedSubscriptionBuilder) Metrics ¶

Metrics sets the value of the 'metrics' attribute to the given value.

func (*DeletedSubscriptionBuilder) OrganizationID ¶

OrganizationID sets the value of the 'organization_ID' attribute to the given value.

func (*DeletedSubscriptionBuilder) PlanID ¶

PlanID sets the value of the 'plan_ID' attribute to the given value.

func (*DeletedSubscriptionBuilder) ProductBundle ¶

ProductBundle sets the value of the 'product_bundle' attribute to the given value.

func (*DeletedSubscriptionBuilder) Provenance ¶

Provenance sets the value of the 'provenance' attribute to the given value.

func (*DeletedSubscriptionBuilder) QueryTimestamp ¶

QueryTimestamp sets the value of the 'query_timestamp' attribute to the given value.

func (*DeletedSubscriptionBuilder) RegionID ¶

RegionID sets the value of the 'region_ID' attribute to the given value.

func (*DeletedSubscriptionBuilder) Released ¶

Released sets the value of the 'released' attribute to the given value.

func (*DeletedSubscriptionBuilder) ServiceLevel ¶

ServiceLevel sets the value of the 'service_level' attribute to the given value.

func (*DeletedSubscriptionBuilder) SocketTotal ¶

SocketTotal sets the value of the 'socket_total' attribute to the given value.

func (*DeletedSubscriptionBuilder) Status ¶

Status sets the value of the 'status' attribute to the given value.

func (*DeletedSubscriptionBuilder) SupportLevel ¶

SupportLevel sets the value of the 'support_level' attribute to the given value.

func (*DeletedSubscriptionBuilder) SystemUnits ¶

SystemUnits sets the value of the 'system_units' attribute to the given value.

func (*DeletedSubscriptionBuilder) TrialEndDate ¶

TrialEndDate sets the value of the 'trial_end_date' attribute to the given value.

func (*DeletedSubscriptionBuilder) Usage ¶

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 ¶

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 ¶

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 (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 (l *DeletedSubscriptionList) SetLink(link bool)

Items sets the items of the list.

func (*DeletedSubscriptionList) 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 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 ¶

Build creates a list of 'deleted_subscription' objects using the configuration stored in the builder.

func (*DeletedSubscriptionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*DeletedSubscriptionListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*DeletedSubscriptionListBuilder) Items ¶

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 (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 ¶

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 ¶

HREF sets the link to the object.

func (*FeatureToggleBuilder) ID ¶

ID sets the identifier of the object.

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 (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 (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 ¶

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 ¶

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 ¶

Build creates a 'feature_toggle_query_request' object using the configuration stored in the builder.

func (*FeatureToggleQueryRequestBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*FeatureToggleQueryRequestBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*FeatureToggleQueryRequestBuilder) OrganizationID ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*FeatureToggleQueryRequestList) Get ¶

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 ¶

Items returns the items of the list.

func (*FeatureToggleQueryRequestList) Len ¶

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 ¶

Items sets the items of the list.

func (l *FeatureToggleQueryRequestList) SetLink(link bool)

Items sets the items of the list.

func (*FeatureToggleQueryRequestList) 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 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 ¶

Build creates a list of 'feature_toggle_query_request' objects using the configuration stored in the builder.

func (*FeatureToggleQueryRequestListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*FeatureToggleQueryRequestListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*FeatureToggleQueryRequestListBuilder) Items ¶

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 ¶

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 ¶

HREF returns the link to the object.

func (*GenericNotifyDetailsResponse) ID ¶

ID returns the identifier of the object.

func (*GenericNotifyDetailsResponse) Items ¶

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 ¶

Kind returns the name of the type of the object.

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 ¶

Associates sets the value of the 'associates' attribute to the given values.

func (*GenericNotifyDetailsResponseBuilder) Build ¶

Build creates a 'generic_notify_details_response' object using the configuration stored in the builder.

func (*GenericNotifyDetailsResponseBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GenericNotifyDetailsResponseBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GenericNotifyDetailsResponseBuilder) HREF ¶

HREF sets the link to the object.

func (*GenericNotifyDetailsResponseBuilder) ID ¶

ID sets the identifier of the object.

func (*GenericNotifyDetailsResponseBuilder) Items ¶

Items sets the value of the 'items' attribute to the given values.

Link sets the flag that indicates if this is a link.

func (*GenericNotifyDetailsResponseBuilder) Recipients ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*GenericNotifyDetailsResponseList) Get ¶

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 ¶

HREF returns the link to the list.

func (*GenericNotifyDetailsResponseList) Items ¶

Items returns the items of the list.

func (*GenericNotifyDetailsResponseList) Kind ¶

Kind returns the name of the type of the object.

func (*GenericNotifyDetailsResponseList) Len ¶

Len returns the length of the list.

Link returns true iif this is a link.

func (*GenericNotifyDetailsResponseList) 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 (*GenericNotifyDetailsResponseList) SetHREF ¶

func (l *GenericNotifyDetailsResponseList) SetHREF(href string)

Items sets the items of the list.

func (*GenericNotifyDetailsResponseList) SetItems ¶

Items sets the items of the list.

func (l *GenericNotifyDetailsResponseList) SetLink(link bool)

Items sets the items of the list.

func (*GenericNotifyDetailsResponseList) 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 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 ¶

Build creates a list of 'generic_notify_details_response' objects using the configuration stored in the builder.

func (*GenericNotifyDetailsResponseListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GenericNotifyDetailsResponseListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*GenericNotifyDetailsResponseListBuilder) Items ¶

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 ReadLabel ¶

func ReadLabel(iterator *jsoniter.Iterator) *Label

ReadLabel reads a value of the 'label' type from the given iterator.

func ReadLabelList ¶

func ReadLabelList(iterator *jsoniter.Iterator) []*Label

ReadLabelList reads list of values of the ”label' type from the given iterator.

func UnmarshalLabel ¶

func UnmarshalLabel(source interface{}) (object *Label, err error)

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 ¶

func UnmarshalLabelList(source interface{}) (items []*Label, err error)

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 ¶

func (o *Label) 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 (*Label) CreatedAt ¶

func (o *Label) 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 (*Label) Empty ¶

func (o *Label) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Label) GetAccountID ¶

func (o *Label) 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 (*Label) GetCreatedAt ¶

func (o *Label) 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 (*Label) GetHREF ¶

func (o *Label) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Label) GetID ¶

func (o *Label) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Label) GetInternal ¶

func (o *Label) GetInternal() (value bool, ok bool)

GetInternal returns the value of the 'internal' attribute and a flag indicating if the attribute has a value.

func (*Label) GetKey ¶

func (o *Label) GetKey() (value string, ok bool)

GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.

func (*Label) GetManagedBy ¶

func (o *Label) 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 (*Label) GetOrganizationID ¶

func (o *Label) 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 (*Label) GetSubscriptionID ¶

func (o *Label) 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 (*Label) GetType ¶

func (o *Label) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

func (*Label) GetUpdatedAt ¶

func (o *Label) 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 (*Label) GetValue ¶

func (o *Label) GetValue() (value string, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

func (*Label) HREF ¶

func (o *Label) HREF() string

HREF returns the link to the object.

func (*Label) ID ¶

func (o *Label) ID() string

ID returns the identifier of the object.

func (*Label) Internal ¶

func (o *Label) Internal() bool

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 ¶

func (o *Label) 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.

func (*Label) Kind ¶

func (o *Label) Kind() string

Kind returns the name of the type of the object.

func (o *Label) Link() bool

Link returns true if this is a link.

func (*Label) ManagedBy ¶

func (o *Label) 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 (*Label) OrganizationID ¶

func (o *Label) 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 (*Label) SubscriptionID ¶

func (o *Label) 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 (*Label) Type ¶

func (o *Label) 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 (*Label) UpdatedAt ¶

func (o *Label) 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 (*Label) Value ¶

func (o *Label) 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 LabelBuilder ¶

type LabelBuilder struct {
	// contains filtered or unexported fields
}

func NewLabel ¶

func NewLabel() *LabelBuilder

NewLabel creates a new builder of 'label' objects.

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 (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 ¶

func (l *LabelList) Each(f func(item *Label) 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 (*LabelList) Empty ¶

func (l *LabelList) Empty() bool

Empty returns true if the list is empty.

func (*LabelList) Get ¶

func (l *LabelList) Get(i int) *Label

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 ¶

func (l *LabelList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*LabelList) HREF ¶

func (l *LabelList) HREF() string

HREF returns the link to the list.

func (*LabelList) Items ¶

func (l *LabelList) Items() []*Label

Items returns the items of the list.

func (*LabelList) Kind ¶

func (l *LabelList) Kind() string

Kind returns the name of the type of the object.

func (*LabelList) Len ¶

func (l *LabelList) Len() int

Len returns the length of the list.

func (l *LabelList) Link() bool

Link returns true iif this is a link.

func (*LabelList) Range ¶

func (l *LabelList) Range(f func(index int, item *Label) 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 (*LabelList) SetHREF ¶

func (l *LabelList) SetHREF(href string)

Items sets the items of the list.

func (*LabelList) SetItems ¶

func (l *LabelList) SetItems(items []*Label)

Items sets the items of the list.

func (l *LabelList) SetLink(link bool)

Items sets the items of the list.

func (*LabelList) Slice ¶

func (l *LabelList) Slice() []*Label

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 ¶

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 ¶

func UnmarshalMetadata(source interface{}) (object *Metadata, err error)

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 ¶

func (m *Metadata) GetServerVersion() (value string, ok bool)

GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.

func (*Metadata) ServerVersion ¶

func (m *Metadata) ServerVersion() string

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 ¶

BccAddress sets the value of the 'bcc_address' attribute to the given value.

func (*NotificationDetailsRequestBuilder) Build ¶

Build creates a 'notification_details_request' object using the configuration stored in the builder.

func (*NotificationDetailsRequestBuilder) ClusterID ¶

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*NotificationDetailsRequestBuilder) ClusterUUID ¶

ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.

func (*NotificationDetailsRequestBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NotificationDetailsRequestBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NotificationDetailsRequestBuilder) IncludeRedHatAssociates ¶

IncludeRedHatAssociates sets the value of the 'include_red_hat_associates' attribute to the given value.

func (*NotificationDetailsRequestBuilder) InternalOnly ¶

InternalOnly sets the value of the 'internal_only' attribute to the given value.

func (*NotificationDetailsRequestBuilder) LogType ¶

LogType sets the value of the 'log_type' attribute to the given value.

func (*NotificationDetailsRequestBuilder) Subject ¶

Subject sets the value of the 'subject' attribute to the given value.

func (*NotificationDetailsRequestBuilder) SubscriptionID ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*NotificationDetailsRequestList) Get ¶

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 ¶

Items returns the items of the list.

func (*NotificationDetailsRequestList) Len ¶

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 ¶

Items sets the items of the list.

func (l *NotificationDetailsRequestList) SetLink(link bool)

Items sets the items of the list.

func (*NotificationDetailsRequestList) 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 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 ¶

Build creates a list of 'notification_details_request' objects using the configuration stored in the builder.

func (*NotificationDetailsRequestListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NotificationDetailsRequestListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*NotificationDetailsRequestListBuilder) Items ¶

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 ¶

HREF returns the link to the object.

func (*NotificationDetailsResponse) ID ¶

ID returns the identifier of the object.

func (*NotificationDetailsResponse) Key ¶

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 ¶

Kind returns the name of the type of the object.

Link returns true if this is a link.

func (*NotificationDetailsResponse) Value ¶

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 ¶

Build creates a 'notification_details_response' object using the configuration stored in the builder.

func (*NotificationDetailsResponseBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NotificationDetailsResponseBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NotificationDetailsResponseBuilder) HREF ¶

HREF sets the link to the object.

func (*NotificationDetailsResponseBuilder) ID ¶

ID sets the identifier of the object.

func (*NotificationDetailsResponseBuilder) Key ¶

Key sets the value of the 'key' attribute to the given value.

Link sets the flag that indicates if this is a link.

func (*NotificationDetailsResponseBuilder) Value ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*NotificationDetailsResponseList) Get ¶

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 ¶

HREF returns the link to the list.

func (*NotificationDetailsResponseList) Items ¶

Items returns the items of the list.

func (*NotificationDetailsResponseList) Kind ¶

Kind returns the name of the type of the object.

func (*NotificationDetailsResponseList) Len ¶

Len returns the length of the list.

Link returns true iif this is a link.

func (*NotificationDetailsResponseList) 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 (*NotificationDetailsResponseList) SetHREF ¶

func (l *NotificationDetailsResponseList) SetHREF(href string)

Items sets the items of the list.

func (*NotificationDetailsResponseList) SetItems ¶

Items sets the items of the list.

func (l *NotificationDetailsResponseList) SetLink(link bool)

Items sets the items of the list.

func (*NotificationDetailsResponseList) 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 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 ¶

Build creates a list of 'notification_details_response' objects using the configuration stored in the builder.

func (*NotificationDetailsResponseListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NotificationDetailsResponseListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*NotificationDetailsResponseListBuilder) Items ¶

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 (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 ¶

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 ¶

HREF sets the link to the object.

func (*OrganizationBuilder) ID ¶

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.

Link sets the flag that indicates if this is a link.

func (*OrganizationBuilder) Name ¶

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 (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 (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 ¶

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 ¶

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) HREF ¶

func (o *Permission) HREF() string

HREF returns the link to the object.

func (*Permission) ID ¶

func (o *Permission) ID() string

ID returns the identifier of the object.

func (*Permission) Kind ¶

func (o *Permission) Kind() string

Kind returns the name of the type of the object.

func (o *Permission) Link() bool

Link returns true if this is a link.

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 ¶

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 ¶

ID sets the identifier of the object.

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 (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 (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 ¶

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 ¶

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 ReadPlan ¶

func ReadPlan(iterator *jsoniter.Iterator) *Plan

ReadPlan reads a value of the 'plan' type from the given iterator.

func ReadPlanList ¶

func ReadPlanList(iterator *jsoniter.Iterator) []*Plan

ReadPlanList reads list of values of the ”plan' type from the given iterator.

func UnmarshalPlan ¶

func UnmarshalPlan(source interface{}) (object *Plan, err error)

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 ¶

func UnmarshalPlanList(source interface{}) (items []*Plan, err error)

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 ¶

func (o *Plan) 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 (*Plan) Empty ¶

func (o *Plan) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Plan) GetCategory ¶

func (o *Plan) GetCategory() (value string, ok bool)

GetCategory returns the value of the 'category' attribute and a flag indicating if the attribute has a value.

func (*Plan) GetHREF ¶

func (o *Plan) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Plan) GetID ¶

func (o *Plan) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Plan) GetName ¶

func (o *Plan) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

func (*Plan) GetType ¶

func (o *Plan) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

func (*Plan) HREF ¶

func (o *Plan) HREF() string

HREF returns the link to the object.

func (*Plan) ID ¶

func (o *Plan) ID() string

ID returns the identifier of the object.

func (*Plan) Kind ¶

func (o *Plan) Kind() string

Kind returns the name of the type of the object.

func (o *Plan) Link() bool

Link returns true if this is a link.

func (*Plan) Name ¶

func (o *Plan) 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 (*Plan) Type ¶

func (o *Plan) 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.

type PlanBuilder ¶

type PlanBuilder struct {
	// contains filtered or unexported fields
}

func NewPlan ¶

func NewPlan() *PlanBuilder

NewPlan creates a new builder of 'plan' objects.

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 (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 ¶

func ReadPlanIDList(iterator *jsoniter.Iterator) []PlanID

ReadPlanIDList reads list of values of the ”plan_ID' type from the given iterator.

func UnmarshalPlanIDList ¶

func UnmarshalPlanIDList(source interface{}) (items []PlanID, err error)

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 ¶

func (l *PlanList) Each(f func(item *Plan) 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 (*PlanList) Empty ¶

func (l *PlanList) Empty() bool

Empty returns true if the list is empty.

func (*PlanList) Get ¶

func (l *PlanList) Get(i int) *Plan

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 ¶

func (l *PlanList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*PlanList) HREF ¶

func (l *PlanList) HREF() string

HREF returns the link to the list.

func (*PlanList) Items ¶

func (l *PlanList) Items() []*Plan

Items returns the items of the list.

func (*PlanList) Kind ¶

func (l *PlanList) Kind() string

Kind returns the name of the type of the object.

func (*PlanList) Len ¶

func (l *PlanList) Len() int

Len returns the length of the list.

func (l *PlanList) Link() bool

Link returns true iif this is a link.

func (*PlanList) Range ¶

func (l *PlanList) Range(f func(index int, item *Plan) 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 (*PlanList) SetHREF ¶

func (l *PlanList) SetHREF(href string)

Items sets the items of the list.

func (*PlanList) SetItems ¶

func (l *PlanList) SetItems(items []*Plan)

Items sets the items of the list.

func (l *PlanList) SetLink(link bool)

Items sets the items of the list.

func (*PlanList) Slice ¶

func (l *PlanList) Slice() []*Plan

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 ¶

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 ¶

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 ¶

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 (l *PullSecretsRequestList) SetLink(link bool)

Items sets the items of the list.

func (*PullSecretsRequestList) 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 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 ¶

Build creates a list of 'pull_secrets_request' objects using the configuration stored in the builder.

func (*PullSecretsRequestListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*PullSecretsRequestListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*PullSecretsRequestListBuilder) Items ¶

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 ¶

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*QuotaAuthorizationRequestBuilder) AvailabilityZone ¶

AvailabilityZone sets the value of the 'availability_zone' attribute to the given value.

func (*QuotaAuthorizationRequestBuilder) Build ¶

Build creates a 'quota_authorization_request' object using the configuration stored in the builder.

func (*QuotaAuthorizationRequestBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*QuotaAuthorizationRequestBuilder) DisplayName ¶

DisplayName sets the value of the 'display_name' attribute to the given value.

func (*QuotaAuthorizationRequestBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*QuotaAuthorizationRequestBuilder) ProductCategory ¶

ProductCategory sets the value of the 'product_category' attribute to the given value.

func (*QuotaAuthorizationRequestBuilder) ProductID ¶

ProductID sets the value of the 'product_ID' attribute to the given value.

func (*QuotaAuthorizationRequestBuilder) QuotaVersion ¶

QuotaVersion sets the value of the 'quota_version' attribute to the given value.

func (*QuotaAuthorizationRequestBuilder) Reserve ¶

Reserve sets the value of the 'reserve' attribute to the given value.

func (*QuotaAuthorizationRequestBuilder) Resources ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*QuotaAuthorizationRequestList) Get ¶

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 ¶

Items returns the items of the list.

func (*QuotaAuthorizationRequestList) Len ¶

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 ¶

Items sets the items of the list.

func (l *QuotaAuthorizationRequestList) SetLink(link bool)

Items sets the items of the list.

func (*QuotaAuthorizationRequestList) 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 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 ¶

Build creates a list of 'quota_authorization_request' objects using the configuration stored in the builder.

func (*QuotaAuthorizationRequestListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*QuotaAuthorizationRequestListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*QuotaAuthorizationRequestListBuilder) Items ¶

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 ¶

Allowed sets the value of the 'allowed' attribute to the given value.

func (*QuotaAuthorizationResponseBuilder) Build ¶

Build creates a 'quota_authorization_response' object using the configuration stored in the builder.

func (*QuotaAuthorizationResponseBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*QuotaAuthorizationResponseBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*QuotaAuthorizationResponseBuilder) ExcessResources ¶

ExcessResources sets the value of the 'excess_resources' attribute to the given values.

func (*QuotaAuthorizationResponseBuilder) Subscription ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*QuotaAuthorizationResponseList) Get ¶

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 ¶

Items returns the items of the list.

func (*QuotaAuthorizationResponseList) Len ¶

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 ¶

Items sets the items of the list.

func (l *QuotaAuthorizationResponseList) SetLink(link bool)

Items sets the items of the list.

func (*QuotaAuthorizationResponseList) 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 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 ¶

Build creates a list of 'quota_authorization_response' objects using the configuration stored in the builder.

func (*QuotaAuthorizationResponseListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*QuotaAuthorizationResponseListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*QuotaAuthorizationResponseListBuilder) Items ¶

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 ¶

func ReadQuotaCost(iterator *jsoniter.Iterator) *QuotaCost

ReadQuotaCost reads a value of the 'quota_cost' type from the given iterator.

func ReadQuotaCostList ¶

func ReadQuotaCostList(iterator *jsoniter.Iterator) []*QuotaCost

ReadQuotaCostList reads list of values of the ”quota_cost' type from the given iterator.

func UnmarshalQuotaCost ¶

func UnmarshalQuotaCost(source interface{}) (object *QuotaCost, err error)

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 ¶

func UnmarshalQuotaCostList(source interface{}) (items []*QuotaCost, err error)

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 ¶

func (o *QuotaCost) Allowed() int

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 ¶

func (o *QuotaCost) Consumed() int

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 ¶

func (o *QuotaCost) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*QuotaCost) GetAllowed ¶

func (o *QuotaCost) GetAllowed() (value int, ok bool)

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 ¶

func (o *QuotaCost) GetConsumed() (value int, ok bool)

GetConsumed returns the value of the 'consumed' attribute and a flag indicating if the attribute has a value.

func (*QuotaCost) GetOrganizationID ¶

func (o *QuotaCost) 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 (*QuotaCost) GetQuotaID ¶

func (o *QuotaCost) 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 (*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 ¶

func (o *QuotaCost) GetVersion() (value string, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

func (*QuotaCost) OrganizationID ¶

func (o *QuotaCost) 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 (*QuotaCost) QuotaID ¶

func (o *QuotaCost) 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.

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.

func (*QuotaCost) Version ¶

func (o *QuotaCost) 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 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) Len ¶

func (l *QuotaCostList) Len() int

Len returns the length 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 (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 ¶

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 ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

func ReadRegistry(iterator *jsoniter.Iterator) *Registry

ReadRegistry reads a value of the 'registry' type from the given iterator.

func ReadRegistryList ¶

func ReadRegistryList(iterator *jsoniter.Iterator) []*Registry

ReadRegistryList reads list of values of the ”registry' type from the given iterator.

func UnmarshalRegistry ¶

func UnmarshalRegistry(source interface{}) (object *Registry, err error)

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 ¶

func UnmarshalRegistryList(source interface{}) (items []*Registry, err error)

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 ¶

func (o *Registry) CloudAlias() bool

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 ¶

func (o *Registry) 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 (*Registry) Empty ¶

func (o *Registry) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Registry) GetCloudAlias ¶

func (o *Registry) GetCloudAlias() (value bool, ok bool)

GetCloudAlias returns the value of the 'cloud_alias' attribute and a flag indicating if the attribute has a value.

func (*Registry) GetCreatedAt ¶

func (o *Registry) 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 (*Registry) GetHREF ¶

func (o *Registry) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Registry) GetID ¶

func (o *Registry) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Registry) GetName ¶

func (o *Registry) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

func (*Registry) GetOrgName ¶

func (o *Registry) GetOrgName() (value string, ok bool)

GetOrgName returns the value of the 'org_name' attribute and a flag indicating if the attribute has a value.

func (*Registry) GetTeamName ¶

func (o *Registry) GetTeamName() (value string, ok bool)

GetTeamName returns the value of the 'team_name' attribute and a flag indicating if the attribute has a value.

func (*Registry) GetType ¶

func (o *Registry) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

func (*Registry) GetURL ¶

func (o *Registry) GetURL() (value string, ok bool)

GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.

func (*Registry) GetUpdatedAt ¶

func (o *Registry) 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 (*Registry) HREF ¶

func (o *Registry) HREF() string

HREF returns the link to the object.

func (*Registry) ID ¶

func (o *Registry) ID() string

ID returns the identifier of the object.

func (*Registry) Kind ¶

func (o *Registry) Kind() string

Kind returns the name of the type of the object.

func (o *Registry) Link() bool

Link returns true if this is a link.

func (*Registry) Name ¶

func (o *Registry) 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 (*Registry) OrgName ¶

func (o *Registry) OrgName() string

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 ¶

func (o *Registry) TeamName() string

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 ¶

func (o *Registry) 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 (*Registry) URL ¶

func (o *Registry) URL() string

URL returns the value of the 'URL' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Registry) UpdatedAt ¶

func (o *Registry) 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 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 (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 (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 ¶

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 ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RegistryCredentialBuilder) CreatedAt ¶

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 ¶

HREF sets the link to the object.

func (*RegistryCredentialBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*RegistryCredentialBuilder) Registry ¶

Registry sets the value of the 'registry' attribute to the given value.

func (*RegistryCredentialBuilder) Token ¶

Token sets the value of the 'token' attribute to the given value.

func (*RegistryCredentialBuilder) UpdatedAt ¶

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

func (*RegistryCredentialBuilder) Username ¶

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 ¶

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 ¶

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 (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 (l *RegistryCredentialList) SetLink(link bool)

Items sets the items of the list.

func (*RegistryCredentialList) 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 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 ¶

Build creates a list of 'registry_credential' objects using the configuration stored in the builder.

func (*RegistryCredentialListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RegistryCredentialListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*RegistryCredentialListBuilder) Items ¶

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) Len ¶

func (l *RegistryList) Len() int

Len returns the length of the list.

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 (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 ¶

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 ¶

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 ¶

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 ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RelatedResourceBuilder) Cost ¶

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 ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ReservedResourceBuilder) Count ¶

Count sets the value of the 'count' attribute to the given value.

func (*ReservedResourceBuilder) CreatedAt ¶

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 ¶

Scope sets the value of the 'scope' attribute to the given value.

func (*ReservedResourceBuilder) UpdatedAt ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

func ReadResource(iterator *jsoniter.Iterator) *Resource

ReadResource reads a value of the 'resource' type from the given iterator.

func ReadResourceList ¶

func ReadResourceList(iterator *jsoniter.Iterator) []*Resource

ReadResourceList reads list of values of the ”resource' type from the given iterator.

func UnmarshalResource ¶

func UnmarshalResource(source interface{}) (object *Resource, err error)

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 ¶

func UnmarshalResourceList(source interface{}) (items []*Resource, err error)

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 ¶

func (o *Resource) Allowed() int

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 ¶

func (o *Resource) 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 (*Resource) BYOC ¶

func (o *Resource) 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 (*Resource) Empty ¶

func (o *Resource) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Resource) GetAllowed ¶

func (o *Resource) GetAllowed() (value int, ok bool)

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 ¶

func (o *Resource) 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 (*Resource) GetBYOC ¶

func (o *Resource) GetBYOC() (value bool, ok bool)

GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.

func (*Resource) GetHREF ¶

func (o *Resource) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Resource) GetID ¶

func (o *Resource) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Resource) GetResourceName ¶

func (o *Resource) GetResourceName() (value string, ok bool)

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 ¶

func (o *Resource) 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 (*Resource) GetSKU ¶

func (o *Resource) GetSKU() (value string, ok bool)

GetSKU returns the value of the 'SKU' attribute and a flag indicating if the attribute has a value.

func (*Resource) HREF ¶

func (o *Resource) HREF() string

HREF returns the link to the object.

func (*Resource) ID ¶

func (o *Resource) ID() string

ID returns the identifier of the object.

func (*Resource) Kind ¶

func (o *Resource) Kind() string

Kind returns the name of the type of the object.

func (o *Resource) Link() bool

Link returns true if this is a link.

func (*Resource) ResourceName ¶

func (o *Resource) 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.

platform-specific name, such as "M5.2Xlarge" for a type of EC2 node

func (*Resource) ResourceType ¶

func (o *Resource) 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 (*Resource) SKU ¶

func (o *Resource) 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.

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 (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) Len ¶

func (l *ResourceList) Len() int

Len returns the length of the list.

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 (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 ¶

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 ¶

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 (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 ¶

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 ¶

HREF sets the link to the object.

func (*ResourceQuotaBuilder) ID ¶

ID sets the identifier of the object.

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 ¶

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 ¶

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 (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 (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 ¶

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 ¶

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 ReadRole ¶

func ReadRole(iterator *jsoniter.Iterator) *Role

ReadRole reads a value of the 'role' type from the given iterator.

func ReadRoleList ¶

func ReadRoleList(iterator *jsoniter.Iterator) []*Role

ReadRoleList reads list of values of the ”role' type from the given iterator.

func UnmarshalRole ¶

func UnmarshalRole(source interface{}) (object *Role, err error)

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 ¶

func UnmarshalRoleList(source interface{}) (items []*Role, err error)

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) Empty ¶

func (o *Role) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Role) GetHREF ¶

func (o *Role) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Role) GetID ¶

func (o *Role) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Role) GetName ¶

func (o *Role) GetName() (value string, ok bool)

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) HREF ¶

func (o *Role) HREF() string

HREF returns the link to the object.

func (*Role) ID ¶

func (o *Role) ID() string

ID returns the identifier of the object.

func (*Role) Kind ¶

func (o *Role) Kind() string

Kind returns the name of the type of the object.

func (o *Role) Link() bool

Link returns true if this is a link.

func (*Role) Name ¶

func (o *Role) 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 (*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 (o *RoleBinding) Link() bool

Link returns true if this is a link.

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 ¶

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 ¶

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 ¶

HREF sets the link to the object.

func (*RoleBindingBuilder) ID ¶

ID sets the identifier of the object.

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 ¶

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 ¶

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 ¶

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 ¶

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 (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 (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 ¶

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 ¶

Items sets the items of the list.

type RoleBuilder ¶

type RoleBuilder struct {
	// contains filtered or unexported fields
}

func NewRole ¶

func NewRole() *RoleBuilder

NewRole creates a new builder of 'role' objects.

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 (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 ¶

func (l *RoleList) Each(f func(item *Role) 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 (*RoleList) Empty ¶

func (l *RoleList) Empty() bool

Empty returns true if the list is empty.

func (*RoleList) Get ¶

func (l *RoleList) Get(i int) *Role

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 ¶

func (l *RoleList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*RoleList) HREF ¶

func (l *RoleList) HREF() string

HREF returns the link to the list.

func (*RoleList) Items ¶

func (l *RoleList) Items() []*Role

Items returns the items of the list.

func (*RoleList) Kind ¶

func (l *RoleList) Kind() string

Kind returns the name of the type of the object.

func (*RoleList) Len ¶

func (l *RoleList) Len() int

Len returns the length of the list.

func (l *RoleList) Link() bool

Link returns true iif this is a link.

func (*RoleList) Range ¶

func (l *RoleList) Range(f func(index int, item *Role) 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 (*RoleList) SetHREF ¶

func (l *RoleList) SetHREF(href string)

Items sets the items of the list.

func (*RoleList) SetItems ¶

func (l *RoleList) SetItems(items []*Role)

Items sets the items of the list.

func (l *RoleList) SetLink(link bool)

Items sets the items of the list.

func (*RoleList) Slice ¶

func (l *RoleList) Slice() []*Role

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 ¶

func ReadSkuRule(iterator *jsoniter.Iterator) *SkuRule

ReadSkuRule reads a value of the 'sku_rule' type from the given iterator.

func ReadSkuRuleList ¶

func ReadSkuRuleList(iterator *jsoniter.Iterator) []*SkuRule

ReadSkuRuleList reads list of values of the ”sku_rule' type from the given iterator.

func UnmarshalSkuRule ¶

func UnmarshalSkuRule(source interface{}) (object *SkuRule, err error)

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 ¶

func UnmarshalSkuRuleList(source interface{}) (items []*SkuRule, err error)

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 ¶

func (o *SkuRule) Allowed() int

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) Empty ¶

func (o *SkuRule) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SkuRule) GetAllowed ¶

func (o *SkuRule) GetAllowed() (value int, ok bool)

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 ¶

func (o *SkuRule) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*SkuRule) GetID ¶

func (o *SkuRule) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*SkuRule) GetQuotaId ¶

func (o *SkuRule) GetQuotaId() (value string, ok bool)

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 ¶

func (o *SkuRule) GetSku() (value string, ok bool)

GetSku returns the value of the 'sku' attribute and a flag indicating if the attribute has a value.

Specifies the sku, such as ""MW00504""

func (*SkuRule) HREF ¶

func (o *SkuRule) HREF() string

HREF returns the link to the object.

func (*SkuRule) ID ¶

func (o *SkuRule) ID() string

ID returns the identifier of the object.

func (*SkuRule) Kind ¶

func (o *SkuRule) Kind() string

Kind returns the name of the type of the object.

func (o *SkuRule) Link() bool

Link returns true if this is a link.

func (*SkuRule) QuotaId ¶

func (o *SkuRule) 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.

Specifies the quota id

func (*SkuRule) Sku ¶

func (o *SkuRule) 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.

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 (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) HREF ¶

func (l *SkuRuleList) HREF() string

HREF returns the link to the list.

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) Len ¶

func (l *SkuRuleList) Len() int

Len returns the length of the list.

func (l *SkuRuleList) Link() bool

Link returns true iif this is a link.

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 (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 ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

HREF sets the link to the object.

func (*SubscriptionBuilder) ID ¶

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.

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 ¶

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 ¶

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 ¶

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 ¶

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 (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 (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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

CloudProvider sets the value of the 'cloud_provider' attribute to the given value.

func (*SubscriptionMetricsBuilder) ComputeNodesCpu ¶

ComputeNodesCpu sets the value of the 'compute_nodes_cpu' attribute to the given value.

func (*SubscriptionMetricsBuilder) ComputeNodesMemory ¶

ComputeNodesMemory sets the value of the 'compute_nodes_memory' attribute to the given value.

func (*SubscriptionMetricsBuilder) ComputeNodesSockets ¶

ComputeNodesSockets sets the value of the 'compute_nodes_sockets' attribute to the given value.

func (*SubscriptionMetricsBuilder) ConsoleUrl ¶

ConsoleUrl sets the value of the 'console_url' attribute to the given value.

func (*SubscriptionMetricsBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SubscriptionMetricsBuilder) Cpu ¶

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 ¶

HealthState sets the value of the 'health_state' attribute to the given value.

func (*SubscriptionMetricsBuilder) Memory ¶

Memory sets the value of the 'memory' attribute to the given value.

func (*SubscriptionMetricsBuilder) Nodes ¶

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 ¶

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 ¶

Region sets the value of the 'region' attribute to the given value.

func (*SubscriptionMetricsBuilder) Sockets ¶

Sockets sets the value of the 'sockets' attribute to the given value.

func (*SubscriptionMetricsBuilder) State ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 (l *SubscriptionMetricsList) SetLink(link bool)

Items sets the items of the list.

func (*SubscriptionMetricsList) 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 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 ¶

Build creates a list of 'subscription_metrics' objects using the configuration stored in the builder.

func (*SubscriptionMetricsListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SubscriptionMetricsListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*SubscriptionMetricsListBuilder) Items ¶

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 ¶

Build creates a 'subscription_registration' object using the configuration stored in the builder.

func (*SubscriptionRegistrationBuilder) ClusterUUID ¶

ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.

func (*SubscriptionRegistrationBuilder) ConsoleURL ¶

ConsoleURL sets the value of the 'console_URL' attribute to the given value.

func (*SubscriptionRegistrationBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SubscriptionRegistrationBuilder) DisplayName ¶

DisplayName sets the value of the 'display_name' attribute to the given value.

func (*SubscriptionRegistrationBuilder) Empty ¶

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SubscriptionRegistrationBuilder) PlanID ¶

PlanID sets the value of the 'plan_ID' attribute to the given value.

Plan ID of subscription.

func (*SubscriptionRegistrationBuilder) Status ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*SubscriptionRegistrationList) Get ¶

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 ¶

Items returns the items of the list.

func (*SubscriptionRegistrationList) Len ¶

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 ¶

Items sets the items of the list.

func (l *SubscriptionRegistrationList) SetLink(link bool)

Items sets the items of the list.

func (*SubscriptionRegistrationList) 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 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 ¶

Build creates a list of 'subscription_registration' objects using the configuration stored in the builder.

func (*SubscriptionRegistrationListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SubscriptionRegistrationListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*SubscriptionRegistrationListBuilder) Items ¶

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 (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 ¶

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 ¶

HREF sets the link to the object.

func (*SummaryDashboardBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*SummaryDashboardBuilder) Metrics ¶

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 ¶

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 (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 (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 ¶

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 ¶

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 ¶

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 ¶

Name sets the value of the 'name' attribute to the given value.

func (*SummaryMetricsBuilder) Vector ¶

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 ¶

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 (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 ¶

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 ¶

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 ¶

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 ¶

Time sets the value of the 'time' attribute to the given value.

func (*SummarySampleBuilder) Value ¶

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 (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 ¶

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 ¶

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 (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 ¶

ClusterId sets the value of the 'cluster_id' attribute to the given value.

func (*SupportCaseRequestBuilder) ClusterUuid ¶

ClusterUuid sets the value of the 'cluster_uuid' attribute to the given value.

func (*SupportCaseRequestBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SupportCaseRequestBuilder) Description ¶

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 ¶

EventStreamId sets the value of the 'event_stream_id' attribute to the given value.

func (*SupportCaseRequestBuilder) HREF ¶

HREF sets the link to the object.

func (*SupportCaseRequestBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*SupportCaseRequestBuilder) Severity ¶

Severity sets the value of the 'severity' attribute to the given value.

func (*SupportCaseRequestBuilder) SubscriptionId ¶

SubscriptionId sets the value of the 'subscription_id' attribute to the given value.

func (*SupportCaseRequestBuilder) Summary ¶

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 ¶

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 ¶

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 (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 (l *SupportCaseRequestList) SetLink(link bool)

Items sets the items of the list.

func (*SupportCaseRequestList) 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 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 ¶

Build creates a list of 'support_case_request' objects using the configuration stored in the builder.

func (*SupportCaseRequestListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SupportCaseRequestListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*SupportCaseRequestListBuilder) Items ¶

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 (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 ¶

CaseNumber sets the value of the 'case_number' attribute to the given value.

func (*SupportCaseResponseBuilder) ClusterId ¶

ClusterId sets the value of the 'cluster_id' attribute to the given value.

func (*SupportCaseResponseBuilder) ClusterUuid ¶

ClusterUuid sets the value of the 'cluster_uuid' attribute to the given value.

func (*SupportCaseResponseBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SupportCaseResponseBuilder) Description ¶

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 ¶

HREF sets the link to the object.

func (*SupportCaseResponseBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*SupportCaseResponseBuilder) Severity ¶

Severity sets the value of the 'severity' attribute to the given value.

func (*SupportCaseResponseBuilder) Status ¶

Status sets the value of the 'status' attribute to the given value.

func (*SupportCaseResponseBuilder) SubscriptionId ¶

SubscriptionId sets the value of the 'subscription_id' attribute to the given value.

func (*SupportCaseResponseBuilder) Summary ¶

Summary sets the value of the 'summary' attribute to the given value.

func (*SupportCaseResponseBuilder) URI ¶

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 ¶

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 ¶

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 (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 (l *SupportCaseResponseList) SetLink(link bool)

Items sets the items of the list.

func (*SupportCaseResponseList) 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 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 ¶

Build creates a list of 'support_case_response' objects using the configuration stored in the builder.

func (*SupportCaseResponseListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SupportCaseResponseListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*SupportCaseResponseListBuilder) Items ¶

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 ¶

Content sets the value of the 'content' attribute to the given value.

func (*TemplateParameterBuilder) Copy ¶

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 ¶

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 ¶

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 ¶

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 (l *TemplateParameterList) SetLink(link bool)

Items sets the items of the list.

func (*TemplateParameterList) 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 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 ¶

Build creates a list of 'template_parameter' objects using the configuration stored in the builder.

func (*TemplateParameterListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TemplateParameterListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*TemplateParameterListBuilder) Items ¶

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 ¶

AuthorizationToken sets the value of the 'authorization_token' attribute to the given value.

func (*TokenAuthorizationRequestBuilder) Build ¶

Build creates a 'token_authorization_request' object using the configuration stored in the builder.

func (*TokenAuthorizationRequestBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TokenAuthorizationRequestBuilder) Empty ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*TokenAuthorizationRequestList) Get ¶

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 ¶

Items returns the items of the list.

func (*TokenAuthorizationRequestList) Len ¶

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 ¶

Items sets the items of the list.

func (l *TokenAuthorizationRequestList) SetLink(link bool)

Items sets the items of the list.

func (*TokenAuthorizationRequestList) 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 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 ¶

Build creates a list of 'token_authorization_request' objects using the configuration stored in the builder.

func (*TokenAuthorizationRequestListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TokenAuthorizationRequestListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*TokenAuthorizationRequestListBuilder) Items ¶

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 ¶

Account sets the value of the 'account' attribute to the given value.

func (*TokenAuthorizationResponseBuilder) Build ¶

Build creates a 'token_authorization_response' object using the configuration stored in the builder.

func (*TokenAuthorizationResponseBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TokenAuthorizationResponseBuilder) Empty ¶

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 ¶

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 ¶

Empty returns true if the list is empty.

func (*TokenAuthorizationResponseList) Get ¶

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 ¶

Items returns the items of the list.

func (*TokenAuthorizationResponseList) Len ¶

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 ¶

Items sets the items of the list.

func (l *TokenAuthorizationResponseList) SetLink(link bool)

Items sets the items of the list.

func (*TokenAuthorizationResponseList) 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 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 ¶

Build creates a list of 'token_authorization_response' objects using the configuration stored in the builder.

func (*TokenAuthorizationResponseListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TokenAuthorizationResponseListBuilder) Empty ¶

Empty returns true if the list is empty.

func (*TokenAuthorizationResponseListBuilder) Items ¶

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 ¶

func ReadValueUnit(iterator *jsoniter.Iterator) *ValueUnit

ReadValueUnit reads a value of the 'value_unit' type from the given iterator.

func ReadValueUnitList ¶

func ReadValueUnitList(iterator *jsoniter.Iterator) []*ValueUnit

ReadValueUnitList reads list of values of the ”value_unit' type from the given iterator.

func UnmarshalValueUnit ¶

func UnmarshalValueUnit(source interface{}) (object *ValueUnit, err error)

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 ¶

func UnmarshalValueUnitList(source interface{}) (items []*ValueUnit, err error)

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 ¶

func (o *ValueUnit) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ValueUnit) GetUnit ¶

func (o *ValueUnit) GetUnit() (value string, ok bool)

GetUnit returns the value of the 'unit' attribute and a flag indicating if the attribute has a value.

func (*ValueUnit) GetValue ¶

func (o *ValueUnit) GetValue() (value float64, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

func (*ValueUnit) Unit ¶

func (o *ValueUnit) Unit() string

Unit returns the value of the 'unit' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*ValueUnit) Value ¶

func (o *ValueUnit) 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 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) Len ¶

func (l *ValueUnitList) Len() int

Len returns the length 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 (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 ¶

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 ¶

Items sets the items of the list.

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL