Documentation
¶
Index ¶
- Constants
- func PlanCPU(value PlanDataAttributesSpecsCPU) string
- func PlanDrives(value []*PlanDataAttributesSpecsDrivesItems0) string
- func PlanMemory(value PlanDataAttributesSpecsMemory) string
- func PlanNICs(value []*PlanDataAttributesSpecsNicsItems0) string
- type APIKey
- type APIKeyAttributes
- type APIKeyAttributesUser
- type APIKeys
- type BandwidthPackages
- type BandwidthPackagesAttributes
- func (m *BandwidthPackagesAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BandwidthPackagesAttributes) MarshalBinary() ([]byte, error)
- func (m *BandwidthPackagesAttributes) UnmarshalBinary(b []byte) error
- func (m *BandwidthPackagesAttributes) Validate(formats strfmt.Registry) error
- type BandwidthPackagesAttributesPackagesItems0
- func (m *BandwidthPackagesAttributesPackagesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BandwidthPackagesAttributesPackagesItems0) MarshalBinary() ([]byte, error)
- func (m *BandwidthPackagesAttributesPackagesItems0) UnmarshalBinary(b []byte) error
- func (m *BandwidthPackagesAttributesPackagesItems0) Validate(formats strfmt.Registry) error
- type BandwidthPackagesAttributesProject
- func (m *BandwidthPackagesAttributesProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BandwidthPackagesAttributesProject) MarshalBinary() ([]byte, error)
- func (m *BandwidthPackagesAttributesProject) UnmarshalBinary(b []byte) error
- func (m *BandwidthPackagesAttributesProject) Validate(formats strfmt.Registry) error
- type BandwidthPlan
- func (m *BandwidthPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BandwidthPlan) MarshalBinary() ([]byte, error)
- func (m *BandwidthPlan) TableRow() table.Row
- func (m *BandwidthPlan) UnmarshalBinary(b []byte) error
- func (m *BandwidthPlan) Validate(formats strfmt.Registry) error
- type BandwidthPlanAttributes
- func (m *BandwidthPlanAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BandwidthPlanAttributes) MarshalBinary() ([]byte, error)
- func (m *BandwidthPlanAttributes) UnmarshalBinary(b []byte) error
- func (m *BandwidthPlanAttributes) Validate(formats strfmt.Registry) error
- type BandwidthPlanAttributesPricing
- func (m *BandwidthPlanAttributesPricing) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BandwidthPlanAttributesPricing) MarshalBinary() ([]byte, error)
- func (m *BandwidthPlanAttributesPricing) UnmarshalBinary(b []byte) error
- func (m *BandwidthPlanAttributesPricing) Validate(formats strfmt.Registry) error
- type BandwidthPlanAttributesPricingBrl
- func (m *BandwidthPlanAttributesPricingBrl) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BandwidthPlanAttributesPricingBrl) MarshalBinary() ([]byte, error)
- func (m *BandwidthPlanAttributesPricingBrl) UnmarshalBinary(b []byte) error
- func (m *BandwidthPlanAttributesPricingBrl) Validate(formats strfmt.Registry) error
- type BandwidthPlanAttributesPricingUsd
- func (m *BandwidthPlanAttributesPricingUsd) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BandwidthPlanAttributesPricingUsd) MarshalBinary() ([]byte, error)
- func (m *BandwidthPlanAttributesPricingUsd) UnmarshalBinary(b []byte) error
- func (m *BandwidthPlanAttributesPricingUsd) Validate(formats strfmt.Registry) error
- type BandwidthPlans
- type BillingUsage
- type BillingUsageData
- type BillingUsageDataAttributes
- func (m *BillingUsageDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BillingUsageDataAttributes) MarshalBinary() ([]byte, error)
- func (m *BillingUsageDataAttributes) UnmarshalBinary(b []byte) error
- func (m *BillingUsageDataAttributes) Validate(formats strfmt.Registry) error
- type BillingUsageDataAttributesPeriod
- func (m *BillingUsageDataAttributesPeriod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BillingUsageDataAttributesPeriod) MarshalBinary() ([]byte, error)
- func (m *BillingUsageDataAttributesPeriod) UnmarshalBinary(b []byte) error
- func (m *BillingUsageDataAttributesPeriod) Validate(formats strfmt.Registry) error
- type BillingUsageDataAttributesProductsItems0
- func (m *BillingUsageDataAttributesProductsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BillingUsageDataAttributesProductsItems0) MarshalBinary() ([]byte, error)
- func (m *BillingUsageDataAttributesProductsItems0) UnmarshalBinary(b []byte) error
- func (m *BillingUsageDataAttributesProductsItems0) Validate(formats strfmt.Registry) error
- type BillingUsageDataAttributesProductsItems0Metadata
- func (m *BillingUsageDataAttributesProductsItems0Metadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BillingUsageDataAttributesProductsItems0Metadata) MarshalBinary() ([]byte, error)
- func (m *BillingUsageDataAttributesProductsItems0Metadata) UnmarshalBinary(b []byte) error
- func (m *BillingUsageDataAttributesProductsItems0Metadata) Validate(formats strfmt.Registry) error
- type BillingUsageDataAttributesProject
- func (m *BillingUsageDataAttributesProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BillingUsageDataAttributesProject) MarshalBinary() ([]byte, error)
- func (m *BillingUsageDataAttributesProject) UnmarshalBinary(b []byte) error
- func (m *BillingUsageDataAttributesProject) Validate(formats strfmt.Registry) error
- type CreateAPIKey
- type CreateAPIKeyData
- type CreateAPIKeyDataAttributes
- func (m *CreateAPIKeyDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateAPIKeyDataAttributes) MarshalBinary() ([]byte, error)
- func (m *CreateAPIKeyDataAttributes) UnmarshalBinary(b []byte) error
- func (m *CreateAPIKeyDataAttributes) Validate(formats strfmt.Registry) error
- type DeployConfig
- type DeployConfigData
- type DeployConfigDataAttributes
- func (m *DeployConfigDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeployConfigDataAttributes) MarshalBinary() ([]byte, error)
- func (m *DeployConfigDataAttributes) UnmarshalBinary(b []byte) error
- func (m *DeployConfigDataAttributes) Validate(formats strfmt.Registry) error
- type ErrorObject
- type ErrorObjectErrorsItems0
- func (m *ErrorObjectErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ErrorObjectErrorsItems0) MarshalBinary() ([]byte, error)
- func (m *ErrorObjectErrorsItems0) UnmarshalBinary(b []byte) error
- func (m *ErrorObjectErrorsItems0) Validate(formats strfmt.Registry) error
- type Events
- type EventsAttributes
- type EventsAttributesAuthor
- func (m *EventsAttributesAuthor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EventsAttributesAuthor) MarshalBinary() ([]byte, error)
- func (m *EventsAttributesAuthor) UnmarshalBinary(b []byte) error
- func (m *EventsAttributesAuthor) Validate(formats strfmt.Registry) error
- type EventsAttributesProject
- func (m *EventsAttributesProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EventsAttributesProject) MarshalBinary() ([]byte, error)
- func (m *EventsAttributesProject) UnmarshalBinary(b []byte) error
- func (m *EventsAttributesProject) Validate(formats strfmt.Registry) error
- type EventsAttributesTarget
- func (m *EventsAttributesTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EventsAttributesTarget) MarshalBinary() ([]byte, error)
- func (m *EventsAttributesTarget) UnmarshalBinary(b []byte) error
- func (m *EventsAttributesTarget) Validate(formats strfmt.Registry) error
- type EventsAttributesTeam
- type IPAddress
- type IPAddressAttributes
- type IPAddressAttributesAssignment
- func (m *IPAddressAttributesAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IPAddressAttributesAssignment) MarshalBinary() ([]byte, error)
- func (m *IPAddressAttributesAssignment) UnmarshalBinary(b []byte) error
- func (m *IPAddressAttributesAssignment) Validate(formats strfmt.Registry) error
- type IPAddressAttributesProject
- func (m *IPAddressAttributesProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IPAddressAttributesProject) MarshalBinary() ([]byte, error)
- func (m *IPAddressAttributesProject) UnmarshalBinary(b []byte) error
- func (m *IPAddressAttributesProject) Validate(formats strfmt.Registry) error
- type IPAddressAttributesRegion
- func (m *IPAddressAttributesRegion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IPAddressAttributesRegion) MarshalBinary() ([]byte, error)
- func (m *IPAddressAttributesRegion) UnmarshalBinary(b []byte) error
- func (m *IPAddressAttributesRegion) Validate(formats strfmt.Registry) error
- type IPAddressAttributesRegionLocation
- func (m *IPAddressAttributesRegionLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IPAddressAttributesRegionLocation) MarshalBinary() ([]byte, error)
- func (m *IPAddressAttributesRegionLocation) UnmarshalBinary(b []byte) error
- func (m *IPAddressAttributesRegionLocation) Validate(formats strfmt.Registry) error
- type IPAddresses
- type IpmiSession
- type IpmiSessionData
- type IpmiSessionDataAttributes
- func (m *IpmiSessionDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IpmiSessionDataAttributes) MarshalBinary() ([]byte, error)
- func (m *IpmiSessionDataAttributes) UnmarshalBinary(b []byte) error
- func (m *IpmiSessionDataAttributes) Validate(formats strfmt.Registry) error
- type LazySideload
- type LazySideloadMeta
- type Membership
- type MembershipData
- type MembershipDataAttributes
- func (m *MembershipDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MembershipDataAttributes) MarshalBinary() ([]byte, error)
- func (m *MembershipDataAttributes) UnmarshalBinary(b []byte) error
- func (m *MembershipDataAttributes) Validate(formats strfmt.Registry) error
- type OperatingSystems
- type OperatingSystemsAttributes
- func (m *OperatingSystemsAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OperatingSystemsAttributes) MarshalBinary() ([]byte, error)
- func (m *OperatingSystemsAttributes) UnmarshalBinary(b []byte) error
- func (m *OperatingSystemsAttributes) Validate(formats strfmt.Registry) error
- type OperatingSystemsAttributesFeatures
- func (m *OperatingSystemsAttributesFeatures) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OperatingSystemsAttributesFeatures) MarshalBinary() ([]byte, error)
- func (m *OperatingSystemsAttributesFeatures) UnmarshalBinary(b []byte) error
- func (m *OperatingSystemsAttributesFeatures) Validate(formats strfmt.Registry) error
- type OutOfBandConnection
- type OutOfBandConnectionData
- func (m *OutOfBandConnectionData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OutOfBandConnectionData) MarshalBinary() ([]byte, error)
- func (m *OutOfBandConnectionData) UnmarshalBinary(b []byte) error
- func (m *OutOfBandConnectionData) Validate(formats strfmt.Registry) error
- type OutOfBandConnectionDataAttributes
- func (m *OutOfBandConnectionDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OutOfBandConnectionDataAttributes) MarshalBinary() ([]byte, error)
- func (m *OutOfBandConnectionDataAttributes) UnmarshalBinary(b []byte) error
- func (m *OutOfBandConnectionDataAttributes) Validate(formats strfmt.Registry) error
- type OutOfBandConnectionDataAttributesCredentials
- func (m *OutOfBandConnectionDataAttributesCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OutOfBandConnectionDataAttributesCredentials) MarshalBinary() ([]byte, error)
- func (m *OutOfBandConnectionDataAttributesCredentials) UnmarshalBinary(b []byte) error
- func (m *OutOfBandConnectionDataAttributesCredentials) Validate(formats strfmt.Registry) error
- type OutOfBandConnectionDataAttributesSSHKey
- func (m *OutOfBandConnectionDataAttributesSSHKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OutOfBandConnectionDataAttributesSSHKey) MarshalBinary() ([]byte, error)
- func (m *OutOfBandConnectionDataAttributesSSHKey) UnmarshalBinary(b []byte) error
- func (m *OutOfBandConnectionDataAttributesSSHKey) Validate(formats strfmt.Registry) error
- type Plan
- type PlanData
- type PlanDataAttributes
- type PlanDataAttributesRegionsItems0
- func (m *PlanDataAttributesRegionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesRegionsItems0) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesRegionsItems0) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesRegionsItems0) Validate(formats strfmt.Registry) error
- type PlanDataAttributesRegionsItems0Locations
- func (m *PlanDataAttributesRegionsItems0Locations) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesRegionsItems0Locations) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesRegionsItems0Locations) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesRegionsItems0Locations) Validate(formats strfmt.Registry) error
- type PlanDataAttributesRegionsItems0Pricing
- func (m *PlanDataAttributesRegionsItems0Pricing) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesRegionsItems0Pricing) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesRegionsItems0Pricing) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesRegionsItems0Pricing) Validate(formats strfmt.Registry) error
- type PlanDataAttributesRegionsItems0PricingBRL
- func (m *PlanDataAttributesRegionsItems0PricingBRL) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesRegionsItems0PricingBRL) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesRegionsItems0PricingBRL) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesRegionsItems0PricingBRL) Validate(formats strfmt.Registry) error
- type PlanDataAttributesRegionsItems0PricingUSD
- func (m *PlanDataAttributesRegionsItems0PricingUSD) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesRegionsItems0PricingUSD) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesRegionsItems0PricingUSD) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesRegionsItems0PricingUSD) Validate(formats strfmt.Registry) error
- type PlanDataAttributesSpecs
- func (m *PlanDataAttributesSpecs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesSpecs) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesSpecs) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesSpecs) Validate(formats strfmt.Registry) error
- type PlanDataAttributesSpecsCPU
- func (m *PlanDataAttributesSpecsCPU) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesSpecsCPU) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesSpecsCPU) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesSpecsCPU) Validate(formats strfmt.Registry) error
- type PlanDataAttributesSpecsDrivesItems0
- func (m *PlanDataAttributesSpecsDrivesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesSpecsDrivesItems0) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesSpecsDrivesItems0) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesSpecsDrivesItems0) Validate(formats strfmt.Registry) error
- type PlanDataAttributesSpecsGpu
- func (m *PlanDataAttributesSpecsGpu) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesSpecsGpu) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesSpecsGpu) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesSpecsGpu) Validate(formats strfmt.Registry) error
- type PlanDataAttributesSpecsMemory
- func (m *PlanDataAttributesSpecsMemory) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesSpecsMemory) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesSpecsMemory) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesSpecsMemory) Validate(formats strfmt.Registry) error
- type PlanDataAttributesSpecsNicsItems0
- func (m *PlanDataAttributesSpecsNicsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDataAttributesSpecsNicsItems0) MarshalBinary() ([]byte, error)
- func (m *PlanDataAttributesSpecsNicsItems0) UnmarshalBinary(b []byte) error
- func (m *PlanDataAttributesSpecsNicsItems0) Validate(formats strfmt.Registry) error
- type PlanRegions
- type Project
- type ProjectAttributes
- type ProjectAttributesBilling
- func (m *ProjectAttributesBilling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectAttributesBilling) MarshalBinary() ([]byte, error)
- func (m *ProjectAttributesBilling) UnmarshalBinary(b []byte) error
- func (m *ProjectAttributesBilling) Validate(formats strfmt.Registry) error
- type ProjectAttributesStats
- func (m *ProjectAttributesStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectAttributesStats) MarshalBinary() ([]byte, error)
- func (m *ProjectAttributesStats) UnmarshalBinary(b []byte) error
- func (m *ProjectAttributesStats) Validate(formats strfmt.Registry) error
- type ProjectInclude
- type ProjectIncludeBilling
- type ProjectIncludeStats
- type Projects
- type Region
- type RegionData
- type RegionDataAttributes
- type RegionDataAttributesCountry
- func (m *RegionDataAttributesCountry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RegionDataAttributesCountry) MarshalBinary() ([]byte, error)
- func (m *RegionDataAttributesCountry) UnmarshalBinary(b []byte) error
- func (m *RegionDataAttributesCountry) Validate(formats strfmt.Registry) error
- type RegionResourceData
- type RegionResourceDataSite
- func (m *RegionResourceDataSite) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RegionResourceDataSite) MarshalBinary() ([]byte, error)
- func (m *RegionResourceDataSite) UnmarshalBinary(b []byte) error
- func (m *RegionResourceDataSite) Validate(formats strfmt.Registry) error
- type Regions
- type RegionsDataItems0
- type RegionsDataItems0Attributes
- func (m *RegionsDataItems0Attributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RegionsDataItems0Attributes) MarshalBinary() ([]byte, error)
- func (m *RegionsDataItems0Attributes) UnmarshalBinary(b []byte) error
- func (m *RegionsDataItems0Attributes) Validate(formats strfmt.Registry) error
- type RegionsDataItems0AttributesCountry
- func (m *RegionsDataItems0AttributesCountry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RegionsDataItems0AttributesCountry) MarshalBinary() ([]byte, error)
- func (m *RegionsDataItems0AttributesCountry) UnmarshalBinary(b []byte) error
- func (m *RegionsDataItems0AttributesCountry) Validate(formats strfmt.Registry) error
- type Role
- type RoleData
- type RoleDataAttributes
- type SSHKey
- type SSHKeyData
- type SSHKeyDataAttributes
- type Server
- type ServerAction
- type ServerActionData
- type ServerActionDataAttributes
- func (m *ServerActionDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerActionDataAttributes) MarshalBinary() ([]byte, error)
- func (m *ServerActionDataAttributes) UnmarshalBinary(b []byte) error
- func (m *ServerActionDataAttributes) Validate(formats strfmt.Registry) error
- type ServerData
- type ServerDataAttributes
- type ServerDataAttributesOperatingSystem
- func (m *ServerDataAttributesOperatingSystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerDataAttributesOperatingSystem) MarshalBinary() ([]byte, error)
- func (m *ServerDataAttributesOperatingSystem) UnmarshalBinary(b []byte) error
- func (m *ServerDataAttributesOperatingSystem) Validate(formats strfmt.Registry) error
- type ServerDataAttributesOperatingSystemDistro
- func (m *ServerDataAttributesOperatingSystemDistro) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerDataAttributesOperatingSystemDistro) MarshalBinary() ([]byte, error)
- func (m *ServerDataAttributesOperatingSystemDistro) UnmarshalBinary(b []byte) error
- func (m *ServerDataAttributesOperatingSystemDistro) Validate(formats strfmt.Registry) error
- type ServerDataAttributesOperatingSystemFeatures
- func (m *ServerDataAttributesOperatingSystemFeatures) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerDataAttributesOperatingSystemFeatures) MarshalBinary() ([]byte, error)
- func (m *ServerDataAttributesOperatingSystemFeatures) UnmarshalBinary(b []byte) error
- func (m *ServerDataAttributesOperatingSystemFeatures) Validate(formats strfmt.Registry) error
- type ServerDataAttributesPlan
- func (m *ServerDataAttributesPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerDataAttributesPlan) MarshalBinary() ([]byte, error)
- func (m *ServerDataAttributesPlan) UnmarshalBinary(b []byte) error
- func (m *ServerDataAttributesPlan) Validate(formats strfmt.Registry) error
- type ServerDataAttributesSpecs
- func (m *ServerDataAttributesSpecs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerDataAttributesSpecs) MarshalBinary() ([]byte, error)
- func (m *ServerDataAttributesSpecs) UnmarshalBinary(b []byte) error
- func (m *ServerDataAttributesSpecs) Validate(formats strfmt.Registry) error
- type ServerRescue
- type ServerScheduleDeletion
- func (m *ServerScheduleDeletion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerScheduleDeletion) MarshalBinary() ([]byte, error)
- func (m *ServerScheduleDeletion) UnmarshalBinary(b []byte) error
- func (m *ServerScheduleDeletion) Validate(formats strfmt.Registry) error
- type ServerScheduleDeletionData
- func (m *ServerScheduleDeletionData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerScheduleDeletionData) MarshalBinary() ([]byte, error)
- func (m *ServerScheduleDeletionData) TableRow() table.Row
- func (m *ServerScheduleDeletionData) UnmarshalBinary(b []byte) error
- func (m *ServerScheduleDeletionData) Validate(formats strfmt.Registry) error
- type ServerScheduleDeletionDataAttributes
- func (m *ServerScheduleDeletionDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerScheduleDeletionDataAttributes) MarshalBinary() ([]byte, error)
- func (m *ServerScheduleDeletionDataAttributes) UnmarshalBinary(b []byte) error
- func (m *ServerScheduleDeletionDataAttributes) Validate(formats strfmt.Registry) error
- type Servers
- type TagsIncude
- type Team
- type TeamAttributes
- type TeamAttributesBilling
- type TeamInclude
- type TeamMembers
- type TeamMembersDataItems0
- type TeamMembersDataItems0Role
- func (m *TeamMembersDataItems0Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TeamMembersDataItems0Role) MarshalBinary() ([]byte, error)
- func (m *TeamMembersDataItems0Role) UnmarshalBinary(b []byte) error
- func (m *TeamMembersDataItems0Role) Validate(formats strfmt.Registry) error
- type Teams
- type Traffic
- type TrafficData
- type TrafficDataAttributes
- type TrafficDataAttributesRegionsItems0
- func (m *TrafficDataAttributesRegionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TrafficDataAttributesRegionsItems0) MarshalBinary() ([]byte, error)
- func (m *TrafficDataAttributesRegionsItems0) UnmarshalBinary(b []byte) error
- func (m *TrafficDataAttributesRegionsItems0) Validate(formats strfmt.Registry) error
- type TrafficDataAttributesRegionsItems0DataItems0
- func (m *TrafficDataAttributesRegionsItems0DataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TrafficDataAttributesRegionsItems0DataItems0) MarshalBinary() ([]byte, error)
- func (m *TrafficDataAttributesRegionsItems0DataItems0) UnmarshalBinary(b []byte) error
- func (m *TrafficDataAttributesRegionsItems0DataItems0) Validate(formats strfmt.Registry) error
- type TrafficQuota
- type TrafficQuotaData
- type TrafficQuotaDataAttributes
- func (m *TrafficQuotaDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TrafficQuotaDataAttributes) MarshalBinary() ([]byte, error)
- func (m *TrafficQuotaDataAttributes) UnmarshalBinary(b []byte) error
- func (m *TrafficQuotaDataAttributes) Validate(formats strfmt.Registry) error
- type TrafficQuotaDataAttributesQuotaPerProjectItems0
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0) MarshalBinary() ([]byte, error)
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0) UnmarshalBinary(b []byte) error
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0) Validate(formats strfmt.Registry) error
- type TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) MarshalBinary() ([]byte, error)
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) UnmarshalBinary(b []byte) error
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) Validate(formats strfmt.Registry) error
- type TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) MarshalBinary() ([]byte, error)
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) UnmarshalBinary(b []byte) error
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) Validate(formats strfmt.Registry) error
- type TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) MarshalBinary() ([]byte, error)
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) UnmarshalBinary(b []byte) error
- func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) Validate(formats strfmt.Registry) error
- type UpdateAPIKey
- type UpdateAPIKeyData
- type UpdateAPIKeyDataAttributes
- func (m *UpdateAPIKeyDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateAPIKeyDataAttributes) MarshalBinary() ([]byte, error)
- func (m *UpdateAPIKeyDataAttributes) UnmarshalBinary(b []byte) error
- func (m *UpdateAPIKeyDataAttributes) Validate(formats strfmt.Registry) error
- type User
- type UserAttributes
- type UserAttributesRole
- type UserData
- type UserDataProperties
- type UserDataPropertiesAttributes
- func (m *UserDataPropertiesAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserDataPropertiesAttributes) MarshalBinary() ([]byte, error)
- func (m *UserDataPropertiesAttributes) UnmarshalBinary(b []byte) error
- func (m *UserDataPropertiesAttributes) Validate(formats strfmt.Registry) error
- type UserInclude
- type UserIncludeRole
- type UserTeam
- type UserTeamAttributes
- type UserTeamAttributesBilling
- func (m *UserTeamAttributesBilling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UserTeamAttributesBilling) MarshalBinary() ([]byte, error)
- func (m *UserTeamAttributesBilling) UnmarshalBinary(b []byte) error
- func (m *UserTeamAttributesBilling) Validate(formats strfmt.Registry) error
- type UserTeams
- type UserUpdate
- type UserUpdateAttributes
- type Users
- type VirtualNetwork
- func (m *VirtualNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VirtualNetwork) MarshalBinary() ([]byte, error)
- func (m *VirtualNetwork) TableRow() table.Row
- func (m *VirtualNetwork) UnmarshalBinary(b []byte) error
- func (m *VirtualNetwork) Validate(formats strfmt.Registry) error
- type VirtualNetworkAssignment
- func (m *VirtualNetworkAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VirtualNetworkAssignment) MarshalBinary() ([]byte, error)
- func (m *VirtualNetworkAssignment) TableRow() table.Row
- func (m *VirtualNetworkAssignment) UnmarshalBinary(b []byte) error
- func (m *VirtualNetworkAssignment) Validate(formats strfmt.Registry) error
- type VirtualNetworkAssignmentAttributes
- func (m *VirtualNetworkAssignmentAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VirtualNetworkAssignmentAttributes) MarshalBinary() ([]byte, error)
- func (m *VirtualNetworkAssignmentAttributes) UnmarshalBinary(b []byte) error
- func (m *VirtualNetworkAssignmentAttributes) Validate(formats strfmt.Registry) error
- type VirtualNetworkAssignmentPayload
- type VirtualNetworkAssignmentServer
- type VirtualNetworkAssignments
- func (m *VirtualNetworkAssignments) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VirtualNetworkAssignments) MarshalBinary() ([]byte, error)
- func (m *VirtualNetworkAssignments) UnmarshalBinary(b []byte) error
- func (m *VirtualNetworkAssignments) Validate(formats strfmt.Registry) error
- type VirtualNetworkAttributes
- func (m *VirtualNetworkAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VirtualNetworkAttributes) MarshalBinary() ([]byte, error)
- func (m *VirtualNetworkAttributes) UnmarshalBinary(b []byte) error
- func (m *VirtualNetworkAttributes) Validate(formats strfmt.Registry) error
- type VirtualNetworkAttributesRegion
- func (m *VirtualNetworkAttributesRegion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VirtualNetworkAttributesRegion) MarshalBinary() ([]byte, error)
- func (m *VirtualNetworkAttributesRegion) UnmarshalBinary(b []byte) error
- func (m *VirtualNetworkAttributesRegion) Validate(formats strfmt.Registry) error
- type VirtualNetworkAttributesRegionSite
- func (m *VirtualNetworkAttributesRegionSite) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VirtualNetworkAttributesRegionSite) MarshalBinary() ([]byte, error)
- func (m *VirtualNetworkAttributesRegionSite) UnmarshalBinary(b []byte) error
- func (m *VirtualNetworkAttributesRegionSite) Validate(formats strfmt.Registry) error
- type VirtualNetworks
- type VpnSessionDataWithPassword
- func (m *VpnSessionDataWithPassword) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VpnSessionDataWithPassword) MarshalBinary() ([]byte, error)
- func (m *VpnSessionDataWithPassword) UnmarshalBinary(b []byte) error
- func (m *VpnSessionDataWithPassword) Validate(formats strfmt.Registry) error
- type VpnSessionDataWithPasswordAttributes
- func (m *VpnSessionDataWithPasswordAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VpnSessionDataWithPasswordAttributes) MarshalBinary() ([]byte, error)
- func (m *VpnSessionDataWithPasswordAttributes) UnmarshalBinary(b []byte) error
- func (m *VpnSessionDataWithPasswordAttributes) Validate(formats strfmt.Registry) error
- type VpnSessionWithPassword
- func (m *VpnSessionWithPassword) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VpnSessionWithPassword) MarshalBinary() ([]byte, error)
- func (m *VpnSessionWithPassword) UnmarshalBinary(b []byte) error
- func (m *VpnSessionWithPassword) Validate(formats strfmt.Registry) error
- type VpnSessionWithoutPassword
- func (m *VpnSessionWithoutPassword) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VpnSessionWithoutPassword) MarshalBinary() ([]byte, error)
- func (m *VpnSessionWithoutPassword) UnmarshalBinary(b []byte) error
- func (m *VpnSessionWithoutPassword) Validate(formats strfmt.Registry) error
- type VpnSessionWithoutPasswordData
- func (m *VpnSessionWithoutPasswordData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VpnSessionWithoutPasswordData) MarshalBinary() ([]byte, error)
- func (m *VpnSessionWithoutPasswordData) UnmarshalBinary(b []byte) error
- func (m *VpnSessionWithoutPasswordData) Validate(formats strfmt.Registry) error
- type VpnSessionWithoutPasswordDataAttributes
- func (m *VpnSessionWithoutPasswordDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VpnSessionWithoutPasswordDataAttributes) MarshalBinary() ([]byte, error)
- func (m *VpnSessionWithoutPasswordDataAttributes) UnmarshalBinary(b []byte) error
- func (m *VpnSessionWithoutPasswordDataAttributes) Validate(formats strfmt.Registry) error
- type VpnSessionWithoutPasswordDataAttributesRegion
- func (m *VpnSessionWithoutPasswordDataAttributesRegion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VpnSessionWithoutPasswordDataAttributesRegion) MarshalBinary() ([]byte, error)
- func (m *VpnSessionWithoutPasswordDataAttributesRegion) UnmarshalBinary(b []byte) error
- func (m *VpnSessionWithoutPasswordDataAttributesRegion) Validate(formats strfmt.Registry) error
- type VpnSessionWithoutPasswordDataAttributesRegionSite
- func (m *VpnSessionWithoutPasswordDataAttributesRegionSite) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VpnSessionWithoutPasswordDataAttributesRegionSite) MarshalBinary() ([]byte, error)
- func (m *VpnSessionWithoutPasswordDataAttributesRegionSite) UnmarshalBinary(b []byte) error
- func (m *VpnSessionWithoutPasswordDataAttributesRegionSite) Validate(formats strfmt.Registry) error
Constants ¶
const ( // BillingUsageDataAttributesProductsItems0ResourceServers captures enum value "servers" BillingUsageDataAttributesProductsItems0ResourceServers string = "servers" // BillingUsageDataAttributesProductsItems0ResourceNetworking captures enum value "networking" BillingUsageDataAttributesProductsItems0ResourceNetworking string = "networking" // BillingUsageDataAttributesProductsItems0ResourceOthers captures enum value "others" BillingUsageDataAttributesProductsItems0ResourceOthers string = "others" )
const ( // BillingUsageDataAttributesProductsItems0UsageTypeLicensed captures enum value "licensed" BillingUsageDataAttributesProductsItems0UsageTypeLicensed string = "licensed" // BillingUsageDataAttributesProductsItems0UsageTypeMetered captures enum value "metered" BillingUsageDataAttributesProductsItems0UsageTypeMetered string = "metered" )
const ( // IPAddressAttributesFamilyIPV4 captures enum value "IPv4" IPAddressAttributesFamilyIPV4 string = "IPv4" // IPAddressAttributesFamilyIPV6 captures enum value "IPv6" IPAddressAttributesFamilyIPV6 string = "IPv6" )
const ( // IPAddressAttributesTypePublic captures enum value "Public" IPAddressAttributesTypePublic string = "Public" // IPAddressAttributesTypePrivate captures enum value "Private" IPAddressAttributesTypePrivate string = "Private" )
const ( // MembershipDataAttributesRoleOwner captures enum value "owner" MembershipDataAttributesRoleOwner string = "owner" // MembershipDataAttributesRoleAdministrator captures enum value "administrator" MembershipDataAttributesRoleAdministrator string = "administrator" // MembershipDataAttributesRoleCollaborator captures enum value "collaborator" MembershipDataAttributesRoleCollaborator string = "collaborator" // MembershipDataAttributesRoleBilling captures enum value "billing" MembershipDataAttributesRoleBilling string = "billing" )
const ( // PlanDataAttributesSpecsDrivesItems0TypeSSD captures enum value "SSD" PlanDataAttributesSpecsDrivesItems0TypeSSD string = "SSD" // PlanDataAttributesSpecsDrivesItems0TypeHDD captures enum value "HDD" PlanDataAttributesSpecsDrivesItems0TypeHDD string = "HDD" )
const ( // ProjectAttributesBillingMethodNormal captures enum value "Normal" ProjectAttributesBillingMethodNormal string = "Normal" // ProjectAttributesBillingMethodNr95thPercentile captures enum value "95th percentile" ProjectAttributesBillingMethodNr95thPercentile string = "95th percentile" )
const ( // ProjectAttributesBillingTypeYearly captures enum value "Yearly" ProjectAttributesBillingTypeYearly string = "Yearly" // ProjectAttributesBillingTypeMonthly captures enum value "Monthly" ProjectAttributesBillingTypeMonthly string = "Monthly" // ProjectAttributesBillingTypeHourly captures enum value "Hourly" ProjectAttributesBillingTypeHourly string = "Hourly" // ProjectAttributesBillingTypeNormal captures enum value "Normal" ProjectAttributesBillingTypeNormal string = "Normal" )
const ( // ProjectAttributesEnvironmentDevelopment captures enum value "Development" ProjectAttributesEnvironmentDevelopment string = "Development" // ProjectAttributesEnvironmentStaging captures enum value "Staging" ProjectAttributesEnvironmentStaging string = "Staging" // ProjectAttributesEnvironmentProduction captures enum value "Production" ProjectAttributesEnvironmentProduction string = "Production" )
const ( ServerDataAttributesIpmiStatusUnavailable string = "Unavailable" // ServerDataAttributesIpmiStatusIntermittent captures enum value "Intermittent" ServerDataAttributesIpmiStatusIntermittent string = "Intermittent" // ServerDataAttributesIpmiStatusNormal captures enum value "Normal" ServerDataAttributesIpmiStatusNormal string = "Normal" )
const ( // ServerDataAttributesStatusOn captures enum value "on" ServerDataAttributesStatusOn string = "on" // ServerDataAttributesStatusOff captures enum value "off" ServerDataAttributesStatusOff string = "off" // ServerDataAttributesStatusUnknown captures enum value "unknown" ServerDataAttributesStatusUnknown string = "unknown" // ServerDataAttributesStatusReady captures enum value "ready" ServerDataAttributesStatusReady string = "ready" // ServerDataAttributesStatusDiskErasing captures enum value "disk_erasing" ServerDataAttributesStatusDiskErasing string = "disk_erasing" // ServerDataAttributesStatusFailedDiskErasing captures enum value "failed_disk_erasing" ServerDataAttributesStatusFailedDiskErasing string = "failed_disk_erasing" // ServerDataAttributesStatusDeploying captures enum value "deploying" ServerDataAttributesStatusDeploying string = "deploying" // ServerDataAttributesStatusFailedDeployment captures enum value "failed_deployment" ServerDataAttributesStatusFailedDeployment string = "failed_deployment" )
const ( // VpnSessionDataWithPasswordAttributesStatusEnable captures enum value "enable" VpnSessionDataWithPasswordAttributesStatusEnable string = "enable" // VpnSessionDataWithPasswordAttributesStatusDisable captures enum value "disable" VpnSessionDataWithPasswordAttributesStatusDisable string = "disable" )
const ( // VpnSessionWithoutPasswordDataAttributesStatusEnable captures enum value "enable" VpnSessionWithoutPasswordDataAttributesStatusEnable string = "enable" // VpnSessionWithoutPasswordDataAttributesStatusDisable captures enum value "disable" VpnSessionWithoutPasswordDataAttributesStatusDisable string = "disable" )
const ( // BandwidthPackagesTypeBandwidthPackages captures enum value "bandwidth_packages" BandwidthPackagesTypeBandwidthPackages string = "bandwidth_packages" )
const ( // BandwidthPlanTypeBandwidthPlan captures enum value "bandwidth_plan" BandwidthPlanTypeBandwidthPlan string = "bandwidth_plan" )
const ( // CreateAPIKeyDataTypeAPIKeys captures enum value "api_keys" CreateAPIKeyDataTypeAPIKeys string = "api_keys" )
const ( // IpmiSessionDataTypeIpmiSessions captures enum value "ipmi_sessions" IpmiSessionDataTypeIpmiSessions string = "ipmi_sessions" )
const ( // PlanDataTypePlans captures enum value "plans" PlanDataTypePlans string = "plans" )
const ( // RoleDataTypeRoles captures enum value "roles" RoleDataTypeRoles string = "roles" )
const ( // SSHKeyDataTypeSSHKeys captures enum value "ssh_keys" SSHKeyDataTypeSSHKeys string = "ssh_keys" )
const ( // ServerActionDataTypeActions captures enum value "actions" ServerActionDataTypeActions string = "actions" )
const ( // ServerScheduleDeletionDataTypeScheduleDeletion captures enum value "schedule_deletion" ServerScheduleDeletionDataTypeScheduleDeletion string = "schedule_deletion" )
const ( // TrafficDataTypeTraffic captures enum value "traffic" TrafficDataTypeTraffic string = "traffic" )
const ( // TrafficQuotaDataTypeTrafficQuota captures enum value "traffic_quota" TrafficQuotaDataTypeTrafficQuota string = "traffic_quota" )
const ( // UpdateAPIKeyDataTypeAPIKeys captures enum value "api_keys" UpdateAPIKeyDataTypeAPIKeys string = "api_keys" )
const ( // UserDataPropertiesTypeUserData captures enum value "user_data" UserDataPropertiesTypeUserData string = "user_data" )
const ( // VirtualNetworkTypeVirtualNetworks captures enum value "virtual_networks" VirtualNetworkTypeVirtualNetworks string = "virtual_networks" )
const ( // VpnSessionDataWithPasswordTypeVpnSessions captures enum value "vpn_sessions" VpnSessionDataWithPasswordTypeVpnSessions string = "vpn_sessions" )
const ( // VpnSessionWithoutPasswordDataTypeVpnSessions captures enum value "vpn_sessions" VpnSessionWithoutPasswordDataTypeVpnSessions string = "vpn_sessions" )
Variables ¶
This section is empty.
Functions ¶
func PlanCPU ¶
func PlanCPU(value PlanDataAttributesSpecsCPU) string
func PlanDrives ¶
func PlanDrives(value []*PlanDataAttributesSpecsDrivesItems0) string
func PlanMemory ¶
func PlanMemory(value PlanDataAttributesSpecsMemory) string
func PlanNICs ¶
func PlanNICs(value []*PlanDataAttributesSpecsNicsItems0) string
Types ¶
type APIKey ¶
type APIKey struct {
// attributes
Attributes *APIKeyAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
APIKey api key
swagger:model api_key
func (*APIKey) ContextValidate ¶
ContextValidate validate this api key based on the context it is used
func (*APIKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type APIKeyAttributes ¶
type APIKeyAttributes struct {
// The API version associated with this API Key
APIVersion string `json:"api_version,omitempty"`
// The time when the API Key was created
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at,omitempty"`
// The last time a request was made to the API using this API Key
// Format: date-time
LastUsedAt *strfmt.DateTime `json:"last_used_at,omitempty"`
// Name of the API Key
Name string `json:"name,omitempty"`
// The last 5 characters of the token created for this API Key
TokenLastSlice string `json:"token_last_slice,omitempty"`
// The time when the API Key was updated
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
// user
User *APIKeyAttributesUser `json:"user,omitempty"`
}
APIKeyAttributes API key attributes
swagger:model APIKeyAttributes
func (*APIKeyAttributes) ContextValidate ¶
ContextValidate validate this API key attributes based on the context it is used
func (*APIKeyAttributes) MarshalBinary ¶
func (m *APIKeyAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIKeyAttributes) UnmarshalBinary ¶
func (m *APIKeyAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type APIKeyAttributesUser ¶
type APIKeyAttributesUser struct {
// email
Email string `json:"email,omitempty"`
// id
ID string `json:"id,omitempty"`
}
APIKeyAttributesUser The owner of the API Key
swagger:model APIKeyAttributesUser
func (*APIKeyAttributesUser) ContextValidate ¶
ContextValidate validates this API key attributes user based on context it is used
func (*APIKeyAttributesUser) MarshalBinary ¶
func (m *APIKeyAttributesUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIKeyAttributesUser) UnmarshalBinary ¶
func (m *APIKeyAttributesUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPackages ¶
type BandwidthPackages struct {
// attributes
Attributes *BandwidthPackagesAttributes `json:"attributes,omitempty"`
// type
// Enum: [bandwidth_packages]
Type string `json:"type,omitempty"`
}
BandwidthPackages bandwidth packages
swagger:model bandwidth_packages
func (*BandwidthPackages) ContextValidate ¶
ContextValidate validate this bandwidth packages based on the context it is used
func (*BandwidthPackages) MarshalBinary ¶
func (m *BandwidthPackages) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPackages) UnmarshalBinary ¶
func (m *BandwidthPackages) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPackagesAttributes ¶
type BandwidthPackagesAttributes struct {
// packages
Packages []*BandwidthPackagesAttributesPackagesItems0 `json:"packages"`
// project
Project *BandwidthPackagesAttributesProject `json:"project,omitempty"`
}
BandwidthPackagesAttributes bandwidth packages attributes
swagger:model BandwidthPackagesAttributes
func (*BandwidthPackagesAttributes) ContextValidate ¶
func (m *BandwidthPackagesAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bandwidth packages attributes based on the context it is used
func (*BandwidthPackagesAttributes) MarshalBinary ¶
func (m *BandwidthPackagesAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPackagesAttributes) UnmarshalBinary ¶
func (m *BandwidthPackagesAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPackagesAttributesPackagesItems0 ¶
type BandwidthPackagesAttributesPackagesItems0 struct {
// contracted
Contracted int64 `json:"contracted,omitempty"`
// currency
Currency string `json:"currency,omitempty"`
// region slug
RegionSlug string `json:"region_slug,omitempty"`
// total price
TotalPrice float64 `json:"total_price,omitempty"`
// unit price
UnitPrice float64 `json:"unit_price,omitempty"`
}
BandwidthPackagesAttributesPackagesItems0 bandwidth packages attributes packages items0
swagger:model BandwidthPackagesAttributesPackagesItems0
func (*BandwidthPackagesAttributesPackagesItems0) ContextValidate ¶
func (m *BandwidthPackagesAttributesPackagesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bandwidth packages attributes packages items0 based on context it is used
func (*BandwidthPackagesAttributesPackagesItems0) MarshalBinary ¶
func (m *BandwidthPackagesAttributesPackagesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPackagesAttributesPackagesItems0) UnmarshalBinary ¶
func (m *BandwidthPackagesAttributesPackagesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPackagesAttributesProject ¶
type BandwidthPackagesAttributesProject struct {
// id
ID int64 `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
BandwidthPackagesAttributesProject bandwidth packages attributes project
swagger:model BandwidthPackagesAttributesProject
func (*BandwidthPackagesAttributesProject) ContextValidate ¶
func (m *BandwidthPackagesAttributesProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bandwidth packages attributes project based on context it is used
func (*BandwidthPackagesAttributesProject) MarshalBinary ¶
func (m *BandwidthPackagesAttributesProject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPackagesAttributesProject) UnmarshalBinary ¶
func (m *BandwidthPackagesAttributesProject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPlan ¶
type BandwidthPlan struct {
// attributes
Attributes *BandwidthPlanAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [bandwidth_plan]
Type string `json:"type,omitempty"`
}
BandwidthPlan bandwidth plan
swagger:model bandwidth_plan
func (*BandwidthPlan) ContextValidate ¶
ContextValidate validate this bandwidth plan based on the context it is used
func (*BandwidthPlan) MarshalBinary ¶
func (m *BandwidthPlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPlan) TableRow ¶
func (m *BandwidthPlan) TableRow() table.Row
func (*BandwidthPlan) UnmarshalBinary ¶
func (m *BandwidthPlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPlanAttributes ¶
type BandwidthPlanAttributes struct {
// locations
Locations []string `json:"locations"`
// pricing
Pricing *BandwidthPlanAttributesPricing `json:"pricing,omitempty"`
// region
Region string `json:"region,omitempty"`
}
BandwidthPlanAttributes bandwidth plan attributes
swagger:model BandwidthPlanAttributes
func (*BandwidthPlanAttributes) ContextValidate ¶
func (m *BandwidthPlanAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bandwidth plan attributes based on the context it is used
func (*BandwidthPlanAttributes) MarshalBinary ¶
func (m *BandwidthPlanAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPlanAttributes) UnmarshalBinary ¶
func (m *BandwidthPlanAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPlanAttributesPricing ¶
type BandwidthPlanAttributesPricing struct {
// brl
Brl *BandwidthPlanAttributesPricingBrl `json:"brl,omitempty"`
// usd
Usd *BandwidthPlanAttributesPricingUsd `json:"usd,omitempty"`
}
BandwidthPlanAttributesPricing bandwidth plan attributes pricing
swagger:model BandwidthPlanAttributesPricing
func (*BandwidthPlanAttributesPricing) ContextValidate ¶
func (m *BandwidthPlanAttributesPricing) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bandwidth plan attributes pricing based on the context it is used
func (*BandwidthPlanAttributesPricing) MarshalBinary ¶
func (m *BandwidthPlanAttributesPricing) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPlanAttributesPricing) UnmarshalBinary ¶
func (m *BandwidthPlanAttributesPricing) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPlanAttributesPricingBrl ¶
type BandwidthPlanAttributesPricingBrl struct {
// hourly
Hourly int64 `json:"hourly,omitempty"`
// monthly
Monthly int64 `json:"monthly,omitempty"`
}
BandwidthPlanAttributesPricingBrl bandwidth plan attributes pricing brl
swagger:model BandwidthPlanAttributesPricingBrl
func (*BandwidthPlanAttributesPricingBrl) ContextValidate ¶
func (m *BandwidthPlanAttributesPricingBrl) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bandwidth plan attributes pricing brl based on context it is used
func (*BandwidthPlanAttributesPricingBrl) MarshalBinary ¶
func (m *BandwidthPlanAttributesPricingBrl) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPlanAttributesPricingBrl) UnmarshalBinary ¶
func (m *BandwidthPlanAttributesPricingBrl) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPlanAttributesPricingUsd ¶
type BandwidthPlanAttributesPricingUsd struct {
// hourly
Hourly int64 `json:"hourly,omitempty"`
// monthly
Monthly int64 `json:"monthly,omitempty"`
}
BandwidthPlanAttributesPricingUsd bandwidth plan attributes pricing usd
swagger:model BandwidthPlanAttributesPricingUsd
func (*BandwidthPlanAttributesPricingUsd) ContextValidate ¶
func (m *BandwidthPlanAttributesPricingUsd) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bandwidth plan attributes pricing usd based on context it is used
func (*BandwidthPlanAttributesPricingUsd) MarshalBinary ¶
func (m *BandwidthPlanAttributesPricingUsd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPlanAttributesPricingUsd) UnmarshalBinary ¶
func (m *BandwidthPlanAttributesPricingUsd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthPlans ¶
type BandwidthPlans struct {
// data
Data []*BandwidthPlan `json:"data"`
}
BandwidthPlans bandwidth plans
swagger:model bandwidth_plans
func (*BandwidthPlans) ContextValidate ¶
ContextValidate validate this bandwidth plans based on the context it is used
func (*BandwidthPlans) MarshalBinary ¶
func (m *BandwidthPlans) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthPlans) UnmarshalBinary ¶
func (m *BandwidthPlans) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingUsage ¶
type BillingUsage struct {
// data
Data *BillingUsageData `json:"data,omitempty"`
}
BillingUsage billing usage
swagger:model billing_usage
func (*BillingUsage) ContextValidate ¶
ContextValidate validate this billing usage based on the context it is used
func (*BillingUsage) MarshalBinary ¶
func (m *BillingUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingUsage) UnmarshalBinary ¶
func (m *BillingUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingUsageData ¶
type BillingUsageData struct {
// attributes
Attributes *BillingUsageDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
BillingUsageData billing usage data
swagger:model BillingUsageData
func (*BillingUsageData) ContextValidate ¶
ContextValidate validate this billing usage data based on the context it is used
func (*BillingUsageData) MarshalBinary ¶
func (m *BillingUsageData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingUsageData) UnmarshalBinary ¶
func (m *BillingUsageData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingUsageDataAttributes ¶
type BillingUsageDataAttributes struct {
// period
Period *BillingUsageDataAttributesPeriod `json:"period,omitempty"`
// The total usage price in cents
Price float64 `json:"price,omitempty"`
// products
Products []*BillingUsageDataAttributesProductsItems0 `json:"products"`
// project
Project *BillingUsageDataAttributesProject `json:"project,omitempty"`
}
BillingUsageDataAttributes billing usage data attributes
swagger:model BillingUsageDataAttributes
func (*BillingUsageDataAttributes) ContextValidate ¶
func (m *BillingUsageDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing usage data attributes based on the context it is used
func (*BillingUsageDataAttributes) MarshalBinary ¶
func (m *BillingUsageDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingUsageDataAttributes) UnmarshalBinary ¶
func (m *BillingUsageDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingUsageDataAttributesPeriod ¶
type BillingUsageDataAttributesPeriod struct {
// end
// Format: date-time
End strfmt.DateTime `json:"end,omitempty"`
// start
// Format: date-time
Start strfmt.DateTime `json:"start,omitempty"`
}
BillingUsageDataAttributesPeriod The period from the returned billing cycle
swagger:model BillingUsageDataAttributesPeriod
func (*BillingUsageDataAttributesPeriod) ContextValidate ¶
func (m *BillingUsageDataAttributesPeriod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing usage data attributes period based on context it is used
func (*BillingUsageDataAttributesPeriod) MarshalBinary ¶
func (m *BillingUsageDataAttributesPeriod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingUsageDataAttributesPeriod) UnmarshalBinary ¶
func (m *BillingUsageDataAttributesPeriod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingUsageDataAttributesProductsItems0 ¶
type BillingUsageDataAttributesProductsItems0 struct {
// end
// Format: date-time
End *strfmt.DateTime `json:"end,omitempty"`
// id
ID string `json:"id,omitempty"`
// metadata
Metadata *BillingUsageDataAttributesProductsItems0Metadata `json:"metadata,omitempty"`
// name
Name string `json:"name,omitempty"`
// The total usage price of the product in cents
Price float64 `json:"price,omitempty"`
// quantity
Quantity float64 `json:"quantity,omitempty"`
// resource
// Enum: [servers networking others]
Resource string `json:"resource,omitempty"`
// start
// Format: date-time
Start strfmt.DateTime `json:"start,omitempty"`
// The unit price of the product in cents
UnitPrice float64 `json:"unit_price,omitempty"`
// usage type
// Enum: [licensed metered]
UsageType string `json:"usage_type,omitempty"`
}
BillingUsageDataAttributesProductsItems0 billing usage data attributes products items0
swagger:model BillingUsageDataAttributesProductsItems0
func (*BillingUsageDataAttributesProductsItems0) ContextValidate ¶
func (m *BillingUsageDataAttributesProductsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing usage data attributes products items0 based on the context it is used
func (*BillingUsageDataAttributesProductsItems0) MarshalBinary ¶
func (m *BillingUsageDataAttributesProductsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingUsageDataAttributesProductsItems0) UnmarshalBinary ¶
func (m *BillingUsageDataAttributesProductsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingUsageDataAttributesProductsItems0Metadata ¶
type BillingUsageDataAttributesProductsItems0Metadata struct {
// hostname
Hostname *string `json:"hostname,omitempty"`
// id
ID *string `json:"id,omitempty"`
// plan
Plan *string `json:"plan,omitempty"`
}
BillingUsageDataAttributesProductsItems0Metadata billing usage data attributes products items0 metadata
swagger:model BillingUsageDataAttributesProductsItems0Metadata
func (*BillingUsageDataAttributesProductsItems0Metadata) ContextValidate ¶
func (m *BillingUsageDataAttributesProductsItems0Metadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing usage data attributes products items0 metadata based on context it is used
func (*BillingUsageDataAttributesProductsItems0Metadata) MarshalBinary ¶
func (m *BillingUsageDataAttributesProductsItems0Metadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingUsageDataAttributesProductsItems0Metadata) UnmarshalBinary ¶
func (m *BillingUsageDataAttributesProductsItems0Metadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingUsageDataAttributesProject ¶
type BillingUsageDataAttributesProject struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
BillingUsageDataAttributesProject The project in which the returned usage belongs to
swagger:model BillingUsageDataAttributesProject
func (*BillingUsageDataAttributesProject) ContextValidate ¶
func (m *BillingUsageDataAttributesProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing usage data attributes project based on context it is used
func (*BillingUsageDataAttributesProject) MarshalBinary ¶
func (m *BillingUsageDataAttributesProject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingUsageDataAttributesProject) UnmarshalBinary ¶
func (m *BillingUsageDataAttributesProject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAPIKey ¶
type CreateAPIKey struct {
// data
Data *CreateAPIKeyData `json:"data,omitempty"`
}
CreateAPIKey create api key
swagger:model create_api_key
func (*CreateAPIKey) ContextValidate ¶
ContextValidate validate this create api key based on the context it is used
func (*CreateAPIKey) MarshalBinary ¶
func (m *CreateAPIKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAPIKey) UnmarshalBinary ¶
func (m *CreateAPIKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAPIKeyData ¶
type CreateAPIKeyData struct {
// attributes
Attributes *CreateAPIKeyDataAttributes `json:"attributes,omitempty"`
// type
// Required: true
// Enum: [api_keys]
Type *string `json:"type"`
}
CreateAPIKeyData create API key data
swagger:model CreateAPIKeyData
func (*CreateAPIKeyData) ContextValidate ¶
ContextValidate validate this create API key data based on the context it is used
func (*CreateAPIKeyData) MarshalBinary ¶
func (m *CreateAPIKeyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAPIKeyData) UnmarshalBinary ¶
func (m *CreateAPIKeyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAPIKeyDataAttributes ¶
type CreateAPIKeyDataAttributes struct {
// The API version to use
APIVersion string `json:"api_version,omitempty"`
// Name of the API Key
// Required: true
Name string `json:"name"`
}
CreateAPIKeyDataAttributes create API key data attributes
swagger:model CreateAPIKeyDataAttributes
func (*CreateAPIKeyDataAttributes) ContextValidate ¶
func (m *CreateAPIKeyDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create API key data attributes based on context it is used
func (*CreateAPIKeyDataAttributes) MarshalBinary ¶
func (m *CreateAPIKeyDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAPIKeyDataAttributes) UnmarshalBinary ¶
func (m *CreateAPIKeyDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployConfig ¶
type DeployConfig struct {
// data
Data *DeployConfigData `json:"data,omitempty"`
}
DeployConfig deploy config
swagger:model deploy_config
func (*DeployConfig) ContextValidate ¶
ContextValidate validate this deploy config based on the context it is used
func (*DeployConfig) MarshalBinary ¶
func (m *DeployConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployConfig) UnmarshalBinary ¶
func (m *DeployConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployConfigData ¶
type DeployConfigData struct {
// attributes
Attributes *DeployConfigDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
DeployConfigData deploy config data
swagger:model DeployConfigData
func (*DeployConfigData) ContextValidate ¶
ContextValidate validate this deploy config data based on the context it is used
func (*DeployConfigData) MarshalBinary ¶
func (m *DeployConfigData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployConfigData) UnmarshalBinary ¶
func (m *DeployConfigData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployConfigDataAttributes ¶
type DeployConfigDataAttributes struct {
// hostname
Hostname string `json:"hostname,omitempty"`
// operating system
OperatingSystem string `json:"operating_system,omitempty"`
// raid
Raid string `json:"raid,omitempty"`
// ssh keys
SSHKeys []int64 `json:"ssh_keys"`
}
DeployConfigDataAttributes deploy config data attributes
swagger:model DeployConfigDataAttributes
func (*DeployConfigDataAttributes) ContextValidate ¶
func (m *DeployConfigDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this deploy config data attributes based on context it is used
func (*DeployConfigDataAttributes) MarshalBinary ¶
func (m *DeployConfigDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployConfigDataAttributes) UnmarshalBinary ¶
func (m *DeployConfigDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorObject ¶
type ErrorObject struct {
// errors
Errors []*ErrorObjectErrorsItems0 `json:"errors"`
}
ErrorObject error object
swagger:model error_object
func (*ErrorObject) ContextValidate ¶
ContextValidate validate this error object based on the context it is used
func (*ErrorObject) MarshalBinary ¶
func (m *ErrorObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorObject) UnmarshalBinary ¶
func (m *ErrorObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorObjectErrorsItems0 ¶
type ErrorObjectErrorsItems0 struct {
// code
Code *string `json:"code,omitempty"`
// detail
Detail string `json:"detail,omitempty"`
// meta
Meta interface{} `json:"meta,omitempty"`
// status
Status string `json:"status,omitempty"`
// title
Title string `json:"title,omitempty"`
}
ErrorObjectErrorsItems0 error object errors items0
swagger:model ErrorObjectErrorsItems0
func (*ErrorObjectErrorsItems0) ContextValidate ¶
func (m *ErrorObjectErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this error object errors items0 based on context it is used
func (*ErrorObjectErrorsItems0) MarshalBinary ¶
func (m *ErrorObjectErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorObjectErrorsItems0) UnmarshalBinary ¶
func (m *ErrorObjectErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Events ¶
type Events struct {
// attributes
Attributes *EventsAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
Events events
swagger:model events
func (*Events) ContextValidate ¶
ContextValidate validate this events based on the context it is used
func (*Events) MarshalBinary ¶
MarshalBinary interface implementation
func (*Events) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EventsAttributes ¶
type EventsAttributes struct {
// action
Action string `json:"action,omitempty"`
// author
Author *EventsAttributesAuthor `json:"author,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// project
Project *EventsAttributesProject `json:"project,omitempty"`
// target
Target *EventsAttributesTarget `json:"target,omitempty"`
// team
Team *EventsAttributesTeam `json:"team,omitempty"`
}
EventsAttributes events attributes
swagger:model EventsAttributes
func (*EventsAttributes) ContextValidate ¶
ContextValidate validate this events attributes based on the context it is used
func (*EventsAttributes) MarshalBinary ¶
func (m *EventsAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventsAttributes) UnmarshalBinary ¶
func (m *EventsAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventsAttributesAuthor ¶
type EventsAttributesAuthor struct {
// email
Email string `json:"email,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
}
EventsAttributesAuthor events attributes author
swagger:model EventsAttributesAuthor
func (*EventsAttributesAuthor) ContextValidate ¶
func (m *EventsAttributesAuthor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this events attributes author based on context it is used
func (*EventsAttributesAuthor) MarshalBinary ¶
func (m *EventsAttributesAuthor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventsAttributesAuthor) UnmarshalBinary ¶
func (m *EventsAttributesAuthor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventsAttributesProject ¶
type EventsAttributesProject struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
EventsAttributesProject events attributes project
swagger:model EventsAttributesProject
func (*EventsAttributesProject) ContextValidate ¶
func (m *EventsAttributesProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this events attributes project based on context it is used
func (*EventsAttributesProject) MarshalBinary ¶
func (m *EventsAttributesProject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventsAttributesProject) UnmarshalBinary ¶
func (m *EventsAttributesProject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventsAttributesTarget ¶
type EventsAttributesTarget struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
}
EventsAttributesTarget events attributes target
swagger:model EventsAttributesTarget
func (*EventsAttributesTarget) ContextValidate ¶
func (m *EventsAttributesTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this events attributes target based on context it is used
func (*EventsAttributesTarget) MarshalBinary ¶
func (m *EventsAttributesTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventsAttributesTarget) UnmarshalBinary ¶
func (m *EventsAttributesTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventsAttributesTeam ¶
type EventsAttributesTeam struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
}
EventsAttributesTeam events attributes team
swagger:model EventsAttributesTeam
func (*EventsAttributesTeam) ContextValidate ¶
ContextValidate validates this events attributes team based on context it is used
func (*EventsAttributesTeam) MarshalBinary ¶
func (m *EventsAttributesTeam) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventsAttributesTeam) UnmarshalBinary ¶
func (m *EventsAttributesTeam) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPAddress ¶
type IPAddress struct {
// attributes
Attributes *IPAddressAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
IPAddress ip address
swagger:model ip_address
func (*IPAddress) ContextValidate ¶
ContextValidate validate this ip address based on the context it is used
func (*IPAddress) MarshalBinary ¶
MarshalBinary interface implementation
func (*IPAddress) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IPAddressAttributes ¶
type IPAddressAttributes struct {
// address
Address string `json:"address,omitempty"`
// assignment
Assignment *IPAddressAttributesAssignment `json:"assignment,omitempty"`
// available
Available bool `json:"available,omitempty"`
// cidr
Cidr *string `json:"cidr,omitempty"`
// family
// Enum: [IPv4 IPv6]
Family string `json:"family,omitempty"`
// gateway
Gateway *string `json:"gateway,omitempty"`
// management
Management bool `json:"management,omitempty"`
// netmask
Netmask string `json:"netmask,omitempty"`
// project
Project *IPAddressAttributesProject `json:"project,omitempty"`
// public
Public bool `json:"public,omitempty"`
// region
Region *IPAddressAttributesRegion `json:"region,omitempty"`
// type
// Enum: [Public Private]
Type string `json:"type,omitempty"`
}
IPAddressAttributes IP address attributes
swagger:model IPAddressAttributes
func (*IPAddressAttributes) ContextValidate ¶
ContextValidate validate this IP address attributes based on the context it is used
func (*IPAddressAttributes) MarshalBinary ¶
func (m *IPAddressAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAddressAttributes) UnmarshalBinary ¶
func (m *IPAddressAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPAddressAttributesAssignment ¶
type IPAddressAttributesAssignment struct {
// assigned at
AssignedAt string `json:"assigned_at,omitempty"`
// hostname
Hostname string `json:"hostname,omitempty"`
// server id
ServerID string `json:"server_id,omitempty"`
}
IPAddressAttributesAssignment IP address attributes assignment
swagger:model IPAddressAttributesAssignment
func (*IPAddressAttributesAssignment) ContextValidate ¶
func (m *IPAddressAttributesAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this IP address attributes assignment based on context it is used
func (*IPAddressAttributesAssignment) MarshalBinary ¶
func (m *IPAddressAttributesAssignment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAddressAttributesAssignment) UnmarshalBinary ¶
func (m *IPAddressAttributesAssignment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPAddressAttributesProject ¶
type IPAddressAttributesProject struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
}
IPAddressAttributesProject IP address attributes project
swagger:model IPAddressAttributesProject
func (*IPAddressAttributesProject) ContextValidate ¶
func (m *IPAddressAttributesProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this IP address attributes project based on context it is used
func (*IPAddressAttributesProject) MarshalBinary ¶
func (m *IPAddressAttributesProject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAddressAttributesProject) UnmarshalBinary ¶
func (m *IPAddressAttributesProject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPAddressAttributesRegion ¶
type IPAddressAttributesRegion struct {
// id
ID string `json:"id,omitempty"`
// location
Location *IPAddressAttributesRegionLocation `json:"location,omitempty"`
// name
Name string `json:"name,omitempty"`
}
IPAddressAttributesRegion IP address attributes region
swagger:model IPAddressAttributesRegion
func (*IPAddressAttributesRegion) ContextValidate ¶
func (m *IPAddressAttributesRegion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this IP address attributes region based on the context it is used
func (*IPAddressAttributesRegion) MarshalBinary ¶
func (m *IPAddressAttributesRegion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAddressAttributesRegion) UnmarshalBinary ¶
func (m *IPAddressAttributesRegion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPAddressAttributesRegionLocation ¶
type IPAddressAttributesRegionLocation struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
IPAddressAttributesRegionLocation IP address attributes region location
swagger:model IPAddressAttributesRegionLocation
func (*IPAddressAttributesRegionLocation) ContextValidate ¶
func (m *IPAddressAttributesRegionLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this IP address attributes region location based on context it is used
func (*IPAddressAttributesRegionLocation) MarshalBinary ¶
func (m *IPAddressAttributesRegionLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAddressAttributesRegionLocation) UnmarshalBinary ¶
func (m *IPAddressAttributesRegionLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPAddresses ¶
type IPAddresses struct {
// data
Data []*IPAddress `json:"data"`
}
IPAddresses ip addresses
swagger:model ip_addresses
func (*IPAddresses) ContextValidate ¶
ContextValidate validate this ip addresses based on the context it is used
func (*IPAddresses) MarshalBinary ¶
func (m *IPAddresses) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAddresses) UnmarshalBinary ¶
func (m *IPAddresses) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IpmiSession ¶
type IpmiSession struct {
// data
Data *IpmiSessionData `json:"data,omitempty"`
}
IpmiSession ipmi session
swagger:model ipmi_session
func (*IpmiSession) ContextValidate ¶
ContextValidate validate this ipmi session based on the context it is used
func (*IpmiSession) MarshalBinary ¶
func (m *IpmiSession) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IpmiSession) UnmarshalBinary ¶
func (m *IpmiSession) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IpmiSessionData ¶
type IpmiSessionData struct {
// attributes
Attributes *IpmiSessionDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [ipmi_sessions]
Type string `json:"type,omitempty"`
}
IpmiSessionData ipmi session data
swagger:model IpmiSessionData
func (*IpmiSessionData) ContextValidate ¶
ContextValidate validate this ipmi session data based on the context it is used
func (*IpmiSessionData) MarshalBinary ¶
func (m *IpmiSessionData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IpmiSessionData) UnmarshalBinary ¶
func (m *IpmiSessionData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IpmiSessionDataAttributes ¶
type IpmiSessionDataAttributes struct {
// The IPMI IP Address
IpmiAddress string `json:"ipmi_address,omitempty"`
// The IPMI password
IpmiPassword string `json:"ipmi_password,omitempty"`
// The IPMI username
IpmiUsername string `json:"ipmi_username,omitempty"`
}
IpmiSessionDataAttributes ipmi session data attributes
swagger:model IpmiSessionDataAttributes
func (*IpmiSessionDataAttributes) ContextValidate ¶
func (m *IpmiSessionDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this ipmi session data attributes based on context it is used
func (*IpmiSessionDataAttributes) MarshalBinary ¶
func (m *IpmiSessionDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IpmiSessionDataAttributes) UnmarshalBinary ¶
func (m *IpmiSessionDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LazySideload ¶
type LazySideload struct {
// meta
Meta *LazySideloadMeta `json:"meta,omitempty"`
}
LazySideload lazy sideload
swagger:model lazy_sideload
func (*LazySideload) ContextValidate ¶
ContextValidate validate this lazy sideload based on the context it is used
func (*LazySideload) MarshalBinary ¶
func (m *LazySideload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LazySideload) UnmarshalBinary ¶
func (m *LazySideload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LazySideloadMeta ¶
type LazySideloadMeta struct {
// included
Included bool `json:"included,omitempty"`
}
LazySideloadMeta lazy sideload meta
swagger:model LazySideloadMeta
func (*LazySideloadMeta) ContextValidate ¶
ContextValidate validates this lazy sideload meta based on context it is used
func (*LazySideloadMeta) MarshalBinary ¶
func (m *LazySideloadMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LazySideloadMeta) UnmarshalBinary ¶
func (m *LazySideloadMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Membership ¶
type Membership struct {
// data
Data *MembershipData `json:"data,omitempty"`
}
Membership membership
swagger:model membership
func (*Membership) ContextValidate ¶
ContextValidate validate this membership based on the context it is used
func (*Membership) MarshalBinary ¶
func (m *Membership) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Membership) UnmarshalBinary ¶
func (m *Membership) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MembershipData ¶
type MembershipData struct {
// attributes
Attributes *MembershipDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
MembershipData membership data
swagger:model MembershipData
func (*MembershipData) ContextValidate ¶
ContextValidate validate this membership data based on the context it is used
func (*MembershipData) MarshalBinary ¶
func (m *MembershipData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MembershipData) UnmarshalBinary ¶
func (m *MembershipData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MembershipDataAttributes ¶
type MembershipDataAttributes struct {
// email
Email string `json:"email,omitempty"`
// first name
FirstName string `json:"first_name,omitempty"`
// last name
LastName string `json:"last_name,omitempty"`
// role
// Enum: [owner administrator collaborator billing]
Role string `json:"role,omitempty"`
}
MembershipDataAttributes membership data attributes
swagger:model MembershipDataAttributes
func (*MembershipDataAttributes) ContextValidate ¶
func (m *MembershipDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this membership data attributes based on context it is used
func (*MembershipDataAttributes) MarshalBinary ¶
func (m *MembershipDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MembershipDataAttributes) UnmarshalBinary ¶
func (m *MembershipDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperatingSystems ¶
type OperatingSystems struct {
// attributes
Attributes *OperatingSystemsAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
OperatingSystems operating systems
swagger:model operating_systems
func (*OperatingSystems) ContextValidate ¶
ContextValidate validate this operating systems based on the context it is used
func (*OperatingSystems) MarshalBinary ¶
func (m *OperatingSystems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperatingSystems) UnmarshalBinary ¶
func (m *OperatingSystems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperatingSystemsAttributes ¶
type OperatingSystemsAttributes struct {
// distro
Distro string `json:"distro,omitempty"`
// features
Features *OperatingSystemsAttributesFeatures `json:"features,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
// user
User string `json:"user,omitempty"`
// version
Version string `json:"version,omitempty"`
}
OperatingSystemsAttributes operating systems attributes
swagger:model OperatingSystemsAttributes
func (*OperatingSystemsAttributes) ContextValidate ¶
func (m *OperatingSystemsAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this operating systems attributes based on the context it is used
func (*OperatingSystemsAttributes) MarshalBinary ¶
func (m *OperatingSystemsAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperatingSystemsAttributes) UnmarshalBinary ¶
func (m *OperatingSystemsAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperatingSystemsAttributesFeatures ¶
type OperatingSystemsAttributesFeatures struct {
// raid
Raid bool `json:"raid,omitempty"`
// ssh keys
SSHKeys bool `json:"ssh_keys,omitempty"`
// user data
UserData bool `json:"user_data,omitempty"`
}
OperatingSystemsAttributesFeatures operating systems attributes features
swagger:model OperatingSystemsAttributesFeatures
func (*OperatingSystemsAttributesFeatures) ContextValidate ¶
func (m *OperatingSystemsAttributesFeatures) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this operating systems attributes features based on context it is used
func (*OperatingSystemsAttributesFeatures) MarshalBinary ¶
func (m *OperatingSystemsAttributesFeatures) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperatingSystemsAttributesFeatures) UnmarshalBinary ¶
func (m *OperatingSystemsAttributesFeatures) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OutOfBandConnection ¶
type OutOfBandConnection struct {
// data
Data *OutOfBandConnectionData `json:"data,omitempty"`
}
OutOfBandConnection out of band connection
swagger:model out_of_band_connection
func (*OutOfBandConnection) ContextValidate ¶
ContextValidate validate this out of band connection based on the context it is used
func (*OutOfBandConnection) MarshalBinary ¶
func (m *OutOfBandConnection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OutOfBandConnection) UnmarshalBinary ¶
func (m *OutOfBandConnection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OutOfBandConnectionData ¶
type OutOfBandConnectionData struct {
// attributes
Attributes *OutOfBandConnectionDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
Type string `json:"type,omitempty"`
}
OutOfBandConnectionData out of band connection data
swagger:model OutOfBandConnectionData
func (*OutOfBandConnectionData) ContextValidate ¶
func (m *OutOfBandConnectionData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this out of band connection data based on the context it is used
func (*OutOfBandConnectionData) MarshalBinary ¶
func (m *OutOfBandConnectionData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OutOfBandConnectionData) UnmarshalBinary ¶
func (m *OutOfBandConnectionData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OutOfBandConnectionDataAttributes ¶
type OutOfBandConnectionDataAttributes struct {
// access ip
AccessIP string `json:"access_ip,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// credentials
Credentials *OutOfBandConnectionDataAttributesCredentials `json:"credentials,omitempty"`
// port
Port string `json:"port,omitempty"`
// server id
ServerID string `json:"server_id,omitempty"`
// ssh key
SSHKey *OutOfBandConnectionDataAttributesSSHKey `json:"ssh_key,omitempty"`
// status
Status string `json:"status,omitempty"`
// username
Username string `json:"username,omitempty"`
}
OutOfBandConnectionDataAttributes out of band connection data attributes
swagger:model OutOfBandConnectionDataAttributes
func (*OutOfBandConnectionDataAttributes) ContextValidate ¶
func (m *OutOfBandConnectionDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this out of band connection data attributes based on the context it is used
func (*OutOfBandConnectionDataAttributes) MarshalBinary ¶
func (m *OutOfBandConnectionDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OutOfBandConnectionDataAttributes) UnmarshalBinary ¶
func (m *OutOfBandConnectionDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OutOfBandConnectionDataAttributesCredentials ¶
type OutOfBandConnectionDataAttributesCredentials struct {
// password
Password string `json:"password,omitempty"`
// user
User string `json:"user,omitempty"`
}
OutOfBandConnectionDataAttributesCredentials credentials are valid only when the server is deployed with ssh keys
swagger:model OutOfBandConnectionDataAttributesCredentials
func (*OutOfBandConnectionDataAttributesCredentials) ContextValidate ¶
func (m *OutOfBandConnectionDataAttributesCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this out of band connection data attributes credentials based on context it is used
func (*OutOfBandConnectionDataAttributesCredentials) MarshalBinary ¶
func (m *OutOfBandConnectionDataAttributesCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OutOfBandConnectionDataAttributesCredentials) UnmarshalBinary ¶
func (m *OutOfBandConnectionDataAttributesCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OutOfBandConnectionDataAttributesSSHKey ¶
type OutOfBandConnectionDataAttributesSSHKey struct {
// description
Description string `json:"description,omitempty"`
// fingerprint
Fingerprint string `json:"fingerprint,omitempty"`
// id
ID string `json:"id,omitempty"`
}
OutOfBandConnectionDataAttributesSSHKey out of band connection data attributes SSH key
swagger:model OutOfBandConnectionDataAttributesSSHKey
func (*OutOfBandConnectionDataAttributesSSHKey) ContextValidate ¶
func (m *OutOfBandConnectionDataAttributesSSHKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this out of band connection data attributes SSH key based on context it is used
func (*OutOfBandConnectionDataAttributesSSHKey) MarshalBinary ¶
func (m *OutOfBandConnectionDataAttributesSSHKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OutOfBandConnectionDataAttributesSSHKey) UnmarshalBinary ¶
func (m *OutOfBandConnectionDataAttributesSSHKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Plan ¶
type Plan struct {
// data
Data *PlanData `json:"data,omitempty"`
}
Plan plan
swagger:model plan
func (*Plan) ContextValidate ¶
ContextValidate validate this plan based on the context it is used
func (*Plan) MarshalBinary ¶
MarshalBinary interface implementation
func (*Plan) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PlanData ¶
type PlanData struct {
// attributes
Attributes *PlanDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [plans]
Type string `json:"type,omitempty"`
}
PlanData plan data
swagger:model plan_data
func (*PlanData) ContextValidate ¶
ContextValidate validate this plan data based on the context it is used
func (*PlanData) MarshalBinary ¶
MarshalBinary interface implementation
func (*PlanData) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PlanDataAttributes ¶
type PlanDataAttributes struct {
// features
Features []string `json:"features"`
// regions
Regions []*PlanDataAttributesRegionsItems0 `json:"regions"`
// slug
Slug string `json:"slug,omitempty"`
// specs
Specs *PlanDataAttributesSpecs `json:"specs,omitempty"`
}
PlanDataAttributes plan data attributes
swagger:model PlanDataAttributes
func (*PlanDataAttributes) ContextValidate ¶
ContextValidate validate this plan data attributes based on the context it is used
func (*PlanDataAttributes) MarshalBinary ¶
func (m *PlanDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributes) UnmarshalBinary ¶
func (m *PlanDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesRegionsItems0 ¶
type PlanDataAttributesRegionsItems0 struct {
// deploys instantly
DeploysInstantly []string `json:"deploys_instantly"`
// locations
Locations *PlanDataAttributesRegionsItems0Locations `json:"locations,omitempty"`
// name
Name string `json:"name,omitempty"`
// pricing
Pricing *PlanDataAttributesRegionsItems0Pricing `json:"pricing,omitempty"`
}
PlanDataAttributesRegionsItems0 plan data attributes regions items0
swagger:model PlanDataAttributesRegionsItems0
func (*PlanDataAttributesRegionsItems0) ContextValidate ¶
func (m *PlanDataAttributesRegionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this plan data attributes regions items0 based on the context it is used
func (*PlanDataAttributesRegionsItems0) MarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesRegionsItems0) UnmarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesRegionsItems0Locations ¶
type PlanDataAttributesRegionsItems0Locations struct {
// available
Available []string `json:"available"`
// in stock
InStock []string `json:"in_stock"`
}
PlanDataAttributesRegionsItems0Locations plan data attributes regions items0 locations
swagger:model PlanDataAttributesRegionsItems0Locations
func (*PlanDataAttributesRegionsItems0Locations) ContextValidate ¶
func (m *PlanDataAttributesRegionsItems0Locations) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan data attributes regions items0 locations based on context it is used
func (*PlanDataAttributesRegionsItems0Locations) MarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0Locations) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesRegionsItems0Locations) UnmarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0Locations) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesRegionsItems0Pricing ¶
type PlanDataAttributesRegionsItems0Pricing struct {
// b r l
BRL *PlanDataAttributesRegionsItems0PricingBRL `json:"BRL,omitempty"`
// u s d
USD *PlanDataAttributesRegionsItems0PricingUSD `json:"USD,omitempty"`
}
PlanDataAttributesRegionsItems0Pricing plan data attributes regions items0 pricing
swagger:model PlanDataAttributesRegionsItems0Pricing
func (*PlanDataAttributesRegionsItems0Pricing) ContextValidate ¶
func (m *PlanDataAttributesRegionsItems0Pricing) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this plan data attributes regions items0 pricing based on the context it is used
func (*PlanDataAttributesRegionsItems0Pricing) MarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0Pricing) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesRegionsItems0Pricing) UnmarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0Pricing) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesRegionsItems0PricingBRL ¶
type PlanDataAttributesRegionsItems0PricingBRL struct {
// hour
Hour float64 `json:"hour,omitempty"`
// month
Month float64 `json:"month,omitempty"`
// year
Year float64 `json:"year,omitempty"`
}
PlanDataAttributesRegionsItems0PricingBRL plan data attributes regions items0 pricing b r l
swagger:model PlanDataAttributesRegionsItems0PricingBRL
func (*PlanDataAttributesRegionsItems0PricingBRL) ContextValidate ¶
func (m *PlanDataAttributesRegionsItems0PricingBRL) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan data attributes regions items0 pricing b r l based on context it is used
func (*PlanDataAttributesRegionsItems0PricingBRL) MarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0PricingBRL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesRegionsItems0PricingBRL) UnmarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0PricingBRL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesRegionsItems0PricingUSD ¶
type PlanDataAttributesRegionsItems0PricingUSD struct {
// hour
Hour float64 `json:"hour,omitempty"`
// month
Month float64 `json:"month,omitempty"`
// year
Year float64 `json:"year,omitempty"`
}
PlanDataAttributesRegionsItems0PricingUSD plan data attributes regions items0 pricing u s d
swagger:model PlanDataAttributesRegionsItems0PricingUSD
func (*PlanDataAttributesRegionsItems0PricingUSD) ContextValidate ¶
func (m *PlanDataAttributesRegionsItems0PricingUSD) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan data attributes regions items0 pricing u s d based on context it is used
func (*PlanDataAttributesRegionsItems0PricingUSD) MarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0PricingUSD) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesRegionsItems0PricingUSD) UnmarshalBinary ¶
func (m *PlanDataAttributesRegionsItems0PricingUSD) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesSpecs ¶
type PlanDataAttributesSpecs struct {
// cpu
CPU *PlanDataAttributesSpecsCPU `json:"cpu,omitempty"`
// drives
Drives []*PlanDataAttributesSpecsDrivesItems0 `json:"drives"`
// gpu
Gpu *PlanDataAttributesSpecsGpu `json:"gpu,omitempty"`
// memory
Memory *PlanDataAttributesSpecsMemory `json:"memory,omitempty"`
// nics
Nics []*PlanDataAttributesSpecsNicsItems0 `json:"nics"`
}
PlanDataAttributesSpecs plan data attributes specs
swagger:model PlanDataAttributesSpecs
func (*PlanDataAttributesSpecs) ContextValidate ¶
func (m *PlanDataAttributesSpecs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this plan data attributes specs based on the context it is used
func (*PlanDataAttributesSpecs) MarshalBinary ¶
func (m *PlanDataAttributesSpecs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesSpecs) UnmarshalBinary ¶
func (m *PlanDataAttributesSpecs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesSpecsCPU ¶
type PlanDataAttributesSpecsCPU struct {
// clock
Clock float64 `json:"clock,omitempty"`
// cores
Cores float64 `json:"cores,omitempty"`
// count
Count float64 `json:"count,omitempty"`
// type
Type string `json:"type,omitempty"`
}
PlanDataAttributesSpecsCPU plan data attributes specs CPU
swagger:model PlanDataAttributesSpecsCPU
func (*PlanDataAttributesSpecsCPU) ContextValidate ¶
func (m *PlanDataAttributesSpecsCPU) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan data attributes specs CPU based on context it is used
func (*PlanDataAttributesSpecsCPU) MarshalBinary ¶
func (m *PlanDataAttributesSpecsCPU) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesSpecsCPU) UnmarshalBinary ¶
func (m *PlanDataAttributesSpecsCPU) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesSpecsDrivesItems0 ¶
type PlanDataAttributesSpecsDrivesItems0 struct {
// count
Count float64 `json:"count,omitempty"`
// size
Size string `json:"size,omitempty"`
// type
// Enum: [SSD HDD]
Type string `json:"type,omitempty"`
}
PlanDataAttributesSpecsDrivesItems0 plan data attributes specs drives items0
swagger:model PlanDataAttributesSpecsDrivesItems0
func (*PlanDataAttributesSpecsDrivesItems0) ContextValidate ¶
func (m *PlanDataAttributesSpecsDrivesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan data attributes specs drives items0 based on context it is used
func (*PlanDataAttributesSpecsDrivesItems0) MarshalBinary ¶
func (m *PlanDataAttributesSpecsDrivesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesSpecsDrivesItems0) UnmarshalBinary ¶
func (m *PlanDataAttributesSpecsDrivesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesSpecsGpu ¶
type PlanDataAttributesSpecsGpu struct {
// count
Count float64 `json:"count,omitempty"`
// type
Type string `json:"type,omitempty"`
}
PlanDataAttributesSpecsGpu plan data attributes specs gpu
swagger:model PlanDataAttributesSpecsGpu
func (*PlanDataAttributesSpecsGpu) ContextValidate ¶
func (m *PlanDataAttributesSpecsGpu) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan data attributes specs gpu based on context it is used
func (*PlanDataAttributesSpecsGpu) MarshalBinary ¶
func (m *PlanDataAttributesSpecsGpu) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesSpecsGpu) UnmarshalBinary ¶
func (m *PlanDataAttributesSpecsGpu) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesSpecsMemory ¶
type PlanDataAttributesSpecsMemory struct {
// total
Total int `json:"total,omitempty"`
}
PlanDataAttributesSpecsMemory plan data attributes specs memory
swagger:model PlanDataAttributesSpecsMemory
func (*PlanDataAttributesSpecsMemory) ContextValidate ¶
func (m *PlanDataAttributesSpecsMemory) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan data attributes specs memory based on context it is used
func (*PlanDataAttributesSpecsMemory) MarshalBinary ¶
func (m *PlanDataAttributesSpecsMemory) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesSpecsMemory) UnmarshalBinary ¶
func (m *PlanDataAttributesSpecsMemory) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDataAttributesSpecsNicsItems0 ¶
type PlanDataAttributesSpecsNicsItems0 struct {
// count
Count float64 `json:"count,omitempty"`
// type
Type string `json:"type,omitempty"`
}
PlanDataAttributesSpecsNicsItems0 plan data attributes specs nics items0
swagger:model PlanDataAttributesSpecsNicsItems0
func (*PlanDataAttributesSpecsNicsItems0) ContextValidate ¶
func (m *PlanDataAttributesSpecsNicsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan data attributes specs nics items0 based on context it is used
func (*PlanDataAttributesSpecsNicsItems0) MarshalBinary ¶
func (m *PlanDataAttributesSpecsNicsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDataAttributesSpecsNicsItems0) UnmarshalBinary ¶
func (m *PlanDataAttributesSpecsNicsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRegions ¶
type Project ¶
type Project struct {
// attributes
Attributes *ProjectAttributes `json:"attributes,omitempty"`
// The project ID
ID string `json:"id,omitempty"`
}
Project project
swagger:model project
func (*Project) ContextValidate ¶
ContextValidate validate this project based on the context it is used
func (*Project) MarshalBinary ¶
MarshalBinary interface implementation
func (*Project) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProjectAttributes ¶
type ProjectAttributes struct {
Tags []*TagsIncude `json:"tags,omitempty"`
// billing
Billing *ProjectAttributesBilling `json:"billing,omitempty"`
// billing method
// Enum: [Normal 95th percentile]
BillingMethod string `json:"billing_method,omitempty"`
// billing type
// Enum: [Yearly Monthly Hourly Normal]
BillingType string `json:"billing_type,omitempty"`
// cost
Cost string `json:"cost,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// The project description
Description string `json:"description,omitempty"`
// environment
// Enum: [Development Staging Production]
Environment string `json:"environment,omitempty"`
// The project name
Name string `json:"name,omitempty"`
// A unique project identifier
Slug string `json:"slug,omitempty"`
ProvisiongType string `json:"provisioning_type,omitempty"`
// stats
Stats *ProjectAttributesStats `json:"stats,omitempty"`
// team
Team *TeamInclude `json:"team,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
ProjectAttributes project attributes
swagger:model ProjectAttributes
func (*ProjectAttributes) ContextValidate ¶
ContextValidate validate this project attributes based on the context it is used
func (*ProjectAttributes) MarshalBinary ¶
func (m *ProjectAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectAttributes) UnmarshalBinary ¶
func (m *ProjectAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectAttributesBilling ¶
type ProjectAttributesBilling struct {
// method
Method string `json:"method,omitempty"`
// subscription id
SubscriptionID string `json:"subscription_id,omitempty"`
// type
Type string `json:"type,omitempty"`
}
ProjectAttributesBilling project attributes billing
swagger:model ProjectAttributesBilling
func (*ProjectAttributesBilling) ContextValidate ¶
func (m *ProjectAttributesBilling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project attributes billing based on context it is used
func (*ProjectAttributesBilling) MarshalBinary ¶
func (m *ProjectAttributesBilling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectAttributesBilling) UnmarshalBinary ¶
func (m *ProjectAttributesBilling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectAttributesStats ¶
type ProjectAttributesStats struct {
// The number of IP addresses assigned to the project
IPAddresses float64 `json:"ip_addresses,omitempty"`
// The IP address prefixes in the project
Prefixes float64 `json:"prefixes,omitempty"`
// The number of servers assigned to the project
Servers float64 `json:"servers,omitempty"`
// The number of VLANs assigned to the project
Vlans float64 `json:"vlans,omitempty"`
}
ProjectAttributesStats project attributes stats
swagger:model ProjectAttributesStats
func (*ProjectAttributesStats) ContextValidate ¶
func (m *ProjectAttributesStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project attributes stats based on context it is used
func (*ProjectAttributesStats) MarshalBinary ¶
func (m *ProjectAttributesStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectAttributesStats) UnmarshalBinary ¶
func (m *ProjectAttributesStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectInclude ¶
type ProjectInclude struct {
// bandwidth alert
BandwidthAlert bool `json:"bandwidth_alert,omitempty"`
// billing
Billing *ProjectIncludeBilling `json:"billing,omitempty"`
// billing method
BillingMethod *string `json:"billing_method,omitempty"`
// billing type
BillingType *string `json:"billing_type,omitempty"`
// description
Description *string `json:"description,omitempty"`
// environment
Environment *string `json:"environment,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
// stats
Stats *ProjectIncludeStats `json:"stats,omitempty"`
}
ProjectInclude project include
swagger:model project_include
func (*ProjectInclude) ContextValidate ¶
ContextValidate validate this project include based on the context it is used
func (*ProjectInclude) MarshalBinary ¶
func (m *ProjectInclude) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectInclude) UnmarshalBinary ¶
func (m *ProjectInclude) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectIncludeBilling ¶
type ProjectIncludeBilling struct {
// method
Method string `json:"method,omitempty"`
// subscription id
SubscriptionID string `json:"subscription_id,omitempty"`
// type
Type string `json:"type,omitempty"`
}
ProjectIncludeBilling project include billing
swagger:model ProjectIncludeBilling
func (*ProjectIncludeBilling) ContextValidate ¶
ContextValidate validates this project include billing based on context it is used
func (*ProjectIncludeBilling) MarshalBinary ¶
func (m *ProjectIncludeBilling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectIncludeBilling) UnmarshalBinary ¶
func (m *ProjectIncludeBilling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectIncludeStats ¶
type ProjectIncludeStats struct {
// ip addresses
IPAddresses int64 `json:"ip_addresses,omitempty"`
// prefixes
Prefixes int64 `json:"prefixes,omitempty"`
// servers
Servers int64 `json:"servers,omitempty"`
// vlans
Vlans int64 `json:"vlans,omitempty"`
}
ProjectIncludeStats project include stats
swagger:model ProjectIncludeStats
func (*ProjectIncludeStats) ContextValidate ¶
ContextValidate validates this project include stats based on context it is used
func (*ProjectIncludeStats) MarshalBinary ¶
func (m *ProjectIncludeStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectIncludeStats) UnmarshalBinary ¶
func (m *ProjectIncludeStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Projects ¶
type Projects struct {
// data
Data []*Project `json:"data"`
}
Projects projects
swagger:model projects
func (*Projects) ContextValidate ¶
ContextValidate validate this projects based on the context it is used
func (*Projects) MarshalBinary ¶
MarshalBinary interface implementation
func (*Projects) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Region ¶
type Region struct {
// data
Data *RegionData `json:"data,omitempty"`
}
Region region
swagger:model region
func (*Region) ContextValidate ¶
ContextValidate validate this region based on the context it is used
func (*Region) MarshalBinary ¶
MarshalBinary interface implementation
func (*Region) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RegionData ¶
type RegionData struct {
// attributes
Attributes *RegionDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
RegionData region data
swagger:model RegionData
func (*RegionData) ContextValidate ¶
ContextValidate validate this region data based on the context it is used
func (*RegionData) MarshalBinary ¶
func (m *RegionData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionData) UnmarshalBinary ¶
func (m *RegionData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegionDataAttributes ¶
type RegionDataAttributes struct {
// country
Country *RegionDataAttributesCountry `json:"country,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
RegionDataAttributes region data attributes
swagger:model RegionDataAttributes
func (*RegionDataAttributes) ContextValidate ¶
ContextValidate validate this region data attributes based on the context it is used
func (*RegionDataAttributes) MarshalBinary ¶
func (m *RegionDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionDataAttributes) UnmarshalBinary ¶
func (m *RegionDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegionDataAttributesCountry ¶
type RegionDataAttributesCountry struct {
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
RegionDataAttributesCountry region data attributes country
swagger:model RegionDataAttributesCountry
func (*RegionDataAttributesCountry) ContextValidate ¶
func (m *RegionDataAttributesCountry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this region data attributes country based on context it is used
func (*RegionDataAttributesCountry) MarshalBinary ¶
func (m *RegionDataAttributesCountry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionDataAttributesCountry) UnmarshalBinary ¶
func (m *RegionDataAttributesCountry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegionResourceData ¶
type RegionResourceData struct {
// city
City string `json:"city,omitempty"`
// country
Country string `json:"country,omitempty"`
// site
Site *RegionResourceDataSite `json:"site,omitempty"`
}
RegionResourceData region resource data
swagger:model region_resource_data
func (*RegionResourceData) ContextValidate ¶
ContextValidate validate this region resource data based on the context it is used
func (*RegionResourceData) MarshalBinary ¶
func (m *RegionResourceData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionResourceData) UnmarshalBinary ¶
func (m *RegionResourceData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegionResourceDataSite ¶
type RegionResourceDataSite struct {
// facility
Facility string `json:"facility,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
RegionResourceDataSite region resource data site
swagger:model RegionResourceDataSite
func (*RegionResourceDataSite) ContextValidate ¶
func (m *RegionResourceDataSite) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this region resource data site based on context it is used
func (*RegionResourceDataSite) MarshalBinary ¶
func (m *RegionResourceDataSite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionResourceDataSite) UnmarshalBinary ¶
func (m *RegionResourceDataSite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Regions ¶
type Regions struct {
// data
Data []*RegionsDataItems0 `json:"data"`
}
Regions regions
swagger:model regions
func (*Regions) ContextValidate ¶
ContextValidate validate this regions based on the context it is used
func (*Regions) MarshalBinary ¶
MarshalBinary interface implementation
func (*Regions) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RegionsDataItems0 ¶
type RegionsDataItems0 struct {
// attributes
Attributes *RegionsDataItems0Attributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
RegionsDataItems0 regions data items0
swagger:model RegionsDataItems0
func (*RegionsDataItems0) ContextValidate ¶
ContextValidate validate this regions data items0 based on the context it is used
func (*RegionsDataItems0) MarshalBinary ¶
func (m *RegionsDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionsDataItems0) UnmarshalBinary ¶
func (m *RegionsDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegionsDataItems0Attributes ¶
type RegionsDataItems0Attributes struct {
// country
Country *RegionsDataItems0AttributesCountry `json:"country,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
RegionsDataItems0Attributes regions data items0 attributes
swagger:model RegionsDataItems0Attributes
func (*RegionsDataItems0Attributes) ContextValidate ¶
func (m *RegionsDataItems0Attributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this regions data items0 attributes based on the context it is used
func (*RegionsDataItems0Attributes) MarshalBinary ¶
func (m *RegionsDataItems0Attributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionsDataItems0Attributes) UnmarshalBinary ¶
func (m *RegionsDataItems0Attributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegionsDataItems0AttributesCountry ¶
type RegionsDataItems0AttributesCountry struct {
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
RegionsDataItems0AttributesCountry regions data items0 attributes country
swagger:model RegionsDataItems0AttributesCountry
func (*RegionsDataItems0AttributesCountry) ContextValidate ¶
func (m *RegionsDataItems0AttributesCountry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this regions data items0 attributes country based on context it is used
func (*RegionsDataItems0AttributesCountry) MarshalBinary ¶
func (m *RegionsDataItems0AttributesCountry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionsDataItems0AttributesCountry) UnmarshalBinary ¶
func (m *RegionsDataItems0AttributesCountry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Role ¶
type Role struct {
// data
Data *RoleData `json:"data,omitempty"`
}
Role role
swagger:model role
func (*Role) ContextValidate ¶
ContextValidate validate this role based on the context it is used
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RoleData ¶
type RoleData struct {
// attributes
Attributes *RoleDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [roles]
Type string `json:"type,omitempty"`
}
RoleData role data
swagger:model role_data
func (*RoleData) ContextValidate ¶
ContextValidate validate this role data based on the context it is used
func (*RoleData) MarshalBinary ¶
MarshalBinary interface implementation
func (*RoleData) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RoleDataAttributes ¶
type RoleDataAttributes struct {
// Name of the Role
Name string `json:"name,omitempty"`
}
RoleDataAttributes role data attributes
swagger:model RoleDataAttributes
func (*RoleDataAttributes) ContextValidate ¶
ContextValidate validates this role data attributes based on context it is used
func (*RoleDataAttributes) MarshalBinary ¶
func (m *RoleDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleDataAttributes) UnmarshalBinary ¶
func (m *RoleDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SSHKey ¶
type SSHKey struct {
// data
Data []*SSHKeyData `json:"data"`
}
SSHKey ssh key
swagger:model ssh_key
func (*SSHKey) ContextValidate ¶
ContextValidate validate this ssh key based on the context it is used
func (*SSHKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*SSHKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SSHKeyData ¶
type SSHKeyData struct {
// attributes
Attributes *SSHKeyDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Required: true
// Enum: [ssh_keys]
Type *string `json:"type"`
}
SSHKeyData ssh key data
swagger:model ssh_key_data
func (*SSHKeyData) ContextValidate ¶
ContextValidate validate this ssh key data based on the context it is used
func (*SSHKeyData) MarshalBinary ¶
func (m *SSHKeyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SSHKeyData) TableRow ¶
func (m *SSHKeyData) TableRow() table.Row
func (*SSHKeyData) UnmarshalBinary ¶
func (m *SSHKeyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SSHKeyDataAttributes ¶
type SSHKeyDataAttributes struct {
Tags []*TagsIncude `json:"tags,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// SSH Key fingerprint
Fingerprint string `json:"fingerprint,omitempty"`
// Name of the SSH Key
Name string `json:"name,omitempty"`
// SSH Public Key
PublicKey string `json:"public_key,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// user
User *UserInclude `json:"user,omitempty"`
}
SSHKeyDataAttributes SSH key data attributes
swagger:model SSHKeyDataAttributes
func (*SSHKeyDataAttributes) ContextValidate ¶
ContextValidate validate this SSH key data attributes based on the context it is used
func (*SSHKeyDataAttributes) MarshalBinary ¶
func (m *SSHKeyDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SSHKeyDataAttributes) UnmarshalBinary ¶
func (m *SSHKeyDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Server ¶
type Server struct {
// data
Data *ServerData `json:"data,omitempty"`
// meta
Meta interface{} `json:"meta,omitempty"`
}
Server server
swagger:model server
func (*Server) ContextValidate ¶
ContextValidate validate this server based on the context it is used
func (*Server) MarshalBinary ¶
MarshalBinary interface implementation
func (*Server) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServerAction ¶
type ServerAction struct {
// data
Data *ServerActionData `json:"data,omitempty"`
// meta
Meta interface{} `json:"meta,omitempty"`
}
ServerAction server action
swagger:model server_action
func (*ServerAction) ContextValidate ¶
ContextValidate validate this server action based on the context it is used
func (*ServerAction) MarshalBinary ¶
func (m *ServerAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerAction) UnmarshalBinary ¶
func (m *ServerAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerActionData ¶
type ServerActionData struct {
// attributes
Attributes *ServerActionDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [actions]
Type string `json:"type,omitempty"`
}
ServerActionData server action data
swagger:model ServerActionData
func (*ServerActionData) ContextValidate ¶
ContextValidate validate this server action data based on the context it is used
func (*ServerActionData) MarshalBinary ¶
func (m *ServerActionData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerActionData) UnmarshalBinary ¶
func (m *ServerActionData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerActionDataAttributes ¶
type ServerActionDataAttributes struct {
// status
Status string `json:"status,omitempty"`
}
ServerActionDataAttributes server action data attributes
swagger:model ServerActionDataAttributes
func (*ServerActionDataAttributes) ContextValidate ¶
func (m *ServerActionDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server action data attributes based on context it is used
func (*ServerActionDataAttributes) MarshalBinary ¶
func (m *ServerActionDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerActionDataAttributes) UnmarshalBinary ¶
func (m *ServerActionDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerData ¶
type ServerData struct {
// attributes
Attributes *ServerDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
Type string `json:"type,omitempty"`
}
ServerData server data
swagger:model server_data
func (*ServerData) ContextValidate ¶
ContextValidate validate this server data based on the context it is used
func (*ServerData) MarshalBinary ¶
func (m *ServerData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerData) TableRow ¶
func (m *ServerData) TableRow() table.Row
func (*ServerData) UnmarshalBinary ¶
func (m *ServerData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerDataAttributes ¶
type ServerDataAttributes struct {
Tags []*TagsIncude `json:"tags,omitempty"`
// created at
CreatedAt *string `json:"created_at,omitempty"`
// hostname
Hostname string `json:"hostname,omitempty"`
// ipmi status
// Enum: [Unavailable Intermittent Normal]
IpmiStatus string `json:"ipmi_status,omitempty"`
// operating system
OperatingSystem *ServerDataAttributesOperatingSystem `json:"operating_system,omitempty"`
// plan
Plan *ServerDataAttributesPlan `json:"plan,omitempty"`
// primary ipv4
PrimaryIPV4 *string `json:"primary_ipv4,omitempty"`
// primary ipv6
PrimaryIPV6 *string `json:"primary_ipv6,omitempty"`
// project
Project *ProjectInclude `json:"project,omitempty"`
// region
Region *RegionResourceData `json:"region,omitempty"`
// role
Role string `json:"role,omitempty"`
// scheduled deletion at
ScheduledDeletionAt *string `json:"scheduled_deletion_at,omitempty"`
// site
Site string `json:"site,omitempty"`
// specs
Specs *ServerDataAttributesSpecs `json:"specs,omitempty"`
// `on` - The server is powered ON
// `off` - The server is powered OFF
// `unknown` - The server power status is unknown
// `ready` - The server is in reinstalling state `ready` and should start `disk_erasing` shortly
// `disk_erasing` - The server is in reinstalling state `disk_erasing`
// `failed_disk_erasing` - The server has failed disk erasing in reinstall
// `deploying` - The server is in the last reinstalling stage and is `deploying`
// `failed_deployment` The server has failed deployment in reinstall
//
// Enum: [on off unknown ready disk_erasing failed_disk_erasing deploying failed_deployment]
Status string `json:"status,omitempty"`
// team
Team *TeamInclude `json:"team,omitempty"`
}
ServerDataAttributes server data attributes
swagger:model ServerDataAttributes
func (*ServerDataAttributes) ContextValidate ¶
ContextValidate validate this server data attributes based on the context it is used
func (*ServerDataAttributes) MarshalBinary ¶
func (m *ServerDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerDataAttributes) UnmarshalBinary ¶
func (m *ServerDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerDataAttributesOperatingSystem ¶
type ServerDataAttributesOperatingSystem struct {
// distro
Distro *ServerDataAttributesOperatingSystemDistro `json:"distro,omitempty"`
// features
Features *ServerDataAttributesOperatingSystemFeatures `json:"features,omitempty"`
// The OS name
Name string `json:"name,omitempty"`
// The OS slug
Slug string `json:"slug,omitempty"`
// The OS description
Version string `json:"version,omitempty"`
}
ServerDataAttributesOperatingSystem server data attributes operating system
swagger:model ServerDataAttributesOperatingSystem
func (*ServerDataAttributesOperatingSystem) ContextValidate ¶
func (m *ServerDataAttributesOperatingSystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this server data attributes operating system based on the context it is used
func (*ServerDataAttributesOperatingSystem) MarshalBinary ¶
func (m *ServerDataAttributesOperatingSystem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerDataAttributesOperatingSystem) UnmarshalBinary ¶
func (m *ServerDataAttributesOperatingSystem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerDataAttributesOperatingSystemDistro ¶
type ServerDataAttributesOperatingSystemDistro struct {
// The OS Distro name
Name string `json:"name,omitempty"`
// The OS Distro Series
Series string `json:"series,omitempty"`
// The OS Distro slug
Slug string `json:"slug,omitempty"`
}
ServerDataAttributesOperatingSystemDistro server data attributes operating system distro
swagger:model ServerDataAttributesOperatingSystemDistro
func (*ServerDataAttributesOperatingSystemDistro) ContextValidate ¶
func (m *ServerDataAttributesOperatingSystemDistro) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server data attributes operating system distro based on context it is used
func (*ServerDataAttributesOperatingSystemDistro) MarshalBinary ¶
func (m *ServerDataAttributesOperatingSystemDistro) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerDataAttributesOperatingSystemDistro) UnmarshalBinary ¶
func (m *ServerDataAttributesOperatingSystemDistro) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerDataAttributesOperatingSystemFeatures ¶
type ServerDataAttributesOperatingSystemFeatures struct {
// raid
Raid bool `json:"raid,omitempty"`
// ssh keys
SSHKeys bool `json:"ssh_keys,omitempty"`
// user data
UserData bool `json:"user_data,omitempty"`
}
ServerDataAttributesOperatingSystemFeatures server data attributes operating system features
swagger:model ServerDataAttributesOperatingSystemFeatures
func (*ServerDataAttributesOperatingSystemFeatures) ContextValidate ¶
func (m *ServerDataAttributesOperatingSystemFeatures) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server data attributes operating system features based on context it is used
func (*ServerDataAttributesOperatingSystemFeatures) MarshalBinary ¶
func (m *ServerDataAttributesOperatingSystemFeatures) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerDataAttributesOperatingSystemFeatures) UnmarshalBinary ¶
func (m *ServerDataAttributesOperatingSystemFeatures) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerDataAttributesPlan ¶
type ServerDataAttributesPlan struct {
// hourly/monthly pricing. Defaults to `hourly`. Appliable for `on_demand` projects only.
Billing *string `json:"billing,omitempty"`
// The plan ID
ID string `json:"id,omitempty"`
// The plan name
Name string `json:"name,omitempty"`
}
ServerDataAttributesPlan server data attributes plan
swagger:model ServerDataAttributesPlan
func (*ServerDataAttributesPlan) ContextValidate ¶
func (m *ServerDataAttributesPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server data attributes plan based on context it is used
func (*ServerDataAttributesPlan) MarshalBinary ¶
func (m *ServerDataAttributesPlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerDataAttributesPlan) UnmarshalBinary ¶
func (m *ServerDataAttributesPlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerDataAttributesSpecs ¶
type ServerDataAttributesSpecs struct {
// cpu
CPU string `json:"cpu,omitempty"`
// disk
Disk string `json:"disk,omitempty"`
// ram
RAM string `json:"ram,omitempty"`
}
ServerDataAttributesSpecs server data attributes specs
swagger:model ServerDataAttributesSpecs
func (*ServerDataAttributesSpecs) ContextValidate ¶
func (m *ServerDataAttributesSpecs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server data attributes specs based on context it is used
func (*ServerDataAttributesSpecs) MarshalBinary ¶
func (m *ServerDataAttributesSpecs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerDataAttributesSpecs) UnmarshalBinary ¶
func (m *ServerDataAttributesSpecs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerRescue ¶
type ServerRescue struct {
// meta
Meta interface{} `json:"meta,omitempty"`
}
ServerRescue server rescue
swagger:model server_rescue
func (*ServerRescue) ContextValidate ¶
ContextValidate validates this server rescue based on context it is used
func (*ServerRescue) MarshalBinary ¶
func (m *ServerRescue) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerRescue) UnmarshalBinary ¶
func (m *ServerRescue) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerScheduleDeletion ¶
type ServerScheduleDeletion struct {
// data
Data *ServerScheduleDeletionData `json:"data,omitempty"`
}
ServerScheduleDeletion server schedule deletion
swagger:model server_schedule_deletion
func (*ServerScheduleDeletion) ContextValidate ¶
func (m *ServerScheduleDeletion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this server schedule deletion based on the context it is used
func (*ServerScheduleDeletion) MarshalBinary ¶
func (m *ServerScheduleDeletion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerScheduleDeletion) UnmarshalBinary ¶
func (m *ServerScheduleDeletion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerScheduleDeletionData ¶
type ServerScheduleDeletionData struct {
// attributes
Attributes *ServerScheduleDeletionDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [schedule_deletion]
Type string `json:"type,omitempty"`
}
ServerScheduleDeletionData server schedule deletion data
swagger:model ServerScheduleDeletionData
func (*ServerScheduleDeletionData) ContextValidate ¶
func (m *ServerScheduleDeletionData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this server schedule deletion data based on the context it is used
func (*ServerScheduleDeletionData) MarshalBinary ¶
func (m *ServerScheduleDeletionData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerScheduleDeletionData) TableRow ¶
func (m *ServerScheduleDeletionData) TableRow() table.Row
func (*ServerScheduleDeletionData) UnmarshalBinary ¶
func (m *ServerScheduleDeletionData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerScheduleDeletionDataAttributes ¶
type ServerScheduleDeletionDataAttributes struct {
// scheduled deletion at
ScheduledDeletionAt string `json:"scheduled_deletion_at,omitempty"`
// server id
ServerID string `json:"server_id,omitempty"`
}
ServerScheduleDeletionDataAttributes server schedule deletion data attributes
swagger:model ServerScheduleDeletionDataAttributes
func (*ServerScheduleDeletionDataAttributes) ContextValidate ¶
func (m *ServerScheduleDeletionDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server schedule deletion data attributes based on context it is used
func (*ServerScheduleDeletionDataAttributes) MarshalBinary ¶
func (m *ServerScheduleDeletionDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerScheduleDeletionDataAttributes) UnmarshalBinary ¶
func (m *ServerScheduleDeletionDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Servers ¶
type Servers struct {
// data
Data []*ServerData `json:"data"`
// meta
Meta interface{} `json:"meta,omitempty"`
}
Servers servers
swagger:model servers
func (*Servers) ContextValidate ¶
ContextValidate validate this servers based on the context it is used
func (*Servers) MarshalBinary ¶
MarshalBinary interface implementation
func (*Servers) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TagsIncude ¶
type Team ¶
type Team struct {
// attributes
Attributes *TeamAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
Team team
swagger:model team
func (*Team) ContextValidate ¶
ContextValidate validate this team based on the context it is used
func (*Team) MarshalBinary ¶
MarshalBinary interface implementation
func (*Team) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamAttributes ¶
type TeamAttributes struct {
// address
Address *string `json:"address,omitempty"`
// billing
Billing *TeamAttributesBilling `json:"billing,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// currency
Currency string `json:"currency,omitempty"`
// description
Description *string `json:"description,omitempty"`
// name
Name string `json:"name,omitempty"`
// owner
Owner *UserInclude `json:"owner,omitempty"`
// projects
Projects []*ProjectInclude `json:"projects"`
// slug
Slug string `json:"slug,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// users
Users []*UserInclude `json:"users"`
}
TeamAttributes team attributes
swagger:model TeamAttributes
func (*TeamAttributes) ContextValidate ¶
ContextValidate validate this team attributes based on the context it is used
func (*TeamAttributes) MarshalBinary ¶
func (m *TeamAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamAttributes) UnmarshalBinary ¶
func (m *TeamAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamAttributesBilling ¶
type TeamAttributesBilling struct {
// customer billing id
CustomerBillingID string `json:"customer_billing_id,omitempty"`
// id
ID int64 `json:"id,omitempty"`
}
TeamAttributesBilling team attributes billing
swagger:model TeamAttributesBilling
func (*TeamAttributesBilling) ContextValidate ¶
ContextValidate validates this team attributes billing based on context it is used
func (*TeamAttributesBilling) MarshalBinary ¶
func (m *TeamAttributesBilling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamAttributesBilling) UnmarshalBinary ¶
func (m *TeamAttributesBilling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamInclude ¶
type TeamInclude struct {
// address
Address string `json:"address,omitempty"`
// currency
Currency interface{} `json:"currency,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
// status
Status string `json:"status,omitempty"`
}
TeamInclude team include
swagger:model team_include
func (*TeamInclude) ContextValidate ¶
ContextValidate validates this team include based on context it is used
func (*TeamInclude) MarshalBinary ¶
func (m *TeamInclude) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamInclude) UnmarshalBinary ¶
func (m *TeamInclude) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamMembers ¶
type TeamMembers struct {
// data
Data []*TeamMembersDataItems0 `json:"data"`
}
TeamMembers team members
swagger:model team_members
func (*TeamMembers) ContextValidate ¶
ContextValidate validate this team members based on the context it is used
func (*TeamMembers) MarshalBinary ¶
func (m *TeamMembers) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamMembers) UnmarshalBinary ¶
func (m *TeamMembers) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamMembersDataItems0 ¶
type TeamMembersDataItems0 struct {
// email
Email string `json:"email,omitempty"`
// first name
FirstName string `json:"first_name,omitempty"`
// last name
LastName string `json:"last_name,omitempty"`
// mfa enabled
MfaEnabled bool `json:"mfa_enabled,omitempty"`
// role
Role *TeamMembersDataItems0Role `json:"role,omitempty"`
}
TeamMembersDataItems0 team members data items0
swagger:model TeamMembersDataItems0
func (*TeamMembersDataItems0) ContextValidate ¶
ContextValidate validate this team members data items0 based on the context it is used
func (*TeamMembersDataItems0) MarshalBinary ¶
func (m *TeamMembersDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamMembersDataItems0) UnmarshalBinary ¶
func (m *TeamMembersDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamMembersDataItems0Role ¶
type TeamMembersDataItems0Role struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
TeamMembersDataItems0Role team members data items0 role
swagger:model TeamMembersDataItems0Role
func (*TeamMembersDataItems0Role) ContextValidate ¶
func (m *TeamMembersDataItems0Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this team members data items0 role based on context it is used
func (*TeamMembersDataItems0Role) MarshalBinary ¶
func (m *TeamMembersDataItems0Role) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamMembersDataItems0Role) UnmarshalBinary ¶
func (m *TeamMembersDataItems0Role) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Teams ¶
type Teams struct {
// data
Data []*Team `json:"data"`
// meta
Meta interface{} `json:"meta,omitempty"`
}
Teams teams
swagger:model teams
func (*Teams) ContextValidate ¶
ContextValidate validate this teams based on the context it is used
func (*Teams) MarshalBinary ¶
MarshalBinary interface implementation
func (*Teams) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Traffic ¶
type Traffic struct {
// data
Data *TrafficData `json:"data,omitempty"`
}
Traffic traffic
swagger:model traffic
func (*Traffic) ContextValidate ¶
ContextValidate validate this traffic based on the context it is used
func (*Traffic) MarshalBinary ¶
MarshalBinary interface implementation
func (*Traffic) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TrafficData ¶
type TrafficData struct {
// attributes
Attributes *TrafficDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [traffic]
Type string `json:"type,omitempty"`
}
TrafficData traffic data
swagger:model TrafficData
func (*TrafficData) ContextValidate ¶
ContextValidate validate this traffic data based on the context it is used
func (*TrafficData) MarshalBinary ¶
func (m *TrafficData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficData) UnmarshalBinary ¶
func (m *TrafficData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficDataAttributes ¶
type TrafficDataAttributes struct {
// The start timestamp. Must be a unix timestamp
FromDate int64 `json:"from_date,omitempty"`
// regions
Regions []*TrafficDataAttributesRegionsItems0 `json:"regions"`
// The end timestamp. Must be a unix timestamp
ToDate int64 `json:"to_date,omitempty"`
// Value in MBps
TotalInbound95thPercentileMbps float64 `json:"total_inbound_95th_percentile_mbps,omitempty"`
// Value in GB
TotalInboundGb int64 `json:"total_inbound_gb,omitempty"`
// Value in MBps
TotalOutbound95thPercentileMbps float64 `json:"total_outbound_95th_percentile_mbps,omitempty"`
// Value in GB
TotalOutboundGb int64 `json:"total_outbound_gb,omitempty"`
}
TrafficDataAttributes traffic data attributes
swagger:model TrafficDataAttributes
func (*TrafficDataAttributes) ContextValidate ¶
ContextValidate validate this traffic data attributes based on the context it is used
func (*TrafficDataAttributes) MarshalBinary ¶
func (m *TrafficDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficDataAttributes) UnmarshalBinary ¶
func (m *TrafficDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficDataAttributesRegionsItems0 ¶
type TrafficDataAttributesRegionsItems0 struct {
// data
Data []*TrafficDataAttributesRegionsItems0DataItems0 `json:"data"`
// region slug
RegionSlug string `json:"region_slug,omitempty"`
// Value in MBps
TotalInbound95thPercentileMbps float64 `json:"total_inbound_95th_percentile_mbps,omitempty"`
// Value in GB
TotalInboundGb int64 `json:"total_inbound_gb,omitempty"`
// Value in MBps
TotalOutbound95thPercentileMbps float64 `json:"total_outbound_95th_percentile_mbps,omitempty"`
// Value in GB
TotalOutboundGb int64 `json:"total_outbound_gb,omitempty"`
}
TrafficDataAttributesRegionsItems0 traffic data attributes regions items0
swagger:model TrafficDataAttributesRegionsItems0
func (*TrafficDataAttributesRegionsItems0) ContextValidate ¶
func (m *TrafficDataAttributesRegionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this traffic data attributes regions items0 based on the context it is used
func (*TrafficDataAttributesRegionsItems0) MarshalBinary ¶
func (m *TrafficDataAttributesRegionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficDataAttributesRegionsItems0) UnmarshalBinary ¶
func (m *TrafficDataAttributesRegionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficDataAttributesRegionsItems0DataItems0 ¶
type TrafficDataAttributesRegionsItems0DataItems0 struct {
// Value in MBps
AvgInboundSpeedMbps float64 `json:"avg_inbound_speed_mbps,omitempty"`
// Value in MBps
AvgOutboundSpeedMbps float64 `json:"avg_outbound_speed_mbps,omitempty"`
// The datetime of the day
Date string `json:"date,omitempty"`
// Value in GB
InboundGb int64 `json:"inbound_gb,omitempty"`
// Value in GB
OutboundGb int64 `json:"outbound_gb,omitempty"`
}
TrafficDataAttributesRegionsItems0DataItems0 traffic data attributes regions items0 data items0
swagger:model TrafficDataAttributesRegionsItems0DataItems0
func (*TrafficDataAttributesRegionsItems0DataItems0) ContextValidate ¶
func (m *TrafficDataAttributesRegionsItems0DataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this traffic data attributes regions items0 data items0 based on context it is used
func (*TrafficDataAttributesRegionsItems0DataItems0) MarshalBinary ¶
func (m *TrafficDataAttributesRegionsItems0DataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficDataAttributesRegionsItems0DataItems0) UnmarshalBinary ¶
func (m *TrafficDataAttributesRegionsItems0DataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficQuota ¶
type TrafficQuota struct {
// data
Data *TrafficQuotaData `json:"data,omitempty"`
}
TrafficQuota traffic quota
swagger:model traffic_quota
func (*TrafficQuota) ContextValidate ¶
ContextValidate validate this traffic quota based on the context it is used
func (*TrafficQuota) MarshalBinary ¶
func (m *TrafficQuota) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficQuota) UnmarshalBinary ¶
func (m *TrafficQuota) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficQuotaData ¶
type TrafficQuotaData struct {
// attributes
Attributes *TrafficQuotaDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [traffic_quota]
Type string `json:"type,omitempty"`
}
TrafficQuotaData traffic quota data
swagger:model TrafficQuotaData
func (*TrafficQuotaData) ContextValidate ¶
ContextValidate validate this traffic quota data based on the context it is used
func (*TrafficQuotaData) MarshalBinary ¶
func (m *TrafficQuotaData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficQuotaData) UnmarshalBinary ¶
func (m *TrafficQuotaData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficQuotaDataAttributes ¶
type TrafficQuotaDataAttributes struct {
// quota per project
QuotaPerProject []*TrafficQuotaDataAttributesQuotaPerProjectItems0 `json:"quota_per_project"`
}
TrafficQuotaDataAttributes traffic quota data attributes
swagger:model TrafficQuotaDataAttributes
func (*TrafficQuotaDataAttributes) ContextValidate ¶
func (m *TrafficQuotaDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this traffic quota data attributes based on the context it is used
func (*TrafficQuotaDataAttributes) MarshalBinary ¶
func (m *TrafficQuotaDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficQuotaDataAttributes) UnmarshalBinary ¶
func (m *TrafficQuotaDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficQuotaDataAttributesQuotaPerProjectItems0 ¶
type TrafficQuotaDataAttributesQuotaPerProjectItems0 struct {
// billing method
BillingMethod string `json:"billing_method,omitempty"`
// project id
ProjectID string `json:"project_id,omitempty"`
// project slug
ProjectSlug string `json:"project_slug,omitempty"`
// quota per region
QuotaPerRegion []*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0 `json:"quota_per_region"`
}
TrafficQuotaDataAttributesQuotaPerProjectItems0 traffic quota data attributes quota per project items0
swagger:model TrafficQuotaDataAttributesQuotaPerProjectItems0
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0) ContextValidate ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this traffic quota data attributes quota per project items0 based on the context it is used
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0) MarshalBinary ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0) UnmarshalBinary ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0 ¶
type TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0 struct {
// quota in mbps
QuotaInMbps *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps `json:"quota_in_mbps,omitempty"`
// quota in tb
QuotaInTb *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb `json:"quota_in_tb,omitempty"`
// region id
RegionID string `json:"region_id,omitempty"`
// region slug
RegionSlug string `json:"region_slug,omitempty"`
}
TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0 traffic quota data attributes quota per project items0 quota per region items0
swagger:model TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) ContextValidate ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this traffic quota data attributes quota per project items0 quota per region items0 based on the context it is used
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) MarshalBinary ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) UnmarshalBinary ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) Validate ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0) Validate(formats strfmt.Registry) error
Validate validates this traffic quota data attributes quota per project items0 quota per region items0
type TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps ¶
type TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps struct {
// additional
Additional int64 `json:"additional,omitempty"`
// granted
Granted int64 `json:"granted,omitempty"`
// total
Total int64 `json:"total,omitempty"`
}
TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps traffic quota data attributes quota per project items0 quota per region items0 quota in mbps
swagger:model TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) ContextValidate ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this traffic quota data attributes quota per project items0 quota per region items0 quota in mbps based on context it is used
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) MarshalBinary ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) UnmarshalBinary ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) Validate ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInMbps) Validate(formats strfmt.Registry) error
Validate validates this traffic quota data attributes quota per project items0 quota per region items0 quota in mbps
type TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb ¶
type TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb struct {
// additional
Additional int64 `json:"additional,omitempty"`
// granted
Granted int64 `json:"granted,omitempty"`
// total
Total int64 `json:"total,omitempty"`
}
TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb traffic quota data attributes quota per project items0 quota per region items0 quota in tb
swagger:model TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) ContextValidate ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this traffic quota data attributes quota per project items0 quota per region items0 quota in tb based on context it is used
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) MarshalBinary ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) UnmarshalBinary ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) Validate ¶
func (m *TrafficQuotaDataAttributesQuotaPerProjectItems0QuotaPerRegionItems0QuotaInTb) Validate(formats strfmt.Registry) error
Validate validates this traffic quota data attributes quota per project items0 quota per region items0 quota in tb
type UpdateAPIKey ¶
type UpdateAPIKey struct {
// data
Data *UpdateAPIKeyData `json:"data,omitempty"`
}
UpdateAPIKey update api key
swagger:model update_api_key
func (*UpdateAPIKey) ContextValidate ¶
ContextValidate validate this update api key based on the context it is used
func (*UpdateAPIKey) MarshalBinary ¶
func (m *UpdateAPIKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAPIKey) UnmarshalBinary ¶
func (m *UpdateAPIKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateAPIKeyData ¶
type UpdateAPIKeyData struct {
// attributes
Attributes *UpdateAPIKeyDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Required: true
// Enum: [api_keys]
Type *string `json:"type"`
}
UpdateAPIKeyData update API key data
swagger:model UpdateAPIKeyData
func (*UpdateAPIKeyData) ContextValidate ¶
ContextValidate validate this update API key data based on the context it is used
func (*UpdateAPIKeyData) MarshalBinary ¶
func (m *UpdateAPIKeyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAPIKeyData) UnmarshalBinary ¶
func (m *UpdateAPIKeyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateAPIKeyDataAttributes ¶
type UpdateAPIKeyDataAttributes struct {
// The API version to use
APIVersion string `json:"api_version,omitempty"`
// Name of the API Key
Name string `json:"name,omitempty"`
}
UpdateAPIKeyDataAttributes update API key data attributes
swagger:model UpdateAPIKeyDataAttributes
func (*UpdateAPIKeyDataAttributes) ContextValidate ¶
func (m *UpdateAPIKeyDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update API key data attributes based on context it is used
func (*UpdateAPIKeyDataAttributes) MarshalBinary ¶
func (m *UpdateAPIKeyDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAPIKeyDataAttributes) UnmarshalBinary ¶
func (m *UpdateAPIKeyDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct {
// attributes
Attributes *UserAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
User user
swagger:model user
func (*User) ContextValidate ¶
ContextValidate validate this user based on the context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserAttributes ¶
type UserAttributes struct {
// authentication factor id
AuthenticationFactorID string `json:"authentication_factor_id,omitempty"`
// email
Email string `json:"email,omitempty"`
// first name
FirstName string `json:"first_name,omitempty"`
// last name
LastName string `json:"last_name,omitempty"`
// role
Role *UserAttributesRole `json:"role,omitempty"`
// teams
Teams []*TeamInclude `json:"teams"`
}
UserAttributes user attributes
swagger:model UserAttributes
func (*UserAttributes) ContextValidate ¶
ContextValidate validate this user attributes based on the context it is used
func (*UserAttributes) MarshalBinary ¶
func (m *UserAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserAttributes) UnmarshalBinary ¶
func (m *UserAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserAttributesRole ¶
type UserAttributesRole struct {
// created at
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// updated at
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}
UserAttributesRole user attributes role
swagger:model UserAttributesRole
func (*UserAttributesRole) ContextValidate ¶
ContextValidate validates this user attributes role based on context it is used
func (*UserAttributesRole) MarshalBinary ¶
func (m *UserAttributesRole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserAttributesRole) UnmarshalBinary ¶
func (m *UserAttributesRole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserData ¶
type UserData struct {
// data
Data *UserDataProperties `json:"data,omitempty"`
}
UserData user data
swagger:model user_data
func (*UserData) ContextValidate ¶
ContextValidate validate this user data based on the context it is used
func (*UserData) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserData) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserDataProperties ¶
type UserDataProperties struct {
// attributes
Attributes *UserDataPropertiesAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Required: true
// Enum: [user_data]
Type *string `json:"type"`
}
UserDataProperties user data properties
swagger:model user_data_properties
func (*UserDataProperties) ContextValidate ¶
ContextValidate validate this user data properties based on the context it is used
func (*UserDataProperties) MarshalBinary ¶
func (m *UserDataProperties) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserDataProperties) UnmarshalBinary ¶
func (m *UserDataProperties) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserDataPropertiesAttributes ¶
type UserDataPropertiesAttributes struct {
// content of the User Data
Content string `json:"content,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// description of the User Data
Description string `json:"description,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
UserDataPropertiesAttributes user data properties attributes
swagger:model UserDataPropertiesAttributes
func (*UserDataPropertiesAttributes) ContextValidate ¶
func (m *UserDataPropertiesAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user data properties attributes based on context it is used
func (*UserDataPropertiesAttributes) MarshalBinary ¶
func (m *UserDataPropertiesAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserDataPropertiesAttributes) UnmarshalBinary ¶
func (m *UserDataPropertiesAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserInclude ¶
type UserInclude struct {
// authentication factor id
AuthenticationFactorID *string `json:"authentication_factor_id,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// email
Email string `json:"email,omitempty"`
// first name
FirstName string `json:"first_name,omitempty"`
// id
ID string `json:"id,omitempty"`
// last name
LastName string `json:"last_name,omitempty"`
// role
Role *UserIncludeRole `json:"role,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
UserInclude user include
swagger:model user_include
func (*UserInclude) ContextValidate ¶
ContextValidate validate this user include based on the context it is used
func (*UserInclude) MarshalBinary ¶
func (m *UserInclude) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserInclude) UnmarshalBinary ¶
func (m *UserInclude) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserIncludeRole ¶
type UserIncludeRole struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
UserIncludeRole user include role
swagger:model UserIncludeRole
func (*UserIncludeRole) ContextValidate ¶
ContextValidate validates this user include role based on context it is used
func (*UserIncludeRole) MarshalBinary ¶
func (m *UserIncludeRole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserIncludeRole) UnmarshalBinary ¶
func (m *UserIncludeRole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserTeam ¶
type UserTeam struct {
// attributes
Attributes *UserTeamAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
UserTeam user team
swagger:model user_team
func (*UserTeam) ContextValidate ¶
ContextValidate validate this user team based on the context it is used
func (*UserTeam) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserTeam) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserTeamAttributes ¶
type UserTeamAttributes struct {
// address
Address *string `json:"address,omitempty"`
// billing
Billing *UserTeamAttributesBilling `json:"billing,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// currency
Currency string `json:"currency,omitempty"`
// description
Description *string `json:"description,omitempty"`
// name
Name string `json:"name,omitempty"`
// owner
Owner *UserInclude `json:"owner,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
UserTeamAttributes user team attributes
swagger:model UserTeamAttributes
func (*UserTeamAttributes) ContextValidate ¶
ContextValidate validate this user team attributes based on the context it is used
func (*UserTeamAttributes) MarshalBinary ¶
func (m *UserTeamAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserTeamAttributes) UnmarshalBinary ¶
func (m *UserTeamAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserTeamAttributesBilling ¶
type UserTeamAttributesBilling struct {
// customer billing id
CustomerBillingID string `json:"customer_billing_id,omitempty"`
// id
ID int64 `json:"id,omitempty"`
}
UserTeamAttributesBilling user team attributes billing
swagger:model UserTeamAttributesBilling
func (*UserTeamAttributesBilling) ContextValidate ¶
func (m *UserTeamAttributesBilling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user team attributes billing based on context it is used
func (*UserTeamAttributesBilling) MarshalBinary ¶
func (m *UserTeamAttributesBilling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserTeamAttributesBilling) UnmarshalBinary ¶
func (m *UserTeamAttributesBilling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserTeams ¶
type UserTeams struct {
// data
Data []*UserTeam `json:"data"`
// meta
Meta interface{} `json:"meta,omitempty"`
}
UserTeams user teams
swagger:model user_teams
func (*UserTeams) ContextValidate ¶
ContextValidate validate this user teams based on the context it is used
func (*UserTeams) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserTeams) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserUpdate ¶
type UserUpdate struct {
// attributes
Attributes *UserUpdateAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
UserUpdate user update
swagger:model user_update
func (*UserUpdate) ContextValidate ¶
ContextValidate validate this user update based on the context it is used
func (*UserUpdate) MarshalBinary ¶
func (m *UserUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUpdate) UnmarshalBinary ¶
func (m *UserUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUpdateAttributes ¶
type UserUpdateAttributes struct {
// authentication factor id
AuthenticationFactorID *string `json:"authentication_factor_id,omitempty"`
// email
Email string `json:"email,omitempty"`
// first name
FirstName string `json:"first_name,omitempty"`
// last name
LastName string `json:"last_name,omitempty"`
// role
Role string `json:"role,omitempty"`
}
UserUpdateAttributes user update attributes
swagger:model UserUpdateAttributes
func (*UserUpdateAttributes) ContextValidate ¶
ContextValidate validates this user update attributes based on context it is used
func (*UserUpdateAttributes) MarshalBinary ¶
func (m *UserUpdateAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUpdateAttributes) UnmarshalBinary ¶
func (m *UserUpdateAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Users ¶
type Users struct {
// data
Data []*User `json:"data"`
}
Users users
swagger:model users
func (*Users) ContextValidate ¶
ContextValidate validate this users based on the context it is used
func (*Users) MarshalBinary ¶
MarshalBinary interface implementation
func (*Users) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VirtualNetwork ¶
type VirtualNetwork struct {
// attributes
Attributes *VirtualNetworkAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [virtual_networks]
Type string `json:"type,omitempty"`
}
VirtualNetwork virtual network
swagger:model virtual_network
func (*VirtualNetwork) ContextValidate ¶
ContextValidate validate this virtual network based on the context it is used
func (*VirtualNetwork) MarshalBinary ¶
func (m *VirtualNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualNetwork) TableRow ¶
func (m *VirtualNetwork) TableRow() table.Row
func (*VirtualNetwork) UnmarshalBinary ¶
func (m *VirtualNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VirtualNetworkAssignment ¶
type VirtualNetworkAssignment struct {
// attributes
Attributes *VirtualNetworkAssignmentAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
}
VirtualNetworkAssignment virtual network assignment
swagger:model virtual_network_assignment
func (*VirtualNetworkAssignment) ContextValidate ¶
func (m *VirtualNetworkAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this virtual network assignment based on the context it is used
func (*VirtualNetworkAssignment) MarshalBinary ¶
func (m *VirtualNetworkAssignment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualNetworkAssignment) TableRow ¶
func (m *VirtualNetworkAssignment) TableRow() table.Row
func (*VirtualNetworkAssignment) UnmarshalBinary ¶
func (m *VirtualNetworkAssignment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VirtualNetworkAssignmentAttributes ¶
type VirtualNetworkAssignmentAttributes struct {
// description
Description string `json:"description,omitempty"`
// server id
ServerID string `json:"server_id,omitempty"`
Server VirtualNetworkAssignmentServer `json:"server,omitempty"`
// status
Status string `json:"status,omitempty"`
// vid
Vid int64 `json:"vid,omitempty"`
// virtual network id
VirtualNetworkID string `json:"virtual_network_id,omitempty"`
}
VirtualNetworkAssignmentAttributes virtual network assignment attributes
swagger:model VirtualNetworkAssignmentAttributes
func (*VirtualNetworkAssignmentAttributes) ContextValidate ¶
func (m *VirtualNetworkAssignmentAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this virtual network assignment attributes based on context it is used
func (*VirtualNetworkAssignmentAttributes) MarshalBinary ¶
func (m *VirtualNetworkAssignmentAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualNetworkAssignmentAttributes) UnmarshalBinary ¶
func (m *VirtualNetworkAssignmentAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VirtualNetworkAssignmentPayload ¶
type VirtualNetworkAssignmentPayload struct {
Data *VirtualNetworkAssignment `json:"data,omitempty"`
}
type VirtualNetworkAssignments ¶
type VirtualNetworkAssignments struct {
// data
Data []*VirtualNetworkAssignment `json:"data"`
// meta
Meta interface{} `json:"meta,omitempty"`
}
VirtualNetworkAssignments virtual network assignments
swagger:model virtual_network_assignments
func (*VirtualNetworkAssignments) ContextValidate ¶
func (m *VirtualNetworkAssignments) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this virtual network assignments based on the context it is used
func (*VirtualNetworkAssignments) MarshalBinary ¶
func (m *VirtualNetworkAssignments) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualNetworkAssignments) UnmarshalBinary ¶
func (m *VirtualNetworkAssignments) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VirtualNetworkAttributes ¶
type VirtualNetworkAttributes struct {
Tags []*TagsIncude `json:"tags,omitempty"`
// Amount of devices assigned to the virtual network
AssignmentsCount int64 `json:"assignments_count,omitempty"`
// Description of the virtual network
Description string `json:"description,omitempty"`
// Name of the virtual network
Name string `json:"name,omitempty"`
// region
Region *VirtualNetworkAttributesRegion `json:"region,omitempty"`
// vlan ID of the virtual network
Vid int64 `json:"vid,omitempty"`
}
VirtualNetworkAttributes virtual network attributes
swagger:model VirtualNetworkAttributes
func (*VirtualNetworkAttributes) ContextValidate ¶
func (m *VirtualNetworkAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this virtual network attributes based on the context it is used
func (*VirtualNetworkAttributes) MarshalBinary ¶
func (m *VirtualNetworkAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualNetworkAttributes) UnmarshalBinary ¶
func (m *VirtualNetworkAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VirtualNetworkAttributesRegion ¶
type VirtualNetworkAttributesRegion struct {
// city
City string `json:"city,omitempty"`
// country
Country string `json:"country,omitempty"`
// site
Site *VirtualNetworkAttributesRegionSite `json:"site,omitempty"`
}
VirtualNetworkAttributesRegion virtual network attributes region
swagger:model VirtualNetworkAttributesRegion
func (*VirtualNetworkAttributesRegion) ContextValidate ¶
func (m *VirtualNetworkAttributesRegion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this virtual network attributes region based on the context it is used
func (*VirtualNetworkAttributesRegion) MarshalBinary ¶
func (m *VirtualNetworkAttributesRegion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualNetworkAttributesRegion) UnmarshalBinary ¶
func (m *VirtualNetworkAttributesRegion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VirtualNetworkAttributesRegionSite ¶
type VirtualNetworkAttributesRegionSite struct {
// facility
Facility string `json:"facility,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
VirtualNetworkAttributesRegionSite virtual network attributes region site
swagger:model VirtualNetworkAttributesRegionSite
func (*VirtualNetworkAttributesRegionSite) ContextValidate ¶
func (m *VirtualNetworkAttributesRegionSite) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this virtual network attributes region site based on context it is used
func (*VirtualNetworkAttributesRegionSite) MarshalBinary ¶
func (m *VirtualNetworkAttributesRegionSite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualNetworkAttributesRegionSite) UnmarshalBinary ¶
func (m *VirtualNetworkAttributesRegionSite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VirtualNetworks ¶
type VirtualNetworks struct {
// data
Data []*VirtualNetwork `json:"data"`
// meta
Meta interface{} `json:"meta,omitempty"`
}
VirtualNetworks virtual networks
swagger:model virtual_networks
func (*VirtualNetworks) ContextValidate ¶
ContextValidate validate this virtual networks based on the context it is used
func (*VirtualNetworks) MarshalBinary ¶
func (m *VirtualNetworks) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualNetworks) UnmarshalBinary ¶
func (m *VirtualNetworks) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VpnSessionDataWithPassword ¶
type VpnSessionDataWithPassword struct {
// attributes
Attributes *VpnSessionDataWithPasswordAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [vpn_sessions]
Type string `json:"type,omitempty"`
}
VpnSessionDataWithPassword vpn session data with password
swagger:model vpn_session_data_with_password
func (*VpnSessionDataWithPassword) ContextValidate ¶
func (m *VpnSessionDataWithPassword) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this vpn session data with password based on the context it is used
func (*VpnSessionDataWithPassword) MarshalBinary ¶
func (m *VpnSessionDataWithPassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VpnSessionDataWithPassword) UnmarshalBinary ¶
func (m *VpnSessionDataWithPassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VpnSessionDataWithPasswordAttributes ¶
type VpnSessionDataWithPasswordAttributes struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// Time to expiry
ExpiresAt string `json:"expires_at,omitempty"`
// VPN host
Host string `json:"host,omitempty"`
// VPN password
Password string `json:"password,omitempty"`
// VPN port
Port string `json:"port,omitempty"`
// region
Region *RegionResourceData `json:"region,omitempty"`
// from Firewall Response
// Enum: [enable disable]
Status string `json:"status,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// VPN username
UserName string `json:"user_name,omitempty"`
}
VpnSessionDataWithPasswordAttributes vpn session data with password attributes
swagger:model VpnSessionDataWithPasswordAttributes
func (*VpnSessionDataWithPasswordAttributes) ContextValidate ¶
func (m *VpnSessionDataWithPasswordAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this vpn session data with password attributes based on the context it is used
func (*VpnSessionDataWithPasswordAttributes) MarshalBinary ¶
func (m *VpnSessionDataWithPasswordAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VpnSessionDataWithPasswordAttributes) UnmarshalBinary ¶
func (m *VpnSessionDataWithPasswordAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VpnSessionWithPassword ¶
type VpnSessionWithPassword struct {
// data
Data *VpnSessionDataWithPassword `json:"data,omitempty"`
}
VpnSessionWithPassword vpn session with password
swagger:model vpn_session_with_password
func (*VpnSessionWithPassword) ContextValidate ¶
func (m *VpnSessionWithPassword) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this vpn session with password based on the context it is used
func (*VpnSessionWithPassword) MarshalBinary ¶
func (m *VpnSessionWithPassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VpnSessionWithPassword) UnmarshalBinary ¶
func (m *VpnSessionWithPassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VpnSessionWithoutPassword ¶
type VpnSessionWithoutPassword struct {
// data
Data *VpnSessionWithoutPasswordData `json:"data,omitempty"`
}
VpnSessionWithoutPassword vpn session without password
swagger:model vpn_session_without_password
func (*VpnSessionWithoutPassword) ContextValidate ¶
func (m *VpnSessionWithoutPassword) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this vpn session without password based on the context it is used
func (*VpnSessionWithoutPassword) MarshalBinary ¶
func (m *VpnSessionWithoutPassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VpnSessionWithoutPassword) UnmarshalBinary ¶
func (m *VpnSessionWithoutPassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VpnSessionWithoutPasswordData ¶
type VpnSessionWithoutPasswordData struct {
// attributes
Attributes *VpnSessionWithoutPasswordDataAttributes `json:"attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// type
// Enum: [vpn_sessions]
Type string `json:"type,omitempty"`
}
VpnSessionWithoutPasswordData vpn session without password data
swagger:model VpnSessionWithoutPasswordData
func (*VpnSessionWithoutPasswordData) ContextValidate ¶
func (m *VpnSessionWithoutPasswordData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this vpn session without password data based on the context it is used
func (*VpnSessionWithoutPasswordData) MarshalBinary ¶
func (m *VpnSessionWithoutPasswordData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VpnSessionWithoutPasswordData) UnmarshalBinary ¶
func (m *VpnSessionWithoutPasswordData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VpnSessionWithoutPasswordDataAttributes ¶
type VpnSessionWithoutPasswordDataAttributes struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// Time to expiry
ExpiresAt string `json:"expires_at,omitempty"`
// VPN host
Host string `json:"host,omitempty"`
// VPN port
Port string `json:"port,omitempty"`
// region
Region *VpnSessionWithoutPasswordDataAttributesRegion `json:"region,omitempty"`
// from Firewall Response
// Enum: [enable disable]
Status string `json:"status,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// VPN username
UserName string `json:"user_name,omitempty"`
}
VpnSessionWithoutPasswordDataAttributes vpn session without password data attributes
swagger:model VpnSessionWithoutPasswordDataAttributes
func (*VpnSessionWithoutPasswordDataAttributes) ContextValidate ¶
func (m *VpnSessionWithoutPasswordDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this vpn session without password data attributes based on the context it is used
func (*VpnSessionWithoutPasswordDataAttributes) MarshalBinary ¶
func (m *VpnSessionWithoutPasswordDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VpnSessionWithoutPasswordDataAttributes) UnmarshalBinary ¶
func (m *VpnSessionWithoutPasswordDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VpnSessionWithoutPasswordDataAttributesRegion ¶
type VpnSessionWithoutPasswordDataAttributesRegion struct {
// city
City string `json:"city,omitempty"`
// country
Country string `json:"country,omitempty"`
// site
Site *VpnSessionWithoutPasswordDataAttributesRegionSite `json:"site,omitempty"`
}
VpnSessionWithoutPasswordDataAttributesRegion vpn session without password data attributes region
swagger:model VpnSessionWithoutPasswordDataAttributesRegion
func (*VpnSessionWithoutPasswordDataAttributesRegion) ContextValidate ¶
func (m *VpnSessionWithoutPasswordDataAttributesRegion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this vpn session without password data attributes region based on the context it is used
func (*VpnSessionWithoutPasswordDataAttributesRegion) MarshalBinary ¶
func (m *VpnSessionWithoutPasswordDataAttributesRegion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VpnSessionWithoutPasswordDataAttributesRegion) UnmarshalBinary ¶
func (m *VpnSessionWithoutPasswordDataAttributesRegion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VpnSessionWithoutPasswordDataAttributesRegionSite ¶
type VpnSessionWithoutPasswordDataAttributesRegionSite struct {
// facility
Facility string `json:"facility,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
}
VpnSessionWithoutPasswordDataAttributesRegionSite vpn session without password data attributes region site
swagger:model VpnSessionWithoutPasswordDataAttributesRegionSite
func (*VpnSessionWithoutPasswordDataAttributesRegionSite) ContextValidate ¶
func (m *VpnSessionWithoutPasswordDataAttributesRegionSite) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this vpn session without password data attributes region site based on context it is used
func (*VpnSessionWithoutPasswordDataAttributesRegionSite) MarshalBinary ¶
func (m *VpnSessionWithoutPasswordDataAttributesRegionSite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VpnSessionWithoutPasswordDataAttributesRegionSite) UnmarshalBinary ¶
func (m *VpnSessionWithoutPasswordDataAttributesRegionSite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- api_key.go
- bandwidth_packages.go
- bandwidth_plan.go
- bandwidth_plans.go
- billing_usage.go
- create_api_key.go
- deploy_config.go
- error_object.go
- events.go
- ip_address.go
- ip_addresses.go
- ipmi_session.go
- lazy_sideload.go
- membership.go
- operating_systems.go
- out_of_band_connection.go
- plan.go
- plan_data.go
- project.go
- project_include.go
- projects.go
- region.go
- region_resource_data.go
- regions.go
- role.go
- role_data.go
- server.go
- server_action.go
- server_data.go
- server_rescue.go
- server_schedule_deletion.go
- servers.go
- ssh_key.go
- ssh_key_data.go
- tags.go
- team.go
- team_include.go
- team_members.go
- teams.go
- traffic.go
- traffic_quota.go
- update_api_key.go
- user.go
- user_data.go
- user_data_properties.go
- user_include.go
- user_team.go
- user_teams.go
- user_update.go
- users.go
- virtual_network.go
- virtual_network_assignment.go
- virtual_network_assignments.go
- virtual_networks.go
- vpn_session_data_with_password.go
- vpn_session_with_password.go
- vpn_session_without_password.go